214919-299477

214708-314129 subjects 215173-411900

[ANN] Ruby-IXP 1.0.1
214919 [skurapat@uc ] = Version 1.0.1 (2006-09-17)

GDBM Ruby bindings on OSX
214922 [nathan@at an] Howdy folks,

Freelance Job in Denmark
214924 [davidb@se ev] Our company is looking for a freelance RUBY programmer - very
215178 [doktormadsen] Can you tell me where in Denmark? I might know somebody who is

C ext to ruby : hom to manage dirs ?
214926 [pere.noel@la] i'm writting c ext to ruby specifically for the Mac OS X platform.
214931 [ryand-ruby@z] If it is specifically and only for one platform, don't bother making
214963 [pere.noel@la] true, it is only for mac os x.

(slightly O/T) Agile dev. contract form for clients?
214933 [paul@ic no l] Apologies for cross-posting.

FasterCSV permission problem?
214943 [bechbox@gm i] I'm installing FasterCSV (sudo gem install fastercsv) but when I'm
+ 214947 [nospam@no it] Have you considered changing the permissions to eliminate the error? When
| 214961 [bechbox@gm i] Yeah - I tried to change the permissions and that allows me to run the
+ 214969 [james@gr yp ] Nope, I get the same permission errors here, if I try to run Rake in
| 215031 [bechbox@gm i] James, thanks for your answer. Maybe I should try to reinstall ... and
+ 215016 [gregory.t.br] this is normal.  It looks like JEG2 is testing CSV writing, and you're

do .. unless
214944 [josselin@wa ] if !params[:qaddress].nil?
+ 214945 [foamdino@gm ] unless params[:qaddress].nil?
| 214955 [shortcutter@] params[:qaddress] and
| 214958 [robert.dober] ...
+ 214970 [twifkak@co c] Well, the unless modifier works here -- if qaddress is nil, cond_b is
  215012 [atbusbook@ao] <code>

handle exception thrown in nested threads from top level thread
214946 [gethemant@gm] In following code, both methos get_client_symbol and sync_clients gets
214959 [shortcutter@] There is no direct way.  If you think about it for a moment it's not

Re: how to set proxy with gem
214950 [saleem.a.ans] why do u need to setup proxy  with gem?

[ANN] RFuzz 0.9 -- The Evil of Broken Sockets
214952 [zedshaw@ze s] Just a short announce that RFuzz 0.9 is released for everyone to try.

[ANN] Code Golf Challenge : 1,000 Digits Of Pi
214954 [carl@ca ld .] Code Golf's 12th challenge has just been added to the site.  It asks you
+ 214978 [james@gr yp ] Darn it!  They blocked my attempt to use open-uri.  How's a guy
| + 214982 [hhausman@gm ] idk James, that might change it from an exercise in code-fu into an
| | 214985 [carl@ca ld .] No, Freaky freaky jail-and-chroot action - We can support pretty much
| + 214983 [carl@ca ld .] We wouldn't want to make it too easy for you!
| | 215188 [sander.land@] I got a 64 bytes version now, based on the "tiny c program" from
| + 215194 [leslieviljoe] Haha, ever the cheater, James Gray!
|   215195 [ara.t.howard] i tried that too.  i figure they've munged $:, but a concerted effort to use
+ 214986 [james@gr yp ] Another blocked cheat!  These people clearly do not appreciate
| 215042 [john.carter@] Indeed they should appreciate it...
+ 215045 [Ephaeton@gm ] Code golfing is not for me, yet watching others do is very amusing.
  215069 [phurley@gm i] They are still discussing it on their forums, but I just looked today
  215099 [carl@ca ld .] Very good attempt!  Unfortunately, the shortest Ruby is 186 bytes, but

Records as per month
214971 [harish4group] Could anybody please help me to search the record by date
214974 [toalett@gm i] If this is ActiveRecord with Rails, which I'm assuming it is, then the

