similar to: how is this possible?

Displaying 20 results from an estimated 1000 matches similar to: "how is this possible?"

2005 Jun 01
1
Unable to authenticate against an OS/2 PDC
In keeping with my theme of OS/2 - Samba (v 3.0.15) authentication issues I have another issue that I was hoping to get some help with. What we are trying to do is have the Samba server authenticate users against an existing OS/2 PDC. I believe that I have set everything up correctly however I am not able to authenticate any users successfully. First I try to join the domain by running the
2003 Oct 09
4
howto enable ssh on connect to rsync daemon
Hi, I'm trying to setup automatic sync of files over SSH from node2 to node1. node2 is the "server" and node1 is the "client". I have setup rsync like this on the nodes which runs AIX (4.3.3 and 5.1): 1. Installed rsync from Linux Toolbox (rsync-2.5.4-1.aix4.3.ppc.rpm) on both nodes. 2. Added following to both nodes /etc/services file: rsync 873/tcp 3. Added
2017 Oct 13
2
X11forwarding yes: how to debug/setup after xauth fix
On 13/10/2017 08:03, Damien Miller wrote: > On Thu, 12 Oct 2017, Michael Felt wrote: > >> On 08/10/2017 23:32, Michael Felt wrote: >>> On 04/10/2017 11:07, Michael Felt wrote: >>>> I do not often use X11 - but when I do I prefer to enable >>>> X11forwarding, and when finished - turn it off. This is preferable, >>>> imho, to having
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
Hello, After moving into the HEAD of rspec, I am greeted with a mountain of errors, which I expected, due to my specs not being migrated. I use hpricot for a lot of my view tests, as it is extremely simple to traverse the DOM with it. I used to include HpricotSpecHelper in spec_helper.rb, like so: require ''hpricot_spec_helper'' module Spec module Rails module Runner
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?
2006 Mar 25
6
Polycom IP 301 is slow
Hi guys, I've been using a Polycom IP 301 for 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
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
2011 Jul 28
3
how to shift a chron timestamp by 6:30 hours
Dear help list, I have a timestamp in as a chron object: > (x <- chron(dates = c("12/02/11", "22/11/11"), + times = c("07:30:00", "04:00:00"), + format = c(dates = "d/m/y", times = "h:m:s"))) [1] (12/02/11 07:30:00) (22/11/11 04:00:00) Now I want to shift the timestamp by 06:30 (hh:mm) backwards, to get
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
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
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
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 tool to do this
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) ... If 'code=2' an arrowhead is drawn at
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