search for: hoffman

Displaying 20 results from an estimated 238 matches for "hoffman".

Did you mean: hoffmann
2003 Oct 16
0
make error R-1.8.0 on SuSE Linux 7.3 (i386)
...to: r-help at lists.R-project.org because: Delivery time expired I already had this problem earlier and last time r-help at stat.math.ethz.ch worked. 2. But now the real issue: I can't make R-1.8.0 on our SuSE Linux 7.3 (i386). make reports: make[3]: Entering directory `/yphome/hoffman/projects/rsources/R-1.8.0/doc/html' make[3]: Leaving directory `/yphome/hoffman/projects/rsources/R-1.8.0/doc/html' make[2]: Leaving directory `/yphome/hoffman/projects/rsources/R-1.8.0/doc/manual' make[1]: Leaving directory `/yphome/hoffman/projects/rsources/R-1.8.0/doc' make[1]:...
2007 May 10
5
Shared behavior and_raise problem, and site aestetics
Hello, Is anyone else having trouble with the and_raise method on mocks, with respect to shared behaviors? If I do the following instead: foo.should_receive(:bar).and_return { raise } everything seems to work. I have been supplying no arguments to and_raise, by the way. Also, you may want to make the background in the code examples on the home page a little lighter. I am hardly able to
2007 May 04
11
spec template for CRUD?
Hello, Has anyone already come up with a set of shared behaviours that someone could leverage when adhering to a CRUD concept, with respect to controllers? Relatedly, it would be nice if there were a way to share generalized behaviour specs. -Chris
2007 Apr 30
7
Migrating spec_helper with modifications
...ments'' for #<#<Class:0xb6f12a14>:0xb6eb8ff0> element(s) is a top-level method, so I would do things like the following: element("p").inner_text.should == "Hello World" The following link shows HpricotSpecHelper (with syntax highlighting): http://src.chrishoffman.net/lib/hpricot_spec_helper.rb Please let me know if I am not being clear with my difficulty. Thanks for the help. -Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070430/3b6a376e/attachment.html
2006 Mar 25
6
Polycom IP 301 is slow
...r a couple of weeks now and find that it's extremely slow for configuring. For instance, it takes several minutes to boot up, apply any changes via the web interface takes at least a minute, etc. Is this normal behaviour? Is there anything that can be done about it? Thanks, -- Nick e: nick.hoffman@altcall.com p: +61 7 5591 3588 f: +61 7 5591 6588 If you receive this email by mistake, please notify us and do not make any use of the email. We do not waive any privilege, confidentiality or copyright associated with it.
2007 May 03
3
0.9.2 redirect_to no longer accepts hash?
Why am I now getting these errors? expected redirect to {:action=>"index"}, got redirect to "http://test.host/authenticated_users" I know in the AuthenticatedUsersController, the redirect call is redirect_to :action => ''index'' So why should I have to convert this to a url in my specs?
2007 Apr 30
3
svn head api url?
Hello, Is there a url for the api used on the development branch, which gets updated per commit or so? I am using rspec as a plugin, complete with the externals property, and would like to refer to the new api while I fix all my specs up. Thanks. -Chris -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Apr 30
2
Can R do rts (Regular Time Series) like S-Plus?
Dear readers, S-Plus have a rts function (Regular Time Series), which is used like so: fveks<-read.csv('http://louise.hoffman.googlepages.com/veks.csv',header=TRUE,sep=',') attach(fveks) acf(ts.intersect(rts(HC.f),rts(Ta.f),rts(GR.f),rts(W.f))) Warning the csv file is 750kB. Can the same be done in R? Lots of love =) Louise
2015 Aug 03
2
How to import an mbox to an existing user as a new mailbox
On 2 Aug 2015, at 23:27, Steffen Kaiser wrote: > On Sun, 2 Aug 2015, Paul Hoffman wrote: > >> Greetings. I have a bunch of mbox files that I want to import to an >> existing user, each into a new mailbox. That is, I want to import the >> file project1.mbox to user Foo, into a newly-created mailbox called >> "Project 1". Is there a dovecot...
2011 Jul 28
3
how to shift a chron timestamp by 6:30 hours
...07:30:00) (22/11/11 04:00:00) Now I want to shift the timestamp by 06:30 (hh:mm) backwards, to get [1] (12/02/11 01:30:00) (21/11/11 21:30:00) How can I achieve this? Are there any more detailed examples on manipulation of chron objects? I have some trouble with this. Thanks in advance, Maciej Hoffman-Wecker
2015 Aug 09
2
How to import an mbox to an existing user as a new mailbox
On 3 Aug 2015, at 7:16, Steffen Kaiser wrote: > On Mon, 3 Aug 2015, Paul Hoffman wrote: >> On 2 Aug 2015, at 23:27, Steffen Kaiser wrote: >>> On Sun, 2 Aug 2015, Paul Hoffman wrote: >>> >>>> Greetings. I have a bunch of mbox files that I want to import to an >>>> existing user, each into a new mailbox. That is, I want to import...
2006 Nov 07
2
Snom 360 flickering screen
Hi guys. I just bought and configured a Snom 360 and have noticed that the LCD is constantly flickering at a rate of ~10-15Hz (that's a guess). Either way, it's very distracting. Has anyone else encountered this before? Any solutions? Cheers, -- Nick E: nick.hoffman@voxpak.com P: +61 7 5591 3588 F: +61 7 5591 6588 If you receive this email by mistake, please notify us and do not make any use of the email. We do not waive any privilege, confidentiality or copyright associated with it.
2007 Apr 13
4
mock out render call in helper
Hello, Does someone know where I can hook in to mock out a render call from a helper in Rails? I know I can do this in view specs with the following @controller.template.stub!(:render) but template doesn''t seem to be attached to @controller in a helper context. Thanks. -Chris
2007 Apr 12
11
Test if view renders appropriate partial?
Hello, I am testing out a partial that calls another, general purpose partial as part of its processing. Is there a class I can mock in Rails views to accomplish what I need? That is, could I do something like the following: SomeClass.should_receive(:render).with(:partial => "foo", :locals => { :bars => bars }) I tried breakpointing the view, and it looks like I am greeted
2007 Mar 15
5
rake spec:views no transaction error
Hello, I have recently upgraded to the 0.8.2 release of rSpec, and I am receiving the following message with each view spec execution: WARNING: there is no transaction in progress I have upgraded the rspec_on_rails plugin as well, and both the model and controller tests are working flawlessly. Is there some simple step I missed? thanks for the input. -Chris -------------- next part
2007 Dec 01
2
Sweave: Variables in code chunk headers
I would like to be able to do something like this: <<echo=F,fig=T,width=mywidth>>= ... @ with mywidth set in a previous code chunk. Is there a way to do this in Sweave? (Sorry for two questions in a row, I have been saving these up.) -- Michael
2007 Dec 01
2
Sweave: Variables in code chunk headers
I would like to be able to do something like this: <<echo=F,fig=T,width=mywidth>>= ... @ with mywidth set in a previous code chunk. Is there a way to do this in Sweave? (Sorry for two questions in a row, I have been saving these up.) -- Michael
2005 May 05
3
documenation for arrows() is backwards (PR#7839)
Full_Name: Michael Hoffman Version: 2.1.0 OS: Linux (Fedora Core 3, kernel 2.6.11-1.14_FC3) Submission from: (NULL) (193.62.199.8) help(arrows) says: """ arrows(x0, y0, x1, y1, length = 0.25, angle = 30, code = 2, col = par("fg"), lty = NULL, lwd = par("lwd"), xpd = NULL...
2007 May 15
3
nested blocks
Hello, Does anyone have an explanation for why the following code results in the error that follows? I also would value any criticisms of my approach (i.e., defining it_should_populate_collections). Thanks -Chris #Code def it_should_populate_collections(condition=nil) it "should populate any necessary collections #{condition}" do [*@collections_to_populate].each do
2008 Mar 02
3
Need help to locate my mistake
Dear readers I would like to make General Linear Model (GLM) for the following data set http://louise.hoffman.googlepages.com/fuel.csv The code I have written is fuelData<-read.table('fuel.csv',header=TRUE, sep=',') n<-dim(fuelData)[1] xOnes<- matrix(1,nrow=n,ncol=1) x<-cbind(xOnes,fuelData[,3]) y<-fuelData[,4] theta<-((t(x)%*%x)^(-1))%*%t(x)%*%y which gives > theta...