Compile error on stable-snapshot
214995 [Meino.Cramer] the stable-snapshot I downloaded today (18.9.) does not
+ 215264 [MonkeeSage@g] Looks like some kind of RDoc problem. Try building without the
+ 215284 [nobu@ru y- a] Seems openssl/digest.rb get installed correctly.

C extension question
214997 [snacktime@gm] So I'm making some headway on a kerberos 5 extension for ruby.  It's
215000 [garbagecat10] ...
215002 [aredridel@nb] nds
+ 215008 [snacktime@gm] Well I'll do the grunt work and then when I release it I'll accept
+ 215013 [garbagecat10] ...
  215020 [snacktime@gm] One more unrelated question.  I'm trying to think of the best way to
  215022 [garbagecat10] I'm guessing because I haven't seen your code but I'd say it's much
  215027 [snacktime@gm] I'm not picturing this for some reason, can you elaborate?

capture eruby
214998 [lister@pi kl] is there a way to capture the output of eruby?
214999 [gavin.kistne] Use ERB - it's the pure ruby implementation, and returns string values,

Date/Time Range
215001 [mguterl@gm i] ...
215054 [devlists-rub] Hmmm.. strange that you should ask.
215062 [mguterl@gm i] ...
215063 [devlists-rub] I just uploaded the gem to rubyforge.  Allow some time for propogation.

YAML bug: custom key types in a Hash
215003 [reddaly@gm i] I believe this is a YAML bug, or at least a place that needs a more
215010 [vjoel@pa h. ] As a quick workaround, maybe the following will help. It forces yaml to

Documenting attributes with Rdoc
215006 [bulliver@ba ] I have written a Lib here that parses Flac files for information, and as
215009 [james@gr yp ] # Docs for one...
215011 [bulliver@ba ] That's perfect!

Sr. Software Developer, Ruby on Rails
215021 [mjd@pu ch ow] Hope this is ok to post here. We are a fun startup, looking for a Sr.
215041 [john.carter@] I'm not offshore! You are!
+ 215043 [vjoel@pa h. ] Maybe he meant developers sitting on fishing boats. It's understandable.
| + 215046 [wgrosso@wg o] Given that this is an international mailing list, shouldn't that be in
| | 215047 [vjoel@pa h. ] Kilos are too disreputable, especially if you are sitting around
| + 215051 [matt@te hn r] Actually, I've been looking at http://shipexpo.com/sales/ and dreaming
+ 215044 [hal9000@hy e] If people can post citys-specific requests, they can
| 215049 [john.carter@] I guess what got me giggling was he didn't even say what city, let alone
| 215057 [samuel.murph] If you 'blokes' would just click a bit you would see that punchbowl.com
+ 215058 [bulliver@ba ] I think what he means is he wants a single person to apply, not one of
  215065 [shevegen@li ] I heard about them....
  215072 [pbooth@ma ke] I'm confused. Are they in Punchbowl, Sydney or Punchbowl Street, Honolulu?
  + 215082 [znmeb@ce ma ] Palo Alto? Someone told me that's Spanish for "ten-foot pole".
  + 215085 [gethemant@gm] Nope...no Ruby on Ships..,  he is a Ruby ON Rails Sr. Software Developer.

Dot Com Bubble 2.0
215028 [phlipcpp@ya ] While I join the crowds bubbling with enthusiasm over RoR, AJAX, and our new
+ 215029 [garbagecat10] You're not going to see real serious money coming into this until the
+ 215037 [jlhurtado@gm] Philip,

vim compiler plugins - how to use?
215034 [jsn.s.rubix.] Does anybody on the list use the vim compliler plugins for running

