74208-74900

74038-93484 subjects 74399-75302

^ Problem with local DRb on OS X
74208 [john.platte ] I'm getting delays making TCP connections to "localhost" on our OS X
74222 [fgp phlo.org] Did you try using 127.0.0.1 instead of localhost? Maybe Roundevous (included
74283 [john.platte ] Thanks for the suggestion. Yes, I did try 127.0.0.1, as well as the

^ Build problems on HP-UX with HP C compiler
74209 [djberge qwes] Ruby 1.6.8 and Ruby 1.8.0 (today's snapshot)
74273 [mxp dynalabs] Hmm, I just tried building 1.6.8 as well as ruby-1.8.0-preview3, and I
74428 [djberge qwes] Thanks to Michael's diligence, it was discovered that "#define inline"

^ timeout and gets on windows, or user error?
74213 [michael_s_ca] I'm sure this is my misunderstanding, and/or possibly a known thing,

^ Array#pop doesn't remove last element?
74219 [0bz63fz3m1qt] I have an absurd problem in my ruby-code. I tried recreating the
+ 74220 [jj5412 earth] on 6/23/03 7:41 PM, Simon Strandgaard at 0bz63fz3m1qt3001@sneakemail.com
+ 74221 [0bz63fz3m1qt] OK.. I solved it..   This was because @left contained a vspace element.
  74336 [0bz63fz3m1qt] Finaly, 2 minutes ago I woke up (I am about to go to sleep).

^ problem installing 1.6.8 on OS X 10.2
74225 [gary.palmer ] I'm not a UNIX whiz, but I'm trying to learn how to do these things
74235 [mwilson13 co] I've never seen that before. I think you have to start over from the
74348 [Gary.Palmer ] bash-2.05a$ ls -dF /Library/Receipts/BSD*.pkg
+ 74349 [gary.palmer ] No, I don't use fink and never have.
| 74350 [mwilson13 co] That would be `uname' and not `unname'
+ 74351 [mwilson13 co] I no longer remember how to do this, but I think the Apple site has
  74429 [Gary.Palmer ] [PALMERS:~] gary% bash

^ [ANN] Raggle 0.1.0
74228 [pabs pablotr] Raggle is a console RSS aggregator written in Ruby. Raggle features

^ Operate on a range of lines in a file.
74230 [invalid inva] I'm hoping someone can jog my memory here. Say I've got a file which
+ 74231 [pabs pablotr] Why not something like this?
+ 74233 [sdate everes] You mean like this example from ruby-talk [73674] ?
+ 74243 [B.Candler po] while line = gets
| + 74265 [bob.news gmx] "Brian Candler" <B.Candler@pobox.com> schrieb im Newsbeitrag
| | 74291 [djberge qwes] Read in paragraph mode.  Set $/ to "END".
| + 74328 [mike ratdog.] Did you miss an extra line =~ there?
+ 74335 [invalid inva] Thanks, everyone. That

^ Accessing Objects from Anonymous Namespace
74234 [lunfis gmx.d] Is there any way to access objects (eg. constants) from within a 'module'
+ 74246 [bob.news gmx] <lunfis@gmx.de> schrieb im Newsbeitrag
+ 74261 [kentda stud.] def collect_modules
+ 74466 [nobu.nokada ] Not impossible, but strongly unrecommended.
  74500 [decoux moulo] Why not give the possibility ?

^ ncurses-ruby on cygwin
74237 [culley fastm] I am trying to install ncurses-ruby on cygwin, which all the docs
74249 [tpeters uni-] Yes. Last time I tried, it did work.
74250 [culley fastm] I have never installed with Win32 Native Ruby-- only Cygwin
74262 [tpeters uni-] I did not know that cygwin has a ruby package by now. Nice.
74266 [culley fastm] check.c:1:21: ncurses.h: No such file or directory
74473 [nobu.nokada ] You don't install libncurses-devel package.

^ Warning error in YAML
74239 [REMOVE_THISu] require 'yaml'
+ 74240 [REMOVE_THISu] but it does not give me any warning on the Windows XP.
+ 74270 [decoux moulo] No, the problem is in yaml which make reference to Kernel::Hash rather
  + 74284 [REMOVE_THISu] If that's true, then how come it did not give any error on windows?
  | 74288 [decoux moulo] It depend on the ruby version
  | 74315 [REMOVE_THISu] Thanks ts,
  + 74474 [nobu.nokada ] Nobu Nakada
    + 74499 [decoux moulo] Yes, this is just that I've not understood why he try to reference
    | 74519 [ruby-talk wh] Kernel was the top level namespace.  I will change to ::Hash, if it will
    + 74577 [androflux so] ~$ ruby -v
      74588 [matz ruby-la] Sometimes you have to stand ugliness, when Hash may be overridden.

^ Decimal builtin?
74247 [dsafari para] I am curious what people use to represent decimals when with no rounding
+ 74251 [botp delmont] what is http://www.rubycentral.com/book/ref_c_bignum.html
| 74253 [dsafari para] Thanks for your reply Botp, but wouldn't this still be susceptible to rounding
| + 74254 [botp delmont] could you site an example so that our ruby friends/hackers can also help?
| | 74255 [dsafari para] Actually funny you ask because I can't seem to make the float class provide
| | 74263 [tim bates.id] irb(main):001:0> x = 1.5e10
| | 74271 [haugwarb che] Interesting. I have also noted this and figured out that maybe Matz has
| | 74276 [bob.news gmx] "Tore Haug-Warberg" <haugwarb@chembio.ntnu.no> schrieb im Newsbeitrag
| + 74256 [0bz63fz3m1qt] I think it has a class rational numbers.. is it useful ?
|   74258 [dsafari para] It could do...I'll look into it. Thanks to those that answered - you have been
|   74259 [botp delmont] ah, money matters (or rather cents matters ;-). I, too, am paranoid of cents
+ 74257 [haugwarb che] I have had this problem for years until I started use Ruby. Fundamentally,
+ 74280 [mwilson13 co] 8&selm=5.1.0.14.2.20021210134040.02102738%40zcard04k.ca.nortel.com
+ 74381 [ jupp gmx.de] The answer to your question is 355/113 (^_^)
+ 74464 [unet rexx.co] Shigeo Kobayashi's BigFloat module (and also its successor BigDecimal)

^ Problem with regular expresions
74267 [robson magar] I am having a problem with regular expression.
74269 [0bz63fz3m1qt] Have you tried String#split  ?
74275 [bob.news gmx] "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> schrieb im

^ Ruby for Mac OS 9?
74272 [jj5412 earth] I've seen sketchy info here and there. Is there a recent (1.6+) Ruby for Mac

^ Ruby/Tk web browser plug in
74277 [J.P.Fletcher] I have been looking on the web to find a plugin for Nestcape and

^ [ANN] GalleryAdministrator 0.0.2
74278 [kou cozmixng] using extended RubyPhoto (which is included an archive)

^ Ruby Developer's Guide - hurt book sale
74279 [dennis sutch] Syngress Publishing is having a hurt book sale.  Per Syngress
+ 74282 [xlucid users] Plus $5 plus $20 for shipping outside of the USA.
| 74300 [mailinglists] I never understood why shipping from the USA is so extrem expensive.
| + 74308 [michael_s_ca] Probably part of our (Americans) "free market" collective psyche;
| | 74380 [ jupp gmx.de] Saluton!
| | 74778 [rodrigo.berm] I have just recived my book , and it just have a little
| | 74783 [joey joeygib] I got mine on Friday. I can't see anything wrong with it, which means it's
| + 74339 [cjh_nospam m] When my sister lived in NY for a year we joked that it was because
|   74378 [rasputin ido] Yeah, but that's not an exclusively American problem.
+ 74285 [REMOVE_THISu] Will this edition cover Ruby 1.8(alpha/beta)?
  74286 [lyle users.s] No, this book was published in January 2002.

^ Inspecting a caller environment?
74287 [luigi.ballab] having to design a usable environment for non
+ 74292 [bob.news gmx] "Luigi Ballabio" <luigi.ballabio@fastwebnet.it> schrieb im Newsbeitrag
| 74309 [luigi.ballab] Hmm, not if calculate is defined in another module, I think...
| 74368 [bob.news gmx] "Luigi Ballabio" <luigi.ballabio@fastwebnet.it> schrieb im Newsbeitrag
+ 74326 [pbrannan atd] require 'readline'

^ proposal for a ruby expert system
74289 [0bz63fz3m1qt] From time to time, every now and then, I bump into bugs in my own code.
+ 74290 [lyle users.s] Yes, the ruby-talk mailing list ;)
| 74295 [0bz63fz3m1qt] They are very similar.. but when problems tend to be too complex and
| 74363 [timsuth ihug] Array#[]= mutates the object.
| 74375 [0bz63fz3m1qt] I know this is not a bug..  This was just examples of what such expert
+ 74294 [bob.news gmx] "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> schrieb im
+ 74299 [peter semant] A cross between a FAQ and a mailing list digest with a good search

^ Concatenating Hash's
74296 [dlandrith ma] What is the fastest way to concatenate two hash tables?
+ 74297 [michael_s_ca] "fastest" might be taken different ways; fastest runtime?  Fastest to
| 74298 [dave landrit] Perfect.  Thanks!
| + 74307 [michael_s_ca] I missed it too, actually.  I only knew something that did what you
| + 74369 [bob.news gmx] "David King Landrith" <dave@landrith.com> schrieb im Newsbeitrag
|   74376 [0bz63fz3m1qt] If your hash-tables has differents sizes, I suppose that it will be
|   74433 [bob.news gmx] "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> schrieb im
|   74871 [0bz63fz3m1qt] Hmm..
|   74900 [matz ruby-la] Aliases.
+ 74317 [0bz63fz3m1qt] Have you tried Hash#update  ?
  74714 [spam deck.dk] require 'profile'
  74716 [0bz63fz3m1qt] Yes I know 'profile.rb' ...  I wasn't aware of Hash#update, so I started

^ CAN find appropriate regexp ;-))
74302 [jonnypichler] thanx - that's perfect
+ 74303 [aredridel nb] (?: ... )  is "group without capture" -- it's the same grouping effect
+ 74318 [tran55555 ya] You are welcome.
  74321 [ahoward fsl.] /usr/home/howardat > irb
  + 74325 [tran55555 ya] It works, if you try this
  | 74331 [ahoward fsl.] ah - yes it is - not the first time that has happened.  good catch!
  + 74327 [tran55555 ya] OK, I check the pickaxe book to make sure I said the right thing.

