127584-129572

127406-128342 subjects 127790-131829

^ Logtails 0.3: integration with KDE
127584 [rb raphinou.] Version 0.3 of logtails has been released and is available at

^ Reasons to consider learning Ruby?
127596 [me prestoncr] I'm completely new to Ruby and Python. I'd like to learn another language
+ 127602 [gfb tonesoft] Buy yourself a "Big Book" called "Programming Ruby, The Pragmatic
| 127608 [me prestoncr] Thanks!
| 127772 [ptkwt aracne] Deciding between the two seems to come down to preferences.  If you don't
+ 127604 [joaopedrosa ] As some people might say, this has been discussed before so
| 127609 [me prestoncr] Of course. I've Googled this topic thoroughly. And (as mentioned in my
| 127611 [ruby-lists l] ruby has qtruby. if you have time. compare the sources.
+ 127610 [Stephan.Kaem] It's up to date (covers Ruby 1.8.x) and really really well written.
| 127656 [me prestoncr] Picked this up tonight. Thanks for all the heads up, everyone!
+ 127612 [flgr ccan.de] See http://www.rubygarden.org/ruby?RealWorldRuby for how Ruby is getting
+ 127614 [cyclists nc.] This is something of a perma-thread on this n.g. so probably the best thing
| 127659 [me prestoncr] Thanks. I read much of what was here and it was very helpful in making my
+ 127622 [vanweerd gma] I just started learning Ruby and a bit of Python last year, and I'll
| + 127636 [jamesUNDERBA] I realize that what follows is a near-match for what might ordinarily
| + 127658 [me prestoncr] I did the same thing and noticed the same trend. I also noticed Perl
+ 127632 [rcs bgoark.n] If an advice from a newly converted Python to Ruby programmer (I have
  127655 [me prestoncr] This helps too. Since essentially the competition for my time and "big

^ Use of scaffolding in the ONLamp Rails tutorial
127599 [lyle.johnson] I'm going through Curt's excellent Rails tutorial (at
+ 127629 [lyle.johnson] Use of scaffolding in the ONLamp Rails tutorial
| 127664 [david loudth] Have a look in the log by doing something like "tail -f
| 127684 [lyle.johnson] I tried this before posting; the SQL statements (e.g. to INSERT the
+ 127714 [timsuth ihug] It worked for me.
  127724 [banano.fisi.] Is it throwing an error at you? Make sure you've got the db set up
  127732 [lyle.johnson] It wasn't throwing an error -- or, at the least, no error messages
  127746 [curt hibbs.c] Perhaps the problem is your browser caching the pages. Try forcing a page
  127913 [lyle.johnson] I think I just now figured out what I was doing wrong. I was
  127945 [curt hibbs.c] Yeah, I just recently became aware of this myself. I'll probably say

^ Documentation standard
127600 [cyberco gmai] I just got started with Ruby after years of Java and I'm having a lot
+ 127606 [kboruff opto] All other things about Java aside, it does provide some good documentation.
+ 127633 [jamesUNDERBA] I don't think it's a matter of people not knowing how to do something,
  127635 [zdennis mkte] On a side note, I am in the process of writing a java-api like generator
  127637 [jamesUNDERBA] There was also a thread (and sorry if this is old news; I didn't follow
  127638 [zdennis mkte] yep, i was on one of those and I started one with the subject of "RDOC

^ [REXML] Raw Elements
127605 [tsawyer gmai] Then when I traverse the document and query Element#raw it does say
127618 [tsawyer gmai] Sigh, I just realized I miss understood what raw meant --it's just
127619 [aredridel nb] None that I know of. The problem is this: where do you continue from,
127621 [tsawyer gmai] Well, I just want to specify a tag and anything in that tag would be
127623 [zdennis mkte] REXML should be pretty easy to manipulate or add functions to. Why roll
127628 [tsawyer gmai] Thanks Zach, that's a fair idea. I did a little REXML hacking a few

^ Unnamed::Template
127640 [ng johnwlong] I've been working on a yet-to-be-named templating system similar to in

^ Interrupted system call and telnet.rb
127641 [pete-temp-20] Has anyone else experienced an interrupted system call when using
127643 [akr m17n.org] I think there is another option: readpartial.  It restarts read(2) on

^ OpenSSL::PKey::RSA accepts empty constructor (BUG?)
127642 [bitserf gmai] It doesn't seem like you can do much with an empty RSA object (no #new
127675 [jamis_buck b] Actually, Net::SSH needs this. It allows you to explicitly set the
127736 [bitserf gmai] I noticed :)
127740 [jamis_buck b] Well, I figured out what I needed to make Net::SSH work, which is only

^ Re: Raw Elements
127646 [w_a_x_man ya] Here's a micro xml-parser (posted via Google, so the
127679 [tsawyer gmai] Hey Thanks! Not sure if I'll end up using since I just spent last night
+ 127683 [bob.news gmx] "trans." <tsawyer@gmail.com> schrieb im Newsbeitrag
| 127696 [tsawyer gmai] Me too, but what you gonna do?
| 127715 [tsawyer gmai] mall size of /your/ parser
+ 127697 [w_a_x_man ya] Thanks; I didn't think of that.
+ 127705 [w_a_x_man ya] .. class String

^ rdoc mistakenly picking up C functions
127649 [bitserf gmai] i have some C functions in an extension i'm documenting that are
127661 [tilman code-] (parse_c.rb)

^ Profiling question
127652 [tripps81 gma] $ cat ./profile1.rb
127660 [kig misfirin] Are those what you're after?
127670 [tripps81 gma] LOL. Actually yes. Now why did I miss that? :-)
127701 [lists zara.6] Btw, I notice that the times the profiler reports are slower/larger due

^ Ruby for mobile phones?
127657 [cyberco gmai] I've been doing a lot of work with Java J2ME and one thing that bars
+ 127665 [enleverlesO.] Info : Python and Nokia, is only for the series-60.
| 127667 [cyberco gmai] Yes, Nokia is currently only targeting their series 60 but will target
| 127668 [myfirstname ] Cyberco you are right, there should be Ruby for mobile devices. Anyone
| 127671 [sdate everes] Are you volunteering? One way to do this to front-end OPL i.e. write a
| + 127673 [alex verk.in] Just one guy asking the same question as you are asking. The answer was "no"
| | 127677 [sdate everes] Ok. Thanks Alexey ,
| + 127760 [myfirstname ] I would like to, but unfortunately my current knowledge of Symbian is
+ 127691 [kero chello.] I have Ruby running on an iPAQ under linux.
| + 127709 [polyergic gm] How 'bout Ruby for Palm Pilots?  Or is that already available?  I'd
| | 127722 [cyberco gmai] I personally feel that PalmPilot support would be great as well, but
| + 127721 [cyberco gmai] Hmm... there are not many Linux phones out there. Aiming the linux
+ 127769 [ptkwt aracne] Maybe I'm missing something, but I just can't imagine trying to type in
  127775 [cyberco gmai] in

^ [Rails] A few considerations about the ONLAMP.com Rails article
127666 [myfirstname ] Dear Brothers and Sisters in Ruby, :-)
+ 127682 [lucsky mac.c] Agreed, like, not using Windows for example... :>
+ 127708 [vanweerd gma] If I recall correctly, the MySQL administrator tools was out of date

^ REPOST: A specific sort of WEBrick configuration
127686 [ljz asfast.c] Around three weeks ago, I posted the following query here and to the

^ Ruby equivalent to webbrowser.py
127692 [Bil.Kleb NAS] My searching abilities have failed me: Is there a Ruby library
127710 [shanko_date ] I don't know if webbrowser.py works for many browsers

^ equivalent of scons?
127695 [petite.abeil] Is there an equivalent to "scons" [1] in Ruby? More generally, is there
+ 127698 [flgr ccan.de] Moin.
| 127700 [tom infoethe] Doh!  flgr beat me by 4 minutes!  :-)
+ 127699 [tom infoethe] "Rake is a Ruby make-like utility using standard Ruby syntax for the

