93441-99916 subjects 93875-95186

^ Re: ANN: REXML 2.7.4 (and a question for MATZ)
93644 [ser germane-] Thanks for the EUC encoded link.
+ 93662 [austin halos] I'm not Matz, but I know that the PP version of 1.8.0 for Win32 doesn't
+ 93714 [nobu.nokada ] Iconv for ruby is just a wrapper for external iconv library.

^ Re: [ot] proposal: debug keyword
93649 [neoneye adsl] diamonds are forever
93708 [cc1 cec.wust] It would be nice if we had macros for the debug stuff, so the code would
93731 [bob.news gmx] "Charles Comstock" <cc1@cec.wustl.edu> schrieb im Newsbeitrag

^ [ANN] Postgres Documentation
93652 [gavin refine] With the excellent help of Martin Hart and Guy Decoux, I have finished

^ hex to float conversion
93653 [paul.rogers ] I have a hex number that I need to convert to a 32 bit float
+ 93655 [mreed theree] If you have the original hex in a string, you'll need to convert it to
+ 93656 [dave pragpro] hex = 0x44361000

^ Operators +, += and = in Ruby 2
93654 [bob.news gmx] this occurred to me some days ago and I'd like to hear what others think.
+ 93657 [neoneye adsl] It would be really nice to be able to overload '+=', so that #close can be
| + 93660 [austin halos] I don't see the problem here.
| + 93730 [bob.news gmx] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
+ 93658 [austin halos] x.add(y)
+ 93675 [dblack wobbl] But wouldn't calling dup be slower than not calling dup?
+ 93733 [dennis.ranke] Yes, I think so. With your proposed change it would be impossible to
  93739 [bob.news gmx] "Dennis Ranke" <dennis.ranke@epost.de> schrieb im Newsbeitrag
  93741 [dennis.ranke] Ok, but I can't really see this working. Let's take a Vector class, for
  93743 [bob.news gmx] "Dennis Ranke" <dennis.ranke@epost.de> schrieb im Newsbeitrag
  93746 [dennis.ranke] Well, yes, but what kind of object should #op_dup return? It would have to
  93752 [bob.news gmx] "Dennis Ranke" <dennis.ranke@epost.de> schrieb im Newsbeitrag

^ Elvin bindings?
93677 [khaines enig] I've been thinking about doing Ruby bindings to Elvin

^ Semi-OT: Machine translation
93679 [khaines enig] There's an interesting little library on RAA that will send text through
+ 93687 [muellerix gm] You can also access babelfish via a webservice.... Done that a while ago and
+ 93699 [surrender_it] in the soap4r distribituion there was a SOAP client for babelfish
  93713 [nahi keynaut] In Ruby/1.8.1, too.

^ Slice or Value of Empty Array
93682 [jim freeze.o] ruby -v -e 'p [][0..0]; p [][0..-1]; p [][-1..-1]'
93686 [austin halos] (reformatted)
93692 [jim freeze.o] Hmm, vaguely. Do you have the reference?
95189 [austin halos] [ruby-talk:24773]

^ Amrita : 2-way functionality for forms?
93684 [itsme213 hot] Ruby model (hashes, sequences, objects, etc.)

