18638-19152 subjects 19093-19705

^ dict ruby  # :-)
18867 [stesch no-sp] stesch@parsec:~$ dict ruby
18875 [mikkelj-anti] Look at the beautiful frozen Yukon River.

^ RubyGarden and the wiki will be down for a while...
18868 [Dave Pragmat] Well, just when things seemed to be going so well, I seem to have had

^ Re: exercise in minimalism: diamonds
18869 [stesch no-sp] \\\\\\\\\\\\\\\\\\\\\\\\
+ 18910 [ugly-daemon ] Where can I find more info on this lang?? That looks wicked!! From now on all my
+ 18916 [stesch no-sp] <URL:http://dmoz.org/Recreation/Humor/Computer/Programming/Obfuscated_Languages/>
  19004 [brunjes prim] I couldn't resist this interesting puzzle!  Here is a 66-character

^ Rebol
18870 [spwhite char] I've been playing around with Rebol. It's pretty much like TCL on steroids

^ TK under ruby
18873 [niktuku succ] I've Read all the docs I could find, but i still can't figure out how to
+ 18887 [alwagner uar] No, you are not brain dead.  I too am just starting to learn Tk
+ 18894 [ljohnson res] Could you be more specific about what kind of problem(s) you're having? Is
+ 18943 [schneiker ju] If you haven't already done so, check out the Tk widget demos (in particular
  18972 [kero d4050.u] Time to show the world what I've written.

^ require()-ing in a module?
18877 [fgp phlo.org] Is is possible to require() is file so, that all the classes and modules
18881 [neumann s-di] load has a second parameter, which allows to execute the file in an anonymous module,

^ IP multicast with UDPSocket
18883 [nat.pryce b1] This is a multi-part message in MIME format.
18925 [will.sobel B] This message is in MIME format. Since your mail reader does not understand

^ Perl/Python/Ruby common backend
18886 [pate gnu.org] While there was some talk here recently about running Ruby on the Perl
18909 [mikkelj-anti] There are many similarities to this and the .Net experience.
+ 18911 [elderburn mi] A compelling reason, in a single word: nonproprietary!
+ 18915 [bryan terral] Ah yes, the inevitable full circle return to implementing a .NET version
+ 18923 [mikkelj-anti] I agree with that point of view - but that might be a too heated political
| 18983 [cyoungbl leg] Pardon my ignorance, but where can I find out more about GnuNet?
| 18985 [mikkelj-anti] errrh - at the GnuNet site :-)
+ 18924 [mikkelj-anti] That very much expresses my own view of things.

^ Re: Shallow versus deep copies for Arrays
18892 [ljohnson res] Yes, the default implementations of Object#dup and Object#clone do a shallow

^ Gtk: file selection dialog
18895 [aerpenbe uos] I'm struggling with Gtk::FileSelection and how to use it properly.
18897 [ned bike-nom] Well, you could signal a mutex in the callback and let another thread do the

^ Tk bind to 'FocusOut' causes segfault
18900 [alwagner uar] This is a multi-part message in MIME format.
18956 [alwagner uar] P.S.  This problem only appears on Win2k at work.  It runs fine

^ newbie autovivification
18917 [no email.com] Please make Perl autovivification possible in Ruby.
+ 18928 [fgp phlo.org] foo ||= Hash.new
+ 18941 [r2d2 acc.umu] (foo ||= {})[obj] = 'hello'
  18952 [nat.pryce b1] print "middle" if 25..75 === foo
  18954 [hgs dmu.ac.u] Hugh
  18955 [jjthrash pob] It seems to me that this is a prime example of something that could

^ README for Dynamic-ORBit
18919 [senderista h] Author/maintainer: Tobin Baker

^ The Garden is Back
18929 [Dave Pragmat] Turns out I basically lost the partition containing Rubygarden, the

^ Hash vs ==
18930 [ned bike-nom] I just started my first Ruby program -- a translation from my Perl version of
+ 18936 [decoux moulo] Ruby use #eql? to compare 2 keys.
+ 18950 [matz ruby-la] Hash uses "eql?", so that if you override "eql?" you expected to

