314261-345254

314087-349572 subjects 314524-315202

^ ActiveRecord::StatementInvalid in UserController#login
314261 [simon.slater] I am trying to implement the authentication code that is in the book
314262 [maran.hidske] def self.authenticate(login,password)

^ Access webservice on IIS with kerberos
314273 [mailforgilbe] i need to access a webservice running on

^ Testing the Gateway
314278 [james graypr] Please ignore.

^ Rinda: random ECONNREFUSED error
314281 [andreas_s ho] I was following rinda examples from http://segment7.net/projects/ruby/drb/r=
314287 [jcmoore pres] Good question. I can never get primary() to work either.
314335 [andreas_s ho] This seems works. Thank you.
314369 [jcmoore pres] I wish I knew for certain...I spent some time looking at it a few months

^ Re: convert ascii codes in a string to a string of character
314284 [renard nc.rr] irb(main):029:0> a="abcdef"

^ Need help translating Ruby code
314294 [hekevintran ] have a Ruby program that uses the mechanize library to connect to a Web
314342 [damnbigman g] I think this would be a better question for a Python list as you want a

^ CUDA bindings?
314295 [jzakiya mail] I was wondering if anybody has (is thinking of) creating CUDA
+ 314347 [jan.dvorak k] I was thinking about that few months back, but didn't really get to it due to
| 314786 [matt technor] Actually, I am interested and I'll be a number of the folks on the Beowulf
| 336432 [   exn bk.ru] I'm interested too =)
| 336433 [tony medioh.] I know the Rubinius people were interested in using GPU-type features or
+ 345254 [jinx jinxdes] Not quite CUDA, but I've written a very simple OpenCL wrapper library

^ [ANN] Drake: Distributed Rake
314299 [quixoticsyco] = DRAKE -- Distributed Rake
+ 314308 [ninja slapha] My first reaction was, "So hows is this different than Rake again? Rake has
+ 314343 [jos catnook.] Does Drake properly clean up its children if it is aborted with SIGINT? ISTR

^ [ANN] CompTree: Parallel Computation Tree
314301 [quixoticsyco] = CompTree: Parallel Computation Tree

^ [ANN] MacRuby 0.3
314303 [laurent.sans] It is a great pleasure to announce the immediate availability of
314341 [nineclue gma] Great! Thanks for the release.
314361 [laurent.sans] Thanks for the report, it was a bug in the installer process. I fixed

^ collect
314310 [sijo maxxion] I have to collect mail addresses like below
314315 [sijo maxxion] Here I tried like

