105721-106925

105504-106314 subjects 105996-106666

Freezing objects without Kernel#freeze
105721 [han.holl@in ] Having some trouble with REXML, but this post is not (primarily)
105723 [decoux@mo lo] You have this case
105724 [han.holl@in ] Thanks Guy,

Looking for Reviewers
105726 [dave@pr gp o] I'm getting towards the end of the Second Edition of the Programming

weird behaviour
105729 [lopexx@au og] Is it because there is no +@ operator defined for the String class ?
105731 [decoux@mo lo] no, this is this case
105743 [bob.news@gm ] "ts" <decoux@moulon.inra.fr> schrieb im Newsbeitrag
105746 [decoux@mo lo] run it with -w
105759 [bob.news@gm ] "ts" <decoux@moulon.inra.fr> schrieb im Newsbeitrag
105771 [decoux@mo lo] yes,
105873 [burtdav@ho m] So
105897 [decoux@mo lo] it's a little more complex :-)

PickAxe 2 licensing
105735 [dave@pr gp o] I've been thinking long and hard about the licensing of the new version
+ 105739 [cribbsj@oa w] I will gladly pay money for your new book.  The first version of Pickaxe
| + 105740 [tom@in oe he] +1
| + 105744 [ jimm@io co ] +1
| + 105752 [surrender_it] completely subscribed, every char, colon, and comma.
+ 105741 [eule@sp ce c] If it's only half as well done as the first book, it will have to be in
+ 105745 [lyle.johnson] I believe that I'm speaking on behalf of a lot of people when I say
+ 105750 [sean@ce so t] Good for you!  You shouldn't be expected to give the fruits of your labor away
+ 105753 [just-for-new] Well it corresponds with my experiences, not with books but with all
+ 105756 [sstephenson@] Do you plan to offer an electronic version for sale? The current HTML
| 105758 [dave@pr gp o] We might well offer a PDF version, but that hasn't been confirmed yet.
| 105772 [Mike@De et T] I don't use paper books at all any more and have little interest in a paper
| + 105779 [aredridel@nb] Ditto, tritto. I'd pay for it, for sure, and preferably in HTML -- It
| | 105781 [sean@ce so t] It'd be nice if someone kept the Ruby APIs documented in a
| | 105782 [dave@pr gp o] Ummm.... we have that. I (and some great helpers) added the book's
| | 105792 [jm@zz zz zz ] Yea, ruby-doc is very nice!
| | 105794 [sean@ce so t] I was hoping for searchability and user comments, too.
| + 105790 [Mike@Ge ry c] I forgot to mention... If it's on http://safari.oreilly.com that would work
+ 105763 [roelandmoors] I can't wait to buy it.
+ 105789 [cameron.mcbr] Dave,
+ 105797 [ferenc@en ar] I am the counter-example. :) I have not got too much computer books
| 105798 [carl.youngbl] I bought it practically the day it came out, and only discovered that
| 105804 [hal9000@hy e] Definitely worth it. And I expect great things of the second one.
| + 105820 [armin@xs .d ] Maybe one should add a "donate" via paypal or similar service to the
| + 105846 [jamesUNDERBA] When I was working on the ill-fated Beginning Ruby Programming, the
+ 105828 [ser@ge ma e-] That's OK.  I bought your book for myself, twice.
| 105830 [dave@pr gp o] We haven't decided yet, but it's likely that if we offer a PDF, it's be
| + 105886 [sean.zuzu@gm] yes, i would love this.  i purchased your pragprog book proper, but
| | + 105900 [NoOne@No he ] I thought "The Pickaxe Book" is a nickname for "Programming Ruby:  The
| | | + 105902 [mrmargolis@w] Andrew Hunt and David Thomas also have a book called The Pragmatic
| | | + 105913 [hal9000@hy e] No, they're the same. He's referring to their first (non-Ruby)
| | |   106117 [NoOne@No he ] Thanks, Hal
| | + 105911 [dave@pr gp o] I could imagine that folks who paid for the PDF early might feel upset
| |   + 105927 [sean.zuzu@gm] i'm proposing if this were understood from the beginning.  essentially
| |   + 105929 [sean@ce so t] Crazy idea: a website that lets people search the entire contents of the book,
| |     + 105930 [cameron.mcbr] awesome idea.
| |     | 105948 [jamesUNDERBA] Like what amazon.com does?  (Though amazon returns the whole page.)
| |     + 105934 [dave@pr gp o] Wouldn't a PDF let you do this?
| |     | + 105935 [cameron.mcbr] right, but I think it was meant as an alternative in case the PDF is
| |     | + 105937 [sean@ce so t] You could release the web site at the same time as the book and not worry
| |     | | 105939 [mrmargolis@w] It is very easy to download an entire web page for distribution.  I have
| |     | | + 105940 [dave@pr gp o] We sell PDFs of our existing books. Each is personalized with the name
| |     | | | + 105941 [joaopedrosa@] Cool, then please, make a digital version that I would
| |     | | | + 105944 [mrmargolis@w] I like that approach.  It isn't foolproof but it is a pain to get
| |     | | + 105943 [mailinglists] A copy protection schema is just there to keep honest people honest.
| |     | | + 105945 [sean@ce so t] The web site only returns brief snippets, it doesn't let you browse the entire
| |     | | + 105951 [sean.zuzu@gm] someone could OCR the hardcopy and release an illicit PDF as well.
| |     | |   105955 [joaopedrosa@] You are relying on ethics and rules. If it weren't for
| |     | + 105938 [khaines@en g] It does, but I think the idea is that it would be most useful for people who
| |     |   105949 [jamesUNDERBA] What about an ri plugin or extension, something that returns the normal
| |     |   105966 [surrender_it] well, take a look at
| |     |   + 105974 [dave@pr gp o] It's already there
| |     |   | 105975 [surrender_it] well, then I have to thank you again :)
| |     |   + 105982 [jamesUNDERBA] Right, but ri does not tell you the corresponding page number in the
| |     |     106061 [robertm@sp l] I hope you do this, I would like to have the print copy for home and the PDF available for using at work / laptop. As long as the shipping rates to the UK aren't to crippling.
| |     |     106063 [robertm@sp l] Here here, Manning currently offer unrestricted versions of the pdf books but they are currently looking at options for protecting them like DRM'ing.  They sent out an email a while ago soliciting opinions about it. When I responded, I mentioned about your method of personalizing the PDF document.
| |     + 105965 [surrender_it] safari,  the online bookstore, does something like this. Actually it
| + 105922 [ser@ge ma e-] That would be great, although if you do this, please consider HTML.
| | 105928 [sean.zuzu@gm] pdf contains more useful data than html.  publish a pdf and anyone can
| | 105954 [ser@ge ma e-] In general, I'd agree with you that PDF is a superior format if you
| + 106095 [bg-rubytalk@] Would you consider including a PDF or HTML version with the book?  I
+ 105837 [ptkwt@ar cn ] Great news! sign me up for one copy.
+ 105841 [mortonda@dg ] I just started learning Ruby 1 month ago, and your book online was the
+ 105843 [lucsky@ma .c] No surprise. I'll buy it in a split second. And if I have to pay for an
+ 105879 [NoOne@No he ] I bought the PickAxe book *after* I perused the online version for a week or

