73842-75081 subjects 74208-74900

^ Trying to use Net::HTTP sample program from "The Ruby Way"
74038 [aix_tech yah] I am trying to learn some of the functions within
74044 [aamine lover] What version of ruby are you using?
74089 [aix_tech yah] 1.7.2 under MS/Windows.
74094 [aamine lover] Ah, I'm sorry.  "ruby 1.8" means "devlopping branch of ruby".
+ 74097 [aix_tech yah] Thank you for your help. I will now download ruby 1.8.
+ 74098 [aix_tech yah] I upgraded to 1.8.0 and I am still getting the same
  74099 [aamine lover] The modification is introduced on 2003-06-06...
  74101 [dooby d10.ka] [snip patch]
  74107 [aix_tech yah] Thank you guys for your help. I added the to_ary to

^ WxRuby status?
74039 [ptkwt shell1] Just curious: What is that status of ruby bindings for WxWindows?
74507 [rich infoeth] Things are progressing great.  Kevin Smith has taken the development
+ 74508 [dcarrera mat] Cool!
| 74536 [gour mail.in] How would you compare it with Ruby-GNOME?
| 74538 [dcarrera mat] Well, I guess I'd have to wait for WxRuby to be finished before I can
| 74541 [brian coolna] Yes, wx provides a much greater level of platform independence.  Since it
| + 74545 [gour mail.in] Thank you for Your replies.
| | 74549 [rich infoeth] We will be translating the documentation into a more Rubyesque flavor
| | 74556 [bobx linuxma] Please do! One of the annoying things about wxPython and wxPerl is the
| + 74562 [mailinglists] It seems that people are getting too lazy. For a non trivial
|   74571 [brian coolna] That's okay.  Most of my GUIs are pretty trivial. ;-)  If I were
+ 74540 [brian coolna] Fantastic.  I'm glad to hear that things are progressing so quickly, and

^ anyone get ruby-fltk to work?
74040 [ptkwt shell1] require 'fltk'  -or- requre 'ruby-fltk'

^ . rnenr
74042 [sqfxiyuiyuyu] yrtyreu56eytytytytryrtyrtyrtyytrytryrtrt

^ [ANN] RedCloth 0.41 -- Textile for Ruby
74043 [ruby-talk wh] h1. RedCloth

