Displaying 20 results from an estimated 80 matches for "specc".
Did you mean:
spec
2009 Oct 01
1
debugging S4 methods
Hi all,
Does anyone know how to debug S4 methods? In my case I want to find an
error in the specc-function of the kernlab-package.
As this seems to be a S4-method the normal S3 debugging can't be
applied apparently (e.g. debug(s3function.someclass)).
So in my case
> debug(specc:kernlab)
seems only to debug the generic-function:
> specc:kernlab
function (x, ...)
standardGeneric(&quo...
2007 Apr 20
1
speccing a call to break
...;'m not sure what to mock...
E.g.:
class SomeClass
def a_method
loop do
break
end
end
end
Scott
P.S. Sorry for the annoying questions, but I just want to know!
P.P.S: What is the right form of the verb "to spec" in the
Progressive? Is it "specing" or "speccing"?
2008 Jan 17
5
unusual challenges speccing external software
...nsumer.) I''m using code from Topher Cyll''s
book "Practical Ruby Projects" to create Ruby wrappers to C methods in
Apple''s CoreMIDI library. The trap here is I''m calling those C methods
to generate MIDI elsewhere in the OS in some unknown way. That makes
speccing weird.
I''ve been able to refactor this code in a kind-of spec-first way. I
write scripts which use the API successfully and actually generate
music I can hear. Then I change the internals of the API and run the
scripts again to ensure they still generate the same music. In that
sense I...
2008 Jul 24
0
Speccing a respond_to block outside of a request
Hi -- I have a bunch of controllers whose index actions are so similar,
I can safely stick most of the code in a superclass.
I am having trouble, however, in speccing the index method in the
superclass.
It could look like this: http://pastie.org/240207
This is the class that the controllers that would actually get called
would inherit from.
I want to describe SuperController#index in a spec, so will need to be
able to manipulate the respond_to method -- any...
2006 May 31
1
Server recommendations for running Xen/Debian?
...bout how well and how easily the hardware is supported by a
Xen/Debian environment (for both domUs and dom0). Ideally a server
with all the drivers in the vanilla Xen/Debian kernels or initrds -
although that might be being a little too optomistic. It''s been a long
time since I''ve specced out a brand new server, and feel a little out
of touch choosing this new hardware :)
So far I''m thinking of either
a higher specced Sunfire 2100
a lower specced Sunfire 4100
or an HP DL145
But I''m still willing to consider other options if recommended.
Any input at all will b...
2007 Feb 22
9
specking, speccing, or spec''ing
I vote for spec''ing.
Anybody else?
2007 Oct 12
0
Speccing a rake task
Greetings,
I''m writing a custom rake task, and I''d like to write an assosciated spec for it.
Does anyone have an example spec for a rake task?
I''ve seen some examples on the web that use these before blocks:
before(:each) do
@rake = Rake::Application.new
Rake.application = @rake
end
And use
@rake["db:user_migration"].invoke
To invoke the
2013 Jul 10
1
Kruskal.test
Hi,
Please dput() your example dataset.
dat1<- read.table(text="a?? a?? a?? a??? a??? b?? b??? b??? c??? c?? c??? c
2? 4??? 5?? 2??? 7??? 2?? 2??? 6??? 3??? 7?? 9??? 3
3? 3?? 4?? 1???? 6??? 8?? 1??? 3??? 5??? 2??? 6??? 3",sep="",header=FALSE,stringsAsFactors=FALSE)
library(reshape)
?dat2<-melt(as.data.frame(t(dat1)),id.var="V1")[,-2]
2011 Jan 10
3
Memory Needed for Regression
I'm looking for a formula for memory usage in standard regression; that
is, if I have X rows with Y predictors, how much memory is needed? I'm
speccing out a system, and I'd like to be able to get enough memory
that we can do some fairly large regressions.
==Ed Freeman
[[alternative HTML version deleted]]
2012 Oct 03
1
Difficulties in trying to do a mixed effects model using the lmer function
...v
147.2 157 -66.6 133.2 125.8
Random effects:
Groups Name Variance Std.Dev.
Plot (Intercept) 0.0000 0.0000
Residual 4.9644 2.2281
Number of obs: 30, groups: Plot, 2
Fixed effects:
Estimate Std. Error t value
(Intercept) 6.9074 0.9424 7.329
specCED 0.3859 1.0265 0.376
specTAB 0.8585 0.9828 0.874
schemeMON 0.6572 0.9554 0.688
schemePRO -1.0344 1.1259 -0.919
Correlation of Fixed Effects:
(Intr) spcCED spcTAB schMON
specCED -0.537
specTAB -0.529 0.500
schemeMON -0.588 0.002 -0.072
sche...
2006 Dec 21
3
Speccing private class methods
Hi
How can I specify that a private method of a class gets called? If
you run the code below, only spec (1) passes. Spec (2) is what I
found causing problems in my code, and class (3) is my failed attempt
to work around it. (3 really puzzles me - why is a private class
method not accessible via send?)
Another problem is that stub! makes public methods, which changes the
behaviour of
2009 Oct 04
3
error installing/compiling kernlab
...kernlab"
Creating a new generic function for "coef" in "kernlab"
Error in conformMethod(signature, mnames, fnames, f, fdef, definition)
:
In method for function "size": formal arguments omitted in the method
definition cannot be in the signature (obj = "specc")
Error : unable to load R code in package ''kernlab''
ERROR : lazy loading failed for the package ‘kernlab’
Does anybody have any idea what might cause this? And, more
importantly, how I can move forward?
Thanks,
Mircea
[[alternative HTML version del...
2007 Sep 13
2
Failing to raise an exception in a stub
I''ve come across rather strange behaviour when trying to raise an
exception in a stubbed method.
I''m speccing the behaviour of a Rails create action, where I''m using
save! to catch failed saves. In the case of working save, I''m using
the following stub:
@client.stub!(:save!).and_return(true)
which works fine.
However, in the negative case,
@client.stub!(:save!).and_ra...
2009 Jun 20
3
chaining support
...#39;s been cropping up recently is chaining support. We
discussed this a bit at FOMS 2008, and there are some open issues.
There was talk of making some skeleton-like metadata that spans chain
boundaries (or perhaps putting into skeleton a "chain identifier").
Other things that need to be specced out:
* edits vs. playlists: how to distinguish between chains that have
come about by removing part of an existing file, vs. a sequence of
completely separate files
* how to present a seek bar to the user for each kind of chain, ie.
one timeline for the entire sequence?
Perhaps all we need is...
2008 Mar 05
4
has_many_polymorphs is breaking my spec file
...define Property (LoadError)"
If i play around with the labelling system in the console, it seems to work
fine: ie, the above code works ''normally'', but is totally breaking the spec
file.
Does anyone have any ideas about this? It''s driving me crazy and stopping
me speccing other aspects of my labelling system.
thanks
max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080305/aa9ececa/attachment.html
2008 Oct 18
3
Cucumber "standard base" setup?
...e base cucumber
install? NOT for Rails -- just for a plain Ruby project?
Thanks very much. Again, all I''d really like to do is see a noobs''
walkthrough like:
(1) create an empty project directory
(2) build standard directory tree
(3) clone in standard Rakefile
(4) get started speccing.
(2) and (3) are my problem.
Thanks much!
-----
Bill Tozier
AIM:vaguery at mac.com ? Twitter:Vaguery
http://williamtozier.com/slurry
"The brotherhood of man is not a mere poet''s dream; it is a most
depressing and humiliating reality."
-- Oscar Wilde
2009 Mar 20
1
bypass_rescue and its inverse
...re-
filters as guard clauses, so being able to switch off rescue from
(which I properly spec separately) is a real boon.
Such a boon, in fact, that I immediately shoved it into a global
before :each block so that my controller specs would do what I expect
by default.
However, that makes my speccing of the rescue_from code a little
trickier. Is there an easy way to do the inverse: to switch the
default Rails behaviour back on, on command?
Thanks,
Matt
PS
I guess the other option is to figure out how to declaratively spec
rescue from (which I, and judging by forks of the
rspec_on...
2007 Apr 18
2
spec''ing a call to exit
How would I spec a call to exit? I can''t seem to stub it - rspec
throws an error.
Scott
2004 Dec 02
5
drive space for voice mail
...ace for voice mail
I've looked in the dimensioning information on voip-info.org but can't
find any hard information on the amount of drive space the various codecs
use. Since we would eventually like to support web-based voice mail
retrieval, I'm thinking of the wav format. I've specced out 2x160GB drives
in RAID-1 (software RAID via Linux) for the box. It will be supporting 30
SIP phones with voice mail.
TIA!
-Ron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041202/841865ee/att...
2007 Jul 31
5
Dropouts and echo
...yet to move to 1.4.9) but are getting
pressure to switch back to our old key system unless we fix two major
issues. So please help me avoid switching back!
An overview: We have about 12 Linksys SPA941 SIP phones connected on
a private switched network to our asterisk box which is a highly-
specced HP xeon server. This in turn connects to an Epygi gateway
( http://www.epygi.com/quadro-gateway/70/#isdn ), bringing in 4 ISDN
BRI lines as a SIP trunk.
The issues:
Dropouts - by far the most serious issue we've encountered. On most
calls (normally anything longer than 1 or 2 minutes)...