127584-129572

127406-128342 subjects 127790-135501

Logtails 0.3: integration with KDE
127584 [rb@ra hi ou ] Version 0.3 of logtails has been released and is available at

Reasons to consider learning Ruby?
127596 [me@pr st nc ] I'm completely new to Ruby and Python. I'd like to learn another language
+ 127602 [gfb@to es ft] Buy yourself a "Big Book" called "Programming Ruby, The Pragmatic
| 127608 [me@pr st nc ] Thanks!
| 127772 [ptkwt@ar cn ] 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@pr st nc ] 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@pr st nc ] Picked this up tonight. Thanks for all the heads up, everyone!
+ 127612 [flgr@cc n. e] 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@pr st nc ] Thanks. I read much of what was here and it was very helpful in making my
+ 127622 [vanweerd@gm ] 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@pr st nc ] I did the same thing and noticed the same trend. I also noticed Perl
+ 127632 [rcs@bg ar .n] If an advice from a newly converted Python to Ruby programmer (I have
  127655 [me@pr st nc ] 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@lo dt ] 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@ih g] 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@hi bs 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@hi bs c] Yeah, I just recently became aware of this myself. I'll probably say

Documentation standard
127600 [cyberco@gm i] I just got started with Ruby after years of Java and I'm having a lot
+ 127606 [kboruff@op o] 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@mk e] 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@mk e] yep, i was on one of those and I started one with the subject of "RDOC

[REXML] Raw Elements
127605 [tsawyer@gm i] Then when I traverse the document and query Element#raw it does say
127618 [tsawyer@gm i] 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@gm i] Well, I just want to specify a tag and anything in that tag would be
127623 [zdennis@mk e] REXML should be pretty easy to manipulate or add functions to. Why roll
127628 [tsawyer@gm i] Thanks Zach, that's a fair idea. I did a little REXML hacking a few

Unnamed::Template
127640 [ng@jo nw on ] 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@m1 n. rg] I think there is another option: readpartial.  It restarts read(2) on

OpenSSL::PKey::RSA accepts empty constructor (BUG?)
127642 [bitserf@gm i] 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@gm i] 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@gm i] Hey Thanks! Not sure if I'll end up using since I just spent last night
+ 127683 [bob.news@gm ] "trans." <tsawyer@gmail.com> schrieb im Newsbeitrag
| 127696 [tsawyer@gm i] Me too, but what you gonna do?
| 127715 [tsawyer@gm i] 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@gm i] i have some C functions in an extension i'm documenting that are
127661 [tilman@co e-] (parse_c.rb)

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

Ruby for mobile phones?
127657 [cyberco@gm i] 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@gm i] 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@ev re ] Are you volunteering? One way to do this to front-end OPL i.e. write a
| + 127673 [alex@ve k. n] Just one guy asking the same question as you are asking. The answer was "no"
| | 127677 [sdate@ev re ] Ok. Thanks Alexey ,
| + 127760 [myfirstname@] I would like to, but unfortunately my current knowledge of Symbian is
+ 127691 [kero@ch ll .] 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@gm i] I personally feel that PalmPilot support would be great as well, but
| + 127721 [cyberco@gm i] Hmm... there are not many Linux phones out there. Aiming the linux
+ 127769 [ptkwt@ar cn ] Maybe I'm missing something, but I just can't imagine trying to type in
  127775 [cyberco@gm i] in

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

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

Ruby equivalent to webbrowser.py
127692 [Bil.Kleb@NA ] 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@cc n. e] Moin.
| 127700 [tom@in oe he] Doh!  flgr beat me by 4 minutes!  :-)
+ 127699 [tom@in oe he] "Rake is a Ruby make-like utility using standard Ruby syntax for the

Parsing bug?
127711 [g_ogata@op u] Should this be a syntax error?
128263 [matz@ru y- a] 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@gm il] 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@ru y- a] 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@gm i] Int Ahead!

looking at ruby...
127733 [sean@ar is g] ...
+ 127744 [drbrain@se m] 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@se m] Commonly, it is the truth.  By omitting my full response though, you
| | | 127833 [paris@pe lp ] So you're saying the common truth is that Ruby is fast enough, but only if you
| | | + 127836 [dblack@wo bl] 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@re o] the benchmark shooutout from debian.org is even mostly useless :).
| | | | + 127847 [paris@pe lp ] Happy yes! :) It pleases me to see such an enlightened attitude of
| | | + 127837 [rff_rff@re o] given the efforts to build alternate VM/interpreters (rubydium, vuby,
| | | + 127838 [drbrain@se m] Most of the time, Ruby is fast enough.  Sometimes its not, so find
| | | | 127845 [sean@ar is g] ...
| | | | 127854 [drbrain@se m] 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@pe lp ] 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@pe lp ] I am new to Ruby, coming from the Perl (99% Perl for the last 5 years, until
|   127749 [paris@pe lp ] Okay, I see one thing already, Marshal is a lot smarter than Storable.
|   127750 [matz@ru y- a] On your machine.  I got
|   127753 [paris@pe lp ] 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@pe lp ] 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@pe lp ] 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@re o] well, this example is not correct (since, for example, there are some
  + 127867 [csaba@ph ny ] 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@ph ny ] 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@nt ] Nice to hear ;-)
