214045-385336 subjects 214499-216256

Re : Re : [ANN] Wirble 0.1.1: Irb Enhancements for the Masses
214270 [etorreborre@] ...

soap4r - wsdl2rb problems (maybe)
214275 [chrisjroos@g] In the soap4r wsdl samples directory lives some client code to connect
215323 [nakahiro@sa ] Can you send me a wiredump of xml response?  Please ensure to delete

Regular expression question.
214283 [jesse.r.brow] In trying to parse a C source file I have the following section of
+ 214287 [cohen.jeff@g] Scroll down the section on "Comments".  They seem to have a simpler
| 214292 [jesse.r.brow] I dont think it applies to this directly. I didnt explicitly mention,
| 214306 [nospam@no it] / ...
| 214351 [robert.dober] ...
| 214538 [tom@in oe he] I'm not sure if it's impossible to parse out C-style comments using a
| + 214539 [garbagecat10] ...
| + 214540 [garbagecat10] ...
|   + 214541 [logancapaldo] Pretty sure this would end up being a syntax error
|   | 214543 [garbagecat10] ...
|   | 214583 [logancapaldo] Well for empirical evidence one could look at ML. (* comments (* are *)
|   + 214591 [martin@sn wp] So you want to know if a grammar is regular or not?  Sounds like you
+ 214295 [garbagecat10] Remember that in C, nested comment-blocks are not permitted, for the
| 214298 [jesse.r.brow] Agreed. However, something with '*' characters in it is allowed (so
+ 214365 [rod.knowlton] If I'm not mistaken, what you need is a negative lookahead

How to collect over two arrays then look back to one?
214285 [pbooth@ma ke] I am reading Ruby for Rails and Ruby Cookbock and delighted by the
+ 214289 [gavin.kistne] #collect_with_index doesn't exist natively (but should)
+ 214300 [robert.dober] ...
+ 214301 [jason@ad pt ] I think...
| 214348 [robert.dober] ...
+ 214358 [w_a_x_man@ya] a = Array.new(12) {|i| i*i}
+ 214360 [llasram@gm i] Kind of.  But first I'm going to re-arrange your email to answer more
| 214361 [pbooth@ma ke] Thank you for taking the time to do this. I learnt at least five things new
+ 214558 [dblack@wo bl] To answer the first question: no.  You are free to join Citizens for
  214561 [llasram@gm i] What about Citizens Who Are Happy With enum_with_index.map ?  I think they
  214587 [logancapaldo] Here, here! Down with the giant collection of methods! Up with

ruby blogger atom client library
214288 [allenbobo@gm] anyone know where to find "ruby blogger atom client library"
+ 214308 [mike@ru yw z] Check out http://split-s.blogspot.com/2006/04/atom-10-parser-for-
+ 214534 [tbray@te tu ] I'll be releasing the source code to one particular client, the Ape,

Happy Programmer's Day!
214293 [james@gr yp ] $ ruby -r date -e 'p Date.today.yday'
+ 214312 [jmg3000@gm i] Neat.
+ 214313 [wccrawford@g] And nobody got me anything!  -cries-
| + 214317 [sambient@gm ] This wouldn't include Rails developers ?
| + 214353 [syarus@gm il] James did.  But it seems to have overflowed into the bit bucket,
+ 214350 [robert.dober] ...
| 214367 [james.britt@] Would be more fun if it was Talk Like a Programmer Day.
| 214373 [hal9000@hy e] Talk like a software pirate?
| 214383 [james.britt@] Software pirates keep throwing exceptions, too, because of
| 214401 [malvim@gm il] Made me laugh. :)
+ 214362 [john.carter@] What totally amazes me is there has been over 500 edits of that simple

PDF file manipulation
214297 [reglopke@ca ] I've looked at PDF::Writer, ruby FPDF, etc.
214310 [vasudevram@g] If you can't find any Ruby tools, then one way out, though could take
214330 [reglopke@ca ] I've also considered doing a port of the fpdi from php to ruby.  A ruby

"Design patterns of 1972", by MJD
214304 [rdm@cf l. om] Interesting read and quite relevant to Ruby and Rails...
214324 [rasputnik@gm] Good read, thanks.
214384 [logancapaldo] This is OT, but self and new are both adhoc. All you get is UNIVERSAL,

"Ruby and Strongtalk"
214305 [rdm@cf l. om] This blog discusses Spolsky, Ruby, Duck Typing, and Strongtalk.

OT: compilation probs (later extension).
214307 [hgs@dm .a .u] This is somewhat OT for Ruby-Talk, but I want to build this against
214315 [nobu@ru y- a] Move -l options after *.o.

AIX 5.2 Ruby binaries or installation package
214311 [fanoflinux@g] I need help. I work for a company where I have to convince my superiors
+ 214391 [fanoflinux@g] Please help.
| 214432 [halostatue@g] Asking merely 9 hours after you asked the first time is not a way to
| 214471 [fanoflinux@g] I understand that. But I am sure everyone would have experienced the
+ 218325 [devnull@Ka l] That might not solve your problem but I compiled Ruby 1.8.4 yesterday
  218514 [kamal.fariz@] I did just this a few days ago on one of our dev boxes at work based on

Assembling team for Ruby window manager
214318 [robinl1@xs a] Hey all. I am a Ruby coder with average skills (can code almost
+ 214320 [robinl1@xs a] You can also post in this topic. (Don't have an edit button. Bummer! :()
| + 214323 [manfred@gm i] I hope you realize that a providing a lot of configuration options wil
| | 214331 [robinl1@xs a] Not if you provide a standard config which you may edit any way you can,
| | + 214333 [j@jg on .o g] The hassle doesn't come from the syntax, but from the magnitude of options.
| | + 214368 [david@va ln ] Ugh. Dot-notation as an alternative?
| |   214380 [perrin@ap th] s-expressions would be excellent.
| |   214382 [logancapaldo] Ah, I see you are a sawfish fan, (and perhaps don't even know it?).
| |   214396 [perrin@ap th] I keep meaning to give it a whirl, but haven't gotten around to it yet.
| + 214325 [asbradbury@t] There's no edit button because ruby-forum.com is in fact a gateway to the
| + 214326 [halostatue@g] There's no edit button because you're not on a real forum. You're
+ 214414 [erik@te pn t] Have a look at this if you want to start with a small code base.

building extension modules, and linking
214321 [jmg3000@gm i] When you load an extension module, what's the mechanism that makes
+ 214327 [a2800276@gm ] I think the point you're missing is that the runtime the interpreter
| 214352 [jmg3000@gm i] Right. But, before that -- at link-edit time, when I build the
+ 214328 [lyle.johnson] When you use the "require" method to load an extension module, Ruby
| 214354 [jmg3000@gm i] Thanks for the explanation Lyle. I'm sorry, but perhaps I was unclear
| + 214359 [vjoel@pa h. ] I'm far from an expert on dynamic linking so I can't tell you how the
| + 214371 [lyle.johnson] Oh, OK. Well, I can't tell you the *specific* arguments because
|   214418 [jmg3000@gm i] Ok. I think I partly get it now. Details follow for anyone who's interested.
+ 214412 [vincent.four] Well, this is highly platform-dependant. If I understand you right,
| 214421 [jmg3000@gm i] Ohhhhhhhhhhhhhhhhhhhh.
| 214422 [vincent.four] Ok. Hm. Well then. Maybe that's the point of that "-R" link-editor arg
| 214808 [jmg3000@gm i] Turns out (as was pointed out to me elsewhere), for gcc, the default
+ 214434 [garbagecat10] If you run nm on any extension shared object, you'll generally see
  214640 [jmg3000@gm i] Ah! Neat! Thanks for pointing that out.

RoR Developer in Baltimore?
214322 [allbenatt@gm] Looks like the idea of a RoR meeting in Baltimore fizzled out.

[ANN] new_haven.rb meeting tonight
214329 [gregory.t.br] We will be meeting at innovation software group in North Haven tonight.

eRB <%=
214335 [Mail@Jo as H] whats eRBs <%= doing in contrast to <%?
+ 214336 [sean@ar is g] ...
+ 214337 [asbradbury@t] Check out the documentation - http://www.ruby-doc.org/core/classes/ERB.html
| 214346 [Mail@Jo as H] great stuff, i am not so familiar with the ruby docs they confuse me
+ 214338 [jameskilton@] ...
| + 214339 [gavin.kistne] My Template
| + 214347 [lukfugl@gm i] That's wrong. When rendering an ERB template, those two constructs
|   214379 [rsanheim@gm ] One thing I've often wondered is how do you output from w/i a "non
|   214385 [ezmobius@gm ] <% _erbout << "hi" %>
|   214388 [lukfugl@gm i] You can of course also wrap it in a helper[1] method of your own as
|   214392 [ezmobius@gm ] Actually that doesn't work in a helper. You will get this error:"
|   214393 [lukfugl@gm i] Good point, thanks for the pointer. So looks like you're stuck with
|   214395 [has.sox@gm i] ...
|   214400 [gavin.kistne] As others have noted, you can concatenate to the _erbout string variable.
+ 214340 [gustav@ra ls] the evaluated contents of
  214341 [gavin.kistne] That's a terrible example. That will put "Can't see me" to standard out
  214343 [jameskilton@] ...

The Well Tempered Ruby Application
214363 [a2800276@gm ] I've been starting to put together a small sample project like GNU's
+ 214446 [gavin.kistne] ...
| 214449 [khaines@en g] There was one recently -- within the last month or two.
+ 214453 [gene.tani@gm] i haven't used this, but it's relevant enought to be not OT,
+ 214459 [gene.tani@gm] (rooting around in my bookmarks)
+ 214890 [timuckun@gm ] It seems to me that any good framework should take into account the

Question about 'unless' (negated if)
214370 [ayblinkin@gm] dir.each { |str|
+ 214378 [eero.saynatk] unless something
+ 214381 [jramirez@as ] both system calls will be always invoked. The statement under "unless"
| 214466 [ayblinkin@gm] Thank you for this clarification.  I kinda figured this was the case,
+ 214404 [mike@ru yw z] In your example "unless" is applicable only to the line it appears
  214436 [rhkramer@gm ] Not the OP, but thank you!  Somehow "if not" resonates better in my head than
  + 214470 [wccrawford@g] Yeah, I usually have to rephrase it in my head still to make 'unless'
  | 214490 [rick.denatal] To me it seems quite natural.
  + 214500 [ayblinkin@gm] VB has an IsNot operator: If IsNot(a) Then
  | 214519 [jd@ty ho .o ] You'll get an unexpected kELSE error on line 3. The unless statement is
  + 214593 [logancapaldo] Just do it.
  | 214852 [rhkramer@gm ] I debated about whether to reply to this--there's probably really no need for
  + 215800 [eeklund@gm i] For me, it took some years before I started using unless and feel

Using RubyGems
214386 [atraeyu@gm i] Using RUBYOPT
214406 [a2800276@gm ] Unix shells are customizable through a system of environment variables

Ruby On Rails install failing
214389 [robert.oschl] I'm trying to get Rails installed on my system.  I installed the Ruby
232782 [walker210@ho] Robert (or anyone else)
+ 232786 [james.britt@] Is this a matter of some code choking on paths that contain white space?
+ 232793 [drbrain@se m] I'll bet you're at work behind a proxy of some sort.

Trying Fjax in ruby
214399 [anand.sriniv] I am trying to use the new fjax in my ruby on rails project. I have

214405 [randomgeek@c] How do you step through your Rails code from irb?  Can you drop
+ 214427 [asbradbury@t] I think you'll like ruby-breakpoint[1]. Just put 'breakpoint' anywhere in your
+ 214433 [geoff@ph s. ] Check out ruby-debug.
  + 214489 [randomgeek@c] Thanks, that sounds like what I'm looking for.
  + 214493 [rick.denatal] I finally got around to trying this, I'd installed the gem some time ago.
    214495 [ksruby@gm il] ...
    214498 [rick.denatal] Muchos Arrigato, mon ami!

SOAP(4R) documentation/API/tutorial
214407 [mksm.sama@gm] I'm trying to use Ruby to control a UPNP device (mostly list,
215324 [nakahiro@sa ] Soap4r is famous as there's little document.  Sorry about that.

Need help about Ruby with text file
214413 [oscarlok@sa ] This is my first time get into this forum.
214417 [nospam@no it] #!/usr/bin/ruby
+ 214425 [lyndon.samso] ...
+ 214516 [mdurham@pe p] He said the text is "in a file"
  214533 [nospam@no it] / ...
  214606 [oscarlok@sa ] Thanks for your reply!
  214612 [nospam@no it] / ...
  214620 [oscarlok@sa ] Thanks a lots!
  + 214623 [hgs@dm .a .u] str[fixnum]                 => fixnum or nil
  + 214624 [nospam@no it] / ...
    214629 [oscarlok@sa ] Hai,
    + 214650 [gavin.kistne] Remember that arrays and strings start at index 0, not index 1.
    | 214726 [oscarlok@sa ] Hai, Gavin Kistner
    | 214744 [markonlinux@] 'Class' is a big topic!
    + 214666 [nospam@no it] You are welcome. I sincerely hope you will also read Hugh Sasse's post. It

214415 [fred.so@gm i] ...

[ANN] codeforpeople's rubyforge 0.2.0 released
214419 [ryand-ruby@z] I'm proud to announce that codeforpeople's rubyforge 0.2.0 has been
+ 214429 [Bil.Kleb@NA ] There's a certain power that comes over one when
| 214438 [ara.t.howard] indeed.  my favourite in the past has been releasing rubyforge with rubyforge
| 214444 [Bil.Kleb@NA ] Contrary to what the Lean folks say[1], evil does not
+ 214435 [Bil.Kleb@NA ] Can someone compare/contrast this library with Aslak
| + 214477 [drbrain@se m] MetaProject does everything, RAA, Freshmeat, bug tracker updating, ...
| + 214486 [ryand-ruby@z] metaproject is big to the point of obfuscation and intimidation (to
+ 214441 [lyle.johnson] OK, I'm having trouble installing the gem. Probably has nothing to do
  + 214485 [ryand-ruby@z] HAHA! I knew I should have switched the gem over to a manifest based
  + 214508 [ryand-ruby@z] FIXED!
    214509 [vjoel@pa h. ] $ gem install rubyforge
    214513 [ryand-ruby@z] Hrm. I'm getting a 404, which I believe to just be the mirrors not
    214525 [vjoel@pa h. ] Now I'm getting the 404 too. I guess that'll go away soon.
    214536 [tom@in oe he] Actually, RubyForge doesn't serve any gems itself when they're requested
    214545 [ryand@ze sp ] Thanks. I tried to find you earlier but you weren't online.

A solution for public-keyed SFTP and Ruby
214420 [pgquiles@el ] charset="iso-8859-15"

Re: OT compilation probs (later extension)
214423 [hgs@dm .a .u] Excuse the bizarre quoting, see below.

Linux cron : problem with a ruby task
214430 [user@do ai .] runner of my Ruby on Rails application
214431 [user@do ai .] This time something else occured (from bash) that could be related - I
+ 214443 [leslieviljoe] Sounds serious! Have you built anything manually? It could be a
+ 214457 [wccrawford@g] Assuming that your program is not at fault and runs perfectly, random

Creating zip files
214437 [dmorin@gm il] I'm sure this is a common question -- is there a plugin/lib/gem for
+ 214440 [ajalkane@gm ] Google for ruby zip would have told you just as much ;).
| 214473 [dmorin@gm il] In my defense I googled "ruby create zip files" thinking that I would
+ 214442 [robert.dober] ...
+ 214451 [alexandru@gl] ~>> gem search -r zip
+ 214455 [dmorin@gm il] Never mind, I found "rubyzip" which appears to be the one.  Nicely

Re: codeforpeople's rubyforge 0.2.0 released
214448 [transfire@gm] I'll add that Reap (http://reap.rubyforge.org) does this too. But I'll

Apache2, CGI, Ruby & Hello-World
214454 [atraeyu@gm i] You can use Ruby to write CGI scripts quite easily. To have a Ruby
+ 214462 [nospam@no it] This would work, assuming the file had a Ruby extension, and assuming Apache
+ 214469 [mgreenly@gm ] You should rename the file to something *.rb (hello.rb) for example and

Clash of RubyZip and PDF::Writer
214464 [dmorin@gm il] I'm using PDF::Writer to generate files by the hundreds.  My spec
+ 214465 [ara.t.howard] linux or windows?
+ 214467 [halostatue@g] def save_as(name)
  214468 [dmorin@gm il] Perfect!

modifying the hour in a datetime object already created
214472 [josselin@wa ] In my prog, I create a datetime object
+ 214475 [gavin.kistne] You can't - DateTime objects are immutable. You'd need to create the
| 214481 [josselin@wa ] thanks a lot Gavin... that's a nice trick for me (I'll need to
+ 214480 [ara.t.howard] ru

rails -> add a column -> NoMethodError in Admin#edit
214474 [phlipcpp@ya ] [While I try to get on the Rails mailing list here...]
214476 [phlipcpp@ya ] Oookay - the book told me I rarely need to restart the server. (It's

compact join with new line...
214482 [josselin@wa ] I would like to compact join address elements by inserting a new line
+ 214483 [farrel.lifso] def to_s
| 214547 [josselin@wa ] thanks .. that's what I did, but I realize that displaying it inside a
+ 214484 [robert.dober] ...

Making vim better (was Re: A better syntax highlighting color scheme for Ruby code on Vim?)
214494 [rick.denatal] This is a little OT since it really applies to more than just ruby.
+ 214497 [ara.t.howard] google 'glimpse'
| 214521 [reid.thompso] also google winmanager.vim or just search for it from
+ 214518 [reid.thompso] google cscope and vim
+ 214522 [logancapaldo] Unless I'm totally off my rocker, CTRL-] is what you are looking for.
  214532 [rick.denatal] 1) I didn't read the doc <G>