^ print with no arguments?
93685 [c1205 er.uqa] findcols.rb:84:in `print': wrong number of arguments(1 for 0)
+ 93689 [ahoward fatt] perhaps you have another 'def print...' in scope somewhere which does NOT take
| 93695 [c1205 er.uqa] Indeed, that's it. So I was poking fun at me myself. I'll quickly
| 93696 [bighead user] Hey
| 93773 [c1205 er.uqa] [print "*" if @cumul[i] > n]
+ 93690 [nathaniel ta] Have you perhaps overridden print somewhere in your code?

^ [ANN] Ruby/Libburn 0.1.0
93703 [lrz gnome.or] I'm pleased to announce the first release of Ruby/Libburn.

^ GIS packages?
93704 [akriger grea] charset="us-ascii"
93706 [emeza saisam] El mié¬ 25 de 02 de 2004 a las 16:26, Andy Kriger escribióº
93715 [sdate everes] Which version of MapInfo are you using ?  Do you have any Ruby interface to

^ thread gurus please help...
93709 [Ara.T.Howard] following is a _simulation_ of a rather complex gui i'm working on.  the gui
+ 93710 [ahoward fatt] forgot to mention that i have $VERBOSE=nil so i don't see the
| 93717 [vjoel PATH.B] I've never seen forking have an adverse effect on threads in the parent.
| 93720 [ahoward fatt] wow.  that is really bizarre.  if i understand correctly all but the 'main'
+ 93716 [nobu.nokada ] instead of non-blocking mode.
  93721 [ahoward fatt] wow.  tried babelfish but i'm a bit lost on that one ;-)
  + 93722 [akr m17n.org] You use eof? or other stdio related methods.
  + 93726 [nobu.nokada ] 'Bean jam' is sweet paste made boiling red beans and sugar.  It

^ [ANN] DRbFire 0.1.0
93711 [nathaniel ta] It is with great pleasure that I introduce DRbFire 0.1.0 to the world.
93765 [shanko_date ] The DRb Firewall Protocol, or DRbFire, is a DRb protocol that allows
93777 [nathaniel ta] First of all, that (improperly labeled) error is due to the host
93800 [shanko_date ] Yes, I have played a little with DRb before so
93806 [nathaniel ta] Good... I thought it was fixed, but apparently it hasn't been. Hope it
93830 [sdate everes] Ok, I will try that ..
93831 [nathaniel ta] Oh. Good idea :-)

^ tutorial directory
93718 [neoneye adsl] I visited Lua's Tutorial Directory and got the feeling that Ruby should
+ 93719 [jamesUNDERBA] Not looking to knock another language or site, but a cursory glance
| + 93727 [surrender_it] slides about ruby/gnome2 recently shown at FOSDEM
| + 93728 [cc1 cec.wust] Is there any chance any of these articles can be subsequently mirrored
|   93824 [jamesUNDERBA] I could archive mirrors at ruby-doc.org.  Google cache and the Wayback
+ 93753 [cpine hellot] When looking at other languages, I find myself looking for their "pickaxe".

^ ruby2html -was RE: Congrats to Matz...working 11 years on Ruby an d counting!
93723 [botp delmont] simple yet kewl.
93742 [neoneye adsl] Don't know how to do it.  I have played around with the
93744 [cc1 cec.wust] Well you could make it a div instead of a span, guarateeing it would
93745 [neoneye adsl] I have just tried out what you suggest (making it a div), but
93757 [cc1 cec.wust] Hmm, I forgot about that problem.  Well there is one thing I can think

^ ruby-dev summary 22877-23014
93729 [aamine lover] This is a summary of ruby-dev mailing list in these days.
+ 93740 [surrender_it] yuhu!
| 93747 [nobu.nokada ] Well, rather I'll feel nice if there are also those two in
| + 93759 [surrender_it] agreed, put 'em all in Process :)
| + 93772 [ahoward fatt] both.
+ 93760 [pbrannan atd] IO#print is not useful in most cases; IO#puts is sufficient.  So we
| 93808 [akr m17n.org] My point is that sysread (or sysread like method which care stdio
| 93836 [pbrannan atd] What about non-blocking writes?
| 93917 [akr m17n.org] non-blocking writes needs O_NONBLOCK.
+ 93983 [timsuth ihug] The Unix Socket FAQ says

^ Why don't $global and @instance variables need declaration?
93732 [lists zara.6] Sorry if the answer is obvious, but I can't find a satisfactory or more
93737 [bob.news gmx] "David Garamond" <lists@zara.6.isreserved.com> schrieb im Newsbeitrag

^ language contest ==> unit test framework from lisp to ruby
93734 [p_bossi_AGAI] A few days ago I made a post (rubytalk:92963 ==> [2]) about the

^ Re: Why don't $global and @instance variables need *initialization*?
93748 [lists zara.6] Oops, my bad English strikes again. The question should have been: "why
93749 [decoux moulo] The message is important : ruby don't know if it's a variable or a method
93754 [lists zara.6] I see. I thought Ruby's intention was to protect someone from making a
93762 [lists zara.6] which can be used to implement the behaviour for instance and global
93764 [decoux moulo] What are you trying to solve ?
93766 [lists zara.6] Making Ruby raise NameError when an uninitialized global or instance
93768 [bob.news gmx] "David Garamond" <lists@zara.6.isreserved.com> schrieb im Newsbeitrag
93771 [lists zara.6] Help in detecting typo?

^ Re: LEGO Mindstorm & Ruby
93756 [cc1 cec.wust] I've heard tell there is a framework, and I'm pretty sure it was
93758 [sdate everes] It requires DRb and works only on RCX 2.0 (USB Port interface).
93763 [shanko_date ] Unfortunately, my library is for Windows. Sorry!
93767 [shanko_date ] When I was working on it last year, LegoUSB  support was not builtin (like it is in kernel
93793 [matt technor] Not really.  You can use the brick as a smart peripheral and drive it via

^ Need some thread help
93774 [wmwilson01 h] I'm having some trouble with this code.  I can't figure out where to do the
93776 [decoux moulo] Thread#join work, but you never remove the object from the Array threads,
93778 [wmwilson01 h] Doh!  Thanks a bunch!

^ Callback
93779 [han.holl pob] The following code works, but I was wondering if the creation of the @obj
+ 93780 [decoux moulo] The problem is not with the instance variable, but with the evil eval :-)
| + 93814 [han.holl pob] Oh, yes. I prefer that _very_ much.
| | 93819 [decoux moulo] [].instance_eval("1+2") is the evil eval
| + 93815 [han.holl pob] I'm still having a problem with this: The above works, but what I'm
|   93822 [ian caliban.] Actually, I was looking forward to an answer to that question, because
|   93823 [decoux moulo] cb.class give the class of `cb'
+ 93781 [walker letha] class A
+ 93788 [pit capitain] No, you don't need the instance variable (see below).
| 93816 [han.holl pob] [ cut ]
+ 93811 [bob.news gmx] "Han Holl" <han.holl@pobox.com> schrieb im Newsbeitrag
  93863 [han.holl pob] You're right, it's quite complicated.
  93864 [bob.news gmx] "Han Holl" <han.holl@pobox.com> schrieb im Newsbeitrag
  93885 [han.holl pob] That's correct. One of the greatest advantages is that ruby is very good at
  93887 [bob.news gmx] "Han Holl" <han.holl@pobox.com> schrieb im Newsbeitrag

