214270-232793
214045-215255 subjects 214499-216256
^ Re : Re : [ANN] Wirble 0.1.1: Irb Enhancements for the Masses
214270 [etorreborre ] I have been using win32console (with Ruby 1.8.2 and 1.8.4) and I had some e=
^ soap4r - wsdl2rb problems (maybe)
214275 [chrisjroos g] In the soap4r wsdl samples directory lives some client code to connect
215323 [nakahiro sar] 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 nosit] / ...
| 214351 [robert.dober] I am intrigued, I believe that the regular expression to find all comments
| 214538 [tom infoethe] I'm not sure if it's impossible to parse out C-style comments using a
| + 214539 [garbagecat10] A C-style block comment can indeed be recognized by a regex. In fact, that's
| + 214540 [garbagecat10] /* printf ("*/"); */
| + 214541 [logancapaldo] Pretty sure this would end up being a syntax error
| | 214543 [garbagecat10] I know these are syntax errors in C. I was talking about a hypothetical
| | 214583 [logancapaldo] Well for empirical evidence one could look at ML. (* comments (* are *)
| + 214591 [martin snowp] 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 marke] 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] Hmm this seems interestingly complicated - or I am just dully stupid;)
+ 214301 [jason adapt.] I think...
| 214348 [robert.dober] I am afraid this does not what you want, select returns i's not the value o=
+ 214358 [w_a_x_man ya] a = Array.new(12) {|i| i*i}
+ 214360 [llasram gmai] Kind of. But first I'm going to re-arrange your email to answer more
| 214361 [pbooth marke] Thank you for taking the time to do this. I learnt at least five things new
+ 214558 [dblack wobbl] To answer the first question: no. You are free to join Citizens for
214561 [llasram gmai] 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 rubywiz] Check out http://split-s.blogspot.com/2006/04/atom-10-parser-for-
+ 214534 [tbray textua] I'll be releasing the source code to one particular client, the Ape,
^ Happy Programmer's Day!
214293 [james graypr] $ ruby -r date -e 'p Date.today.yday'
+ 214312 [jmg3000 gmai] Neat.
+ 214313 [wccrawford g] And nobody got me anything! -cries-
| + 214317 [sambient gma] This wouldn't include Rails developers ?
| + 214353 [syarus gmail] James did. But it seems to have overflowed into the bit bucket,
+ 214350 [robert.dober] Nice thing anyway.
| 214367 [james.britt ] Would be more fun if it was Talk Like a Programmer Day.
| 214373 [hal9000 hype] Talk like a software pirate?
| 214383 [james.britt ] Software pirates keep throwing exceptions, too, because of
| 214401 [malvim gmail] 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 cab] 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 cab] I've also considered doing a port of the fpdi from php to ruby. A ruby
^ "Design patterns of 1972", by MJD
214304 [rdm cfcl.com] 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 cfcl.com] This blog discusses Spolsky, Ruby, Duck Typing, and Strongtalk.
^ OT: compilation probs (later extension).
214307 [hgs dmu.ac.u] This is somewhat OT for Ruby-Talk, but I want to build this against
214315 [nobu ruby-la] 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 Karl] 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 xs4a] Hey all. I am a Ruby coder with average skills (can code almost
+ 214320 [robinl1 xs4a] You can also post in this topic. (Don't have an edit button. Bummer! :()
| + 214323 [manfred gmai] I hope you realize that a providing a lot of configuration options wil
| | 214331 [robinl1 xs4a] Not if you provide a standard config which you may edit any way you can,
| | + 214333 [j jgwong.org] The hassle doesn't come from the syntax, but from the magnitude of options.
| | + 214368 [david vallne] Ugh. Dot-notation as an alternative?
| | 214380 [perrin apoth] s-expressions would be excellent.
| | 214382 [logancapaldo] Ah, I see you are a sawfish fan, (and perhaps don't even know it?).
| | 214396 [perrin apoth] 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 terpnet] Have a look at this if you want to start with a small code base.
^ building extension modules, and linking
214321 [jmg3000 gmai] When you load an extension module, what's the mechanism that makes
+ 214327 [a2800276 gma] I think the point you're missing is that the runtime the interpreter
| 214352 [jmg3000 gmai] 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 gmai] Thanks for the explanation Lyle. I'm sorry, but perhaps I was unclear
| + 214359 [vjoel path.b] 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 gmai] 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 gmai] Ohhhhhhhhhhhhhhhhhhhh.
| 214422 [vincent.four] Ok. Hm. Well then. Maybe that's the point of that "-R" link-editor arg
| 214808 [jmg3000 gmai] 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 gmai] 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 Jonas-H] whats eRBs <%= doing in contrast to <%?
+ 214336 [sean ardismg] = will output the result.
+ 214337 [asbradbury t] Check out the documentation - http://www.ruby-doc.org/core/classes/ERB.html
| 214346 [Mail Jonas-H] great stuff, i am not so familiar with the ruby docs they confuse me
+ 214338 [jameskilton ] <% puts "Can't see me" %> --> nothing
| + 214339 [gavin.kistne] My Template
| + 214347 [lukfugl gmai] That's wrong. When rendering an ERB template, those two constructs
| 214379 [rsanheim gma] One thing I've often wondered is how do you output from w/i a "non
| 214385 [ezmobius gma] <% _erbout << "hi" %>
| 214388 [lukfugl gmai] You can of course also wrap it in a helper[1] method of your own as
| 214392 [ezmobius gma] Actually that doesn't work in a helper. You will get this error:"
| 214393 [lukfugl gmai] Good point, thanks for the pointer. So looks like you're stuck with
| 214395 [has.sox gmai] Can you not just build up a string in the helper method and then return
| 214400 [gavin.kistne] As others have noted, you can concatenate to the _erbout string variable.
+ 214340 [gustav rails] the evaluated contents of
214341 [gavin.kistne] That's a terrible example. That will put "Can't see me" to standard out
214343 [jameskilton ] Sorry, you're right, but it gets the point across.
^ The Well Tempered Ruby Application
214363 [a2800276 gma] I've been starting to put together a small sample project like GNU's
+ 214446 [gavin.kistne] charset="Windows-1252"
| 214449 [khaines enig] 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 gma] 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 asp] 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 rubywiz] In your example "unless" is applicable only to the line it appears
214436 [rhkramer gma] 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 typhon.or] You'll get an unexpected kELSE error on line 3. The unless statement is
+ 214593 [logancapaldo] Just do it.
| 214852 [rhkramer gma] I debated about whether to reply to this--there's probably really no need for
+ 215800 [eeklund gmai] For me, it took some years before I started using unless and feel
^ Using RubyGems
214386 [atraeyu gmai] Using RUBYOPT
214406 [a2800276 gma] 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 segm] 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
^ Rails->breakpointer->irb->debugger?
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 phds.o] 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 gmail] $rdebug myscript -- -b 10
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 sar] Soap4r is famous as there's little document. Sorry about that.
^ Need help about Ruby with text file
214413 [oscarlok sab] This is my first time get into this forum.
214417 [nospam nosit] #!/usr/bin/ruby
+ 214425 [lyndon.samso] Dont do his homework for him :-)
+ 214516 [mdurham peop] He said the text is "in a file"
214533 [nospam nosit] / ...
214606 [oscarlok sab] Thanks for your reply!
214612 [nospam nosit] / ...
214620 [oscarlok sab] Thanks a lots!
+ 214623 [hgs dmu.ac.u] str[fixnum] => fixnum or nil
+ 214624 [nospam nosit] / ...
214629 [oscarlok sab] Hai,
+ 214650 [gavin.kistne] Remember that arrays and strings start at index 0, not index 1.
| 214726 [oscarlok sab] Hai, Gavin Kistner
| 214744 [markonlinux ] 'Class' is a big topic!
+ 214666 [nospam nosit] You are welcome. I sincerely hope you will also read Hugh Sasse's post. It
^ (none)
214415 [fred.so gmai] # matome 24u
^ [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 NAS] 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 NAS] Contrary to what the Lean folks say[1], evil does not
+ 214435 [Bil.Kleb NAS] Can someone compare/contrast this library with Aslak
| + 214477 [drbrain segm] 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 path.b] $ gem install rubyforge
214513 [ryand-ruby z] Hrm. I'm getting a 404, which I believe to just be the mirrors not
214525 [vjoel path.b] Now I'm getting the 404 too. I guess that'll go away soon.
214536 [tom infoethe] Actually, RubyForge doesn't serve any gems itself when they're requested
214545 [ryand zenspi] Thanks. I tried to find you earlier but you weren't online.
^ A solution for public-keyed SFTP and Ruby
214420 [pgquiles elp] charset="iso-8859-15"
^ Re: OT compilation probs (later extension)
214423 [hgs dmu.ac.u] Excuse the bizarre quoting, see below.
^ Linux cron : problem with a ruby task
214430 [user domain.] runner of my Ruby on Rails application
214431 [user domain.] 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 gmail] I'm sure this is a common question -- is there a plugin/lib/gem for
+ 214440 [ajalkane gma] Google for ruby zip would have told you just as much ;).
| 214473 [dmorin gmail] In my defense I googled "ruby create zip files" thinking that I would
+ 214442 [robert.dober] well it is not on rubyforge but still the following would have been
+ 214451 [alexandru gl] ~>> gem search -r zip
+ 214455 [dmorin gmail] 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 gmai] You can use Ruby to write CGI scripts quite easily. To have a Ruby
+ 214462 [nospam nosit] This would work, assuming the file had a Ruby extension, and assuming Apache
+ 214469 [mgreenly gma] You should rename the file to something *.rb (hello.rb) for example and
^ Clash of RubyZip and PDF::Writer
214464 [dmorin gmail] 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 gmail] Perfect!
^ modifying the hour in a datetime object already created
214472 [josselin wan] 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 wan] 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 yah] [While I try to get on the Rails mailing list here...]
214476 [phlipcpp yah] Oookay - the book told me I rarely need to restart the server. (It's
^ compact join with new line...
214482 [josselin wan] I would like to compact join address elements by inserting a new line
+ 214483 [farrel.lifso] def to_s
| 214547 [josselin wan] thanks .. that's what I did, but I realize that displaying it inside a
+ 214484 [robert.dober] Well I hope so ;)
^ 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>
threads.html
top