Displaying 20 results from an estimated 80 matches for "specced".
Did you mean:
spec'ed
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, ...)
2007 Apr 20
1
speccing a call to break
How can I spec that a method calls break? As far as I can see from
ri, break is a pure syntax element (not a method from Kernel or
Object), so I''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
2008 Jan 17
5
unusual challenges speccing external software
...roach so I can operate
with greater certainty. I think probably this approach is a good
direction, and that I should change the specs by making them more
specific. (For instance, there are places where I check that a
Generator subclass can do stuff, even though Generator itself isn''t
fully specced.) I''m not quite sure though.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
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
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 be...
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
scheme...
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
Hi everybody,
I''m using R on a 64-bit Ubuntu 9.04 (Jaunty). I prefer to install R
packages from source, even if they are available in Synaptic. The
problem is that I can''t install/compile kernlab. Everything works fine
until it gets to the lazy loading part:
** preparing package for lazy loading
Creating a new generic function for "terms" in "kernlab"
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,
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 a...
2008 Mar 05
4
has_many_polymorphs is breaking my spec file
Hey folks
I have a bunch of classes that are polymorphs, with has_many_polymorphs
(they are all ''labellable'', which is similar to being ''taggable'' in the
acts_as_taggable scheme). I have a couple of modules,
LabellableInstanceMethods and LabellableClassMethods in a file called
labellable_methods.rb.
The classes all get labelled with
2008 Oct 18
3
Cucumber "standard base" setup?
I''m trying to set up cucumber so we can try it in some Ruby automation
scripts I''m working on. These will be straight Ruby, for use in BBEdit
and TextMate (on the Mac).
NOT Rails.
The big early-stage stumbling block I''m having is setting up the
initial Rakefile and directory structure. I think I''m rtfm''ing, but
clearly I''m missing
2009 Mar 20
1
bypass_rescue and its inverse
Hey,
I''ve just started using rspec-rails 1.2 and the bypass rescue
declaration is wonderful - by default I tend to write controller which
raise exceptions (in exceptional circumstances), along with before-
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
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/attac...
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),...