^ Extensible meta-data ?
93782 [itsme213 hot] I need to easily attach various kinds of meta-data to modules, classes,
93783 [surrender_it] look on RAA for 'metatags'
93792 [itsme213 hot] Thanks, but this is very oriented towards documentation strings. I am
93813 [bob.news gmx] "Its Me" <itsme213@hotmail.com> schrieb im Newsbeitrag
93843 [itsme213 hot] Correct. I know I could stick in a "self" before the end to make it work,
93866 [bob.news gmx] "Its Me" <itsme213@hotmail.com> schrieb im Newsbeitrag

^ TDD Roman Numeral tutorial in Ruby
93787 [phlip_cpp ya] Your implementation duplicates I, V, etc. If you were to resolve that

^ CGI and multipart data
93790 [martin zsdfh] I have a single HTML form which contains simple text controls as well as file
+ 93795 [paul vudmask] If it is just posted, its text. If you use enctype=multipart/form-data
| 93799 [martin zsdfh] that's not quite what I meant...  On a multipart form, is there a way to
| 93803 [paul vudmask] No, not as far as i know(which is not very far!!)
+ 93796 [paul vudmask] Here is the code that i use. Prob not the best but has worked for me so far.
+ 93802 [martins aard] The source for cgi.rb is a good place to start I found.
  93805 [martin zsdfh] fair point - I have looked at it - which is why I asked the questions about

