234369-248843

234174-246860 subjects 234645-238016

^ what is dup?
234369 [moose56 gmai] I am playing with an example in the ruby cookbook where  a shuffle
234372 [wilsonb gmai] dup returns a copy (duplicate) of the object. In the above code, it is
+ 234398 [tamreenkhan ] return self.dup.shuffle!
+ 234404 [moose56 gmai] Thanks,

^ ODBC Oracle error for indexes() call "Invalid string or buffer length"
234376 [christopher.] I have a Ruby program talking to MS ODBC Driver for Oracle on WinXP.

^ Array Default Values
234381 [olsonas gmai] I'd like to have my array behave like this: If I add an item to a[5],
+ 234387 [dgoodlad gma] a = Array.new(5, " ") # => [" ", " ", " ", " ", " "]
| 234389 [tamreenkhan ] a=[" "]
| 234396 [olsonas gmai] 1. I'm golfing, so short length would be preferred.
+ 234388 [chunyun.zhao] a=Array.new(10, " ")
  234392 [chunyun.zhao] Just noticed that a.map!{|e|e?' ':e} throws parse error on my machine, is

^ Problem with login example in Agile Web Development with Ruby 2nd Edition
234391 [chhenning gm] Rails lists, at all. If I'm wrong here please let me know where the
+ 234406 [jan.svitok g] There is a google group specifically for Rails, so you might get
+ 234433 [dave pragpro] Did you install the version of Rails cited inside the book's front
+ 234525 [gmarik gmail] Didn't you forget = in  the  construction above? So it should look
  + 234527 [jan.svitok g] No. See DHH's blog. You either use = or do...end (if you have 1.2) and
  + 234568 [dave pragpro] No, that form is what should be used in 1.2.  It works as long as

^ inspect...and modify a proc object?
234402 [railsinator ] I'm trying to understand proc objects.