^ Good & cheap mp3 player, USB Flash disk, cd/vcd/mp3 player and digital camera etc
74304 [hechun1978 s] My dear friend,

^ ruby 1.8.0-preview3 build errors
74305 [aredridel nb] /home/users/aredridel/rpm/BUILD/ruby-1.8.0/lib/mkmf.rb:20: private
+ 74319 [0bz63fz3m1qt] I see you use athlon optimizations.
| 74330 [aredridel nb] It doesn't build without optimization either -- the error is in the
+ 74341 [matz ruby-la] Show me your "rbconfig.rb" file.
  74343 [aredridel nb] # This file was created by mkconfig.rb when ruby was built.  Any
  74345 [matz ruby-la] Thank you.
  74352 [aredridel nb] Ah, I see -- PLD's build scripts.  I'll have to delve into the depths of
  74353 [dooby d10.ka] ^^^^                        ^^^^
  74424 [aredridel nb] Not odd control characters -- just separate tokens that bash doesn't
  + 74426 [B.Candler po] It doesn't print nothing: it prints a space (to separate your two empty
  + 74449 [fritz.heinri] Newest ruby built with -O -march=athlon segfaulted with

^ [ANN] resource database on Ruby/Tk
74310 [nagai ai.kyu] I commited the patch for better support of resource database.

