88746-95006

88551-88946 subjects 88968-93974

^ binary data
88746 [alwinblok fa] I'm new to ruby. I'm learning it and it seems to be a very nice
+ 88826 [alwinblok fa] Is my question to hard or to easy to answer? Can someone please
| + 88840 [jgb3 email.b] I'd be interested in an answer to this one, too, from someone who is "in
| + 88841 [davel canuck] I don't know of a more appropriate method, but what about
+ 88856 [me privacy.n] very old coding style, may be of interest
  94047 [dooby d10.ka] Like Neil said ...
  94934 [alwinblok fa] I was playing wih the framebuffer device, using pack, I was able to get
  95006 [dooby d10.ka] For that specific case, 2 x putc

^ Property files
88747 [rcoutts envi] Is there a library class for handling common property files that have
+ 88763 [ng johnwlong] ___________________
| 89024 [jrb3 eidogen] I have a simple one accessible through acceptor.tigris.org/.
+ 88862 [bob.news gmx] "Ron Coutts" <rcoutts@envistatech.com> schrieb im Newsbeitrag
  88864 [andre digira] s.sub!(/=$/, '')
  + 88865 [andre digira] Well, i could also do
  + 89569 [bob.news gmx] "Andre Nathan" <andre@digirati.com.br> schrieb im Newsbeitrag

