search for: speccing

Displaying 20 results from an estimated 80 matches for "speccing".

Did you mean: spec'ing
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
...;'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 id...
2006 May 31
1
Server recommendations for running Xen/Debian?
Hi all, Sorry for the slight off topicness, but I''m looking around for an OEM Opteron server (more server will follow later) at the moment that will run Xen 3.0 and Debian Sarge. Basically I''m looking for any ideas and opinions about 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
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
Dear people of the help list I am drying to analyze my data using the 'lmer' function and I keep having problems. This is the model: > fm1<-lmer(dbh~spec+scheme+(1|Plot),data=d, REML=FALSE). I analyse tree size (dbh) of 3 different species (spec) and 3 planting schemes (scheme). I have 5 plots, which I hope to model as a random factor. (However, the subsequent output is based on
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, @client.stub!(:save!).and_raise...
2009 Jun 20
3
chaining support
Hi, An issue that'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
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_ra...
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
Drive space 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
2007 Jul 31
5
Dropouts and echo
Hi all, We have recently implemented an Asterisk system using Trixbox (asterisk v1.4.4 at the moment, 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