search for: wolpert

Displaying 13 results from an estimated 13 matches for "wolpert".

2007 Dec 21
5
Mocha and rails 2.0.2?
Folks- With Rails 2.0.2, I''m seeing mocha failures where they did not fail with Rails 2.0.1 test_set_to_process_fail_in_transaction(FileRecordTest): NoMethodError: undefined method `ord'' for 63:Fixnum /home/wolpert/svn/rubylms/vendor/plugins/mocha/lib/mocha/class_method.rb:45:in `hidden_method'' /home/wolpert/svn/rubylms/vendor/plugins/mocha/lib/mocha/class_method.rb:45:in `gsub'' /home/wolpert/svn/rubylms/vendor/plugins/mocha/lib/mocha/class_method.rb:45:in `hidden_method''...
2008 Jan 28
9
Nested matchers
We''re encountering a failure with Mocha 0.5.6. We had this expectation: game_version.expects(:attributes=).with(:game_file => kind_of(GameFile), :game_id => @game.id) This expectation was passing with 0.5.5, but fails with 0.5.6. I added this test to parameter_matcher_acceptance_test.rb, which passes in 0.5.5 and fails in 0.5.6 def test_should_match_nested_parameters
2004 Aug 06
1
Icecast deadlock with 1.3.12 (fixed)
This is in CVS, FWIW (that is, not much since the odds of 1.3.13 being released are epsilon close to nil). On Wednesday, 02 July 2003 at 11:38, Ned Wolpert wrote: > Folks, > I email abit ago about using 1.3.12 in my environment, and fixing a > dead-lock problem. Since 1.3.12 is 'obsolete', not supported, and GPL > I'm provided a patch to the mailing list of my changes to the the > src/soruce.c distributed file. (Its...
2008 Apr 13
1
Incorrect @INC: Rcmd SHLIB error under Windows (2.6.2, 44383) (PR#11161)
...ocated where it should be, below 'c:\PROGRA~1\R\R-26~1.2\share\perl', but perl can't find it because INC is set incorrectly. Any suggestions? Where IS 'INC' set? Cheers, -R ---------------------------------------------------------------------- Prof. Robert L. Wolpert : <wolpert at stat.Duke.edu> : +1-919-684-3275 Duke Univ. Dept. of Statistical Science : 211c Old Chem, Box 90251 & Nicholas School of the Environment : www.stat.Duke.edu/~rlw/
2004 Aug 06
5
Icecast deadlock with 1.3.12 (fixed)
...97, locking &source->mutex. I'm having trouble following the logic flow since it seems that the mutex always gets locked through the source_func() function but never unlocked. (Least not in the flows that I've followed) Any enlightenment? <p><p> -- Virtually, Ned Wolpert <ned.wolpert@knowledgenet.com> D08C2F45: 28E7 56CB 58AC C622 5A51 3C42 8B2B 2739 D08C 2F45 "An idea is something you have; an ideology is something that has you." --Morris Berman <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast...
2007 Apr 11
4
Feature request... I think...
...re should I do it? (And yes, one can easily argue that I''m likely making my test case too complicated if I have to do this, but we found an esoteric bug on a short-lived object and having a test to check for this specific case would help make sure that bug stays away.) -- Virtually, Ned Wolpert "Settle thy studies, Faustus, and begin..." --Marlowe Discere docendo...
2008 Jun 12
2
Anyone using trunk?
Has anybody been using Mocha trunk over the last month or two? I''ve done quite a bit of internal refactoring and wondered whether anyone had any problems. There are also a bunch of new features e.g. states, sequences, extra parameter matchers & configurable warnings, but these are not documented in the on-line rdoc. I wondered if anyone has been looking at the rdoc in trunk and
2004 Aug 06
0
Icecast deadlock with 1.3.12 (fixed)
...file. (Its small but significant, as it allows for transparent relays to work) I need to use icecast 1 until icecast2 is a) released and b) supports transparent relaying like icecast1 does for the time being. If anyone else is in the same boat, the following diff fixes problems with 1.3.12. [wolpert at memeplex] src> diff icecast-1.3.12/src/source.c old/icecast-1.3.12/src/source.c 686,692d685 < thread_mutex_unlock (&info.mount_mutex); < thread_mutex_unlock (&info.source_mutex); < thread_mutex_unlock (&in...
2008 Apr 14
0
Incorrect @INC: Rcmd SHLIB error under Windows (2.6.2, 44383) (PR#11165)
Has your environment variable path been set correctly? It's been a while that I'm not using R under windows but remember had experienced the same error. I remember that I had to put many paths as environment variable to build R packages properly. Best, Mathieu wolpert at stat.duke.edu a ?crit : > Hi, R team. > > I'm trying to build a dll from a c program to be invoked within R using > the .C() functionality. > > Everything works like a charm on my Linux (Centos 5) (also 2.6.2) machines--- > but under windows (Vista Ultimate) upon runni...
2008 Apr 14
0
(PR#11161) Incorrect @INC: Rcmd SHLIB error under Windows
...on contains a lot of prescriptive comments. They are here as a result of bitter experience. Please do not report problems to R-help unless you have followed all the prescriptions.} Do we need to say 'do not report problems to R-help, let alone as bugs ...'? On Sun, 13 Apr 2008, wolpert at stat.duke.edu wrote: > Hi, R team. > > I'm trying to build a dll from a c program to be invoked within R using > the .C() functionality. > > Everything works like a charm on my Linux (Centos 5) (also 2.6.2) machines--- > but under windows (Vista Ultimate) upon running (...
2006 Dec 04
7
I need help to connect Postgres and Ruby on Rails Please.
Hello to everyone, I have a problem that is giving me a headache, and trying to do a project in Ruby on Rails and I need to connect with a Data Base that is en Postgres, the truth is that I didn’t think that it was so hard to connect a DB with postgres because I was working with Msyql and everything was easy. This are the thinks that I have install in my computer. 1. Debian GNU/Linux, kernel
2007 Apr 12
15
Preview of Latest Mocha Changes
I''ve finally managed to find some time to do some serious work on Mocha. There are some code snippets on my blog (http://blog.floehopper.org/articles/2007/04/12/preview-of-latest-mocha-changes) showing the new functionality available in trunk (revision 128). I don''t don''t know how many people out there are using trunk, but it would be great to get some feedback on these
2007 Mar 06
15
mocking missing methods
Hi folks. So I''m using mocha on a ruby project, and I really like it. One thing I''ve noticed is that it can be a bit "surprising" when I''m mocking methods that don''t exist on an object, and I think there''s an easyish fix. At the moment, you use sheep = mock() to create a mock sheep. What I''d like to do is something like sheep =