^ ruby 1.8 on MAC OS X
88752 [vanjac12 yah] Has anyone posted an installer package for ruby 1.8 for MAC OS X (10.2.8
+ 88769 [dave pragpro] If you install the developer tools, it builds out of the box.
| + 88790 [jim freeze.o] For 10.3.x, does this mean install the xcode CD?
| | 88796 [rich infoeth] Yes...the xCode CD.  As a bonus, the xCode editor syntax highlights
| + 88797 [rich infoeth] ...
+ 89130 [digibren mac] I will try to update it for 1.8.1 soon.
  90001 [vanjac12 yah] Brennan;
  90012 [DDouthitt cu] Fink stores everything in /sw - keeps it clean and out of the way.  You can also install Ruby via Fink, as well as XFree86 I think.  On my iBook I, too, went install-happy: I've all of KDE, including KOffice, on my iBook ;-)
  90064 [vanjac12 yah] I put /sw/bin  and /supp/bin  in my PATH (before the path that has ruby 1.6)

^ getaddrinfo :: ?
88765 [chrismo clab] I'm tinkering around with Borges on my XP box and one of the first
88767 [chrismo clab] I replaced the Borges/WEBrick.rb code with localhost and it gets past
88768 [chrismo clab] I'm guessing this is older Borges code with newer WEBrick code. This is
88775 [drbrain segm] =20
88777 [drbrain segm] Oh, ha! I lied, I fixed this _after_ alpha3 (about 5 minutes after) :(

^ amrita question
88772 [carl ycs.biz] I'm having a weird problem with amrita.  I need to have the contents of
+ 88774 [donquach mur] You can use attribute expansion by placing an "@" in front of the word
+ 88820 [ahoward ngdc] amrita is very smart, if you do not specify new content it does not delete

^ Slurping a file like in Perl
88776 [xeno eskimo.] I want to slurp up two files and substitute one file in another for a symbol
+ 88779 [contact maik] There was a very interesting article about file slurping on perl.com
+ 88782 [gsinclair so] You can slurp a file with File.read(path), and perform a substitution

^ Is Ruby FAQ down
88780 [leikind mova] The Ruby FAQ http://www.rubygarden.org/iowa/faqtotum seems to be down.
88792 [chad chadfow] # Hello all,

^ TkText freezes
88781 [me privacy.n] Running On i686 Linux
+ 88783 [decoux moulo] Can you run it under gdb and give the backtrace when it crash ?
| 88794 [me privacy.n] The program will not accept keystrokes when attached to gdb
| 88795 [decoux moulo] Well, here an example (~/b.rb is the example that you have posted)
| 88798 [me privacy.n] cut ...
| 88799 [me privacy.n] got it running under gdb cannot get it to segfault
| 88800 [decoux moulo] Well, under gdb don't run it with -d (it's important because this can slow
| 88808 [me privacy.n] Thanks Guy you have been most helpfull, my Penetium II is slow by todays
+ 88807 [matz ruby-la] Currently I suspect this is caused by LinuxThread bug.  I tried hard
  + 88809 [me privacy.n] My glibc is glibc-2.3.2-14mdk on mandrake 9.2 I have a mandrake 9.0
  | 88812 [me privacy.n] On Mandrake 9.0  glibc-2.2.5-16mdk seg faults far easier on second key
  + 88829 [decoux moulo] I'm probably wrong, but I don't think it's related to pthread.
    88830 [matz ruby-la] We have two problems, one that crash, and the other that block.  The
    + 88831 [decoux moulo] Well, the backtrace when it block (I send it ^C when it don't display
    | 88833 [matz ruby-la] The backtrace tells me little.  The patched Ruby and tcltklib.so
    | 88834 [decoux moulo] Well, the problem is that it was 1.8.1-preview4 : it was really easy to
    + 88832 [decoux moulo] I don't know if it's related (I've applied the patch)
    | 88835 [decoux moulo] OK, I've found. There were an old strscan in site_ruby
    + 88855 [me privacy.n] A patched  ruby 1.8.1 (2003-12-05) [i686-linux] works fine for me on
      88861 [decoux moulo] You are lucky :-) your tcl/tk don't use pthread, this can be seen in
      88871 [me privacy.n] I'm happy and lucky it is an obscure personal program only of interest

^ testing rake
88788 [raphael.baud] I'm testing rake. I found it promising, but I've got I problem with defining a rule.
88801 [jweirich one] No, the docs are wrong.  There was a typo in the rule.  It should state

^ Re: Configuration Files
88793 [wmwilson01 h] Doesn't this have some security implications?  I'm not really sure that I
+ 88803 [ng johnwlong] code
+ 88863 [bob.news gmx] "Mike Wilson" <wmwilson01@hotmail.com> schrieb im Newsbeitrag

^ Is there a way to use "def self.new" to do the job of "def initialize"?
88805 [sross connec] In Ruby, if I want to make an instance of a class C, the syntax is
88806 [jgb3 email.b] Well, keep in mind that in C.new, @a is not accessible.  Thus, unless
88810 [sross connec] Thank you. I agree it does feel "klunky". But it can be done. Very cool.
88824 [aredridel nb] It has its uses. Look in the net/http code and you'll find some clever

^ rubynet-announce Digest, Vol 10, Issue 1
88813 [rubynet-anno] Send rubynet-announce mailing list submissions to

^ [ANN] ruby 1.8.1
88814 [matz ruby-la] Merry Christmas,
+ 88816 [andrew walro] Excellent! Great work and Merry Christmas!
+ 88817 [tom infoethe] Thanks, and Merry Christmas!
+ 88818 [armin xss.de] Thank you for the great Xmas present!
+ 88821 [jbritt ruby-] I've mirrored it at ruby-doc.org
+ 88823 [harryo zip.c] Just downloaded and built it on my Redhat 9 system.  Works like a charm.
+ 88825 [aredridel nb] Checked in to PLD's builders.  Looks great!  (And I'm happy to see rdoc
+ 88837 [decoux moulo] It don't like Solaris
| 88889 [admail rsieg] I compiled OK under Solaris 2.8 just using ./configure with no
+ 88849 [sdate everes] Wish you all Merry Christmas and a very Happy New Year !
| 88850 [nakahiro sar] Hmm.
| 88851 [sdate everes] "NAKAMURA, Hiroshi" <nakahiro@sarion.co.jp>
| 88852 [nakahiro sar] Hmm.  mac.csv is broken.  "\r\n" between records must be "\r".
| 88869 [sdate everes] "NAKAMURA, Hiroshi" <nakahiro@sarion.co.jp>
| 88897 [nakahiro sar] Eban-san tells me that winzip extracts "\r" in a file as "\r\n"...
+ 88911 [ gm navel.gr] This is an excellent Xmas gift! Thanks a lot!
+ 88938 [kero chello.] $ ./configure --enable-shared --prefix=/usr/local
| 88939 [matz ruby-la] Did you try ldconfig?
| 88942 [kero chello.] I should have...
+ 89049 [usenet andre] % cd test
| 89051 [decoux moulo] Well, can you run it under gdb and give the backtrace.
| 89052 [usenet andre] I tried it again, and the problem has disappeared... it's possible that
| 89095 [nakahiro sar] It's a stupid bug of the test.  Won't be happened next day.
+ 89108 [djberg96 hot] Anyone wanna submit a story to slashdot?  I dunno the changelog

^ Drb session problem
88815 [carl ycs.biz] I'm using DRb for my CGI session store class, as described on the Ruby

^ [FYI: historic] The desicive moment of the language name Ruby. (Re: [ANN] ruby 1.8.1)
88819 [maili31s cli] Thank you matz.

^ [ANN] soap4r/1.5.2
88827 [nakahiro sar] Release Note: http://rrr.jin.gr.jp/doc/soap4r/RELEASE_en.html

^ Happy Holidays
88836 [jbritt ruby-] Here's hoping everyone finds peace and happiness in the new year.
88843 [ jupp gmx.de] 'finds' or 'seeks' that is the question.

^ [ot] Re: Happy Holidays
88838 [neoneye adsl] Already found utopia:  Ruby-1.8.1, seen all episodes of LOTR, seen all
88839 [zdennis mkte] Aye...Merry Christmas!!!
88842 [gsinclair so] ruby-doc.org of course!
88857 [neoneye adsl] Simon Strandgaard

^ Anyone has IniFile?
88847 [andre digira] Today I tried to download IniFile[1] from the RAA, but the available link
88965 [andre digira] interested in my addition below as well.

^ Potential Outlets- Contact Info.
88866 [Lennie kwikp] 1) Welcome - 0227133151

^ When do pragmatic  programmers port for win32 ?
88867 [orlovdn ramb] For Ruby 1.8.1
88870 [dave pragpro] I forwarded this on to Andy, who does these ports. He's been traveling,

^ analog of the JPOS (Java[tm] based financial transaction library/framework)  on Ruby
88868 [vladare yaho] Is there someone who working with a ISO financial protocol ?

^ dbdbd installation help please
88872 [jpaish freen] has anyone successfully installed dbdbd?  this program has just the right level of simplicity and
+ 88873 [decoux moulo] It's too old your ruby :-)
+ 88874 [cyclists nc.] 1.6.2? Really? It's possible that such an old version of Ruby didn't
  88890 [redman acces] I also have tried installing dbdbd and I am running ruby 1.8.0
  + 88893 [dblack wobbl] Ugh.  Let me look into it.  It won't be immediately though... but can
  + 88899 [dblack wobbl] I've now looked at it and, I hope, massaged things back to working

^ Rinda Notify
88875 [cc1 cec.wust] I am curious to know if there is any english documentation for Rinda,

^ ruby-mode font-lock trouble on Gnu Emacs 21.3.1
88876 [samuel alien] I've been using ruby-mode along with a number of different Emacsen over the
88882 [samuel thoug] Upon closer inspection, the fix I saw was for a really old version of
88883 [matz ruby-la] Perhaps we forgot to apply the fix.  Where did you find the patch?
88888 [samuel thoug] I doubt that's the case.  This was from back in 2001.  It was on the ruby-talk
88923 [joey joeygib] I have also seen the problem with using #{} messing things up. The 'fix'
88928 [samuel thoug] Yeah, I've done similar things.  I also, sometimes, simply assign the string to

^ newbie question on how to subtract two dates.
88877 [ruby4lover y] I have a file with a file name of the form filename.yymmdd, where yy=two digits year, mm=two digits month and dd=two digits day. For example, perf.030906 indicates 03=year 2003, 09=September and 06=the sixth day of the month (September 06, 2003).
+ 88878 [cyclists nc.] Check out the Date class.
| 88880 [jgb3 email.b] You just need to subtract (or add) the number of seconds you want from a
| 88881 [gsinclair so] Thanks for the tip.  I'll update the docs soon.
+ 88905 [rocioestrada] require 'date'

^ array operations
88884 [ferenc engar] What comparison (equality) the array operation '-' based on? I tried to
88886 [matz ruby-la] Close.  It uses "eql?" internally, since comparison is done using
88887 [ferenc engar] What does hash comparison mean? I have read the Object#hash and
88903 [samuel thoug] Hash comparison means that it compares the value of Object#hash for each
88909 [ferenc engar] Sorry, I didn't look in the source, yet, but I have made some

^ Matz' interfview part #3
88892 [surrender_it] Yet another gift for you, rubyists,

^ equal? vs eql? vs ==
88894 [samuel alien] I'm working on writing a set of classes that implement weak versions of Hash,
88896 [surrender_it] ri is you friend ;)
88902 [samuel thoug] You know, I read that.  For some reason I did not register the word "not" in

^ Curry
88895 [mhm26 drexel] I searched google groups and couldn't find a decent currying
+ 88906 [sdate everes] So how do I use it ?
| 88907 [sdate everes] Replying to my own post :-)
+ 88908 [mhm26 drexel] After receiving an email, I realized two things.  I didn't explain
  88915 [sdate everes] Yes, that is a great improvement. I like your version better :-)