^ Test::Unit 0.1.8 reporting problem
74311 [gfb tonesoft] This is a multi-part message in MIME format.
+ 74367 [B.Candler po] You could try calling 'STDOUT.sync' in your setup() method?
+ 74420 [nathaniel NO] Agreed, and I've added it to the TODO list.

^ Re: reading file text
74314 [0bz63fz3m1qt] How about this ?
74370 [bob.news gmx] "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> schrieb im

^ Another Run Time Evaluation Q:
74320 [orion2480 ho] I am fiddling around with the eval() function, and loading information at
+ 74337 [sdate everes] As of Ruby 1.8, local variables assigned within an eval are
| 74361 [dooby d10.ka] Invoking "Hunt & Thomas" Programming Ruby - (Addison Wesley Longman) ...
| 74410 [sdate everes] RUBY_PLATFORM)
| 74412 [decoux moulo] This is because they use an interactive ruby shell which display the value
| 74472 [sdate everes] value
+ 74372 [bob.news gmx] "Orion Hunter" <orion2480@hotmail.com> schrieb im Newsbeitrag
  74407 [sdate everes] ruby 1.8.0 (2003-05-26) [i386-mswin32]
  74411 [decoux moulo] Try this
  + 74437 [bob.news gmx] "ts" <decoux@moulon.inra.fr> schrieb im Newsbeitrag
  + 74480 [sdate everes] Of course, by creating 'a' here, this has to work. I would like
    74502 [decoux moulo] irb do someting like this
    + 74542 [wkb airmail.] irb(main):001:0> VERSION
    + 74581 [sdate everes] Oh, I see.

^ Where to get Ruby(mswin32)/Gtk?
74323 [REMOVE_THISu] I've seen Ruby/Gtk for cygwin or mingw but NOT for mswin32? I've installed
74324 [REMOVE_THISu] oops ... its for Ruby 1.8[mswin32]. Thanks

^ thank you all so much
74329 [jonnypichler] thank you all so much for replying

^ who is working on ruby?
74333 [offstuff aon] first of all I have to say...
+ 74338 [mwilson13 co] I agree, except for the part where language is put in quote marks.
+ 74346 [matz ruby-la] This is mine, I guess.