^ notes from a Ruby newbie
18931 [ned bike-nom] Some initial impressions from a Perl/Smalltalk programmer writing his first
+ 18933 [decoux moulo] No, it work. Like you have seen 0 is not false.
| 18935 [ned bike-nom] That's an interesting distinction, considering that '+' and '==' are methods.
| 18953 [decoux moulo] Well, I don't know but if '||' is a method then
+ 18938 [eban os.rim.] % ruby -rdebug -e0
+ 18942 [r2d2 acc.umu] There is ri
+ 18951 [matz ruby-la] No.  Because I couldn't give them object-oriented semantics.  They
  18975 [ned bike-nom] Has someone done one of these for Vim yet?

^ sample run for ruby-xlib
18937 [r.kochhar01 ] I have installed ruby-xlib version 0.6.14 with ruby 1.6.2. I was
18939 [decoux moulo] It's best if you use ruby-xlib-0.6.15 with ruby 1.6.3
18940 [decoux moulo] ruby-xlib-0.6.15 work with 1.6.*

^ IBM developerWorks - Ruby Series
18944 [mjbjr beaude] - Martin J. Brown, Jr. -

^ Testing a global variable...
18946 [sean-ruby-ta] Howdy...  I'm trying to test to see if a global variable exists. =20
18948 [decoux moulo] ???
18981 [sean-ruby-la] sting'

^ Ruby and Unicode
18957 [ned bike-nom] I haven't dug into the source yet, but it seems that Ruby ignores the fact
+ 18958 [decoux moulo] This is the goal of ruby_m17n
+ 18993 [mikkelj-anti] I may be stating the obvious - but in relation to Unicodification of
  + 19006 [decoux moulo] Well, perhaps Unicode is well suited for ASCII but the goal of m17n is to
  + 19046 [mikkelj-anti] What is the problem with Unicode (whatever encoding is used)? It certainly
    19049 [matz ruby-la] * There're some character sets that is larger than Unicode.

^ Using "@" as a method name?
18959 [Laurent.Jull] Let's start with a silly question to warm you up :-))
+ 18960 [spwhite char] class Object
| 18961 [spwhite char] class String
+ 18962 [Dave Pragmat] On a related note: it would be nice to be able to have the ability to
  + 18963 [spwhite char] This could be extended to the rest of Ruby's syntax too. Something sweet
  | 18984 [matz ruby-la] "don't go too far".
  + 18965 [dblack candl] Post it to RubyGarden and find out :-)
  + 18966 [decoux moulo] make it Kernel.build_special(c, str)

^ Linking ruby with gcc instead of ld
18968 [Brett.W.Denn] When compiling ruby, is there a way to link using gcc instead of ld?  (I'm
18973 [kero d4050.u] `make LDSHARED=gcc`

^ ANN: FXRuby-0.99.174 Now Available
18969 [ljohnson res] I am pleased to announce the latest release of FXRuby, the Ruby language
19041 [knu iDaemons] Seems it doesn't compile on non-Win32 platforms because
19042 [ljohnson res] I just uploaded a fixed version of FXRuby-0.99.174.tar.gz to the SourceForge

^ hash with Array as value
18970 [info mjais.d] I want an Hash with an Array (reference) as a Value,
18971 [decoux moulo] 1) the size of the array