^ Closures and Letrec
88898 [cc1 cec.wust] Is there a way to create recursive anonymous closures in ruby?  For instance
+ 88900 [jweirich one] Actually, even does know about even because Ruby sees an assignment to
+ 88901 [dagbrown LAR] Sure, you just have to remember about The Miracle Of Duck Typing, and

^ The great ri conversion... :)
88904 [dave pragpro] charset=US-ASCII;
+ 88914 [sdate everes] I tried it on Windows ! It worked !! Well, almost (see below ;-)
+ 88916 [uehli bluewi] uehli@ueh-t ruby $ rdoc --ri *.c
  88917 [dave pragpro] Excellent! Thanks for the report. I'd never tried running with warning
  88931 [uehli bluewi] When I try to rdoc --ri the _whole_ ruby source dir (which is probably
  88935 [decoux moulo] No, for me the problem is in syck.
  88951 [uehli bluewi] You're right, I was just too lazy to check.

^ New to Ruby
88910 [GGarramuno a] other scripting languages such as tcl, perl and python.
88912 [decoux moulo] There are the methods Module#{,public_,private_,protected_}instance_methods

^ RubyCocoa and Panther - almost
88913 [aaawww_its_m] the past few days I've been trying to get RubyCocoa working under

^ Command line parsing module
88918 [GGarramuno a] Thanks for the answers to my previous questions.
88919 [gsinclair so] OptionParser (require 'optparse' in the standard library) does a great

^ forum & binary cgi
88920 [jaap stack.n] 1. I read and printed a png image from disk and printed it to the
88921 [gsinclair so] print "Content-type: image/png\n\n"
88922 [jaap stack.n] Thank you very much. It works if i add STDOUT.binmode

^ TOP TEN STORIES FOR 2003
88924 [phasis68 kor] I want to know what is happened in Ruby in 2003.
88925 [jbritt ruby-] I don't have dates, details, or any special order , but here are some

^ Bug in session.rb?
88926 [carl ycs.biz] I think I may have found a bug in ruby/1.8/cgi/session.rb.  In the
88929 [matz ruby-la] flock would be released when you close the port, thus don't forget to

^ Session question(s)
88927 [carl ycs.biz] Is there a way to tell the session class to store the session ID in a
88932 [matz ruby-la] I thought cookies would disappear unless you explicitly specify

^ Defining/Deleting variables
88930 [GGarramuno a] Okay, I am trying to clarify the use of nil in Ruby.
+ 88933 [matz ruby-la] No.  Variables live as long as enclosing scope lives.
+ 88947 [austin halos] Why?
  + 88948 [sdate everes] @name =  ((defined? name and name) or "unknown")
  | 88953 [bystr mac.co] Very true. Some time ago I spent considerable amount of time to finally
  + 88962 [GGarramuno a] 1) Memory
    88988 [austin halos] This is not a reason to worry about this with Ruby. Variables aren't memory