^ Re: Drake: Distributed Rake
314313 [quixoticsyco] The same thing you do with a Makefile that isn't j-safe: (1) write the
+ 314316 [quixoticsyco] I forgot to mention that there is a good reason for the gem-only
+ 314346 [ninja slapha] Still going to be a fair number of cases of (3), I imagine: use locks to
| + 314353 [transfire gm] Hmmm.... this is not backward compatible. Things could go very badly
| | + 314355 [forall.x gma] % gem install drake
| | | 314358 [forall.x gma] % sudo chmod +x /var/lib/gems/1.8/gems/drake-0.8.1.11.0.1/bin/drake
| | | 314382 [quixoticsyco] It must be pulling the old rake libs.  In all my tests the gem has won
| | + 314373 [quixoticsyco] There is a mathematical reality we cannot avoid, from which
| | | + 314376 [martindemell] Yes! If you want it differently, you write in the ordering explicitly
| | | | 314377 [quixoticsyco] Yes, however my point was that if we agree this
| | | | 314378 [martindemell] A --file-order-implies-dependency flag might get us there in a lot of
| | | | + 314379 [quixoticsyco] STR
| | | | | 314381 [jos catnook.] I'm misremembering. SIGINT seems to work okay, it's SIGTERM that leaves
| | | | | 314557 [jim weirichh] What would be a good way to fix this?
| | | | | 314642 [jos catnook.] I'm probably being naive, but couldn't rake catch SIGTERM and handle it the
| | | | + 314391 [quixoticsyco] But I thought we just agreed those two forms should be the same?  Now
| | | |   314404 [martindemell] They *should* be the same, but if we're discussing legacy rakefiles
| | | |   314415 [transfire gm] *should*? How is one correct and the other not? They are just
| | | |   + 314435 [jim weirichh] Just to clarify:  In standard rake x, y and z will be invoked by task a
| | | |   | 314446 [transfire gm] Ah, so by design you consider it a bug. You could have fixed that from
| | | |   | 314452 [jim weirichh] (1) Guarantee that rake will invoke the prerequisites in the defined
| | | |   | 314495 [transfire gm] F =3D []
| | | |   | + 314508 [drbrain segm] They aren't potentially broken, they are broken.  If it happens to
| | | |   | | + 314511 [forall.x gma] did you do it?
| | | |   | | | + 314536 [drbrain segm] I evaluated a prerelease copy.  I've not yet tried this release.
| | | |   | | | + 314537 [quixoticsyco] Did you see my response above?  What is the output when you run drake
| | | |   | | + 314546 [transfire gm] There's no such thing as luck in computer programming.
| | | |   | + 314558 [quixoticsyco] Underspecified dependencies + parallel execution =3D=3D ambiguous behavior
| | | |   |   314561 [transfire gm] They are only unspecified according to an interpretation of how things
| | | |   |   314564 [quixoticsyco] Trans,
| | | |   + 314556 [jim weirichh] Because one assumes a dependency that is not explicitly declared.  Rake
| | | + 314562 [ninja slapha] That's not always the problem. Given that Rake itself doesn't guarantee any
| | + 314380 [transfire gm] I thought someone else might notice it and elaborate but there is
| |   314441 [jim weirichh] As stated before, assuming execution order amoung dependencies is a bug
| + 314371 [quixoticsyco] If by "non-thread-safe libraries" you mean a library whose Rakefile is
| | 314560 [ninja slapha] Which is, by the way, one of the most irritating things about Makefiles.
| + 314439 [jim weirichh] Actually, multitask will run all of the tasks dependencies in parallel,
+ 314438 [jim weirichh] I'm not quite sure what you are saying here, but if you are trying to
  314554 [quixoticsyco] I did not mean to imply there was something wrong with standard Rake.

^ Extending standard library by priority queue or search tree
314317 [artem.vorozt] I'd like to have guide for C++ programmers who wants to learn Ruby.
314327 [shortcutter ] Bad idea since this will change the character of Hash completely -
314359 [vjoel path.b] require 'rbtree'
314364 [artem.vorozt] Thank you all!

^ FXRuby run error under NetBeans
314318 [MAwiniarski ] Greetings,
+ 314337 [lyle lylejoh] FXRuby only works with the traditional C-based Ruby interpreter; it
+ 314366 [lrlebron gma] You may want to check which ruby platform your Netbeans project is set
  314449 [MAwiniarski ] True. I've change Ruby Platform to pure ruby and it works.

^ postgres (or pg) closes backend on exit
314319 [han.holl gma] (This is ruby-1.8.[46] on Linux).

^ smpp
314321 [pizzato pizz] does anyone have some experience with SMPP in Ruby?
+ 314322 [farrel.lifso] The only API I've ever seen is  http://rubyforge.org/projects/ruby-smpp/
| 314325 [pizzato pizz] I see it too. but I don't want to use Eventmachine. any ideas?
| 318039 [augustzf gma] EventMachine is awesome and harmless and that's why ruby-smpp uses it.
+ 314437 [no spam.plea] Not SMPP, but my gem that wraps libwbxml might help. Simply

^ Expectations : help
314334 [michel demaz] def expect_true &block

^ Local variable in loop affects callcc
314349 [suranap gmai] I was trying to do some simple backtracking, but it kept failing for
+ 314351 [dblack rubyp] I haven't unraveled it entirely but I believe it's not about the local
| 314357 [suranap gmai] anyway because x is not used. I want to do something with the value of
+ 314497 [sean.ohalpin] Like David, I haven't fully unravelled this myself, however it appears
| 314565 [jim weirichh] Ko1 once showed me a trick with continuations and local variables.
+ 314690 [pit.capitain] If you change the #testcc method a little bit, you can see what's
  314723 [suranap gmai] I modified your code to verify that the continuation is jumping back
  314806 [pit.capitain] What I wanted to show with the modified example is that AFAIK local