[ANN]: RubyGems 0.7.0 Released
105754 [jim@we ri hh] RubyGems 0.7.0 is now available at: http://rubyforge.org/frs/?group_id=126
+ 105761 [rasputnik@he] ???
+ 105765 [jim@we ri hh] As it has been pointed out, the command example should read ...
+ 105766 [lyle.johnson] Is the command structure backwards-compatible, i.e. will "gem
| 105889 [jim@we ri hh] No, the command structure is not backward compatible.
| 105926 [lyle.johnson] Yes, that is quickly becoming evident. ;)
+ 105866 [burtdav@ho m] When is RubyGems becoming available as a gem?
  105869 [gsinclair@so] It's not.  It's part of the infrastructure.
  + 105876 [aero6dof@ya ] I think what Dave B. is asking is if/when a gem installation could
  + 105887 [surrender_it] what does it mean?
    105888 [jim@we ri hh] RubyGems works by manipulating the list of directories searched for
    105894 [cc1@ce .w st] That's really unfortunate.  I guess I don't follow why you can't have 2
    105898 [rich@in oe h] Comments below...
    105914 [carl.youngbl] By the way, I noticed that on rubyforge the 0.7.0 announcement still
    105915 [rich@in oe h] Fixed...thanks.

ruby CVS system() bug?
105755 [rasputnik@he] ri says system should return false if the command failed, but if the
105757 [dave@pr gp o] It looks like whoever updated the source forgot to update the RDoc
105762 [rasputnik@he] My gut reaction was that this was a bug in system. It makes more sense
105778 [rcoder@gm il] Dick,
106078 [rasputnik@he] Thanks, I sent a patch to David.

[OT] Re: Ruby-Syntax capable editors for OS X?
105773 [cmills@fr es] Do you know if CDT works on OS X?
105786 [paulNO@SP M.] I installed CDT but hadn't compiled or run any programs since updating

Ruby Development Roadmap
105783 [jm@zz zz zz ] Where can we find a relatively recent Ruby roadmap?  Something similar

RIDE vs FreeRIDE [was PickAxe 2 licensing]
105785 [curt@hi bs c] I'm not familiar with RIDE, but I assume you are *not* referring to FreeRIDE