Why not a Ruby 1.8 to 2.x Code Convertor?
215035 [jlhurtado@gm] Having read the long discussion on the advantages and disadvantages of
+ 215036 [hal9000@hy e] We may in fact do something like this. No one has ruled it out.
| + 215038 [jlhurtado@gm] Hal,
| | + 215039 [hal9000@hy e] Not my decision, of course... probably the decision of whoever
| | + 215048 [MonkeeSage@g] Since 1.8 (and 1.9, and 1.6 even) can be installed at the same time as
| |   215050 [ezmobius@gm ] One thing that can help to test your code against miltiple ruby
| |   215066 [shevegen@li ] I think what should not be overlooked is that perl 6 is still not out,
| + 215040 [rtilley@vt e] As is PERL 6. They may never come to be.
|   215096 [robert.dober] ...
|   215135 [znmeb@ce ma ] So the Perl version number approaches 8*atan(1) the Python version
|   215140 [robert.dober] ...
|   215148 [james@gr yp ] My first name is James.  ;)  If you want to shorten my name, JEG2
|   + 215293 [robert.dober] ...
|   + 215463 [rick.denatal] But we doesn't has to call you Johnson! <G>
+ 215088 [drbrain@se m] For 1.6 -> 1.8 there was a shim library that added 1.8 features to

[ANN] Ruby-IXP 1.0.2
215053 [skurapat@uc ] = Version 1.0.2 (2006-09-18)
+ 215098 [asbradbury@t] I really must try this out, thanks for this.
+ 215106 [ mfp@ac .o g] This is great news. I've recently (last Sat., just before you started to
  + 215112 [skurapat@uc ] Yeah, this was due to lack of buffering. Consequently, one couldn't
  + 215122 [olli@so os o] This is great news by itself.  I've seen you started a ruby-ixp branch
    215149 [ mfp@ac .o g] I'm using it with the stock wmii-3.1.
    215163 [olli@so os o] You guys made my day :-) I just tried it out, and it seems to work like

Custom format specifiers
215055 [devlists-rub] Ruby has bunch of nifty shortcuts like
215056 [hal9000@hy e] They're hard-wired... but there has been some discussion

Big announcement?
215059 [matt@te hn r] Since tomorrow (today in some parts of the world) is September 19th, it
215061 [michael.gors] ...
215067 [shevegen@li ] Yeah i believe they dont assign ideas with a _real_ pirate or corsair
+ 215081 [jeremy@ch os] Ruby the Pirate Beauty -
| 215262 [MonkeeSage@g] Does the $29.99 include the hot rock chick? ;D
+ 215115 [michael.gors] ...

calling own classes within RoR
215068 [lister@pi kl] i am seeing some odd behavior inside a controller. I am including my
215093 [chiology@gm ] You might find more effective and poignant help either on theRubyOnRails mailing list or on the #rubyonrails IRC channel onirc.freenode.net.
215104 [lister@pi kl] thanks. it turns out tho that this is a Rails object caching issue.
215108 [Mail@Jo as H] include Reloadable (only works with classes not with modules afaik)

Binary-file module?  (also, rubychess)
215070 [noSpam@no pa] In Ruby, do we have a module that makes reading/parsing/writing
+ 215071 [cohen.jeff@g] That would be awesome.  Would you mind sending out an email when the
+ 215074 [phurley@gm i] needs (and those of my boss :-), but if there is something I could do
| 215226 [kbloom@gm il] You forgot the URL
| 215253 [phurley@gm i] Actually it's primary home is rubyforge
+ 215077 [vjoel@pa h. ] There's http://redshift.sourceforge.net/bit-struct, but it doesn't help

problem with eventmachine
215073 [gethemant@gm] I have following code, the problem is, when i start a connection to
+ 215076 [gethemant@gm] Ok that was one stupid wtf....
+ 215114 [garbagecat10] First, if you're connecting to this program using telnet, the behavior
  215120 [gethemant@gm] Thanks for replying.
  + 215128 [garbagecat10] ...
  + 215162 [garbagecat10] Sorry if I missed you, Hemant- I was hoping to get a bit more

[ANN] vim 7 ruby omni-complete 0.7
215080 [segfault@ha ] It's happened again, I've got a piping hot new version of rubycomplete availible.