^ unsubscribe
314354 [dipen001 hot] unsubscribe

^ Re: Saving UTF-8 characters to YAML problem
314362 [rubyforum th] Saving YAML as UTF-8 should really be default behavior. UnicodeDammit!

^ How to access a method in the parent class
314367 [ibc aliax.ne] =2D----------------------
314370 [jcoglan goog] 2008/9/9 I=F1aki Baz Castillo <ibc@aliax.net>
314372 [dblack rubyp] This message is in MIME format.  The first part should be readable text,
314374 [ibc aliax.ne] RWwgTWnDqXJjb2xlcywgMTAgZGUgU2VwdGllbWJyZSBkZSAyMDA4LCBEYXZpZCBBLiBCbGFjayBl

^ problems with oniguruma lookahead
314375 [ruby_forum g] Ruby 1.8.6 with Oniguruama installed and working (everywhere else, this
314419 [shortcutter ] irb(main):001:0> s="<p><b>'Algebra'</b><br>"
314472 [ruby_forum g] Ah, thank you very much.  My regex learning was with PHP (PCRE, not

^ Re: How to handle popup dialog box
314383 [huyingtuo gm] try this function

^ yield/block question
314384 [kenneth.m.mc] This is something I know how to do in Python, but it's got me
+ 314386 [martindemell] array.flatten.each {|i| yield i}
| 314389 [kenneth.m.mc] Very elegant, with the drawback that it requires flattening a
+ 314388 [serabe gmail] What about this?
  314390 [kenneth.m.mc] Perfect, just what I was looking for. Thanks,
  314420 [shortcutter ] This can be generalized to Enumerable.  Still a handicap is that this

^ modal dialog handling
314385 [huyingtuo gm] I'm using watir 182(the version that supports modal dialog) to automate

^ YAML doesn't seem to be working properly
314393 [eric-ruby-ta] I'm trying to marshal some data using Ruby's YAML library, but the files
+ 314453 [brabuhr gmai] $ ruby -v
+ 314467 [shortcutter ] 1.8.7
+ 314550 [eric-ruby-ta] I'm not 100% sure that's the culprit, but it seems highly likely.  I'm

^ about String.sub
314394 [kdream95 gme] in javascript
+ 314401 [botp delmont] RnJvbTogS3l1bmcgd29uIENoZW9uIFttYWlsdG86a2RyZWFtOTVAZ21lcmNlLmNvLmtyXSANCiMg
+ 314416 [tpreal gmail] str.sub!(/aaa\((.+)\)bbb/){'AAA(' + $1 + ')BBB'}

^ MyndSnare - Conditioned: Human Album Launch
314399 [kpkrishnamoo] MyndSnare FINALLY launches the album Conditioned: Human - on the 19th of
+ 314406 [kpkrishnamoo] Really sorry about the previous mail... I sent it to all my contacts by
+ 314407 [kpkrishnamoo] Really sorry about the previous mail... I sent it to all my contacts by

^ Ruby Bug? Windows and UDPSocket and Errno:ENOTCONN
314402 [john.carter ] If I have a pair of Win2k Ruby processes bouncing UDP packets back and
314410 [billk cts.co] @@ -28,7 +28,6 @@
314544 [john.carter ] I thought, hmm, I'm pretty sure thats what I tried first....

^ How to pick up dropped script automatically, active records.
314405 [marc.hoeppne] I have been using Ruby for a while now - so I have a reasonable
+ 314459 [raasdnil gma] I recently made a similar system.
+ 314466 [ruby thomasz] What you want is a message queue solution. These do exactly what you

^ How to change the owner of a method in a block?
314422 [ibc aliax.ne] SGksIGxldCBtZSBleHBsYWluIHdpdGggdGhpcyBzaW1wbGUgY29kZToKCi0tLS0tLS0tLS0tLS0t
314425 [etaern yahoo] def initialize(&blk)
314426 [ibc aliax.ne] MjAwOC85LzEwLCBMZXggV2lsbGlhbXMgPGV0YWVybkB5YWhvby5jb20+Ogo+IExleCBXaWxsaWFt
314427 [botp delmont] RnJvbTogScOxYWtpIEJheiBDYXN0aWxsbyBbbWFpbHRvOmliY0BhbGlheC5uZXRdIA0KIyA+PiBC
314430 [ibc aliax.ne] MjAwOC85LzEwLCBQZcOxYSwgQm90cCA8Ym90cEBkZWxtb250ZS1waGlsLmNvbT46Cj4gRnJvbTog
314542 [botpena gmai] well, we can try again :)
314553 [ibc aliax.ne] e.

^ problem in window service
314424 [slogeshwaran] Actually i am new for ruby, i done mail sending  application in

^ invalid char '\220' in expression
314428 [MAwiniarski ] Greetings,
314429 [larsch belun] By coincience, I stumbled over the exact same error message yesterday
+ 314450 [MAwiniarski ] I'm using it with NetBeans Rails project, running Rake Task db:create
+ 314509 [MAwiniarski ] Maybe *.so files needs to be saved in a different encoding (ASCII,
  314515 [jan.svitok g] .so is usually renamed dll file (on windows) or the library itself (on
  314615 [MAwiniarski ] While using gems with NetBeans,
  315758 [MAwiniarski ] The answer to topic question is to use pure Ruby interpreter in

^ [ANN] Rake 0.8.2 Released
314431 [jim weirichh] = Rake 0.8.2 Released

^ Ruby equivalent of Integer.toHexstring(int) method in java
314440 [anilkandimal] gives the same output as given by Integer.toHexstring(int),but unable
+ 314443 [shortcutter ] irb(main):001:0> 123.to_s 16
+ 314447 [dandiebolt y] irb(main):005:0> "%x" % 45

^ Templates in Ruby
314442 [harshad gsla] I have a created a dll using c# .net. I am trying to access this dll

^ can play wav file on XP but not on Vista
314445 [chen_li3 yah] I know this is not a Ruby-related question but I wonder if anyone there

^ Re: Ruby equivalent of Integer.toHexstring(int) method in ja
314448 [etaern yahoo] if you don't like the ruby way , you could call that method directly

^ Error when running an exe created with rubyscript2exe
314451 [pihentagy gm] I've successfully created an executable with rubyscript2exe and

^ Please explain that
314454 [pilz osp-dd.] Can you please explain this behaviour ?
+ 314455 [fxn hashref.] On the one hand a leading "0" in an integer literal like that tells
+ 314456 [rimantas gma] fix.to_s( base=10 ) -> aString
+ 314457 [gregory.t.br] => 57
| 314460 [fxn hashref.] In fact the application itself has no sense of bases, applications
| 314463 [gregory.t.br] Right, I was mainly referring to the defaults for interacting with
+ 314458 [jan.svitok g] It's not an octal number anymore when it's parsed. It's just a number.
+ 314468 [ruby anthrop] Check the docs for Fixnum#to_s. It takes a base argument, which defaults to

^ Difference between "sleep()" and "Thread.stop"?
314461 [ibc aliax.ne] SGksIGlzIHRoZXJlIGFueSBkaWZmZXJlbmNlIGJldHdlZW4gZG9pbmc6CgogIHNsZWVwCgphbmQ6
314462 [shortcutter ] #sleep resumes automatically after a given time, #stop does not.
314464 [ibc aliax.ne] MjAwOC85LzEwLCBSb2JlcnQgS2xlbW1lIDxzaG9ydGN1dHRlckBnb29nbGVtYWlsLmNvbT46Cj4g
314469 [shortcutter ] I wasn't aware of that.  Learn something new every day. Thanks!

^ How to operate on 2 arrays simultaneously?
314470 [wpdster gmai] There has got to be a more elegant solution than this.  Suppose I have
+ 314471 [james graypr] a.zip(b).map { |l, r| l + r }
+ 314473 [ara.t.howard] a = 0,1,2
| + 314478 [wpdster gmai] Arrghh!
| + 314480 [shortcutter ] Well, if you want to avoid the temp Array you can do
+ 314474 [dandiebolt y] a=[1,2,3]
| + 314475 [jcribbs netp] Take a look at the zip method.
| + 314476 [matt tidbits] So did I until the other answers in this thread taught me about zip! :)
|   + 314477 [ara.t.howard] be careful with zip
|   | + 314485 [martindemell] zip takes a block, even in 1.8, though sadly it yields without
|   | + 314505 [matt tidbits] Everything in Ruby is a pointer. If a[0] is a pointer to a "big long
|   |   314512 [ara.t.howard] not really
|   |   314516 [vjoel path.b] It's less dramatic when the entries are not nil (or fixnum etc)--I think
|   |   314518 [ara.t.howard] true enough - my point is that the block form is much better when the
|   |   314635 [matt tidbits] Definitely relevant, too, since the block form is quite sufficient for
|   + 314479 [dandiebolt y] Instead of .zip I use .transpose as it is easier to remember and makes more sense mathematically
+ 314649 [peter.bunyan] Posted via http://www.ruby-forum.com/.
  314654 [caduceass gm] Yeah, that's probably what I would do for a simple script.  I haven't
  319740 [aarmbruster ] I just ran into a similar problem, and I thought it fits into this

^ How to execute files or commands in ruby?
314491 [f3ler0x69 gm] This is mi first message i'm new and i'm spanish if you are spanish please
+ 314494 [EVazquez cha] Overkill I know
| 314496 [f3ler0x69 gm] 2008/9/10 Vazquez, Eduardo <EVazquez@chartone.com>
| + 314498 [ruby.student] returned_data = `df``      # This will execute the command, *df* and the
| + 314503 [ruby.student] returned_data = `df``      # This will execute the
| + 314581 [rasputnik he] That sounds like you're using standard quotes (' or ").
|   314621 [sgwong513 ho] In windows, I always use system("cmd") because the backticks(`) doesn't
+ 314528 [kyleaschmitt] My favorite way of executing commands is
+ 314569 [jdinkel gmai] I use popen3 because I usually want to capture any output to stderr as

^ Redefe each to include each_with_index and arity=2
314492 [dandiebolt y] Is is possible to redefine each so that each_with_index behavior can be ach=
+ 314499 [forall.x gma] I'm not exactly sure why your code does not work.  It seems that
| + 314504 [dandiebolt y] =A0
| | + 314517 [forall.x gma] Like you, I've wondered why each could not do both things.  On the one
| | + 314543 [transfire gm] n to learn, but I have to admit that=A0I am stretching my understanding of =
| + 314693 [dandiebolt y] _index and each depend on each other in ways which you are not capturing wi=
+ 314716 [robert.dober] Where do you think the arity=3D-1 does come from? Does this ring a bell?
  314718 [dandiebolt y] Thanks for pointing this out. I have two motivations to pursue this:=20
  314947 [shortcutter ] I'd rather discourage doing this.  If you edit source code to add

^ Re: find a button using mechanize-with examples
314500 [chen_li3 yah] Thank you very much for all the help.

^ RubyConf Registration is Open!
314510 [chad chadfow] We are excited to announce that registration for RubyConf 2008 is now open!

^ [ANN] state-0.4.2
314513 [ara.t.howard] NAME

^ [ANN] terminator-0.4.2
314514 [ara.t.howard] NAME

^ how can I set my shell to irb?
314519 [etaern yahoo] 1) is it possible to change my shell from bash to irb ? if so,how ? ( I
+ 314521 [nathan natha] 1)
+ 314522 [forall.x gma] 1) Try putting 'exec /usr/bin/irb' or equivalent into your current
+ 314523 [phil philcow] You'll need to add it to /etc/shells, otherwise chsh will not let you
+ 314611 [ruby thomasz] This is interesting...
+ 314619 [psy matt-sch] vim .bashrc
threads.html
top