367456-369187

367285-372975 subjects 367689-368242

^ Tail recursion with 1.9
367456 [iainspeed gm] I read in the first answer here =
367465 [joseph.savar] Its commented out.
367640 [iainspeed gm] loose the
367643 [eregontp gma] se the
367644 [iainspeed gm] charset=us-ascii

^ rubyscript2exe: adding version, vendor, etc to exe resource
367462 [wmwilson01 g] In general on Windows you can interrogate the "resource block" to get
367487 [gthiesfeld g] The rubyscript2exe docs mention resource hacker.  It looks like it might do

^ Camera_Project
367464 [kkirancbn gm] Im doing a proj on a camera that monitors the chest movements when
+ 367468 [brabuhr gmai] ...
+ 367563 [rogerpack200] What interface do you have to the camera? none?

^ changing the spacing in a string?
367466 [wrinkliez gm] Hey guys.  I have an array full of strings.  When I put the strings, it
+ 367467 [ben bleythin] it
| 367469 [wrinkliez gm] Thanks for the response!  It seems to be working, except for the two
| 367470 [joseph.savar] str = Array.new
+ 367471 [josh.cheek g] # counts the length of each string based on column
+ 367474 [brabuhr gmai] it
  367475 [joseph.savar] Sweet! :-)

^ Formatting directory listings
367473 [simonharriso] Movies/
+ 367476 [eldestdamphy] Checkout Rake::FileList and especially Rake::FileList#pathmap which will
| 367482 [simonharriso] Thanks Vassilis. I'd prefer to not install anything to accomplish
| + 367484 [brabuhr gmai] movie_store = {
| + 367555 [mberg damnat] files = Hash.new { |hash, key| hash[key] = [] }
|   367635 [simonharriso] Thanks very much mb... That's just what I was after.
+ 367510 [b.candler po] (1) You can strip it textually

^ TkVariable and accents
367480 [jefff35 gmai] I'm working on a small gui, I have a tkEntry, for reading the
367808 [nagai ai.kyu] ups.com>

^ Best XML Parser & advice
367481 [stuart.clark] Hey all,
367483 [jh_ruby-lang] Isn't that form of delimiting more commonly called UTF-16 (which
367485 [stuart.clark] Ok, not to familIar with encoding, so thanks for that.
367486 [brabuhr gmai] /tmp> cat x.rb
367513 [stuart.clark] Thanks for this.

^ rb_set_kcode equivalent for 1.9.x
367489 [danzoid61 gm] The C function rb_set_kcode was defined in the 1.8.x branch.

^ "NaN".to_f revisited
367490 [furue hawaii] I thought ".to_s.to_f" should be an identity operation on any floating
+ 367493 [Rob AgileCon] If you want to round-trip to a file, use something like Marshal or YAML
+ 367494 [matz ruby-la] That would be a good property.  The reason behind String#to_f not
  367509 [b.candler po] "1$".to_f             => 1.0
  + 367525 [vikkous gmai] Normally if the string starts with non-numeric characters, converting
  + 367526 [fela.kde gma] well, it's not so much "stranger" than the following I suppose

^ [ANN] Inochi 5.0.2
367499 [sunaku gmail] Inochi

^ Re: assignment question
367502 [gf.bozzetti ] In the second snippet x.pop removes the last
367508 [b.candler po] x and y are pointing to the same array

^ how to develop a chat server with Ruby?
367505 [eva54321 sin] IERvIHlvdSBoYXZlIGFueSBleGFtcGxlIGZvciByZWZlcmVuY2U/IFRoYW5rcy4=
+ 367506 [peterhickman] Google 'eventmachine chat server' then look at the first link.
+ 367564 [rogerpack200] Posted via http://www.ruby-forum.com/.
+ 367578 [tony.arcieri] 2010/8/11 Eva <eva54321@sina.com>

^ how to print an array
367519 [calabazag ho] into an array. Now I should have to construct a bucle out of the method
+ 367523 [b.candler po] Not sure what a "bucle" is :-)
| + 367524 [jgabrielygal] It's a loop.
| + 367566 [dblack rubyp] puts tokens
+ 367554 [parker soren] It looks like Brian answered your question, but if you are interested in

^ cucumber
367520 [arihan_sinha] I am using ruby+watir for agile testing since long time. I was trying to
+ 367521 [eugen prime-] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+ 367522 [b.candler po] The cucumber docs are very good. The front page gives you your first