^ Parsing bug?
127711 [g_ogata optu] Should this be a syntax error?
128263 [matz ruby-la] It should work.  Thank you for reporting.

^ [ANN] Updated Doxygen pages for Ruby source code
127712 [jamesUNDERBA] Back in November, at the Virgina RubyConf, Charles Mills provided

^ CD Baby rewrite in Postgres and Ruby
127726 [koen.vervloe] CD Baby, with 90,000 lines of PHP code and a MySQL database, is being

^ re-writing CD Baby from scratch in Ruby, using Rails
127728 [cdbaby gmail] I guess it's OK to tell the public, now, that I'm re-writing CD Baby

^ DateTime questions [newbie]
127729 [navindra cs.] I have some newbie questions.
128107 [matz ruby-la] I forwarded your questions to the author.
+ 128124 [navindra cs.] Oh, wow, thanks matz... and thanks for Ruby too!  :)
+ 128614 [navindra cs.] After driving myself mad, I finally realised that in fact this does

^ Re: Maybe OT: A metaphor for static typing?
127730 [tsawyer gmai] Int Ahead!

^ looking at ruby...
127733 [sean ardismg] So I'm looking at ruby for both personal and work projects.
+ 127744 [drbrain segm] Premature optimization is the root of all evil.  Ruby is fast enough
| + 127745 [mailinglists] But since the ruby community is still very very small this is maybe
| | + 127821 [drbrain segm] Commonly, it is the truth.  By omitting my full response though, you
| | | 127833 [paris perlpu] So you're saying the common truth is that Ruby is fast enough, but only if you
| | | + 127836 [dblack wobbl] Don't worry -- plenty of people are focusing on things like bytecode
| | | | + 127839 [navindra cs.] Can you give more pointers on this?  Any nice blogs of the ongoing
| | | | | + 127841 [joaopedrosa ] Cheers,
| | | | | + 127863 [rff_rff remo] the benchmark shooutout from debian.org is even mostly useless :).
| | | | + 127847 [paris perlpu] Happy yes! :) It pleases me to see such an enlightened attitude of
| | | + 127837 [rff_rff remo] given the efforts to build alternate VM/interpreters (rubydium, vuby,
| | | + 127838 [drbrain segm] Most of the time, Ruby is fast enough.  Sometimes its not, so find
| | | | 127845 [sean ardismg] What is happening in a few weeks?
| | | | 127854 [drbrain segm] You've probably seen posts from my partner-in-crime, Ryan Davis, on
| | | + 127849 [mailinglists] There are some things that can never be done with anything else then a
| | |   + 127850 [joaopedrosa ] It's like searching for happiness. Lots of languages and vendors are
| | |   + 127853 [paris perlpu] On the Perl side, the usual attitude is identify those particular things, and
| | |   + 127855 [ruby-lists l] luckily there *are* other people (me) working on
| | + 127840 [snowzone5 ho] i found that with threading, any difference in speed is more than
| + 127747 [paris perlpu] I am new to Ruby, coming from the Perl (99% Perl for the last 5 years, until
|   127749 [paris perlpu] Okay, I see one thing already, Marshal is a lot smarter than Storable.
|   127750 [matz ruby-la] On your machine.  I got
|   127753 [paris perlpu] Ah! Yes. I ran mine on an AMD K6-2/400 running RedHat 7.2, perl 5.8.0 and
+ 127783 [premshree.pi] You can find some standard benchmarks at http://shootout.alioth.debian.org/
  + 127835 [paris perlpu] the requirements are that each language implement the sollution exactly the
  | 127861 [premshree.pi] Umm, what makes you think the implementations are done differently for
  | 127866 [paris perlpu] Yes, normally when you are benchmarking and comparing language, you start with
  | + 127883 [premshree.pi] Ah, there you have a point. That's a serious flaw then.  Methinks the
  | + 127885 [rff_rff remo] well, this example is not correct (since, for example, there are some
  + 127867 [csaba phony_] While we all know that benchmark results are to be taken with a piece of
    127882 [premshree.pi] There's a win32 benchmark page at
    127909 [csaba phony_] I know of it. The alioth version also has options. My criticism wasn't

^ Fun with WWW::Mechanize
127735 [jamesUNDERBA] I thought I would see about adding some search function to ruby-doc, and
+ 127768 [mneumann nte] Nice to hear ;-)
| 127791 [jamesUNDERBA] At first, I just used the built-in 'links' property to get the search
| 127798 [mneumann nte] I've added an find_all_recursive method to REXML::Node.
+ 127785 [halostatue g] Very cool, James. Be warned, though, that Google frowns on "screen
  127794 [jamesUNDERBA] Yes, well that's one reason it is not linked from the main ruby-doc page.
  127799 [mneumann nte] Would you like to share the code with us? Should I include it as an
  127808 [jamesUNDERBA] Sure.  The live version uses the first pass at the Mechanize hack; the

^ RDoc and preprocessor generated functions
127737 [bitserf gmai] An extension I'm documenting has several functions and Ruby classes
127752 [bitserf gmai] This would appear because the module of Some::Generated::Class's is

^ Ruby Weekly News 17th - 23rd January 2005
127739 [timsuth ihug] trans. Send in any interesting quotes you see to timsuth@ihug.co.nz for next
127741 [timsuth ihug] A couple of corrections and comments.
127742 [jim freeze.o] I think they are one and the same.
127743 [timsuth ihug] Ok, that makes things easier. I must sheepishly admit that I thought Tom Sawyer

^ Ruby / OpenSSL
127748 [zdennis mkte] I'd like to use Jamis Buck's Net::SSH on my windows box, but I am having
127751 [zdennis mkte] Never mind, I got it going...silly me...not setting environment

^ RDoc enhancement proposal
127755 [bitserf gmai] I have some proposals for updates to RDoc which may make life easier
127756 [tilman code-] See the attached patch for one way of how to fix this.
+ 127757 [bitserf gmai] I had a similar hack going, but I wasn't sure how likely Dave was to
+ 127759 [bitserf gmai] Help, I really need a "Send in 5 minutes" button :>
  127766 [tilman code-] Yeah, you are right. So far it works nicely for me, since my extension

^ File.read not returning nil [newbie]
127761 [navindra cs.] # "empty" is a 0-byte file in the current directory
127765 [flgr ccan.de] irb(main):009:0> File.open("NUL") { |f| f.read }
127767 [navindra cs.] Thanks a lot for your response!
+ 127773 [flgr ccan.de] Moin.
| + 127787 [akr m17n.org] io.read() and io.read(nil) returns always a string which may be empty.
| + 127788 [navindra cs.] I guess I might as well ask you this here.  :-)
+ 127774 [theaney cabl] It doesn't for me. I get the empty string both times. But why?
  127786 [navindra cs.] I guess that's better than being inconsistent.  nil would have been
  127804 [theaney cabl] That's right, yes.
  127806 [navindra cs.] [vinata] [/tmp] ruby -v

^ File.read not documented
127777 [cyberco gmai] Sorry for probably asking the obvious, but I can't find the
+ 127781 [cyclists nc.] Look for IO.read
| 127820 [cyberco gmai] Thanks, Tim. I now see that the documentation of File includes a line
| + 127823 [flgr ccan.de] irb(main):004:0> File.ancestors
| | 127827 [dave burt.id] irb(main):001:0> File.superclass
| + 127830 [aredridel gm] File's a subclass of IO ...
+ 127782 [eban os.rim.] eban

^ Programming Ruby book not viewable on PocketPc
127778 [theebh gmail] Shucks I just bought the PDF version of Programing Ruby 2nd Edition,
+ 129326 [wildwildwes ] I have the same problem trying to view it on my Treo.
| 129342 [theebh gmail] PDF sucks! :(
+ 129408 [drbrain segm] them many, many sales.  I think its great that they were willing to
  + 129508 [Dave PragPro] We'd love to find a way around this, but so far we haven't been able to
  | 129570 [theebh gmail] thanks Dave for responding here and my previous mail. (this topic was
  + 129571 [theebh gmail] I don't understand yr point. It is precisely because this book has a
    129572 [theebh gmail] Sorry i was responding to Eric Hodel's posting. Wonder why the 'Reply'

^ Self and Ruby Comparisons
127780 [mystifier us] charset="US-ASCII"
+ 127789 [tsawyer gmai] I don't know if there is much comparision out there. You can have a
| 127828 [martindemell] for one, self doesn't have a ruby keyword...
| 127859 [tsawyer gmai] ...
+ 127865 [csaba phony_] Smalltalk! Assignment is a special thing even in Smalltalk. In Self, you
  + 127893 [transfire gm] 1) I would like to see a simple demonstration of this, I think while
  | 127918 [csaba phony_] Uh, to admit, my above claim is somewhat intuitive.
  | + 127934 [csaba phony_] Ah, and one more neat trick: as prototype based objects are instances of
  | + 128148 [transfire gm] Csaba,
  |   + 128154 [transfire gm] Sorry about the wierd punctuation. Google Groups is doing it.Not me!
  |   + 128304 [csaba phony_] I neither have much time, but we could try.
  |     + 128309 [decoux moulo] module A
  |     | 128507 [csaba phony_] Well, to fix a simple policy with which you can't go wrong is not hard.
  |     | + 128509 [zdennis mkte] class Parent
  |     | | 128511 [zdennis mkte] Bah ignore this! I had thought I tested this, and that was the behavior,
  |     | + 128517 [decoux moulo] You have removed Kernel to *all* classes
  |     |   128584 [csaba phony_] I just realise that according to the scheme I proposed, this operation
  |     + 128417 [transfire gm] Csaba,
  |       128422 [transfire gm] Why the heck does Google Groups make such a mees of that!?
  |       128421 [transfire gm] Believie it or not, it does! And it's pushing down the last character
  + 128051 [matju sympat] Actually, Perl has it better, because you can change the class of an
    + 128059 [decoux moulo] and you forget to say that in this P language array, hash, ... are not
    + 128060 [bob.news gmx] "Mathieu Bouchard" <matju@sympatico.ca> schrieb im Newsbeitrag
    | + 128134 [vanweerd gma] How about migrating legacy objects to new objects at run-time?
    | | 128142 [jeff opendbm] What about instantly changing the class of an activerecord object based
    | + 128140 [bob.news gmx] "Robert Klemme" <bob.news@gmx.net> schrieb im Newsbeitrag
    | + 128143 [transfire gm] robert,
    | | 128168 [bob.news gmx] "Trans" <transfire@gmail.com> schrieb im Newsbeitrag
    | | + 128171 [bob.news gmx] "Robert Klemme" <bob.news@gmx.net> schrieb im Newsbeitrag
    | | + 128177 [transfire gm] robert,
    | | | + 128181 [zdennis mkte] From looking at the Core API it doesn't appear there is an easy way to
    | | | + 128192 [flgr ccan.de] It's still not too much work. Ignoring the checks that need to be done
    | | | + 128276 [bob.news gmx] charset="iso-8859-1"
    | | + 128179 [zdennis mkte] I am thinking along the same lines as Robert here T. I don't see why you
    | |   128180 [zdennis mkte] Ignore this T., I just saw your reply to robert.
    | |   128187 [transfire gm] Ignoring request to ignore ;-)      [ed- deja'vu flgr]
    | + 128321 [matju sympat] No, a copy is _not_ sufficient.
    |   128446 [bob.news gmx] "Mathieu Bouchard" <matju@sympatico.ca> schrieb im Newsbeitrag
    + 128191 [flgr ccan.de] Note that this can be mostly done with EvilRuby. You can change the
threads.html
top