^ Calculate number of non-weekend days between two dates?
234405 [the.chrismo ] Any date/time libraries out there (I can't seem to find anything in the
234421 [dale.martens] require 'date'
234425 [gavin refine] require 'date'
234430 [the.chrismo ] Cool, thx for the suggestions (though I was hoping for a stdlib bit for

^ rubygems soap/wsdlDriver issue
234407 [alinutzzu ya] Recently I discover one problem into one of my Ruby scripts.
234411 [jan.svitok g] You are mixing two versions of soap4r: one bundled with ruby, the
234412 [alinutzzu ya] Thank you,

^ Fwd: Please Forward: Ruby Quiz Submission
234414 [james graypr] ...

^ Ruby .NET, RubyCLR, and Assemblies
234419 [gavin.kistne] charset="us-ascii"
234436 [jgbailey gma] This is not a behavior defined by RubyCLR (the only of the three I'm

^ Ruby .NET, RubyCLR, and Assemblies
234426 [gavin.kistne] (Resending again as plain-text (hopefully) to ensure it makes it through
234439 [ssmoot gmail] The short answer is no. RubyClr uses .NET's DynamicMethod.
236788 [adeveloper.g] Can you provide some examples of object-identity issues?  Or perhaps
236806 [brabuhr gmai] ...

^ RubyCLR - passing in a parameter of UInt16
234429 [bvanderw gma] I am trying to use RubyCLR to access an existing .NET assembly. When I
234438 [jgbailey gma] It's a bit of a hack, but I'd just use the System.Convert method that
234479 [bvanderw gma] Justin - that's one of the things I tried, and it doesn't appear to

^ [ANN] RubyGems 0.9.1
234434 [drbrain segm] = Announce: RubyGems Release 0.9.1
+ 234445 [parragh dayk] Where do I go wrong?
| + 234447 [lyle.johnson] I'm seeing almost the same thing here (running Mac OS X if it
| | 234450 [james.britt ] As of RubyGems 0.8.0, library stubs are no longer needed.
| + 234456 [drbrain segm] The gem indexer isn't running.  Please wait while Tom fixes.  All
| + 234503 [ryand-ruby z] To be clear, because of rubygems poisoning indexing has been turned
+ 234500 [unbewusst.se] $ sudo gem pristine --all

^ RedCloth and Rails
234437 [psychotron e] With my hoster i don't have the RedCloth gem.

^ Publishing a gem
234458 [rubyonrails ] I have a gem, all packaged and ready for installation, on rubyforge.
+ 234461 [msoulier dig] It's supposed to be automatic. It was for mine.
+ 234463 [tom infoethe] This process has been temporarily suspended, more details are on this

^ Alternate URI escaping mechanisms?
234459 [dwfrank gmai] URI#escape escapes to UTF-8.  I need to escape to Latin-1 for Amazon's
+ 234462 [alex blackke] Iconv may be what you're after...
+ 234464 [angus quovad] URI#escape escapes to UTF-8 because your string is UTF-8-encoded. Use
  234466 [angus quovad] ...
  234472 [dwfrank gmai] I found Iconv, but my head was bent the wrong way. I was escaping, then

^ Solutions for deep class paths
234460 [luke madstop] I've currently got a very flat code structure in a large code base
+ 234474 [gsinclair gm] module Puppet; module OSAL; class Type
| 234489 [luke madstop] module Puppet; module OSAL; class Type
+ 234486 [gwtmp01 mac.] module Puppet
  234490 [luke madstop] Well, the constants in this case are all of the class constants, not
  234491 [gwtmp01 mac.] If each class has its own collection of constants, why aren't you
  234496 [luke madstop] Well, that's kind of what I want, except that in this case the
  234521 [gareth.adams] Personally, I don't see this as a bad thing. I would say it's a good idea to use

^ [ANN] RubyGems 0.9.0 and earlier installation exploit
234465 [drbrain segm] charset=US-ASCII;

^ images in FXRuby
234467 [rajsahae gma] I'm new to FXRuby, and I'm having a problem with displaying images.  I'm
+ 234469 [rajsahae gma] That's a typo.  Should say FXJPGImage.new.  But that's not the problem,
+ 234482 [lyle.johnson] Right offhand, I'm not sure, but the problem may be that you're
  234587 [rajsahae gma] Thanks for your help.  Just in case anyone searches this in the future,

^ images in FXRuby
234468 [rajsahae gma] I'm new to FXRuby, and I'm having a problem with displaying images.  I'm

^ ruby-DBI and SQLite3?
234477 [jos catnook.] Is anybody interested in working with me on updating ruby-DBI to support
234485 [mkasick-rt c] There already exists two implementations of a SQLite3 dbd that I'm aware
+ 234493 [jos catnook.] Hey Mike,
+ 246694 [jos catnook.] I have been using sqlite3-ruby for a while now and it seems to work fine.

^ help me..Urgent...
234498 [anjum.pathan] PLZ help me
+ 234501 [gregory.t.br] A lot of times all you need to do is try again.  There is some work
| 234512 [phillipsds y] ...
| 234516 [jean.helou g] export http_proxy="http://<proxy_address>:<proxy_port>/"
+ 234526 [jan.svitok g] it's either that (1) you have a network problem, or that (2) rubyforge
  234534 [tom infoethe] Gems are still working, it's just that since Sunday new gems are not

^ RubyConf 2006 Presenter? Send me your materials!!!
234505 [ryand-ruby z] I've been hosting the rubyconf presentation materials for the past 5
+ 234550 [Bil.Kleb NAS] Please?  Pretty please?
+ 234555 [ntalbott gma] Linking would be preferred.
+ 234631 [gregory.t.br] ...

^ Socket errors
234506 [bruce.woodwa] Howdy,
234532 [anjum.pathan] thnx bruce..

^ mysql error handle
234513 [bebitzaa yah] I am making an connection with mysql
+ 234517 [alex blackke] conn = nil
| 234519 [bebitzaa yah] unexpected kRESCUE, expecting kEND
+ 234520 [_mwryder wor] Couldn't you create a separate account with a single table with only the
  234523 [bebitzaa yah] No i create users on mysql with rights on tables, this is why i chose

^ Re: RubyGems 0.9.1
234518 [am artbot.de] Successfully installed rubygems-update, version 0.9.1
+ 234531 [ryand-ruby z] I don't use your OS, so I can't help.
+ 234566 [GENIE prodig] Get gem from http://rubyforge.org/frs/download.php/16451/rubygems-update-0.9.1.gem
+ 234599 [kevwil gmail] You probably have rubygems-update-0.9.0 installed as well.
  234856 [andrewskegg ] I seem to be having some trouble with thre "-p" or "--http-proxy" option
  234862 [andrewskegg ] export HTTP_PROXY = "http://proxy:3128"
  + 234939 [f andreas-s.] How about checksums to verify that the gem you get from a mirror is the
  + 236089 [jbirdjavi gm] I'm having this issue too (running on Windows, though).  Shouldn't this
    236132 [drbrain segm] You added it where?  Please submit a patch.  (If you just respond to
    236162 [andrewskegg ] I can verify this fix works - at least for me :)
    236165 [jbirdjavi gm] I added this as a bug actually (#8152).  This fix (to quote the
    236192 [drbrain segm] Thanks, that'll help me track this down for real.

^ [ANN] Getopt/Declare v1.20
234522 [GGarramuno a] Regular Expressions

^ String pleasure (was: [ANN] Getopt/Declare v1.20)
234524 [benjohn fysh] The library looks groovy.
+ 234548 [GGarramuno a] You don't, really, but it is better to use '', to have other
+ 234556 [twifkak comc] '' tells Ruby not to interpolate, while the default (without quotes) is
  234589 [gavin refine] The above is correct, unlike (I think) some other answers in this
  234591 [gavin refine] #=> a2
  234598 [benjohn fysh] That's a nasty bug in ruby you've found there ;-)

^ Intensive computing: Ruby? Ruby/C? Pure C++?
234529 [ shot hot.pl] with C extensions (InlineRuby, ruby2c, etc.) and pure C++. I'll try to
+ 234535 [benjohn fysh] I'd go with prototype in Ruby, probably.
| + 234536 [benjohn fysh] P.S. You may also find that there are languages or tools out there that
| + 234605 [ shot hot.pl] Thanks a lot for taking the time to reply, Benjohn!
|   + 234620 [w_a_x_man ya] LuaJIT probably won't be as fast as OCaml, but I think Lua
|   | 234693 [w_a_x_man ya] Ruby   245.763 seconds
|   | + 234776 [w_a_x_man ya] function report_primality( tbl )
|   | + 234782 [ryand-ruby z] def prime(n)
|   |   + 234790 [w_a_x_man ya] You're saying that pure Ruby took less than 2 seconds?
|   |   | 234827 [ryand-ruby z] Yes, on my computer it ran in 2 seconds, but I didn't have the same
|   |   | 234861 [w_a_x_man ya] Your mentioning bignums made me wonder whether my previous
|   |   + 234846 [mguterl gmai] Where does this call to optimize come from?
|   |     239626 [ryand-ruby z] From my fingers? I think what you mean to ask is where is optimize.
|   + 234716 [umptious gma] It sounds like you need to know C++, if only for political reasons.
+ 234601 [ryand-ruby z] Some work has been done in this area to some extent. Check out RHDL
| 234969 [ shot hot.pl] Thanks a lot for your reply, Ryan!
| + 234973 [ara.t.howard] if you can make it parrallel you may also want to check out ruby queue
| + 248843 [pbooth nocoi] Shot,
+ 234610 [ shot hot.pl] Thanks a lot for your reply, Ed!
  234617 [ara.t.howard] don't forget about ruby/dl.  you can simply call c functions directory with

^ Ruby/Password Windows
234530 [Peter.Meier9] I'd like to use the package Ruby/Password.

^ Ruby on Linux with date extension
234533 [smitsr gmail] I want to compile ruby on Redhat Enterprise 3 with the "date" and

^ RFC2822::EmailAddress
234537 [josselin wan] I am checking email addresses using RFC2822::EmailAddress
234549 [ruby ml.icem] it could still be 'me@somehost' - and as long as your mail service can
234554 [josselin wan] thanks  a lot
234558 [bitdoger2 ya] ...excuse me....but..how do i load this module or is it a constant???
234583 [dom helenmar] module RFC822

^ (none)
234538 [anjum.pathan] Unsubscribe Anjum Pathan

^ Accessing CVS from within a ruby application
234539 [Rob.Garwood ] I need to access a CVS repository (read only) from within a ruby
+ 234540 [farrel.lifso] ...
| + 234542 [Rob.Garwood ] CVS not CSV lol :-)
| | 234544 [farrel.lifso] Oops! My bad!
| + 234543 [vorn nightst] Er... not quite.  CVS is Concurrent Versioning System, an open source
|   234545 [Rob.Garwood ] When I said CVS not CSV, it was in regards to my original question.
|   234576 [Rob.Garwood ] ok, don't worry about this now. It was quicker to write my own.
+ 234608 [GENIE prodig] I've had generally good luck with RSCM
  235852 [Rob.Garwood ] I used a system call to interact with CVS from a command prompt, as it

^ Aborting a rake task which uses a subprocess
234546 [alex blackke] I've got a rake file which I use to deploy a website.  This rakefile

^ determine arguments passed to a method at runtime
234551 [rubyeu yahoo] Is that possible?

^ Reading from $stdin
234557 [adrian hang1] I need to read from a usb connected barcode reader and I thought ruby
+ 234565 [shortcutter ] Do you actually redirect stdin to read from that device?
| 234633 [adrian hang1] In answer to your question, no I don't redirct stdin, should I?
| 234653 [shortcutter ] Well, if you don't the script will sit there and wait for you to enter
| 234712 [adrian hang1] Well I have written a small script to read from stdin and guess what, it
| 234717 [martin.portm] each_with index reads one line at a time.  A line needs to be
| 234797 [adrian hang1] I must be really stupid but I don't understand this at all, How does the
| 234831 [wardies gmai] [what follows has nothing to do with Ruby; it concerns device setup]
+ 234579 [ara.t.howard] but this is __exactly__ what you told it to do?
  234634 [adrian hang1] Hmmm I need to read and digest this. Thankyou

^ Passing math method to another method?
234560 [caldridge gm] +, -, **, ^
+ 234562 [james graypr] => nil
+ 234563 [fxn hashref.] a.send(to_do, b)
+ 234564 [Rob AgileCon] => nil
+ 234567 [shortcutter ] Several ways to do it
  + 234588 [caldridge gm] Wow. Thanks for the input guys.
  | 234592 [shortcutter ] ** SPOILER **
  | 234594 [caldridge gm] What's top post? (sorry, I'm new to google groups --I put my reply at
  | 234596 [caldridge gm] Cool... I think this works :-)
  | 234699 [shortcutter ] Basically if you think this further through, what you are trying to do
  + 234590 [invalid gmx.] Any specific reason for to_sym's appearing there?
    234593 [shortcutter ] Yes, my ignorance. :-)

^ Japanese mailing list
234571 [ruby.hardwar] I have posted a few (23 so far) English translations of some subject

^ Ruby on Rails Software Engineer Opportunity-Baltimore, MD
234573 [blkeihm bell] I am in the process of recruiting for a firm located in the Baltimore,

^ Net::SFTP transferring 200mb+ file problems
234575 [manjiro gmai] I'm using the Net::SSH and Net::SFTP gems.
234654 [pgquiles elp] A fix is needed but the author says he has no time.

^ Application error
234581 [TODO01 gmail] the page display this message..:Change this error message for

^ Ruby && PDF generation
234595 [Reid.Thompso] I cannot recall if I've posted this link before; regardless, anyone who
234650 [renard nc.rr] great examples -- thanks
234674 [reid.thompso] yeah, perhaps we should mention to the maintainer that the list might be
234680 [nephish gmai] hey thanks, and just in time.

^ Eventmachine - pure Ruby port
234597 [markhaliday ] There was talk this past fall of a pure Ruby port of Eventmachine that
234624 [jameskilton ] I do believe the pure Ruby EM is perfectly functional and pretty close to as
+ 234635 [markhaliday ] This is something I'm wondering about.  I've seen and used Twisted for
| 234685 [garbagecat10] I've done some experiments with the low-level pure Ruby socket functions and
| 234687 [cremes.devli] I'm looking at adding netstrings support to EM so it's easier to add
| 234739 [garbagecat10] Sounds great, looking forward to seeing that.
+ 234683 [garbagecat10] but it hasn't been particularly tuned for performance. There is a small

^ output to mysql db
234606 [furfey gmail] Very new to Ruby and I'm curious if this is possible....
234609 [chris.lowis ] Chris

^ ActiveRecord find_by_*() - how does it work?
234611 [escoz msn.co] I've been trying to understand how the find_by_*() method on
+ 234612 [dblack wobbl] method_missing
| 234615 [escoz msn.co] PERFECT!
| 234616 [escoz msn.co] Thanks, Ilan
| 234619 [coder68 yaho] Argghh.. .I am always plugging Dave Thomas's "Agile Web Development with
+ 234614 [coder68 yaho] Your question makes perfect sense and you already figured it out..
+ 234618 [sam powersou] Yes, you can write method_missing method that can handle that... though
| 234621 [escoz msn.co] Thanks again Ilan!
+ 234629 [rsanheim gma] and of course, _Ruby for Rails_.
  234632 [escoz msn.co] Thanks a lot, Rob!

^ Minor RAA tweak - longer project names
234613 [djberg96 gma] Any chance we could get the project name limit increased from 15 to 32

^ where is $: defined?
234630 [andreas_s ho] I'm installing my own ruby but need to use the other gnu tools from my
234638 [jan.svitok g] I suppose the default is compiled-in (the configure --something should
234663 [andreas_s ho] I don't see that incorrect path for $: defined any where in config* file or

^ ObjectSpace.define_finalizer does not run some procedure structures
234642 [paul.denize ] I have Ruby 182-15 on WinXP
+ 234652 [shortcutter ] There's a subtle difference between the first and the other two: the
+ 234660 [ara.t.howard] finalizers cannot refer the to object being finalized.  in the second and
  234701 [shortcutter ] Still the fact remains interesting that at least one of the other
threads.html
top