226363-238700

226154-230629 subjects 226556-227545

^ unexpected kEND, expecting $
226363 [steve foowor] a = IO.readlines('testparsed')
+ 226364 [farrel.lifso] File.open filename do
+ 226368 [jan.svitok g] -   File.open filename
+ 226504 [nospam nosit] a.each do |groupname|

^ What is the right stack size on OSX? Was: Re: Ruby hangs on OSX
226366 [mariano.kamp] still not sure what the problem really is about. As nobody
226827 [crafterm gma] Interestingly, the program you've sent around works for me on my G4

^ Re: logger question
226372 [ara.t.howard] require 'logger'
226373 [ mfp acm.org] $ cat b.rb

^ RUBYSCRIPT2EXE.appdir show the temp dir
226375 [nuthinking g] I'm trying the following code
226494 [nuthinking g] So, I presume this is a good news... cheers Eric :)

^ [ANN] s3-ruby 0.1.0 Released
226376 [cdcarter gma] s3-ruby version 0.1.0 has been released!
226408 [george.mosch] Nice!

^ [SUMMARY] Literate Ruby (#102)
226378 [james graypr] We definitely have to do more quizzes where the nature of the problem encourages

^ GNURadio bindings for ruby (request)
226384 [ruby tcb.mai] I doubt anyone on this list that has done any work on bindings

^ Anyone else getting weird flickr errors?
226388 [gregory.t.br] When I post to RubyTalk, I've been getting a 'your photo upload
+ 226389 [cdcarter gma] I have been getting this too.
| 226392 [gregory.t.br] I'll probably set up a filter to auto-trash these, but this is
| 226393 [efine145-nos] I also have the problem. I already sent Flickr (help AT flickr.com) an
| 226394 [gregory.t.br] Not sure.  I wonder if they require email verification.  If you could
| + 226395 [cdcarter gma] No, what is happening is someone's "secret email" got subscribed to the
| + 226547 [shortcutter ] Yeah, that would be my theory as well.  Maybe some robot grabbed ruby-talk's
+ 226928 [donn cmscms.] Shortly after reading the header to this message, my Outlook pop-up
| 226929 [doog google.] I've been getting the same messages.  Just started today.  I'm on Macintosh
| 226933 [runner berke] Yes, I've been getting them too.  I get the error each time I send a
+ 226935 [transfire gm] Flickr allows its users to upload photos via email to a
  + 226967 [robert.dober] That's great, thank you.
  + 227003 [ramalho gmai] The response from Flickr quoted below was 12 hours ago, but the issue
  + 227006 [lukfugl gmai] Their diagnosis is close, but not correct. And it's far enough from

^ Problems with String#hash
226404 [george.mosch] Dear devs,
+ 226407 [jan.svitok g] string.c:851
| 226667 [george.mosch] The offending version is the 1.8.4 version that comes with Ubuntu
| 226671 [decoux moulo] It's an x86_64 ?
+ 226430 [darshan.isha] darshan@shadow ~ $ ri -T Object#hash
| 226669 [george.mosch] Yeap, that's what I am thinking. The offending machine has an AMD64 processor.
+ 226510 [shortcutter ] There is no guarantee that String#hash will behave the same in all
  226665 [george.mosch] Yeap, this is an application design problem. This is an old (legacy)

^ Removing a tag from an xml document
226406 [cgallagher g] Im trying to convert part of a HTML document to REXML and its throwing
226411 [peter rubyra] input.sub('</tbody>') {''}
226412 [cgallagher g] Thanks for the reply.

^ Unsubscribe
226410 [malp_pontes ] Unsubscribe-me, please.

^ [ANN] Curb 0.0.2 released
226414 [rossrt rosco] Hot on the heels of Curb 0.0.1, version 0.0.2 is now available from

^ RDoc - run cpp first?
226415 [rossrt rosco] Just wondering if there's a way to get Rdoc to run the C preprocessor
226421 [rossrt rosco] Okay, that's my stupid question for this week over with. Obviously it
226425 [jan.svitok g] It seems there is a switch to gcc's cpp  that tell it to keep the
226622 [rossrt rosco] Interesting - I missed that option. I just tried it out, and it seemed

^ A directory "grep" in RUBY?
226416 [pbailey bna.] Can someone point me to a quick "grep" like function in RUBY? I use glob
+ 226417 [eban os.rim.] % ls
| 226418 [pbailey bna.] Thank you! I've never seen "Dir.entries" before. Very cool.
+ 226419 [hgs dmu.ac.u] Not the answer you want [below], but look at glark
| 226422 [pbailey bna.] Thanks, Hugh. I went to that web site and download the .gz file. I need
+ 226420 [louis.j.scor] You might not want to do this--see the other suggestions in the
| 226423 [pbailey bna.] Wow! Thanks, Lou. This looks interesting, but, a lot of it seems beyond
| 226427 [louis.j.scor] Peter;
| 226875 [pbailey bna.] Yup, that helps. I get it. Thanks, Lou. A deeper understanding is always
+ 226513 [shortcutter ] Dir.glob('f*.eps').grep(/^f[0-9]{7}\.eps$/)
  226876 [pbailey bna.] Grepping on a glob. That makes sense. I knew that grep could be used

^ Question
226424 [freebusiness] I don't have much experince in using any web based framework.
+ 226428 [ramalho gmai] Yes.
+ 226518 [matt tidbits] Yes. See below.

^ Torrent library for Ruby
226432 [andrei andre] I'm fairly new to Ruby and the whole Ruby on Rails thing, although I have some experience with ASP.NET and C#. I'm trying to
+ 226754 [gilesb gmail] is both friendly and smart. He's an AI guy at Stanford. He said the
+ 238700 [corbanbrook ] ...

^ Ruby with regular expression
226445 [hubert.yoshi] I'm new to Ruby (and Regular expressions in general) and as such,
+ 226444 [nospam nosit] What distinguishes the lines you _do_ want to change from the ones you
| 226447 [hubert.yoshi] Sorry, should have made it clearer.
| 226450 [nospam nosit] You really should show clearly how the target lines differ from the
+ 226454 [w_a_x_man ya] This will modify the original file and create a backup file.
| 226458 [hubert.yoshi] Thank you!
+ 226664 [ruby anthrop] } Hi,