^ Fwd: problem installing 1.6.8 on OS X 10.2
74340 [Gary.Palmer ] Mark,

^ help needed: extending ruby
74347 [sdate everes] I'm trying out the following example from
+ 74366 [laurent data] Hey,
| 74408 [sdate everes] That didn't work either ... I tried all variations of name capitalizations,
| 74457 [laurent data] Hey,
| 74468 [sdate everes] And hence it would be impossible for you to correct my mistakes,
+ 74476 [0bz63fz3m1qt] [snip example]

^ [ANN] possibly fixed memory eating problem of TkCanvas Items
74354 [nagai ai.kyu] I commited the patch for memory eating problem of TkCanvas Items.

^ another problem with regular expression
74355 [robson magar] array[0] = "car"
+ 74356 [vjoel PATH.B] array = []
| + 74358 [botp delmont] array = []
| + 74371 [bob.news gmx] "Joel VanderWerf" <vjoel@PATH.Berkeley.EDU> schrieb im Newsbeitrag
|   + 74373 [martindemell] Or something like
|   | 74434 [bob.news gmx] Even better!  great!
|   + 74395 [michael_s_ca] Maybe I'm just the cynic here, but does this sound to anyone else suspicously
|     74405 [kentda stud.] If so, maybe we should grant Rob immunity in this case in exchange for
+ 74359 [rpav nwlink.] array.each { |w| s.gsub!(w, "*") }
  74360 [botp delmont] not sure if that would scale up to a 10000 entry array though..
  74374 [rpav nwlink.] This is a good point... it wouldn't.  OTOH, it depends on the

^ another problem with regular expressions
74357 [robson magar] array[0] = "car"
74423 [aredridel nb] sentence.gsub!(Regexp.new(array.join('|')), '*')

^ protect parents from children
74379 [0bz63fz3m1qt] I fell into these pitfalls yesterday.. that a child was modifying a parent!
+ 74382 [decoux moulo] You make a confusion : the child was not modifying the parent.
| 74383 [0bz63fz3m1qt] Me don't understand.   If I add debug-print's to selftest then I see that
| + 74384 [decoux moulo] svg% cat b.rb
| | 74385 [0bz63fz3m1qt] OK. I think im to c++bias'ed (assuming too much).
| | + 74388 [decoux moulo] I still don't know what is a child, and what you want to do
| | | + 74389 [0bz63fz3m1qt] [snip code]
| | | | + 74390 [decoux moulo] Try to forget C++ : ruby is not C++
| | | | | 74392 [0bz63fz3m1qt] OK.. C++ is now erased completly from my mind.
| | | | + 74398 [martindemell] Offhand, I'd say it wasn't even hackable in pure ruby, because
| | | |   74401 [0bz63fz3m1qt] I am sad to hear that. Then I have to learn to live without protection.
| | | |   + 74403 [kentda stud.] (\[ Kent Dahl ]/)_    _~_    _____[ http://www.pvv.org/~kentda/ ]_____/~
| | | |   + 74404 [decoux moulo] This is just the proof that you've not forgotten the C++ model :-)
| | | |   | 74417 [0bz63fz3m1qt] C++ got erased.. it must be some leftovers from Pascal ?
| | | |   + 74414 [martindemell] You're welcome - it's been educational for me too.
| | | |     74419 [0bz63fz3m1qt] Yes. Any method within A is able to read+write (mutable).
| | | |     74460 [martindemell] Me neither - again, note the problem of values attaching themselves to
| | | |     74461 [0bz63fz3m1qt] [snip}
| | | + 74391 [martindemell] Huh?
| | |   74393 [decoux moulo] see the discussion about class local variable in ruby-talk
| | |   74402 [martindemell] Ah, I missed that :)
| | + 74435 [bob.news gmx] "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> schrieb im
| + 74386 [martindemell] Okay, class A defines an instance variable @value and initializes it to
|   74387 [0bz63fz3m1qt] Yes.. I found out it works like that.  What I want is know: Is it possible
|   74396 [B.Candler po] No, because an instance variable has no concept of "which class it came
+ 74430 [nagai ai.kyu] Do you talk about such as the followings?
  74550 [spam deck.dk] I cannot easily find a way around your problem, if all you want is

^ Text parsing example code
74394 [dwerder gmx.] has anyone some code to parse data from a text file, like semicolon
+ 74397 [nahi keynaut] $ ruby18-preview3 -rcsv -e 'p CSV.parse_line(%Q("abc";"def"), ?;)'
+ 74406 [martindemell] Might be better to help debug the CSV module, as per Joel Spolsky's
threads.html
top