My impressions about Ruby
105788 [ssk@ch l. os] This post is kinda long and a personal opinion which is not meant for
+ 105799 [lists@za a. ] Frankly, the only situation I've encountered when Python's necessary
+ 105806 [surrender_it] Thanks for considering the community nice, your comment is quite nice
| + 105811 [sean.zuzu@gm] all this complaining about unicode not being japanese friendly, i
| | 105839 [sean.zuzu@gm] so the problem isn't unicode, but supporting *all* encodings?
| | + 105840 [rcoder@gm il] Unicode support does not necessarily replace all standard Japanese
| | | 105848 [sean.zuzu@gm] if it weren't rash i'd probably insist upon it more.
| | + 105842 [hal9000@hy e] Read again. I read this as saying that Unicode is indeed
| | + 105855 [surrender_it] you porobably need to read a larger piece of the thread.
| + 105812 [mailinglists] Unicode always was 4 Byte large. The IBM/Apple/MS connection was it
+ 105834 [joaopedrosa@] What a beautiful post. ;-)

segfault when running with the rubygem version of Iterator
105802 [msparshatt@y] I'm trying to use aeditor with the gem version of the Iterator library
105853 [jim@we ri hh] Mark, I'm trying to understand why the stub file is not working.
106010 [msparshatt@y] I've tested it on a different machine and it worked, so it does seem to

Kernel#load and locally scoped variables
105810 [johnm68@ms .] Is there any way for a Kernel#load(file) code block to gain access to
105815 [vjoel@PA H. ] x = nil # the variable must "exist" before the eval

Ruby Snapshot Notifier
105813 [jm@zz zz zz ] Has anyone already implemented a ruby script to check if a new ruby
105856 [trolocsis@gm] You could write a script that FTP's to the server and uses the list
+ 105885 [jm@zz zz zz ] Yea, we just poked a hole in our firewall to allow ftp now.  We were
+ 105895 [dooby@d1 .k ] If it would save some of Matz' valuable bandwith, it's worth doing.
  + 105901 [jm@zz zz zz ] You are much to kind.  Thank you very much!
  | 105906 [dooby@d1 .k ] Quite a pleasure.  Valuable question.
  + 105910 [sdate@ev re ] Daz,
  | 105931 [dooby@d1 .k ] Oh, true.  The line immediately below that should be modified
  + 106048 [nobu.nokada@] $ ruby -rParseDate -ep
    106049 [dooby@d1 .k ] Thanks Nobu, is this OK ? (of course ;)

Proc Blocks, passing them around...question.
105821 [zdennis@mk e] class MyObject
+ 105823 [vjoel@PA H. ] block = ...
+ 105827 [sean@ce so t] class MyObject

Attribution on ruby-doc.org (Re: PickAxe 2 licensing)
105857 [jamesUNDERBA] What sort of attributions, and where should they go?

PickAxe reviewers
105865 [dave@pr gp o] Wow! I've been bowled over by the response to my request for reviewers.

Re: My impressions about Ruby(Adequacy of Unicode)
105874 [durgaprasad_] "It is true that Unicode is a world standard proposed

FXRuby 1.2.0 / Fox 1.2.6
105890 [Meino.Cramer] I got some problem with ... what ?
105923 [lyle.johnson] OK.
105953 [Meino.Cramer] Why being so cynical?
106008 [lyle.johnson] I'm sorry if I'm being cynical, but let's review the facts. In a

OT: Am I readable ?
105903 [Meino.Cramer] may be I have some problems with my ISP and or my
+ 105904 [mrmargolis@w] I received your message normally
| 105907 [Meino.Cramer] Hmmm....normally I receive back a mail I sent to the list.
| 105908 [dooby@d1 .k ] ...
+ 105905 [horacio.lope] loud and clear
+ 105921 [vjoel@PA H. ] ...
+ 106114 [ jupp@gm .d ] - your MUA
  106164 [Meino.Cramer] it seems all ok.
  106451 [ jupp@gm .d ] Ich habe bis vor einiger Zeit ebenfalls die Mailadresse an dieser

More oddities FXRuby 1.2.0 / Fox 1.2.6
105916 [Meino.Cramer] finally I found some errors but it still not work.

Ruby GUI Toolkits as of July 2004
105924 [jm@zz zz zz ] I found a great overview of various GUI toolkits for Ruby but it's a bit
+ 105946 [surrender_it] You can use QTDesigner and Glade, if that was what you meant
+ 106073 [cribbsj@oa w] Sorta.  Before moving to FXRuby, I did quite a bit of work with Pygtk.

[ANN] Alexandria 0.3.1
105932 [lrz@gn me or] Alexandria 0.3.1 has just been released!

SyncEnumerator?
105936 [emmanuel.tou] ...