^ [ann] Ruby appscript 0.2.0 released (Mac OS X)
226449 [has.temp3 vi] Announcing the 0.2.0 release of Ruby appscript, a high-level,

^ Where can I find an Hpricot gem?
226465 [ihatespam ho] I tried to install the new mechanize gem package but it failed saying I
226464 [mikewoodhous] On Nov 22, 9:27 am, "Just Another Victim of the Ambient Morality"
226468 [ihatespam ho] If you look at the very page you list, here, you'll see that it says
226704 [louis.j.scor] On 11/24/06, Just Another Victim of the Ambient Morality

^ What can Ruby offer?
226467 [smokey.thc n] I have been looking into the Ruby language for awhile now.....reading
+ 226471 [sgershon gma] As a script language, Ruby needs the interpreter to be installed. Tha
+ 226834 [ruby muerman] Ruby is an interpreted programming language. That means that it
  226836 [oleg.barenbo] Even though Ruby is an interpreted language, its packaging capabilities

^ event.rb line 434 : problem occurs while repeated creating and deleteing objects
226469 [teeshift gma] Well...  I have built a tiny canvas program using Ruby/Tk.
226647 [nagai ai.kyu] Could you try the followings?
229108 [teeshift gma] Well..  I have tried several times without success so here it is ...
229109 [teeshift gma] oh... you don't really need dec2ox.
231205 [teeshift gma] Well... it seems odd that the simple code will fail.

^ Re: New RCRchive, including new process
226473 [transfire gm] What's the difference?  (Besides the fact that everyone's work and
+ 226483 [transfire gm] Are you allowed to use any HTML in the submition fields? Are there size
| + 226536 [shevegen lin] "Comments are no longer entered on-site.  Instead, there will
| | 226551 [dblack wobbl] Matz has asked that discussion and comments be offloaded onto the
| + 226541 [dblack wobbl] I haven't set any size limits.  The input format is Textile.  HTML
+ 226538 [dblack wobbl] Thanks for the report.  I discovered that it was trying to assign a
  + 226621 [martindemell] What's the etiquette on resubmitting old RCRs? There's one in there
  | 226623 [matz ruby-la] It's OK to resubmit old RCRs, as long as they are not rejected, and
  | + 226628 [martindemell] Ah - thanks :) Last I saw of that one (rbtree in stdlib) it was still
  | | + 226633 [dblack wobbl] I must make the old ones available for reading....  I'll try to do
  | | + 226640 [matz ruby-la] The RCR covers the language in principle.  A discussion for new
  | + 226634 [Bil.Kleb NAS] And all the new RCRs need to contain a test or spec?
  |   + 226638 [Bil.Kleb NAS] (Beginning at 33:30.)
  |   + 226641 [matz ruby-la] If it's possible.  The proposal should be VERY specific AND concrete,
  + 226646 [transfire gm] to_i ;-)
    + 226648 [dblack wobbl] No, 0 doesn't have a "number" method either :-)  Anyway, I've fixed
    + 226650 [matz ruby-la] I am sorry for restarting it again.  But I haven't felt it's worked
      226652 [dblack wobbl] I wanted to add that Matz did go through the previous RCRchive a