^ injecting an instance method into another class' class method
367527 [cremes.devli] I'd like to reopen a class Foo and redefine one of its methods to use an instance method from class Bar. I can't seem to figure out how to do it or even if it is possible.
367529 [jgabrielygal] instance method from class Bar. I can't seem to figure out how to do it or =
367632 [cremes.devli] an instance method from class Bar. I can't seem to figure out how to do =
367634 [gethemant gm] e "class << self;self;end" syntax, but I'm not sure what is >happening here=

^ Safari display problems
367528 [ciriusmex gm] think so at least). I'm developping a website using RubyOnRails
367532 [brabuhr gmai] ...
367534 [ciriusmex gm] Thank you, I'm gonna check it, and keep on looking for another forum
367536 [florian.assm] Run the TinyMCE init when the document is ready jQuery(function($) { =
367544 [ciriusmex gm] Seems to have solved the problem, thank you very much! It was driving

^ Re: [OT] String#to_r (was: "NaN".to_f revisited)
367530 [Rob AgileCon] => (24/7)

^ Ruby is in Grave Danger!
367540 [gregory.t.br] Dear Friends,
+ 367541 [ryand-ruby z] I'm glad I wasn't the only one to get this message.
+ 367542 [joseph.savar] LOL...
| 367546 [gregory.t.br] On Aug 11, 4:42=A0pm, "Joseph E. Savard" <joseph.sav...@sabre-
| + 367547 [sophrinix gm] t can
| | 367548 [gregory.t.br] I am unsure what, if any role Julian has in all of this.  However, I
| + 367558 [joseph.savar] OK Greg, you're your passion is to compelling.. Im in! :-)
|   367573 [gregory.t.br] On Aug 11, 5:54=A0pm, "Joseph E. Savard" <joseph.sav...@sabre-
+ 367543 [luislavena g] I'm in!
| 367545 [gregory.t.br] As far as I know, the #COBOTS have also eliminated all version control
+ 367549 [eregontp gma] Sure !
| + 367550 [gregory.t.br] I searched on twitter to no avail.  We should look elsewhere, I
| + 367551 [gregory.t.br] I searched on twitter to no avail.  We should look elsewhere, I
|   367552 [astahl hi5.c] Sounds like an IRC channel.
|   + 367559 [gregory.t.br] Interesting thought!  I dare not venture into their world myself.  Can
|   + 367560 [me waltonhoo] Or a BBS
|   | + 367569 [sophrinix gm] Or  a Conference... I see what you did
|   | | 367575 [gregory.t.br] Does right now really seem like a good idea to collect a large number
|   | + 367576 [brandon.hays] Whatever it is, it's not responding to my apt-get command. You should
|   + 367565 [sophrinix gm] Shall I mention the unmentionables?
|     367574 [gregory.t.br] I wish it were.  But I assure you, it is far more grave than that.
+ 367556 [joelvanderwe] COllaborative roBOTS ???
| 367567 [gregory.t.br] Sadly, I doubt that these robots are collaborative.  They are COBOL
| 367572 [javierq424 g] #COBOTS on irc.freenode.net has mean bots that yell at you when you
| 367577 [me waltonhoo] Indeed.  COBOPERATOR1 liked my COBOL program, but said he can't play
| 367579 [me waltonhoo] Well, here's what I can tell you... COBOPERATOR1 will take full COBOL
+ 367588 [aaron tender] Aaron Patterson
| 367602 [tony.arcieri] Maybe I'm just paranoid, but I can't shake the feeling that _why is fucking
+ 367610 [fwoeck googl] I removed all the parentheses keys from my keyboard and locked them in
+ 367617 [sentinel1879] This is terrifying!
  367619 [eregontp gma] Never! I'd rather die !
  367684 [rick.denatal] And Oracle would sue us!
  + 367687 [oscartheduck] I hope it's _why. I miss that guy.
  + 367714 [sentinel1879] And Google would save us :(

^ syntax error, unexpected '}', expecting kEND
367553 [rainyglade c] I'm using ruby 1.8.6 (2010-02-04 patchlevel 398) [i386-mingw32], WinXP
+ 367557 [b.candler po] h[...] += 1 if e < 10000
| 367571 [rainyglade c] Thanks, that is just the ticket!
+ 367561 [dblack rubyp] There's no 'end' on that 'if'.
+ 367562 [joelvanderwe] q.inject(Array.new(4,0)){ |h,e| if e < 10000 then h[Math.log10(e).to_i]

^ Can't change the value of self - II
367580 [ralphs dos32] I'm still not "getting it."
367581 [jeremy.ruten] self.replace "Help! Oh, well, I'm saved!"
367583 [ralphs dos32] jeremy,
367584 [dblack rubyp] If the object has state that can be modified, then there will be (by
367585 [ralphs dos32] David,
+ 367607 [jgabrielygal] irb(main):001:0> require 'delegate'
+ 367612 [b.candler po] [Just to show that delegation is nothing magic, and you don't need to

^ self in irb versus script
367582 [wallerphd ya] Howdy from a Ruby newbie--hope my question isn't too annoying.
367647 [iainspeed gm] this
367648 [wallerphd ya] Thanks, Iain. no, I didn't load any files (that I'm aware of)--and I
367649 [dblack rubyp] The difference you're seeing is a difference in the way irb and the

^ [ANN] Rumai 3.3.1
367587 [sunaku gmail] Rumai

^ PLEASE UNSUBSCRIBE
367589 [ryffabian ho] Please Unsubscribe me from the Ruby Talk!!!
367593 [sora134 gmai] send "unsubscribe" mail to

^ xslt param with libxslt ....errr!
367590 [jthomaszero5] this one is driving me up a wall, I cant seem to pass a param to the

^ Multithreading  problem
367591 [myocean135 y] the following program can only run  in irb console,it can't run with
+ 367592 [xeno badenou] threads is still an empty array. Try adding each thread to threads as
| 367608 [jgabrielygal] threads =3D str.map do
| 367611 [b.candler po] threads << Thread.new do
| 367614 [jgabrielygal] But you still need the outer iteration. If I'm already iterating with
| 367616 [b.candler po] Of course. But for a newcomer to ruby (who is still using 'for' instead
| 367618 [jgabrielygal] Yes, you are right.
+ 367596 [jasonjoo.god] u forgot to add it to ur thread list array "threads[]" after u created a

^ Updating percent completed - single line
367594 [fartbagxp gm] I'm rather new to Ruby and I'm trying to figure out how to print out
367597 [botpena gmai] try the ff in irb,
367598 [fartbagxp gm] Thanks a lot, that solves it.

^ does jason convert to hash?
367595 [samatoms gma] I am trying to work with the Etsy API. I make a HTTP request and get
367600 [jasonjoo.god] in ur example data there are only 3 items in the "result" and the element of
367601 [samatoms gma] In my while loop I am using "table["count"]. If you run this code it
367603 [jasonjoo.god] require 'json'

^ sqlite3-ruby install error on Ubuntu
367605 [stel2k gmail] Building native extensions.  This could take a while...
367606 [stel2k gmail] Aha-ha!

^ Highline and Chronic
367609 [sentinel1879] I just heard of Chronic and wanted to integrate it with Highline so i
+ 367642 [gthiesfeld g] You could use a proc object
+ 367650 [james grayso] check

^ Ruby hit rocky ground at Microsoft
367613 [code archilo] (I have only see this info on few place so FYI, even if many rubyists
367813 [rogerpack200] That's too bad as I was somewhat excited about IronRuby with Silverlight
367818 [joelvanderwe] I keep hoping someone will use alchemy[1] to get ruby (in some limited
367819 [rogerdpack2 ] Yeah that or maybe an NaCl client [1]? Rubinius perhaps?

^ Rendering svg file into a jpg format
367615 [martin angle] Dear Friends,
367812 [rogerpack200] There's also the mini_magick gem, a wrapper to the "convert" command.

^ [ANN] Jquery_rails3 1.4.2 beta1 released
367620 [javaalley gm] I have released the first cut of jquery_rails3 gem.  This gem is a rails3

^ Re: Jquery_rails3 1.4.2 beta1 released
367621 [xeno badenou] That rails.js file in templates.... doesn't look like rails.js, or
367625 [javaalley gm] Thanks for pointing the rails.js file Paul.  I will have that fixed tonight.
367651 [javaalley gm] I made some adjustments and have released a beta 2.  I have also included

^ Fast proxy
367622 [di3go.bernar] Today i have a application that send mails and this applications need to
367626 [di3go.bernar] forgot to say, and taking that id and inserting into redis reduce the
367627 [wyhaines gma] One can proxy very, very fast with Ruby and EM. Fast enough that
367639 [b.candler po] Just parse the Apache logs.
367669 [di3go.bernar] Thanks all for the help.
367672 [b.candler po] Not really. Some mailers will honour requests for return receipts, but
367686 [di3go.bernar] The issue is, this system deal with marketing mail, know if the user has

^ AVG Internet Security 9.0 key till 2018
367628 [eng.erin.ade] AVG Internet Security 9.0 key till 2018!

^ Sending cookies.
367629 [shef.hauwang] Can anyone show me how to send cookies with httparty?

^ Parsing, BNF, TreeTop, GhostWheel, ...
367631 [lists kempge] I'm looking for a parser which can be fed with some (A)BNF-style rules.
367817 [no spam.plea] (Sent previously, but it didn't appear. Sorry if you  get this twice).
367830 [christian su] <shameless plug>
367938 [no spam.plea] Actually, I think Citrus does a better job than Treetop (of which I'm primary maintainer and a serious user). It provides a BNF built on ruby functions and operators, and also a Treetop/PEG-like parser for grammar files as an alternative. A brief look at Kanocc indicates Citrus may be preferable over it also.
368083 [lists kempge] What I wanted to do is to construct/generate a parser from a bunch
368103 [no spam.plea] Most of the BNFs in RFCs cannot be directly automated by any parser
369011 [Ruby GoogleM] Actually, while it is true that PEGs as specificied in Bryan Ford's
369187 [no spam.plea] Nice, thanks for the pointer. I'm not brave enough to try to implement

^ Regexp & named capture groups (was: Parsing, BNF, TreeTop, GhostWheel, ...)
367633 [lists kempge] Alternatively I'd appreciate if Regexps could return *all*
367646 [iainspeed gm] rules.
367656 [shortcutter ] As I understand you want /f(o)+/ =~ "foo" to return ["o", "o"] as match
+ 367657 [iainspeed gm] charset=us-ascii
+ 367694 [lists kempge] FRUIT            = '(?<FRUIT> Apple|Banana|Pear|Orange)'

^ [ANN] Ruby|Web Conference Registration Open
367641 [blowmage gma] I'm really happy to announce registration has opened for Ruby|Web
367645 [hassan.schro] In the future, you might want to state somewhere *right up front* the

^ [ANN]VTD-XML 2.9
367652 [crackeur com] charset="iso-8859-1"

^ morethen 34,100,617 active members r waiting 4 live hot chat, dating ...
367653 [iamforufrien] morethen 34,100,617 active members r waiting 4 live hot chat,

^ whats up buudy check out the login controller
367654 [biker.fed gm] class LoginController < ApplicationController
367655 [tony.arcieri] Whats up buudy? What code is this? It looks a bit gnarly...

^ libstdc++
367664 [amar.seeam g] when trying to install a gem i am getting a 'libstdc++' not installed
367666 [b.candler po] Please post the gem install command and the *exact* response you get
367668 [amar.seeam g] here
367670 [b.candler po] apt-cache search stdc++ | grep dev
367671 [amar.seeam g] thanks i will try it - am using 7.10 as it was the last stable release
+ 367673 [amar.seeam g] so if it is showing that if I have it installed how i can force gem
| 367676 [b.candler po] apt-cache shows what packages are available.
| + 367677 [b.candler po] That is, available to be installed.
| | 367679 [amar.seeam g] linuxmce@dcerouter:/usr/lib/ruby/gems/1.8/gems$ dpkg-query -l | grep
| | + 367680 [amar.seeam g] sorry i meant to say its installed but am still getting the same problem
| | + 367681 [b.candler po] If you have libstdc++6, then you should be able to install
| |   367682 [amar.seeam g] anything from this >??
| |   + 367683 [amar.seeam g] the mystery continues ...
| |   + 367685 [shortcutter ] Did you try to create a symlink from libstdc++.so -> libstdc++.6.so (or
| |     + 367718 [shevegen lin] Distributions should stop splitting up every package.
| |     + 367771 [amar.seeam g] ln -s /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/libstdc++.so libstdc++6.so
| |       367776 [lists kempge] I'd try to start out with a freshly installed system.
| |       367777 [amar.seeam g] hey thanks - build-essential isnt available for 7.10
| |       367780 [lists kempge] Personally I would not bother struggling to make this all fit
| + 367678 [amar.seeam g] there is not mkmf.log for derailed-rhouse .... but there is for other
+ 367674 [b.candler po] apt-get install libstdc++5-3.3-dev
| 367675 [amar.seeam g] i tried this, and and it unpacked and installed the above.
+ 367736 [me waltonhoo] latest... you are two versions behind,
  367770 [amar.seeam g] I meant to stay last stable non-beta. I've had many issues with 8.10

^ require statement for Lorax?
367688 [xeno.campano] I've installed Lorax, and looking around, I realize there is no example of a
367693 [ninja slapha] Maybe so, but still, when I install a gem, unless I have reason to believe the
threads.html
top