^ Re: require xyz:  How to set search path?   URI-like ability?
74045 [cyclists nc.] export RUBYLIB=/newsearchdir
74103 [cyclists nc.] Windows has environment variables. For a single DOS session you can use
74122 [B.Candler po] $ grep irbrc /usr/local/lib/ruby/1.6/irb/*

^ Ruby on MacOS X Question
74050 [jimbo exmapl] Sorry if this is old news or has been covered before.

^ Ruby on PSION EPOC
74053 [gour mail.in] I have found few messages about the port of Ruby to PSION EPOC 5 machines.

^ ruby-lang.en older than ruby-lang.ja
74059 [botp delmont] ruby-lang English page is too far old as compared to its Japanese
+ 74065 [matz ruby-la] Ah, well, it's mostly due to less number of English editors.  We have
+ 74076 [ jupp gmx.de] Saluton!

^ create safe-Tk interpreter (Re: embed Ruby/TK app in a web page)
74060 [nagai ai.kyu] I committed patch for tcltklib.c.
74151 [J.P.Fletcher] Will this be the version of Ruby/Tk with Ruby 1.8 ?  If so I shall need to
74165 [nagai ai.kyu] Yes. It is included Ruby1.8.0-preview3 which was released today. :-)

^ Re: reading text line
74068 [sdate everes] f = File.open("testfile","r")
74069 [sdate everes] File.open("junk.txt","r") {|f| (puts f.gets; f.gets) while !f.eof}
74073 [0bz63fz3m1qt] file = __FILE__
74075 [0bz63fz3m1qt] Even better.. you can use 'partition' instead
+ 74085 [ahoward fsl.] use %
+ 74114 [sdate everes] "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com>
  74124 [B.Candler po] A better, more generic solution would not use a[b] to index array elements.
  74127 [sdate everes] Splendid !

^ [Q] How to test if a file exists?
74070 [dcarrera mat] I want to test for the existence of a file.  I'd expect to find a method
+ 74071 [ oct zoy.org] FileTest.exists?( file )
+ 74072 [dcarrera mat] Sorry, stupid question.  It is "File.exists?".
  74074 [dave pragpro] Because it's mixed in from FileTest. I don't show things like 'map' for
  + 74078 [michael_s_ca] To take that to its absurd conclusion, if ri reported NO methods, the list would
  | + 74079 [dcarrera mat] irb could have a --verbose option to turn this behaviour on.
  | + 74106 [dave pragpro] ri reports the methods in a class or module, so I'm not sure I see this
  |   + 74109 [michael_s_ca] 2 suggestions (not of mine) that have come up on the list both indicate a flag
  |   + 74232 [jim freeze.o] If the expanded list is displayed by default or by a flag to ri
  |     + 74362 [pit capitain] Or even as in Java: (output for Ruby 1.8)
  |     + 74470 [androflux so] Nice. How about a separator for every class/module? So 'ri File
  + 74084 [jweirich one] Eiffel has the concept of "flat" class views, where the class hierarchy

^ ANN -> Re: =?TIS-620?Q?=C3=D1=BA=CA=C1=D1=A4=C3=A7=D2=B9=BB=C3=D0?= =?TIS-620?Q?=A8=D3_=CB=C3=D7=CD_part_time?=
74077 [offstuff aon] hm,....

^ Re: ANN -> Re:   part time
74080 [qrczak knm.o] Dnia sob 21. czerwca 2003 21:43, daniel sleier napisa

^ Euruko 2003 (1st European Ruby Conference) news
74081 [batsman.geo ] 1st day over.
+ 74082 [batsman.geo ] * fill in RAA w/ metadata from freshmeat?
+ 74083 [ptkwt shell1] Are any of the presentations available online? (Especially the one on
  74128 [Stephan.Kaem] There will. At least that's what the plans were. If memory serves right,

^ 2 dimentional array in ruby - niewbie
74086 [jacekpodkans] Please help
+ 74087 [0bz63fz3m1qt] rows-first: [[0, 0, 0, 0, 0], [0, 1, 2, 3, 4], [0, 2, 4, 6, 8], [0, 3, 6, 9, 12], [0, 4, 8, 12, 16], [0, 5, 10, 15, 20], [0, 6, 12, 18, 24], [0, 7, 14, 21, 28]]
+ 74088 [gsinclair so] There's some information here.
+ 74090 [jacekpodkans] I think I worked out how to do it, but still I don't understand why the 2
+ 74150 [bob.news gmx] class MultTable

^ I worked it out
74092 [jacekpodkans] This is my way of doing it. It's different from other's suggestions, but it
74100 [dooby d10.ka] map (same as collect) returns an array, so you can

^ TkOptionMenubutton
74093 [richb timest] I'm trying to use TkOptionMenubutton without much success. Anyone know how

^ Exasperated with ruby/tk - anybody successfully using it?
74096 [richb timest] General question: Is ruby/tk still being maintained in 1.7/1.8 or is it
+ 74102 [ptkwt shell1] For some very small projects , yes, I've had some success.  However, I
+ 74115 [nagai ai.kyu] 'spinbox' is the feature of Tk8.4.
| + 74116 [nagai ai.kyu] The script is written by using new notation of Ruby/Tk on Ruby1.8.x.
| + 74130 [richb timest] for 2) (ArgumentError)
|   74146 [nagai ai.kyu] Sorry. It depends on the fixed bug.
+ 74117 [phlipcpp yah] try
+ 74132 [rz linux-m68] I am using it for small things and didn find problems.
  74153 [J.P.Fletcher] I like the ruby-tk demos.  Is there any plan to release something
  74166 [nagai ai.kyu] Ruby/Tk on 1.8 accepts both of old and new notation.

^ String#decorate
74104 [martindemell] When chaining methods, it'd be neat to have something that was passed
+ 74105 [decoux moulo] Something like this ?
| + 74112 [martindemell] No, simply
| | 74118 [dooby d10.ka] Or ... yes; that's exactly what sprintf is for.
| | + 74119 [dooby d10.ka] Which is just about my level of numeracy.
| | + 74121 [martindemell] ...
| | + 74125 [martindemell] Or ... yes; that's exactly what sprintf is for.
| + 74525 [ser germane-] Guy, I have to ask... why does your prompt say "svg"?
|   + 74526 [decoux moulo] moulon% host svg
|   + 74544 [nobu.nokada ] Super Veteran Geek?
+ 74108 [0bz63fz3m1qt] I assume you want 'pp' to contain:  "(1),(2),(3)"  ?
| 74111 [martindemell] No, "[1,2,3]", defining decorate merely as
| 74113 [0bz63fz3m1qt] OK.. My assumption was wrong.. I couldn't see which kind of
| 74120 [martindemell] Doh! Of course, it's per line, not per character. Was thinking of
+ 74152 [tom.hurst cl] s = ary.join(", ")
  + 74160 [martindemell] Just that I prefer the look of
  + 74167 [aredridel nb] It's basically the "with(object) do ... end" pattern, isn't it?

^ UK job working on next-generation Eclipse
74110 [ergnosis btc] Apologies for posting here (again).

^ rubynet-announce Digest, Vol 4, Issue 2
74123 [rubynet-anno] Send rubynet-announce mailing list submissions to

^ REXML and double, rather than single quotes
74129 [ian caliban.] I have to format output for an application that requires its XML to
74223 [ser germane-] Soon, young Jedi.  I'm adding some more configurable XML writers to
74224 [ian caliban.] Yes, I know. I couldn't believe it when I finally discovered why my

^ Hooray!
74131 [ ted php.net] Sanity rulez!  On another note, could you "reverse" the #ifdefs?  Put the

^ unit testing
74133 [koen.vervloe] I want to make unit tests for my Ruby code. What are the pros and cons
+ 74136 [mwilson13 co] will be included in future Ruby standard distributions. I use
+ 74171 [0bz63fz3m1qt] RubyUnit is included with Ruby-1.8.0-preview3.
  74173 [matz ruby-la] No.  test/unit is included in 1.8.0; rubyunit is not.
  + 74176 [bob.news gmx] "Yukihiro Matsumoto" <matz@ruby-lang.org> schrieb im Newsbeitrag
  | + 74182 [matz ruby-la] test/unit contains rubyunit compatible layer.  So naturally, it's
  | | 74187 [0bz63fz3m1qt] if I understand you correct, that
  | | 74204 [surrender_it] forget runit if you don't have an old test suite written with it.
  | | 74245 [bob.news gmx] Thanks to all for this clarification!
  | + 74188 [batsman.geo ] This is in Test::Unit's README
  + 74177 [0bz63fz3m1qt] hmmm..  they both seems to be in the 1.8.0-p3 tarball ?
    74178 [kentda stud.] Look closer. At rubyunit.rb for instance.

^ TkOptionMenubutton
74134 [richb timest] When I try the attached script, I get the following error. Using recent ruby

74135 [lrena_kovac ] Sir,

74137 [lrena_kovac ] Sir,

^ Range (String) Question
74138 [tran55555 ya] ('a'..'zz').to_a
+ 74140 [flori nixe.p] No, I think this is a bug. I've made a patch (-> Attachement) that
+ 74142 [flori nixe.p] Sorry. Perhaps this patch is better to guard against infinite loops

^ Euruko 2003 (1st European Ruby Conference) Over
74139 [batsman.geo ] 2nd day and conference over

^ Any ruby plug-ins for Eclipse?
74141 [aix_tech yah] Is there any ruby plug-ins for Eclipse (Unix and Window)?
74143 [news00000004] I have already downloaded the current version, but I did not have time
+ 74144 [djberge qwes] RDT - Ruby Development Tool, aka rubyeclipse
| 74145 [djberge qwes] Regards,
+ 74149 [bob.news gmx] "Marco Lange" <news00000004@marcolange.com> schrieb im Newsbeitrag

^ Externsion specifications, was Re: Euruko 2003 (1st European Ruby Conference) Over
74148 [mikkelfj-ant] * formal specification of Ruby necessary?
74154 [0bz63fz3m1qt] I hope many more of the common used function will find thier way to these
93479 [rasputnik he] Better late than never (been migrating my old mail store to IMAP, and
93484 [neoneye adsl] I have looked at it.. the links looks much nicer now.  Good job.

^ rubygarden - polls,  alive ?
74155 [0bz63fz3m1qt] How about adding this poll?
74169 [chad chadfow] True.  It would be nice to start using this to learn more about the Ruby

^ Marshal bug?
74156 [spam deck.dk] $ irb
74161 [dave pragpro] ^^  read-only file
+ 74162 [michael_s_ca] Maybe I misread, but I think he was asking why a.stat instance
| + 74164 [dave pragpro] Sorry - posted too soon. You're right.
| + 74175 [spam deck.dk] I have a hard time believing that you cannot dump stats for a readonly
+ 74163 [decoux moulo] ???

^ File upload and mod-ruby
74157 [ gm navel.gr] I am wondering if anyone can help me with implementing a file-upload
74158 [schlegel cs.] This is a MIME-formatted message.  If you see this text it means that your
+ 74180 [spam deck.dk] You should consider not lowering your safe level as there could be lots
+ 74281 [ gm navel.gr] thanks for the info, i was wondering if libapreq support will be added
+ 74421 [ gm navel.gr] <html>
  74422 [decoux moulo] Try it with

^ European Ruby Conf & slides & piics will be online very soon
74159 [armin xss.de] I answer to the list - as several people sent me more or

^ Newbie dbi install problem
74168 [ddandrea mac] I'm just starting out, reading the pickaxe, this forum, and trying to
74201 [B.Candler po] You need to install the ruby-mysql package, *as well as* the ruby-dbi
+ 74203 [michael_s_ca] Did you mean ruby-dbi is a wrapper around ruby-mysql here?
| 74241 [B.Candler po] I did. Thank you :-)
+ 74252 [ddandrea mac] Appreciate the pointer, pretty ug primitive mistake there.
  74301 [paul snake.n] Hmm, that's weird.  Looks like the configuration process (which configures
  74312 [ddandrea mac] Thank you for the patch.  It seems to help, make now gets further but
  74334 [paul snake.n] Can't help you there.  I use the Ruby that comes with Mac OS X, not
  74456 [david.dandre] Indeed it is.  I installed it under the (apparently mistaken) belief

^ including modules => installing modules
74181 [0bz63fz3m1qt] I have some modules where I must use 'alias'
74183 [decoux moulo] This is just an example
74186 [0bz63fz3m1qt] Wow, this is even nicer. I wasn't aware of 'append_features'.

^ [bug] Array#unshift() zero arguments
74189 [0bz63fz3m1qt] irb(main):001:0> [].unshift()
+ 74190 [sroberts uni] This results in an error in 1.6.7, too, though the message is different.
+ 74195 [nobu.nokada ] Also unshifting without arguments clobbers last element.
  75516 [0bz63fz3m1qt] I am curious, are these issues about #unshift being resolved ?
  75546 [matz ruby-la] Fixed.
  75555 [0bz63fz3m1qt] Great... Thanks Nobu+Matz :-)

^ Runtime interpretation
74191 [orion2480 ho] I want to know how to interpret something from a string, so as to be used
+ 74192 [sroberts uni] [ensemble] ~ $ ri eval
+ 74193 [batsman.geo ] You mean this?
  74194 [orion2480 ho] Thanks to the both of you.  I knew it was a simple answer.

^ parse.y
74196 [werkt csh.ri] The yylex function in parse.y in some versions of the ruby source bears
74197 [matz ruby-la] IIRC, I have never released parse.y that contains #line directive.

^ Parallel Assignment # a,b=c,d=1,2
74198 [tran55555 ya] aa = bb = cc = 1  # no need  aa = ( bb = ( cc = 1 ) )
74199 [tran55555 ya] a, b = c, d = e, f = 1, 2
+ 74200 [matz ruby-la] Because yacc sucks.
| 74427 [guslist free] Anything better that we could/should/will use?
| 74431 [ahoward fsl.] -a
| 74447 [matz ruby-la] I'm investigating.  It can be reentrant, thread safe, and free (as in
| 74715 [sroberts uni] If you are really willing to use a replacement for yacc/bison, what
+ 74217 [ jupp gmx.de] Saluton!

^ Block Scope Statement in the Pickaxe
74202 [bob.news gmx] I stumbled across this quote in chapter 15, "Ruby Tk", which confused me a
+ 74218 [kentda stud.] Looking at the Tk source code, it appears atleast it uses a Ruby
| 74260 [kentda stud.] Ok, the rest of my message turns out to be hogwash, since I got confused
| 74264 [bob.news gmx] "Kent Dahl" <kentda@stud.ntnu.no> schrieb im Newsbeitrag
| 74268 [kentda stud.] in `instance_eval': wrong argument type Proc (expected String or
| 74274 [bob.news gmx] "Kent Dahl" <kentda@stud.ntnu.no> schrieb im Newsbeitrag
| 74306 [kentda stud.] As I went looking into the source, I noticed that
+ 74236 [vjoel PATH.B] I think this is just the distinction between #instance_eval and calling
  74244 [bob.news gmx] "Joel VanderWerf" <vjoel@PATH.Berkeley.EDU> schrieb im Newsbeitrag

^ can't find appropriate regexp
74205 [jonnypichler] spamassassin blocked my previous post :-((((
+ 74210 [tran55555 ya] Take a look about String.scan, be careful the grouping.
+ 74211 [tran55555 ya] Oops, sorry the previous one does not match well the third case.
+ 74212 [0bz63fz3m1qt] I see your previous post, me don't understand ??
| 74215 [ahoward fsl.] (?!pattern) rejects.
| 74216 [0bz63fz3m1qt] Ok.. I think I solved it.. tell me if it works ?
+ 74214 [tran55555 ya] str = <<'EOF'
+ 74313 [wkb airmail.] Patrick,

^ Standard type conversion mechanism
74206 [rpav nwlink.] OK, I'm posting this because a few people on #ruby-lang thought it
74242 [B.Candler po] - to_int, to_str, to_ary are called implicitly
74293 [john.platte ] Kent Beck's book Smalltalk Best Practice Patterns covers this topic. It
74322 [rpav nwlink.] These are two exact problems this design solves.  Having a separate
74332 [Josh_Neland ] Have you run into this problem before? Maybe an example of 'conversion

^ ruby-dev summary 20339-20427
74207 [aamine lover] This is a summary of ruby-dev ML in these days.