Business application building with Ruby
105942 [alex@ve k. n] What components would you use to build a business application in Ruby?
+ 105947 [surrender_it] postgresql with PL/ruby for the triggers :)
+ 105950 [khaines@en g] I do this regularly, though most of the work so far has tended to be much
  105969 [alex@ve k. n] Thanks for the responses.
  + 105971 [halostatue@g] Well, it's not really scary, since you can tweak them yourself. To me,
  + 105973 [surrender_it] 1.0 means "we've reached all we wanted to do".
  + 105977 [neil@ha ub .] I think you're right, but some developers have forgotten that the point of
  + 105978 [khaines@en g] In my case, with Kansas, it's because there are some features that I would
  | + 105980 [alex@ve k. n] Surely, if those other features can be honestly considered as the scope
  | + 105985 [jamesUNDERBA] Similar case with Blogtari.  It runs rubyxml.com and ruby-doc.org, plus
  |   105986 [neil@ha ub .] That's why version numbers less than one are meaningless.  If the user has
  |   105987 [khaines@en g] The user has to read the documentation regardless of the version number.
  |   105989 [neil@ha ub .] Then how about using dates as versions?  Call the release made tomorrow
  |   105990 [gsinclair@so] It's not a reasonable assumption.  The points made against that
  |   105994 [jamesUNDERBA] Two apps, both at version x.y.z, may be in very different states of
  |   106031 [gsinclair@so] Since RubyGems is concerned with version numbers, Jim Weirich has
  + 106157 [sera@fh an .] I don't think there's any consensus as to what version numbers mean.
    106158 [sean.zuzu@gm] to start with, http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html
    106254 [sera@fh an .] I wasn't saying that patterns don't exist. I was saying that consensus

Downloading FastCGI from RAA
105952 [greg@pu o. j] I can't get a copy of FastCGI, either the pure Ruby version of the C
106065 [vladare@ya o] You can find copy of FastCGI there http://osdn.org.ua/~mike/

ActiveRecord comments
105956 [carl.youngbl] I prefer not to pluralize my table names; it's pretty obvious that
+ 105957 [carl.youngbl] To clarify my thinking on this one, I am suggesting that the
+ 105968 [csshsh@st uc] has_and_belongs_to_many :users, :class_name => "User"

A little algorithmic help requested...
105959 [hal9000@hy e] Here's a problem my tired brain is having trouble with.
+ 105960 [ocean@m2 cc ] How about this? It seems working.
+ 105961 [jeffrey.dik@] At 4:20am, I'd do it like this
+ 105962 [demerzel@gm ] I may not have read you correctly, but does this do what you seek?
+ 105963 [gsinclair@so] def ranges(list, min_range_size=3)
+ 105967 [g_ogata@op u] a.each_index{|i|a[i..j=i+2]==[x=a[i],x+1,x+2]and(0while a[j]+1==a[j+=1];a[i..j-=1]=a[i]..a[j])}
| + 105979 [ocean@m2 cc ] (2004/07/11 19:37)
| + 105981 [bob.news@gm ] "George Ogata" <g_ogata@optushome.com.au> schrieb im Newsbeitrag
| + 105988 [batsman.geo@] Golfing a bit on #ruby-lang, exoticorn & I got
| | 106066 [g_ogata@op u] Nice!  The "(l=s[-1])&&x-l[-1]<2" bit is quite clever.  Using it (and
| + 106040 [hal9000@hy e] Ha, interesting indeed, but I don't do golf.  :)
+ 105972 [dblack@wo bl] David
+ 105991 [jhaungs@ac .] Here's an iterator approach.
+ 105992 [jhaungs@ac .] Here's an iterator approach.
+ 105993 [jhaungs@ac .] Here's an iterator approach.
+ 105995 [mneumann@nt ] require 'enumerator'
+ 106068 [martindemell] a = [1,2,3,4,6,7,8,11,12,15,16,17]
+ 106072 [androflux@so] Here's one that doesn't follow that "need at least three of more"
| 106077 [bob.news@gm ] "Jason Creighton" <androflux@softhome.net.remove.to.reply> schrieb im
| + 106081 [dblack@wo bl] Just for fun, here's a "purely functional" version, though not
| + 106162 [androflux@so] Oh, right, that would be easier. :)
|   106182 [bob.news@gm ] "Jason Creighton" <androflux@softhome.net.remove.to.reply> schrieb im
+ 106383 [rjp@fr tt ge] (uses only bash, not ruby, doesn't do any sorting at all,

Hosting Ruby scripts/cgi (repost)
105970 [keith_hodges] All,
105984 [aredridel@nb] I'd do that for you.
106842 [keith_hodges] did you get the scripts that I sent to you? I am still hoping that
106925 [aredridel@nb] Whoops, yep. The first email disappeared in the pile of "email with no
threads.html
top