^ Inconsistent value of uninitialized variable
88936 [gsinclair so] x         # NameError: undefined local variable or method `x' ...
+ 88937 [matz ruby-la] It's just application of the simple rule "local variables are defined
+ 88944 [nathaniel ta] Isn't it this behavior that makes it possible to define a recursive
| + 88952 [gsinclair so] I don't believe so, because the 'x' in question above is not being
| + 88970 [martindemell] This is not a proper recursive block - for instance
|   88971 [nathaniel ta] "Not proper" might be strong language, but yes, it could definitely be
|   + 88974 [batsman.geo ] => #<Proc:0x401af0f0@(irb):3>
|   + 88975 [martindemell] Sorry. Actually, you're right - this'll cover nearly every case in which
+ 88945 [ajohnson cpa] Just recently there was a discussion on using procs that referenced
+ 88949 [holmberg iar] I had a similar problem a while ago that also took time to debug.

^ system()
88940 [Jesper Jespe] system("ls>out.txt")
88941 [decoux moulo] Well, if system return false this is not because $SAFE = 1 but probably
88973 [jolsen mail2] Thanks Guy,
+ 88976 [decoux moulo] no, no : a P language has something similar.
+ 88986 [ahoward ngdc] </snip>

^ DearPartner: New personal dating system
88950 [mailman serv] This is from your DearPartner.

^ An addition to Array (or Enumerable)?
88954 [harryo qiqso] Yesterday, I wanted to get the output from "ls -l some_file" and pull out just the file size and the file name. As I start writing this, I realise, of course, that I'd have been better off just using the File#size method, but I still think the issue I hit is interesting.
+ 88955 [bystr mac.co] listing = `ls -l #{path}`.split
| + 88956 [gfb tonesoft] Oops, just checked that in final Ruby 1.8.1 it should be
| | + 88959 [harryo qiqso] Thanks!
| | | 88961 [gsinclair so] The "join" method is redundant unless you have modified the output
| | | 88964 [harryo qiqso] Thanks.
| | + 88963 [dave pragpro] It changed...  :)
| |   88979 [uehli bluewi] The text is ok.
| |   88983 [dave pragpro] Thanks! My fault for being lazy when cut'n'pasting from values_at.
| + 88957 [gsinclair so] [Gennady:]
+ 88958 [cyclists nc.] irb(main):001:0> x = ['A','B','C','D'] => ["A", "B", "C", "D"]
  88960 [harryo qiqso] Sure, that would work.

^ RDOC generation broken in 1.8.1
88966 [ xxx xxx.net] I'm very new to Ruby, but I have successfully built and installed Ruby 1.8.1
+ 88967 [dave pragpro] Sorry about this: we're in the middle of a process of transition, and
+ 89038 [dave pragpro] This is fixed in the latest CVS: it was a conventional bug (jcode
threads.html
top