| 127791 [jamesUNDERBA] At first, I just used the built-in 'links' property to get the search
| 127798 [mneumann@nt ] 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@nt ] 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@gm i] An extension I'm documenting has several functions and Ruby classes
127752 [bitserf@gm i] This would appear because the module of Some::Generated::Class's is

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

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

RDoc enhancement proposal
127755 [bitserf@gm i] I have some proposals for updates to RDoc which may make life easier
127756 [tilman@co e-] See the attached patch for one way of how to fix this.
+ 127757 [bitserf@gm i] I had a similar hack going, but I wasn't sure how likely Dave was to
+ 127759 [bitserf@gm i] Help, I really need a "Send in 5 minutes" button :>
  127766 [tilman@co e-] 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@cc n. e] irb(main):009:0> File.open("NUL") { |f| f.read }
127767 [navindra@cs ] Thanks a lot for your response!
+ 127773 [flgr@cc n. e] Moin.
| + 127787 [akr@m1 n. rg] 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@ca l] 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@ca l] That's right, yes.
  127806 [navindra@cs ] [vinata] [/tmp] ruby -v

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

Programming Ruby book not viewable on PocketPc
127778 [theebh@gm il] 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@gm il] PDF sucks! :(
+ 129408 [drbrain@se m] them many, many sales.  I think its great that they were willing to
  + 129508 [Dave@Pr gP o] We'd love to find a way around this, but so far we haven't been able to
  | 129570 [theebh@gm il] thanks Dave for responding here and my previous mail. (this topic was
  + 129571 [theebh@gm il] I don't understand yr point. It is precisely because this book has a
    129572 [theebh@gm il] Sorry i was responding to Eric Hodel's posting. Wonder why the 'Reply'

Self and Ruby Comparisons
127780 [mystifier@us] ...
+ 127789 [tsawyer@gm i] 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@gm i] ...
+ 127865 [csaba@ph ny ] In Self really everything is message passing. Unlike Ruby and unlike
  + 127893 [transfire@gm] 1) I would like to see a simple demonstration of this, I think while
  | 127918 [csaba@ph ny ] Uh, to admit, my above claim is somewhat intuitive.
  | + 127934 [csaba@ph ny ] 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@ph ny ] I neither have much time, but we could try.
  |     + 128309 [decoux@mo lo] module A
  |     | 128507 [csaba@ph ny ] Well, to fix a simple policy with which you can't go wrong is not hard.
  |     | + 128509 [zdennis@mk e] class Parent
  |     | | 128511 [zdennis@mk e] Bah ignore this! I had thought I tested this, and that was the behavior,
  |     | + 128517 [decoux@mo lo] You have removed Kernel to *all* classes
  |     |   128584 [csaba@ph ny ] 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@sy pa ] Actually, Perl has it better, because you can change the class of an
    + 128059 [decoux@mo lo] and you forget to say that in this P language array, hash, ... are not
    + 128060 [bob.news@gm ] "Mathieu Bouchard" <matju@sympatico.ca> schrieb im Newsbeitrag
    | + 128134 [vanweerd@gm ] How about migrating legacy objects to new objects at run-time?
    | | 128142 [jeff@op nd m] What about instantly changing the class of an activerecord object based
    | + 128140 [bob.news@gm ] "Robert Klemme" <bob.news@gmx.net> schrieb im Newsbeitrag
    | + 128143 [transfire@gm] robert,
    | | 128168 [bob.news@gm ] "Trans" <transfire@gmail.com> schrieb im Newsbeitrag
    | | + 128171 [bob.news@gm ] "Robert Klemme" <bob.news@gmx.net> schrieb im Newsbeitrag
    | | + 128177 [transfire@gm] robert,
    | | | + 128181 [zdennis@mk e] From looking at the Core API it doesn't appear there is an easy way to
    | | | + 128192 [flgr@cc n. e] It's still not too much work. Ignoring the checks that need to be done
    | | | + 128276 [bob.news@gm ] ...
    | | + 128179 [zdennis@mk e] I am thinking along the same lines as Robert here T. I don't see why you
    | |   128180 [zdennis@mk e] Ignore this T., I just saw your reply to robert.
    | |   128187 [transfire@gm] Ignoring request to ignore ;-)      [ed- deja'vu flgr]
    | + 128321 [matju@sy pa ] No, a copy is _not_ sufficient.
    |   128446 [bob.news@gm ] "Mathieu Bouchard" <matju@sympatico.ca> schrieb im Newsbeitrag
    + 128191 [flgr@cc n. e] Note that this can be mostly done with EvilRuby. You can change the
threads.html
top