^ Perl/Python/Ruby common backend (Perl6)
18974 [ptkwt shell1] There is a thread about using .NET's CLR as a backend for Ruby, but how
+ 18979 [marick visib] Brian Marick, marick@testing.com
+ 18987 [matz ruby-la] I'm not sure.  Basic object model of two languages are quite different
| + 18991 [Dave Pragmat] On the other hand, if this is something we'd like to investigate as a
| + 19011 [VardhanVarma] There is a c-- (www.cminusminus.org) project, which is IMHO,
| + 19016 [hipster xs4a] I conjecture that Ruby texts can be translated into equivalent Lisp
|   19017 [matz ruby-la] I think it's good idea (as a start line at least).  Does somebody know
|   19020 [hipster xs4a] librep (used by sawfish, http://librep.sourceforge.net) could be a
|   + 19022 [waisun.chia ] How about guile?
|   | + 19023 [Pierre-Charl] IIRC, Stallman's goal when he started the Guile project was to design a
|   | + 19035 [matz ruby-la] Well, I know Guile, but current Guile does not satisfy my needs.
|   + 19024 [fritz.heinri] no guile has no vm,
+ 19056 [max malva.co] ESR published a letter in which he proposed to make single VM for both
+ 19157 [schneiker ju] The Mono project FAQ mentions Scheme. Given that Perl, Python, and Smalltalk

^ "Bang" versions of numerical methods on non-immediate values [was:  Numbers classes.. Rational number? ]
18977 [kentda stud.] Since my previous rant about this seemed to go unnoticed (due to the
18988 [matz ruby-la] immediate values (fixnums and symbols) cannot be modified from method,
18990 [kentda stud.] So for this to work for all numeric objects, we'd need a bang version of
+ 18995 [nat.pryce b1] Wouldn't this cause awful confusion with aliasing?  At the moment, numerics
+ 18999 [matz ruby-la] I have to think twice before making something immutable.  So I did.
+ 19007 [kentda stud.] I took a closer look at NArray, which seems to be able to allow me to do
  19008 [kentda stud.] That sounds excellent!

^ ANN: Ruby-trace 0.1.2
18978 [marick testi] $trace.announce "Using alternate capability file '#{chosen}'."
18992 [cbroult sapi] This message is in MIME format. Since your mail reader does not understand
19010 [uwe.matthaeu] I have startet a port 'log4j' to ruby 'log4rb'. My problem is time.
19031 [marick visib] I haven't looked at log4j. I was mostly working off a Java logging tool I did

^ a variable scope question
18980 [yxw cypress.] To me, in the following codes, line is declared in the begin ... end
18986 [matz ruby-la] Scopes are introduced by the following statements, class, module, def,

^ Midi Compiler
18996 [peterhi shak] My first major project has been posted on the RAA. It is a midi compiler,

^ A Line-by-line profiler
18997 [ned bike-nom] Inspired by profiler.rb, I whipped this up to help me with my optimization.

^ How to optimize a Ruby program?
19002 [ned bike-nom] charset="iso-8859-1"
19013 [neumann s-di] Is equal? really faster than == ?

^ IDE for Ruby
19003 [anany ece.vi] Ruby folk rejoice!!
19005 [Dave Pragmat] What's the trick?
+ 19009 [anany ece.vi] Sorry about that :(
| + 19012 [paulp Active] Err, I'm really glad you like Komodo but what you describe is not full
| | 19015 [bfollek bigf] SciTE ( http://www.scintilla.org/SciTE.html ) is a free text editor that's
| | + 19048 [dsafari xtra] I just used Debian to get get SciTE 1.37 and there is no Ruby
| | | 19050 [wvucenic net] Ruby support was added in version 1.38.
| | | + 19051 [dsafari xtra] Thanks Wayne :)
| | | + 19055 [robb nervous] blackadder from the kompany is looking to fill this niche as well.
| | + 19066 [stephen.hill] I have a syntax highlighting pattern for ruby for nedit. It isn't
| |   19068 [nahi keynaut] Regarding IDE4Ruby, RDE might be a good choice for Windows users.
| |   19071 [nahi keynaut] I must add following sentences to the license.
| + 19037 [paulp Active] Two more disclaimers so nobody is disappointed -- our Linux version is
+ 19075 [shawn thekom] I would also like to suggest our BlackAdder product which is a GUI IDE for
  19134 [djberg96 hot] I heard it used to be called "BlackVegetable", but they changed the name
  19139 [tobiasreif p] Tobias Reif

^ RATS (was  Perl/Python/Ruby common backend (Perl6))
19019 [pate gnu.org] Having started this thread based on ESRs comments on the python-devel

^ 1.6/net errors (stack, igneof)
19025 [tobiasreif p] I'm downloading files from the web using Net::HTTP.
19038 [aamine mx.ed] hmmm, I haven't saw this message on using ruby.
+ 19040 [matz ruby-la] No.  But stack limit is larger on Linux.
+ 19058 [tobiasreif p] I solved the problem: I was iterating through an array, *and* calling
+ 19060 [tobiasreif p] I solved the problem: I was iterating through an array, *and* calling

^ YAWN Question (Your Annoying Wandering Newbie)
19026 [matt greenvi] Since I have yet to find a comprehensive tutorial for CGI using Ruby, I'm still stumbling around in many respects. (I'm sure they exist in Japanese, but I haven't learned it yet... :/ )
+ 19028 [ned bike-nom] What's wrong with ENV['REQUEST_METHOD'] ?
| + 19029 [ jimm io.com] You should be able to look at ENV['REQUEST_METHOD']. The CGI protocol says
| + 19030 [matt greenvi] Well, mainly that the HTTP server doesn't seem to be setting that in the environment. :/ So, I was hoping that someone would suggest something different.
|   19033 [dtillman oza] the_method = (ENV['QUERY_STRING'] and (cgi.params.length > 0)) ? 'GET' : 'POST'
|   19036 [matt greenvi] Very cool. That's what I was looking for. I just couldn't get the syntax correct. I'd test it to be sure, but apache isn't letting me run cgis. (again...) I'll let you know if I have problems with it.
|   19047 [   xm w3d.ru] Newbie)
|   19053 [matt greenvi] Yeah, I knew the original wasn't correct. I added in support to give a meaningful error if the query on a POST was vital data. If it's non-vital and it gets called that way, that which is not read is simply dropped. There's a note saying "POST with query is not supported at this time. Just deal. Call this as documented." ;) The script isn't overly complex. Just lots of redundant code. I'm using it as a way to prove that Ruby can create more compact, more legible CGIs. It's proof to myself, mainly. Especially since teh optimized code in Perl is around 300 lines. Ugh. It looks like it's going to stay around 150 in Ruby. And who knows? Maybe in 3 months, I'll know enough to get it down to 50.
+ 19054 [matz ruby-la] If you are using 'cgi' library,

^ Re: Perl/Python/Ruby common backend (Perl6), and benchmarks.
19032 [hgs dmu.ac.u] While we are looking at virtual machine technologies I'd like to suggest
19034 [decoux moulo] Well, I've tried 'loop_test(1200000)' and  'loop_test_iter(1200000)'and

^ SSL in Ruby?
19043 [hubert cs.ny] Just curious if Ruby library has SSL? I look around and it seems that
+ 19044 [ljohnson res] I haven't used this at all, but there is an SSLSocket package listed in the
| 19045 [joe vpop.net] I've used it.  It works great.
+ 19057 [neumann s-di] Yes it has as an extension module.
+ 19460 [hubert cs.ny] Thank you all folks...

^ QNX port
19059 [eli.green co] Greetings.
+ 19061 [kentda stud.] [SNIP]
+ 19062 [rpriem nokra] Did you try "make test"?
  19063 [eli.green co] test succeeded. =)
  19070 [rpriem nokra] Fine. It gave me a bad suprise with the signal handlers. But this seems to
  + 19072 [hgs dmu.ac.u] Hugh
  | 19083 [rpriem nokra] I just tried it (see output below). rubicon 0.1.4 and RubyUnit 1.3.0. Seems
  | 19153 [eli.green co] I don't think rubicon is 100% there yet ... with the latest rubyunits and
  | 19154 [Dave Pragmat] Rubicon definitely isn't there under any OS other than Linux, for the
  | 19156 [eli.green co] Woops. Sorry if I came off sounding like I didn't think rubicon was any good
  + 19079 [eli.green co] Ugh. I see now why all those patches were necessary. I'm starting to run into
    19084 [matz ruby-la] I'm pretty interested in supporting new platforms.

^ ANN: Code Amelioration Contest (presented by Ruby Conference 2001)
19064 [dblack candl] announcing the first (annual?)
+ 19077 [tobiasreif p] The improved versions have to  have all the same features and logic as
| 19078 [dblack candl] Features, anyway (maybe not logic).  The original version should
| 19091 [pschoenb gmx] Does this mean, participants have to be at the conference in order
| 19119 [dblack candl] Good question :-)
| 19149 [hal9000 hype] A couple of questions.
| + 19151 [dblack candl] It's up to you.  I expect some people will have existing code they
| + 19199 [r2d2 acc.umu] I think the second is better, at least if by "obfuscation" you mean something
|   19203 [chadfowler y] Are teams allowed in the contest?
|   19206 [dblack candl] Yes, but only one prize per team.  So be prepared to pull hard on your
+ 19184 [john.carter ] This post crashed in my mind into this one....
  19185 [dblack candl] I'm afraid I don't follow.  What's the connection?
  19186 [john.carter ] Well, the contest takes cruddy but arbitary code and improves it.
  + 19204 [dblack candl] The amelioration contest is already out of the design stage, so to
  | 19214 [gc mandrakes] I'd welcome any improvement of PLEAC of course ;p.
  + 19215 [gc mandrakes] The main problem is what you mean by "best".
    + 19217 [Dave Pragmat] If Guillaume is amenable, then I think that's a great idea.
    | + 19225 [dblack candl] Cookbook code is fine (Guillaume permitting).  But (just to clarify
    | + 19235 [gc mandrakes] Of course, I think this is great!
    + 19313 [tobiasreif p] Sounds good to me!

^ "require" vs "execute"
19067 [K.Hodges fte] I have some scripts that are really useful for executing from the command line
19069 [jjthrash pob] if $0 == __FILE__

^ a+, a++, a+++, a++++, a+ ---, a + ***
19073 [thucdat hotm] <html><div style='background-color:'><DIV>
+ 19074 [dblack candl] I get -3 there.
+ 19076 [Dave Pragmat] Because '+' is both a unary and a binary operator, and '*' isn't.
  19080 [thucdat hotm] <html><div style='background-color:'><DIV>
  + 19081 [Dave Pragmat] Because Ruby doesn't dispatch based on the number of arguments. For a
  + 19257 [larsch cs.au] On a side note, why is there at all the need for a `+' sign operator?
    19275 [in6x059 publ] Do you consider it a win if "a +2" is correct, but "a -2" is an error?

^ FXRuby on HPUX?
19082 [Craig_Files ] I just compiled the new FXRuby 0.99.174 for Linux and am now trying to
19221 [ljohnson res] Craig,

^ Game prgogramming:(1) interface library
19085 [thegrandbrie] I am In the midst of writing a couple games using ruby (a recreation of
19094 [mikkelj-anti] Have you looked at SDL?

^ Re: Code Amelioration Contest (presented by Ruby Conference 2001)
19086 [mikkelj-anti] I do not plan to enter the contest, but interestingly, I learned that Ruby
+ 19087 [eli.green co] I fail to see how this is not OO. It's a design decision of where to separate
| 19104 [spwhite char] From that perspective, a procedural program is still OO as the whole
+ 19090 [toddg linux1] <Yoda>

^ graphic display
19088 [ronjeffries ] I'd like to implement Langston's Ant in Ruby. To do this I need to
+ 19089 [ugly-daemon ] well I am not sure how easy it is but you could probably use gtk or fox. The
| 19100 [waisun.chia ] Don't forget, Ruby can do Qt too...
+ 19092 [Dave Pragmat] require 'tk'
+ 19096 [sofdec world] You might use Tk->Canvas
+ 19124 [ronjeffries ] Thanks, just what I needed. Just one more thing ...
  19138 [Dave Pragmat] I believe it's looping: it posts an event to have itself rescheduled,