^ Generic way to test for expected SystemCallError
226477 [djberg96 gma] Ruby 1.8.x
226525 [stefano.croc] The simplest way to do this which comes to my mind is to use the fact that the
226557 [djberg96 gma] Ugly, but I guess it will have to do.  I'll probably wrap that in its
226593 [efine145-nos] I had the same issue with TestUnit. I wound up writing my own

^ Libxml-Ruby 0.3.8.2 now available
226478 [rosco roscop] Libxml-Ruby 0.3.8.2 is now available from Rubyforge

^ Is there a simply way to get every method log itself before running?
226484 [RichardDummy] As a Ruby nubie,  every once-in-a-while I'd like to write a trace
+ 226495 [gavin refine] I believe the answer to your question (though I've not done it myself)
| + 226578 [gethemant gm] Goodness, you need needle.
| | + 226749 [chneukirchen] Wow, it's been a long time since I last heard that sentence. :-P
| | + 226943 [RichardDummy] I liked Phrogz's suggestion about using set_trace_func/, which I'm
| + 226942 [RichardDummy] Thanks for pointing me to that kernel method.  I've got to study the
|   226969 [gavin refine] Person#initialize called (line 3)
|   227627 [RichardDummy] There's nothing like having working code to really get one's head into
+ 227667 [bill.walton ] Since you mentioned Rails, I'll assume you're using it.  If not, this
  + 227705 [RichardDummy] Thanks for responding.
  + 227711 [RichardDummy] I checked out the filter, and I see that I could create

^ what is *self?
226485 [josefK kafka] I encountered this added method to Array (I don't recall
+ 226487 [vidar.hoksta] "*" is the "splat" operator when used as a prefix. It takes the
| 226488 [josefK kafka] OK - I see - it does not affect 'self' just the output []
+ 226524 [lukfugl gmai] Vidar explained the general concept of the splat fairly well, but the

^ Problem using #{...} in eval
226491 [RichardDummy] Below is my "show" method followed by some tests.  I envision using
226635 [ng johnwlong] show(%Q@require 'bigdecimal'
226939 [RichardDummy] Thank you very much.  Now that you point out I need to escape those

^ Shortening this expression ?
226508 [user domain.] years = Array.new
+ 226505 [just-for-new] years = (2003...Time.now.year+1).entries
| 226507 [KDr2 163.com] Friedrich Dominicus <just-for-news-frido@q-software-solutions.de>
| 226514 [just-for-new] depends
| 226509 [ dak gnu.org] Friedrich Dominicus <just-for-news-frido@q-software-solutions.de>
| + 226515 [just-for-new] no. But nice to learn ;-)
| + 226544 [shortcutter ] irb(main):008:0> (1.0 .. (10.0+1)).include? 11.0
|   226631 [w_a_x_man ya] irb(main):004:0> (1.0 .. 10.0).include? 10.5
+ 226506 [KDr2 163.com] (2003..Time.now.year).to_a
  226511 [user domain.] Wonderfull !

^ rubycookbook 15.1 problem
226517 [rajibsukanta] I was following along Lucas's rubycookbook receipe 15.1  for creating a
+ 226512 [rosco roscop] I don't know Rails all that well, but it strikes me as doubtful that you
+ 226516 [matt tidbits] This could be irrelevant - I'm on Mac OS X, and there is no "dir"
  226598 [rajibsukanta] Oh .. i thought that was right..now i tried with
  226609 [cyclewood_lt] shouldn't your class be called Check ? Not too sure about Rails and am a nood to Ruby so maybe I should just but out!! :(

^ builtin singleton & instance_methods
226519 [lopx gazeta.] s="some string"

^ setting environment variables...
226526 [lister pikkl] i have a ruby command line script, and i want to set/export an
226529 [nospam nosit] You can't do that. Each call to "system()" launches a new shell interpreter,
226533 [ara.t.howard] why not?
226539 [nospam nosit] / ...
+ 226554 [ara.t.howard] then we are both right - the OP can solve his problem, but not the way he
| 226595 [nospam nosit] I agree that we are both right, but you are at least 10% more right than I
+ 226574 [wmwilson01 g] Gee, I thought it was quite obvious that he was trying to export a shell
  + 226577 [caldridge gm] agreed.
  + 226584 [lister pikkl] thanks for the help everyone.
    226585 [cjs cynic.ne] Check Pixaxe. Even the on-line 1st edition should have a good discussion

^ job: ruby engineer Åìµþ
226528 [lister pikkl] Konichiwa!

^ newbie question regarding threads and system commands
226530 [slamboy gmai] Sorry if I'm bothering you all again... This is my first program that runs
226591 [efine145-nos] This is one possible solution, which seems to work fine (it takes 3.14
226642 [slamboy gmai] Maybe there's something wrong with my system here at work then.... because
226653 [slamboy gmai] As it turns out, your program runs fine (<4 seconds) if I change the ping

^ Last Used Object
226532 [shevegen lin] Today I have heard that you can use ; in Smalltalk to
226558 [mforal.news ] => 10
231524 [shevegen lin] Very cool
231526 [gavin refine] It's easier, I think, to find out yourself than it is to ask the
231554 [logancapaldo] OTOH, there is the (evil) perlesque $_.
232960 [shevegen lin] "It's easier, I think, to find out yourself than it is to ask the
232972 [m.fellinger ] Well, i can reassure you, there is nothing like ; in ruby... and it's

^ Gateway Reality Check
226535 [james graypr] Please ignore.
226540 [james graypr] Replying from the other side.  Sorry for the noise.
226542 [shortcutter ] While we're at it: did anybody else get strange messages from flickr saying
226543 [dblack wobbl] Yes, I got them too.

^ [QUIZ] DictionaryMatcher (#103)
226537 [james graypr] 1.  Please do not post any solutions or spoiler discussion for this quiz until
+ 226550 [dblack wobbl] What's the ruling on priority and "greediness"?  In other words,
| + 226559 [jamie.macey ] I'm doing the same thing a regexp does.
| | 226562 [dblack wobbl] dm << "t"
| + 226610 [gareth.adams] your example would return nil, as the purpose of DictionaryMatcher seems to be
+ 226555 [jamie.macey ] On my machine (ruby 1.8.4), I don't get this result.  For me, 'long
+ 226837 [louis.j.scor] # Author: Lou Scoras <louis.j.scoras@gmail.com>
+ 226840 [jamie.macey ] Well, I'm not sure I can add anything not covered by Adam's solution

^ frustrated with rails has_many problem
226545 [nephish gmai] i am writing a website in rails, i love it, but i am banging my head here .
226546 [cdcarter gma] You need to do that by hand, sorry.
226548 [nephish gmai] ok, how ?
226561 [nephish gmai] so, in my situation, would i need to keep passing the Site.id (or, for the
226566 [aotianlong g] <%= link_to "site notes", :action => "list",
226571 [nephish gmai] thanks, that helped a lot, i am able to move around the controller passing

^ Problems installing ruby
226549 [clemrock gma] I followed this tutorial and installed ruby successfully on my windows
226560 [thedcm gmail] I suggest looking at this: http://rubyforge.org/projects/instantrails/
226568 [aotianlong g] do type the "ruby script/server"?
226570 [caldridge gm] Sounds like you've mixed up the ruby installation from rails.. or..

^ Ruby/Python/REXX as a MUCK scripting language
226553 [zobeid techi] I'm interested in using an off-the-shelf interpreted language as a
+ 226567 [wlfraed ix.n] That is going to be the killer... Python no-longer ships with a
| + 226573 [ara.t.howard] indeed.  sandboxing is not something a language designer should not, imho, be
| + 226625 [claird laird] Tcl's the one language in this area that has gone the farthest
+ 226576 [znmeb cesmai] 1. What is a MUCK? Multi-User ??
| 226718 [al-rubylang ] I asked me to what is MUCK?!
+ 226579 [interfecus g] Sandboxing is possible in recent versions of Ruby using _why's sandbox
+ 226607 [nospam domai] Python had a sandbox module, but is was discarded because of security
+ 226651 [news1 bayerf] Don't forget Lua: www.lua.org
| + 226861 [u.alberton g] In fact, it's the language they used to make the interface for World
| + 226868 [laurent.poin] I Agree with F.Bayer, when reading OP post, I immediatly think about Lua.
|   227495 [claird laird] Does Lua have an appropriate security model--a sandbox or such?
|   227554 [laurent.poin] I dont think of a security model like in Java, but in the possibility to
|   227631 [claird laird] I agree that Lua has a nice collection of primitives, and
+ 226654 [Rony.Flatsch] - REXX (there was its 25th anniversary celebrated in 2004) has an object-oriented successor that
+ 226730 [ppgoogle tbe] Regina REXX har a "restricted mode", but it doesn't allow external
+ 226819 [Jeremy omba.] If you're capable of doing that, I'd have thought you'd be capable of
+ 226832 [johnzenger g] Have you considered JavaScript Spidermonkey or JavaScript Rhino?
threads.html
top