Displaying 20 results from an estimated 3242 matches for "hurt".
2008 Jan 19
6
Quiet Backtrace in RSpec
I''m using RSpec on Rails and would like to clean up the backtraces, so I
went looking for an RSpec equivalent to ThoughtBot''s Quiet Backtrace
gem<http://thoughtbot.com/projects/quietbacktrace>.
I found Spec::Runner::QuietBacktraceTweaker in the RDOCS, but I can''t figure
out how to use it. Can I add something to spec_helper.rb that will
utilize
2007 May 30
9
Specify attr_protected
This is kind of a two part question.
Question One: I want to be sure that an Order model is protecting
sensitive attributes from mass assignment.
The example looks like this:
describe Order do
it "should protect total attribute from mass assignment" do
@order = Order.new(:total => 0.05)
@order.total.should_not == 0.05
end
end
And the code to implement it:
class Order
2004 May 25
0
Undelivered mail: Hurts
Dear User,
the message with following attributes has not been delivered,
because contains an infected object.
Sender = samba@samba.org (may be forged)
Recipients = vladislav.smirnov@yabloko.ru
Subject = Hurts
Message-ID = [unknown-id]
Antivirus filter report:
--- Dr.Web report ---
Following virus(es) has been found:
infected with Win32.HLLM.Netsky.17920
Dr.Web detailed report:
drweb.tmp.tB3Syz/[text/plain] - Ok
drweb.tmp.tB3Syz/hurts.pif infected with Win32.HLLM.Netsky.17920
Dr.Web scanning statisti...
2007 Apr 07
5
Integration Specs On Rails
Now that RSpec is nearing 1 dot oh, are there any plans to implement
an integration testing equivalent in RSpec On Rails?
2007 Jul 06
5
Outside-In with RSpec on Rails
I just read ''Mocks Aren''t Stubs'' and was intrigued by the notion of
''outside-in'' TDD.
As a Rails developer, I''m curious if others are employing this method
when developing Rails applications using RSpec. Is it common practice
(or even practical) to drive the development of a Rails app by
starting with view specs, then controller specs, then
2007 Sep 20
4
alias :calling :lambda
Sprinkling my examples with ''lambda'' has always seemed like a bit of a
wart to me. I''ve gotten into the habit of adding ''alias :calling
:lambda'' to my spec suites. My examples then look like:
calling { Foo }.should raise_error
calling { Bar }.should_not raise_error
Is there a reason that RSpec core has chosen not to make exception
expectations more
2003 Jun 26
1
[Bug 607] OpenSSH 3.6.1p1 adding CRs, hurting CVS client/server communications
http://bugzilla.mindrot.org/show_bug.cgi?id=607
Summary: OpenSSH 3.6.1p1 adding CRs, hurting CVS client/server
communications
Product: Portable OpenSSH
Version: 3.6.1p2
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: P2
Component: ssh
AssignedTo: openssh-bu...
2007 Jul 14
3
expect_render twice in views
I found this:
controller.expect_render(:partial => ''thing'', :collection => things).once
but I am trying to expect_render twice in my view spec:
template.expect_render(:partial => ''order_details'').twice
This doesn''t work as the template.expect_render call seems to be
returning an array. Is it possible to expect the rendering of a
partial
2008 Aug 23
3
[LLVMdev] Dependence Analysis [was: Flow-Sensitive AA]
...ions. The trapping behavior
> would be a really nice addition, though.
>
> Has anyone quantified the optimizations afforded by undefined signed
> overflow? I'd expect that the benefits are minimal for most codes. On
> the other hand I've seen reports that gcc's -fwrapv hurts performance of
> gcc output significantly. I'm not sure if that is true. Also, it could
> be the case that -fwrapv is implemented poorly.
No, it's not implemented badly. We've quantified it's performance
before and it hurts about 3-5 without high level loop
opts/vectorizat...
2007 Sep 13
0
innov_save, what is it? why does it hurt me so?
> I have been trying to get speex to work for a while now, and it's been
> a real teeter-totter ride. For a long time I noticed that I will get a
> project to work and then without changing any code and programming it to
> an eprom/flash the project will not work.
That's an Heisenbug and the most common cause is uninitialised data.
I found innov_save will write over memory
2007 Sep 14
1
innov_save, what is it? why does it hurt me so?
...ginal Message -----
From: "Jean-Marc Valin" <jean-marc.valin@usherbrooke.ca>
To: "Michael Jacobson" <Michael.Jacobson@ultratec.com>
Cc: <speex-dev@xiph.org>
Sent: Thursday, September 13, 2007 7:40 PM
Subject: Re: [Speex-dev] innov_save, what is it? why does it hurt me so?
>> I have been trying to get speex to work for a while now, and it's been
>> a real teeter-totter ride. For a long time I noticed that I will get a
>> project to work and then without changing any code and programming it to
>> an eprom/flash the project will no...
2001 Aug 25
2
Office XP Debbuging (I need some support here) and guidance wouldn't hurt either.
Hello, I'm trying to get Office XP working on Wine
Here is the Debug Information.
Thanks.
-----------------------------------------------------------------------
Auto-generated debug report by Wine Quick Debug Report Maker Thingy:
WINE Version: Wine release 20010824
Windows Version: Windows NT 5.x
Distribution: Mandrake 7.2
Kernel Version:
2009 Jan 15
1
variable scope is making my head hurt
I''m trying to add a "node type" variable that can be interpolated into
source values. In this, my latest attempt, $nodetype always ends up
as "base":
# manifests/nodes
$nodetype = "base"
node "base" {
include postfix
...snip...
}
node "www01", "www02", ... , "www10" inherits "base" {
$nodetype
2008 Dec 01
4
chmod for directories only
I want to change the permissions on directories, recursively to:
drwxr-xr-x
but keep the files within the directory tree as:
-rw-r--r--
But I can't find an option for chmod to only affect directories. I
suppose it won't hurt (in this case) to set the x for the files, but I
want some consistancy.
2006 Sep 06
2
creating zvols in a non-global zone (or ''Doctor, it hurts when I do this'')
A colleague just asked if zfs delegation worked with zvols too.
Thought I''d give it a go and got myself in a mess
(tank/linkfixer is the delegated dataset):
root at non-global / # zfs create -V 500M tank/linkfixer/foo
cannot create device links for ''tank/linkfixer/foo'': permission denied
cannot create ''tank/linkfixer/foo'': permission denied
Ok, so
2012 Aug 16
1
TDM Fax
Has anyone experimented with increasing the DAHDI chunk size in improve fax reliability? If so, did it help, hurt, or not make any difference?
2007 Dec 05
13
[PATCH] unshadow the page table page which are used as data page
The patch deals with the situation which guest OS uses unused page table
pages as data pages and write data to them. The pages will still be
grabbed by Xen as page table pages, and lots of unnecessary page faults
occur.
The patch will check if the data guest writes to the page table contains
valid mfn or not, if not, we believe it is a data page now and then
unshadow the page.
The patch
2010 May 06
5
Garbage collection outside of request cycle?
I''ve been analyzing our Unicorn-powered Rails app''s performance, and have found that garbage collection is a big factor in slow requests.
In the interest of avoiding those performance hits while handling requests, would it be possible to have a unicorn worker run garbage collection after handling a request and before waiting for the next one? Would this be a good idea?
Cheers,
2004 Jul 12
1
Traffic shaping: upload should not hurt download
Hello!
I have a small home network and I''d like to use traffic shaping because
every time someone uploads a file at full speed, my download speed drops
to ~10 KB/s. My connection is 768/128 DSL.
I found a script at http://www.knowplace.org/shaper/examples.html
$TC qdisc add dev $INTERFACE root handle 1: htb default 60
$TC class add dev $INTERFACE parent 1: classid 1:1 htb rate 116kbit
2014 May 13
4
[PATCH v1] vhost: avoid large order allocations
"Michael S. Tsirkin" <mst at redhat.com> writes:
> Please dont' do this, extra indirection hurts performance.
> Instead, please change vhost_net_open and scsi to allocate the whole
> structure with vmalloc if kmalloc fails, along the lines of
> 74d332c13b2148ae934ea94dac1745ae92efe8e5
Back in January 2013, you didn't seem to think it was a good idea:
https://lkml.org/lkml/2013/...