^ Ruby <-> Java : JSR 223
93794 [itsme213 hot] Some time ago I saw some work announced here on a Ruby-to-Java bridge (using
93869 [guslist free] There are a few nice sentences about the greatness of Java in the
93969 [bob.news gmx] "Guillaume Marcais" <guslist@free.fr> schrieb im Newsbeitrag

^ D and Ruby -- was Re: Introducing myself and my interest in ruby
93797 [vjoel PATH.B] Very nice. LOTY 2004 anyone :-)

^ Enumerable#zip(aRange)  does not work ?
93798 [surrender_it] I wonder why this happens: would'nt make much more sense if it just
93826 [flori nixe.p] The problem is that Range doesn't define a to_ary method to convert it
93827 [neoneye adsl] Why isn't usage of 'to_a' and 'to_ary' consistent?
93828 [emmanuel.tou] to_a is for manual conversion, that you call yourself (explicit conversion)
93829 [neoneye adsl] I wasn't aware of this convention.

^ Rubyx OS
93801 [andrew walro] I am making good progress with the 'Installing Rubyx' document on the rubyx
+ 93861 [andrew walro] I've just finished the basic installation documentation. Next I'm going to
| 94046 [matt technor] I'm guessing that your ftp server is horribly overloaded.  Please let me
| 94050 [andrew walro] It shouldn't be; It's on a very fast connection. You can get the iso from
+ 93870 [ jupp gmx.de] Josef 'Jupp' SCHUGT

^ RDoc, ri and code completion in jEdit
93832 [rob_m_mckinn] I'm implementing naý×e Ruby code completion for the jEdit editor, using
93834 [dave pragpro] The RDoc that comes with the 1.8.1 and 1.,9 branches includes its own
93847 [rob_m_mckinn] Dave, thanks for the prompt reply. To clarify my understanding of your
93856 [dave pragpro] Have a look at rdoc/ri/ri_display.rb: the comment at the top tells you

^ FXMessageBox question
93833 [y.leikind sa] There are 2 ways to use FXMessageBox - via static methods like #error or

^ to_yaml and options hash
93840 [Ara.T.Howard] ~/eg/ruby > ruby -r yaml -e 'print([0,1,2].to_yaml(:UseVersion => true))'

^ [RACC] Multiple entry points?
93844 [angus quovad] and I want to parse a single statement. How I can tell the parser to
+ 93860 [cc1 cec.wust] I think,
+ 93896 [aamine lover] Use dummy token.
  93901 [angus quovad] A simple and clever solution! Thank you very much!