comparison of String with Gem::Version failed
215083 [pere.noel@la] comparison of String with Gem::Version failed
215094 [pere.noel@la] fine ! thanxs alot )))

Re: instance_exec in Rails (was: the future of Ruby)
215084 [twifkak@co c] AFAIK, you're not dumb. Rails just extracted the fancy logic into
215392 [chneukirchen] Yeah.  I was pretty sure #bind wouldn't work in general (it's only

Newbie question
215089 [none@no e. o] I am trying to learn RoR and have a couple of misconceptions I'd like to
215090 [drbrain@se m] You want to ask your questions on the Ruby on Rails mailing list.

rake engine_migrate ENGINE=login
215092 [almays@gm il] ** Invoke engine_migrate (first_time)
215095 [almays@gm il] Ok.

RubyGems DeveloperGuide ???
215102 [pere.noel@la] i'm looking for DeveloperGuide, i didn't find one even after
215117 [smartgpx@gm ] Pardon me if this is too obvious, but have you been to rubygems.org?
215123 [pere.noel@la] yes >>obviously<< i get there )))
215124 [pere.noel@la] Exception `OptionParser::InvalidOption' at

Ruby internals, a self-study guide
215105 [ mfp@ac .o g] I've written a succinct guide for those interested in learning about the
+ 215211 [ezmobius@gm ] Wow, thanks for writing this. It helps a lot to understand ruby
+ 215215 [logancapaldo] Many thanks!

[ANN] Ruby-IXP 1.0.3
215111 [skurapat@uc ] Sorry for the frequent (daily!) announcements, but this one is

Unicode and Character Classes -- a bug?
215113 [richard.wise] I've found some strange and unexpected behaviour to do with pattern
+ 215126 [MonkeeSage@g] It appears that you were spot-on with your guess about wonky things
| 215136 [richard.wise] I hadn't thought of that one - thanks for the suggestion!  The simplest
+ 215467 [dan-ml@da 42] That is very weird indeed. It's normal that your example doesn't work, because
  215489 [MonkeeSage@g] That shouldn't matter. He was matching the same hex escape he used in
  215533 [verno@ma li ] Just a pointer to some examples how to parse UTF-8 encoded strings in
  215539 [MonkeeSage@g] I used to have a class that used that technique to fake UTF-8 support.
  215543 [verno@ma li ] Thanks for this one, Jordan! I seem to have missed some stuff on
  215552 [MonkeeSage@g] NP :)

Communication between objects.
215116 [todbramble@g] I have been working with Ruby for a few months now and have hit upon
+ 215118 [nospam@no it] / ...
+ 215139 [dblack@wo bl] I can see what kind of problem you're trying to solve, but in this
| 215151 [todbramble@g] require 'cgi'
+ 215480 [transfire@gm] Observable Pattern?

Re: Code Golf Challenge : 1,000 Digits Of Pi
215119 [MonkeeSage@g] Wow, ya'll are good code golfers! Of the few challenges I've been able
215133 [carl@ca ld .] Hey Jordan,
215143 [MonkeeSage@g] Hehe! You should see some of my javascript bookmarklets! It's kind of

Pi limited to 15 digits ?
215125 [vincent.arno] I am trying to calculate pi in an arithmetical way with a big number of
+ 215129 [wccrawford@g] That's this week's Code Golf challenge.
| + 215145 [vincent.arno] Sorry William, it was not my goal to cheat: I am not experienced enough
| + 215155 [carl@ca ld .] I don't consider this to be cheating - Asking for help with the
+ 215131 [MonkeeSage@g] You need to initialize all your ints/floats that will interact with any
  215146 [wccrawford@g] Ohh, right.  Missed that.  (I obviously haven't gotten up the nerve to

a server  that will serve http page created from data collected by "rsh"
215127 [rajibsukanta] Dear Group,
+ 215130 [garbagecat10] ...
+ 215132 [znmeb@ce ma ] This looks like a good candidate for Rails to me. The Model would be the
+ 215180 [nospam@no it] / ...

Writing portable Ruby
215134 [christoph.ne] If I need hints for writing portable Perl, I do ...
215150 [ara.t.howard] well, considering portable means windows + every_thing_nix these days i'd

[ANN] SwissRUG / zurich.rb meeting 28.9.2006
215137 [jcfischer.li] as promised earlier, we will meet up to form (or discuss about

eruby?
215141 [jonsdenni@gm] "In order to use eruby with the Apache Web server, you need to perform
215157 [aredridel@nb] That's one way to make ruby talk to the web -- CGI, so not the fastest,
215240 [jonsdenni@gm] Thanks

www.rubygems.org
215142 [daniel.schie] What software is used on rubygems.org? It looks like a Rails app, but I
215144 [twigmorewels] Its http://rubyforge.org/projects/hieraki/
215216 [hal9000@hy e] Hmmmmmmmm. Someone call Doug Hofstadter.

Unable to register constants
215147 [mail@ma th w] class Module
215271 [pit@ca it in] Matt, your code (minus the Rails dependencies) did work for me with a

[ANN] RubyPhone 0.2.1 released.
215154 [greg.kujawa@] The RubyPhone CTI project has a new released available. Please visit

create rails model classes dynamically ?
215156 [aktxyz@gm il] Rails has a very nice database migration utility, where you can write
+ 215158 [eero.saynatk] You will get better answers over on Rails lists.
+ 215160 [wccrawford@g] I'm not into Rails yet, but I came across this the other day and tagged
| 215176 [aktxyz@gm il] wow...bulls eye !
+ 299453 [varun.rajesh] U said that u r able to create class dynamically i used same link but
  299477 [overlord@gm ] c = Class.new do

Ruby 1.8.5 on AIX 5.3 "ruby -v" errors
215167 [unixadminm@g] I compiled ruby-1.8.5 on AIX 5.3.
215214 [nobu@ru y- a] Can you show the stack trace by debugger?
216703 [unixadminm@g] The ruby previously compiled was on AIX 5.3.0.4. It compiled perfectly
+ 217245 [kinpoco@gm i] After upgraded to TL5, my ruby core dumped as well.
+ 217319 [no@sp m. le ] Try it again without -O2 in the CFLAGS, in case it's an
  218206 [unixadminm@g] No it didnt work

Control Safari browser
215169 [karl_puperze] I am using win32ole to control the Internet Explorer and I want to port
+ 215171 [tanner.burso] ...
+ 215212 [ezmobius@gm ] There is the safariwatir project. It can do what you want.
  215266 [karl_puperze] There is the safariwatir project. It can do what you want.
  + 217355 [verno@ma li ] OttoMate
  + 220021 [dave.hoover@] SafariWatir (trunk) no longer uses Ruby/AppleScript to drive Safari.

What's the ruby way to sort string with cases in mind
215170 [sam.s.kong@g] I'd like to sort an array of strings case-insensitively.
+ 215246 [twifkak@co c] a = %w(a c b A C B)
+ 215257 [MonkeeSage@g] I think that's probably the most concise and rubyish way. You can't do
  215267 [rimantas@gm ] a.sort{ |i,j| (i.upcase == j.upcase)? (i<=>j):(i.upcase<=>j.upcase) }
  + 215275 [shortcutter@] a.sort {|i,j| i.upcase == j.upcase ? i <=> j : i.upcase <=> j.upcase}
  | 215276 [MonkeeSage@g] I shouldn't have underestimated my fellow rubyists. I guess
  + 215277 [eban@os ri .] a.sort{ |i,j| [i.upcase, i] <=> [j.upcase, j] }
    + 215278 [rimantas@gm ] Great! I guess we have the winner :)
    | + 215282 [MonkeeSage@g] Nice one, Hirofumi-shi! :)
    | + 215303 [shortcutter@] +1
    + 215370 [sam.s.kong@g] Wow!
threads.html
top