Displaying 20 results from an estimated 32 matches for "expecations".
Did you mean:
expectations
2007 Feb 20
1
having should_receive expectation for things that happen in setup
Hi!
The following example doesn''t work for me: http://pastie.caboo.se/41732
However, if the call to msg() happens in the specify block after the
expecation and not in the setup, it will pass.
Why is this? I thought the setup method was there to actually
''construct'' the context and the specifications are some kind of
"postconditions" that only need to be
2012 Nov 28
2
Opus for ASR - update and questions
For the last couple months, Nuance has performed extensive testing on how the Opus codec performs in the speech recognition task. I'm hoping to publish a full report in the coming months, but until then all I have is a teaser. Opus performed within about 1% of the WER (Word Error Rate) of unencoded audio. This is compared to about 5% for Speex, which was the previous codec of choice. Well
2016 Jun 22
3
x86: How to Force 2-byte `jmp` instruction in lowering
On Wed, Jun 22, 2016 at 6:05 AM Nirav Davé <niravd at google.com> wrote:
> This appears to work:
>
> auto Target = OutContext.createLinkerPrivateTempSymbol();
>
> with
>
> auto Target = OutContext.createTempSymbol();
>
> -Nirav
>
>
Thanks Nirav -- I tried this but I'm still getting a "jmpq <address>" with
this incantation when I load and
2008 Feb 19
1
DLMFS on OracleVM 2.1 (OEL5.0 based)
Hi List,
I want to use DLMFS of OCFS2 to avoid multiple start of virtual machines
on OracleVM. I want to use a wrapper around xm that spawns a deamon that
keeps a file open in /dlm/DOMAIN. Now I played around a bit and followed
the procedure in the document
http://oss.oracle.com/projects/ocfs2/src/branches/ocfs2-1.2/dlmfs.txt
for DLMFS.
Theres one problem. The "O_NONBLOCK" option is
2009 Sep 14
3
oggcat or other ways to combine theora videos (with or without re-encoding)?
hi guys,
first of all, i'd like to ask if there any crossplatform software/service ( gui is also better, an online application like firefogg is great, or at least a command line tools for any platform) to combine theora videos, other than oggcat...
i am doing some art projects that people should be able to remix featured theora videos and i find oggcat very usefull in theory but not in
2016 Oct 28
4
Disk near failure
On Fri, October 28, 2016 2:42 am, Alessandro Baggi wrote:
> Il 27/10/2016 19:38, Yamaban ha scritto:
>> For my personal use I would replace that Drive asap.
>> - There is no warranty for it anymore (time since buy)
>> - You can't buy it new anymore (discontinued)
>> - There are more reliable drives available.
>>
>> I'd go for a Samsung Evo 850, that
2007 Oct 19
11
Patch idea for rspec_on_rails
I recently wrote a matcher for testing AR associations which allows
you to specify things like:
Foo.should have_many(:bars).through(:bazes)
I''m pretty darned proud of it and a couple of people have suggested
that I should submit it to the rspec_on_rails project. Before I go to
the trouble of writing out rdoc and fully spec''ing it, I just wanted
to make sure this was
2016 Oct 28
1
Disk near failure
On Fri, October 28, 2016 11:50 am, Alessandro Baggi wrote:
> Il 28/10/2016 16:28, Valeri Galtsev ha scritto:
>>
>> On Fri, October 28, 2016 2:42 am, Alessandro Baggi wrote:
>>> Il 27/10/2016 19:38, Yamaban ha scritto:
>>>> For my personal use I would replace that Drive asap.
>>>> - There is no warranty for it anymore (time since buy)
>>>>
2016 Jun 22
0
x86: How to Force 2-byte `jmp` instruction in lowering
Hmm. Odd. I just rebuilt from scratch and it seems to work with
the test/CodeGen/X86/xray-attribute-instrumentation.ll test case outputing
straight to obj:
llc -filetype=obj -o ~/a.o -mtriple=x86_64-apple-macosx <
test/CodeGen/X86/xray-attribute-instrumentation.ll
What test case are you using?
In any case, the issue appears to be that llvm doesn't realize that the
target address is
2010 Dec 12
0
rspec-2.3.0 is released
rspec-2.3.0 is released (including rspec, rspec-core, rspec-mocks, rspec-expecations and rspec-rails).
### rspec-core-2.3.0 / 2010-12-12
[full changelog](http://github.com/rspec/rspec-core/compare/v2.2.1...v2.3.0)
* Enhancements
* tell autotest to use "rspec2" if it sees a .rspec file in the project''s
root directory
* replaces the need for ./autotest...
2010 Feb 23
1
Recursive Tinc log.
Hi everybody,
I start tinc Server with the command ?tincd --logfile=/var/log/tinc.log?.
It create a log file that increment continuously.
There is any Tinc command/switch that force override this file daily?
Best regards,
Ramses
2016 Oct 28
0
Disk near failure
Il 28/10/2016 16:28, Valeri Galtsev ha scritto:
>
> On Fri, October 28, 2016 2:42 am, Alessandro Baggi wrote:
>> Il 27/10/2016 19:38, Yamaban ha scritto:
>>> For my personal use I would replace that Drive asap.
>>> - There is no warranty for it anymore (time since buy)
>>> - You can't buy it new anymore (discontinued)
>>> - There are more
2014 Apr 11
1
VIRT SIG Meeting Minutes [11/04]
...====
LK noticed that there are some issues with list moderation : aka posts
seem to go missing on centos-virt
KB stated that "if you are not subscribed : posts to the list are
autodiscarded". This is due to the volume of spam to the centos lists.
LK, is OK with this, but we need to set expecations. As this may be
difficult for new people engaging with the SIG
* ACTION : LK state this policy on the wiki page and make a post to
the list and seeing whether we want to change it. The volume of spam is
likely smaller on the virt list than the centos-devel list
==== Bug tracking ====
Bugs re...
2007 May 14
2
Make sign test show test statistics
When I perform a two-tailed sign test with the following simple syntax,
binom.test(59,100)
R returns a P-value (0.088) but nothing else. As I want the result for a
one-tailed test I take P/2 = 0.044). However, the journal to which I've
submitted my results requests the test statistics, not just the
P-values. How can I make R return the test statistics?
Best regards,
Johan Stenberg, Umea
2005 Nov 12
1
how to make automatically each level from data.frame to vector
Dear R-helpers,
Suppose I have dataset like this below:
data(HairEyeColor)
dfHEC <- as.data.frame(as.table(HairEyeColor))
my.dfHEC <- data.frame(Hair=rep(dfHEC$Hair,dfHEC$Freq),
Eye=rep(dfHEC$Eye,dfHEC$Freq),
Sex=rep(dfHEC$Sex,dfHEC$Freq))
my.dfHEC
my.dfHEC$Hair
my.dfHEC$Eye
my.dfHEC$Sex
and I know all levels for Hair, Eye and Sex.
In my case, I
2016 Jun 22
2
x86: How to Force 2-byte `jmp` instruction in lowering
I have a bit of a riddle:
In http://reviews.llvm.org/D19904 I'm trying to spell the following
assembly:
.palign 2, 0x90
jmp +0x9
nopw 512(%rax,%rax,1)
// rest of the code
I try the following snippet to accomplish this:
OutStreamer->EmitLabel(CurSled);
OutStreamer->EmitCodeAlignment(4);
auto Target = OutContext.createLinkerPrivateTempSymbol();
// Use a two-byte `jmp`.
2010 Mar 31
0
[LLVMdev] [cfe-dev] Need help fixing 2.7 release blockers
On Tue, 30 Mar 2010 14:09:03 -0700, Tanya Lattner <xzss at ____.com>
wrote:
> All,
>
> There has been a huge lack of response to the release. We need people to
> help fix regressions and to participate in testing the release. Without
> this support, I see no reason that the release team should spend their
time
> qualifying a release.
>
> We need to get all
2008 Jun 28
19
Stopping example execution?
Hello, I''m wondering If I am missing something here when creating an example that sets an expecation at the top or beginning of an action but requires you to stub / mock everything that follows.
Example:
I want to test that a certain controller is running a before_filter...thats easy:
- controller.should_receive(:require_user)
- do_get
But now i''ve got to mock / stub
2006 Oct 17
4
Mocking the rendering of a Rails template
Hello all,
I''m having difficulty setting up mocks such that I can verify that
Rails was going to render the right template file (for example
new.rhtml) and stop Rails from performing the actual rendering.
After peeking at Rails'' internals, I tried two techniques as illustrated here:
http://pastie.caboo.se/18197
Neither worked.
I think the first one failed because Rails
2007 Jul 26
3
Spec for validation plugin
Hi,
I''m writing a specification for a model called Location which has a
post_code attribute which should be a valid UK postcode. I''m using the
http://svn.designbyfront.com/rails/plugins/validates_as_uk_postcode/
validates_as_uk_postcode plugin to handle the validation but I''m not sure
how I should properly specify my model.
Heres the model code:
class Location <