^ Calculate the md5 hash of a string
93848 [dirk.einecke] How can I calculate the md5 hash of a string (like in PHP -
+ 93849 [mmead goof.c] require 'digest/md5'
+ 93850 [jim freeze.o] require 'md5'
+ 93851 [wjl icecaver] irb(main):001:0> require 'md5'
+ 93852 [dennis.ranke] irb(main):001:0> require 'digest/md5'
| 93853 [jim freeze.o] and click on digest in the left-hand frame and then MD5 in
| 93854 [dennis.ranke] Actually I did just that to be able to guess how to calculate the hash and
| 93894 [gsinclair so] There's ruby/ext/digest/digest.txt in the source distribution, which
+ 93878 [dirk.einecke] Thank you all for you help.

^ [WAY OT] Wireless Recommendation
93859 [zdennis mkte] I am looking into a wireless setup and I have an L shape.
93862 [andrew walro] You just need a router/access point at the corner, and pc's at the ends with

^ UnboundMethod#hash apparently broken in 1.8.1
93865 [bob.news gmx] irb(main):001:0> class Foo; def bar;end; end
+ 93912 [dblack wobbl] [msg that apparently never made it when posted to c.l.r.]
| 93937 [matz ruby-la] If Robert is claiming two hash values are different where two values
| 93968 [bob.news gmx] "Yukihiro Matsumoto" <matz@ruby-lang.org> schrieb im Newsbeitrag
| 94107 [matz ruby-la] I understand what you meant.  I will consider the idea.
+ 93976 [dblack wobbl] I'm not sure why you describe it as broken.  Can you explain
  93996 [timsuth ihug] I think he means because "a == b" but "!a.eql?(b)" and "a.hash != b.hash".
  + 94001 [bob.news gmx] "Tim Sutherland" <timsuth@ihug.co.nz> schrieb im Newsbeitrag
  + 94016 [discord mac.] irb(main):006:0> class Foo;def bar;end;end
    94034 [matz ruby-la] I think you're expecting too much.  ;-)
    + 94051 [bob.news gmx] "Yukihiro Matsumoto" <matz@ruby-lang.org> schrieb im Newsbeitrag
    + 94073 [itsme213 hot] Imho, they should be the same object. Why should
    | 94097 [matz ruby-la] Why not?  The UnboundMethod object is a wrapper of the internal "real"
    | 94108 [itsme213 hot] A wrapper does explain it; but see below why I think it would be useful
    + 94084 [discord mac.] I would expect it to work that way because both UnboundMethods are

^ Arabic # -> Roman # (Was: TDD Roman Numeral tutorial in Ruby)
93871 [ jupp gmx.de] Interpretes it as a decimal number. Prints roman number for it.
+ 93872 [dblack wobbl] i will never be nil -- it will always be an integer.  (Did you mean
| 93926 [ jupp gmx.de] You are right. Stupid mistake.
+ 94022 [discussion i] I have done a solution to work with romans for the pleac cookbook
  94058 [angus quovad] Instead of
  94080 [mreed theree] Or even

^ [ANN] Learn to Program -- A Tutorial for the Future Programmer
93873 [cpine hellot] I finally finished it!  I received a great deal of encouragement this last
93903 [flgr ccan.de] Definitely. This is very nice and I'm sure I'll use it in the future --
+ 93927 [ jupp gmx.de] Companies like an infamous one with US HQ near Seattle and DE HQ near
| 93945 [cpine hellot] ===============================================
| 94030 [ jupp gmx.de] Porting Trados to Linxu perhaps >;->
+ 93944 [cpine hellot] Thanks for the nitpicking!

^ Ruby Compiler [was Introducing myself and my interest in ruby]
93874 [curt hibbs.c] Or, how about instead of doing a compiler to emit machine code for some
+ 93876 [discord mac.] Well... for me to work on either project, I will have to do a lot of
| + 93879 [msparshatt y] It is my intention to do exactly this.
| | + 93881 [discord mac.] That sounds great! Sounds like I have a lot of reading to do... :)
| | | 93882 [msparshatt y] There's not too much reading to do at the moment, at least on the
| | | + 93883 [hal9000 hype] Haha... I think he's referring to the name "Mark."  :)
| | | | 93907 [lyle knology] Don't be silly, Hal. Why would anyone want to name a Ruby compiler "Mark"?
| | | | 93908 [news stud.nt] Matz' Almighty Ruby Kompiler?
| | | + 93930 [discord mac.] Before I have a chance of understanding the project, I'll have to brush
| | + 93886 [feldt ce.cha] Concerning this and the discussion about what parser to use I'd say that
| |   + 93914 [ptkwt aracne] Yes, quite true.
| |   | + 93935 [feldt ce.cha] Yes, but also the semantics of normal class creation, method additions
| |   | | 93947 [msparshatt y] That sounds a bit like the Intermediate Compiler Code, which is an
| |   | | 93950 [feldt ce.cha] Yeah, with the big difference that llvm gives you code that runs on the
| |   | + 93997 [surrender_it] I suppose he's talking about
| |   + 93929 [discord mac.] Fascinating read! It answers several of the questions that I had, and
| + 93915 [ptkwt aracne] There are several projects that could benefit.  I actually think that what
|   93946 [msparshatt y] This sounds like a good idea. I guess the first step is to agree on the
|   93953 [feldt ce.cha] It was some time since I touched Ruth now but if I remember correctly it
|   93958 [chad chadfow] I'm sure this has appeared earlier in the thread, but I can't find
|   93972 [feldt ce.cha] /R
+ 93951 [charleshixsn] You mean like, say, a Ruby to MIX converter?
  93952 [msparshatt y] I think a ruby to Z machine converter would be more useful ;-)