28986-30624 subjects 29493-30823

^ RPC via tuple space
29318 [list chromat] distributed objects in a language independent way, using tuples spaces
29354 [neumann s-di] You should be able to use connection alive. Is that what you want?
29360 [list chromat] I think so.  I set up both client and standalone server as suggested
29423 [neumann s-di] `multicall' has nothing to do with connection alive. If your XML-RPC

^ [ANN] JRuby beta 0.3.0 released
29321 [jpetersen un] I just released JRuby beta 0.3.0.
29352 [mikkel incre] This is a multi-part message in MIME format.

^ Setting up a cygwin build environment
29324 [harryo zipwo] The last time I looked at cygwin, they had a single download that
29325 [chadfowler c] Harry,

^ a better way?
29327 [ronjeffries ] I was writing a little code that cached a function value, and wound up
+ 29328 [dblack candl] result = @@save[self] and return result
| 29331 [hal9000 hype] if result=@@save[self] then return result end
| 29332 [dblack candl] I think the design is that some calculation will only be performed
| + 29334 [angus quovad] puts t.fahrenheit(300) # "212"
| | 29335 [dblack candl] What's the matter?  You've never heard of science fiction? :-)
| + 29337 [harryo zipwo] As usual, I'm probably missing something obvious here, but
| | + 29339 [dblack candl] You're not missing anything.  See my previous post (which introduced a
| | + 29368 [olczyk inter] You hagve to forgive Dave, he's an amateur programmer and thus misses
| + 29344 [nobu.nokada ] Another one using Hash#fetch,
|   + 29359 [henning ikso] [Nobu]
|   | 29365 [nobu.nokada ] Do you like this?
|   | + 29367 [Dave Pragmat] That is going on my list of FAQ additions. Not that anyone's asked the
|   | | 29391 [nightblade n] What's the URL for this FAQ?
|   | + 29369 [hal9000 hype] Oh, that is excellent. I wish I had thought
|   | + 29371 [matju sympat] fahrenheit = Hash.new do |h, c| h[c] = c * 9 / 5 + 32 end
|   |   + 29372 [hal9000 hype] I guess you are correct. I did not notice that these
|   |   + 29374 [nobu.nokada ] Yes, it's enough.
|   |   | 29379 [niko.schwarz] are there ever any other?
|   |   + 29376 [harryo zipwo] Now, this is really nice!  I hadn't realised one could
|   + 29375 [ronjeffries ] These are way cool.  I gather the 1.7.2 feature is new? I think I'm in
|     + 29377 [nobu.nokada ] Yes, it works on only recent one.
|     | 29378 [billk cts.co] Interesting. . . Could one then create an autovivifying-style
|     + 29385 [in6x059 publ] of the new features.
|     | 29392 [Dave Pragmat] My fault. In the past I generated entries in that page as I saw things
|     + 29388 [ralph.mason ] This does lead me to think that there is a surprise here.  Notably that a
|     + 29410 [pit capitain] class Temp
+ 29330 [list chromat] What about this?
+ 29333 [angus quovad] result = @@save[self]  and return result
+ 29336 [chadfowler c] I'm sure this is complete overkill for what you're looking for (since
+ 29343 [ronjeffries ] Thanks all ... so far I like the two lines best. The version with the
+ 29353 [henning ikso] @@save.fetch(self){your funcdef}

^ How to set up webserver with Ruby
29338 [jonas delfs.] I want to use Ruby for webscripting. I couldn't find any mod_ruby

^ web application
29340 [baasad quali] I have a recycler.com like project in mind, so I was wondering what is a good
29345 [alan digikat] There is also eruby and mod_ruby.

^ Simple Console IO question
29346 [button_delet] I am in the process of attempting to learn Ruby (again)
29347 [hal9000 hype] That's odd, because as you've written it, it
29348 [button_delet] Actually, RubyWin, and that's what shows in the console

^ raa.succ top 5!
29351 [dsafari xtra] This is just posted out of curiousity, if you could have raa.succ do
+ 29358 [ jimm io.com] 1) Keyword searches. Maintain lists of pre-defined keywords that project
| 29363 [niko.schwarz] 4) A list of platforms under which you can run it for each project
| 29380 [ps radiac.mi] 5) Be based on the RubyGems project and for crossplatform building maybe also
| 29384 [dsafari xtra] Hmm..I'm not sure how this sort of thing works (dependency checking
+ 29463 [james rubyxm] 1. Tell me what things actually do without having to go to a separate page for each entry.

^ RubyUnit Questions
29357 [ronjeffries ] 0. Is there a writeup somewhere about how RubyUnit works? I'm finding
+ 29361 [chadfowler c] Seems like I saw one somewhere.  I'll browse around for it and post it
| 29373 [ronjeffries ] Internals. Comparison with Lapidary too, now that I've remembered
+ 29394 [masaki.suket] I have written a book about RubyUnit. The book describes internal
+ 29400 [mike lepton.] Mike.

^ command line args
29362 [niko.schwarz] Ruby seems to have perl-strength abilities with its command line arguments,
29366 [billk cts.co] ruby -pi -e 'gsub(/\\160/, " ")' Description.java

^ [ANN]RDE0.9.3.1 Release
29364 [QZS01353 nif] I released RDE

^ x.dll versus x.lib in mswin32 ruby
29381 [mchahn facel] I've built mswin32 ruby and now I'm trying to build ruby/gtk.  When I run
29382 [bdelmee adva] Naturally you can; DLL's are used at run-time (and hold the actual code),
29383 [mchahn facel] Thanks.  (You can tell I'm not a windows programmer).
29393 [mchahn facel] 1. Create a .DEF (module definition) file based on the DLL that you're

^ This reminds me ...
29387 [ronjeffries ] Isn't it about time for Ruby to be written entirely in Ruby? What's up
29389 [ralph.mason ] And generate C as the IR?
29416 [matju sympat] Well, I had such a project at some point, and it was called M˝ŇaRuby;
29421 [henning ikso] Sorry, would anyone care to repeat the nice advantages of a Ruby in Ruby?

^ Radical 0.3 released
29395 [i_sofer yaho] Radical 0.3 released.

^ Dependency generator and RubyGems [WAS: Re:  Re: raa.succ top 5! ]
29396 [ps radiac.mi] the dependencies should be recorded in the rubygems, not by hand in some

^ TkMenu patch and question
29397 [kero d4050.u] When trying to set a font in the TkMenu items of a TkOptionMenubutton,
+ 29398 [Jean-Francoi] did you try TkOption.add?
+ 29460 [nagai ai.kyu] Thank you for your report.

^ how do I set path or add path
29399 [Desai.Dinaka] I am running Ruby on Linux.  The $LOAD_PATH prints the following

^ raa.succ dev team
29401 [jbardin hsc.] I have jsut recently been following the progress of raa.succ and I was
29406 [dsafari xtra] Yes, something similar to apt-get was what was floating around in my

29402 [jack Careerw] I'm tackling the next area of my ruby development: the SMTP class. I can't seem to get it working correctly though
+ 29404 [matz ruby-la] You should try
+ 29407 [hal9000 hype] far!

^ Re: Net SMTP
29403 [Desai.Dinaka] Following code works.

^ Compiling on Linux-PPC
29409 [ruby-talk-us] I'm new to Ruby. And not overly familiar with solving problematic compile

^ ruby 1.6.6 is out
29411 [matz ruby-la] Ruby 1.6.6 was finally out.
+ 29412 [armin approx] Matz, thanks a lot for the X-mas present :-).
+ 29415 [ballabio mac] Ho ho ho. Ruby 1.6.6. Python 2.2. Quite a Xmas tree this year!
+ 29430 [ruby-talk-us] Compiles like a charm on YellowDogLinux 2.1, complete with ext modules.
+ 29580 [robert3501 y] Just a question. Does Ruby automatically compile in support for Tk if

^ Surprise (?) with sockets
29414 [list chromat] I took for granted that one socket opening and closing, plus three
29417 [tom.hurst cl] ...Three puts and gets with one-time connections: 0.297782 secs
+ 29419 [tom.hurst cl] Blegh, IPPROTO_TCP, not SOL_TCP which is in my (online) copy of
+ 29425 [list chromat] You saved my mental sanity.  Not too bad for a Xmas gift. ;-)
  29427 [tom.hurst cl] If you need more assistance in this area, I have some spare prozac in
  29429 [Dave Pragmat] Explain the PR problem and I'll add it to the list. Is it that
  29443 [tom.hurst cl] SOL_TCP is defined only if it's defined by the OS headers, where as
  29445 [Dave Pragmat] You have to love consistency. I'd always assumed the SOL_xxx variants

^ Is this a bug?
29418 [ryo_saeba_00] irb(main):003:0> Integer(3)
29420 [matz ruby-la] No.  Integer() checks more strictly.  It's the spec.
29433 [nobu.nokada ] But Integer("3\n") passes.  Isn't it strange?
+ 29434 [decoux moulo] Integer("0\n") is seen as an octal number (base == 8) because it begin
| 29436 [nobu.nokada ] I know it, however, if "0" were simply the prefix, shouldn't
| 29437 [decoux moulo] Well, at least it's consistant with "0x0\n" and "0b0\n"
| 29439 [nobu.nokada ] I think they should behave similary.
+ 29441 [matz ruby-la] You're right.  We should allow "0\n".  Thank you.
  29444 [nobu.nokada ] Sorry, the former patch was wrong, and dosn't allow "0\n".

^ Can't require extensions using eRuby
29422 [jonas delfs.] I've installed eRuby on my Apache on my WinXP machine.
29424 [neumann s-di] Could you post the eRuby file that produces the troubles?
29426 [jonas delfs.] (require)
29475 [neumann s-di] * Print out $LOAD_PATH (in your eruby file) to see if it contains the correct directories.
29476 [jonas delfs.] correct

^ ruby-bug ML
29428 [Jean-Francoi] Reporting-MTA: dns; helium.ruby-lang.org

^ Help with Regular Expression
29431 [gnuvince yah] I would like to know how I would check if a variable's content matches a
+ 29432 [dsafari xtra] irb(main):010:0> a = "+232"
+ 29435 [ralph.mason ] you can just use a normal test eg

^ Convincing people that Ruby is more productive than C++ or Java in many cases
29438 [armin approx] X-mas is holiday season, so one meets tons of friends
+ 29448 [gehlker fast] I tell people that it's like ObjC but with some of the good bits from C++
+ 29464 [nightblade n] Following that argument, grep/sh programming "0wnz j00 a11" as they say...
| 29711 [tim vegeta.a] [ snip ]
+ 29712 [tim vegeta.a] Sometimes it looks like the newer languages need a marketing division

^ Tk / IO question
29440 [rcalco corte] I'm experiencing some rather significant performance problems with IO.popen
+ 29461 [nagai ai.kyu] I'm sorry but I cannot show you any good solution for your problem.
+ 29621 [Jean-Francoi] I encountered some similar problems when trying to read from a socket

29446 [kumyr hotmai] This is a multi-part message in MIME format.

29447 [kumyr hotmai] unsubscribe

^ Newsgroup -> mail list problem?
29449 [schneiker ju] Some NG posts from the past 2 days don't seem to be showing up on the
+ 29450 [decoux moulo] Yes, I've tried to reply to some messages directly from my news server and
+ 29451 [Dave Pragmat] Hmm. seems OK from this end. Is it possible they just haven't
  29452 [schneiker ju] Conrad

^ imageMagick
29453 [baasad quali] image for it.  How can I make my script read all the image files in the
+ 29454 [baasad quali] I tried to write the script that will read img file and create thumbs from
| 29455 [dblack candl] Well, you've started a comment at a very strange place :-)
| 29469 [baasad quali] thanks for the reply I tried it without #{} thingy and this is what came up
| + 29471 [dblack candl] Do you mean n here, rather than f?
| + 29472 [decoux moulo] You remove the suffix '.gif' to `f' and store the result in `n'
|   29709 [baasad quali] thanks guys,
+ 29456 [tam kais.kyo] require 'magick'
  29470 [baasad quali] but this will create me only one image file, instead of one thumb image for

^ A Drag-and-Drop Primer for Perl/Tk - Anyone want to translate to Ruby/Tk?
29457 [schneiker ju] I've not worked with Perl/Tk or Ruby/Tk for a while, but someone might
29462 [nagai ai.kyu] If it is same to 'Tk DND extension' for Tcl/Tk,

^ Software Carpentry QMTest Testing Tool Released
29458 [schneiker ju] FYI, test tools fans.

^ I think I found the problem with the gateway
29459 [Dave Pragmat] If this message appears on the ML, then the problem was due to an
+ 29482 [schneiker ju] Thanks much, Dave!
+ 29518 [aamine mx.ed] I cannnot reproduce bug. Could you show me your code snip?
  29526 [Dave Pragmat] I dug a bit deeper, and the problem is not 1.6.6, but the change to

^ Sending mail via an Exchange server
29465 [harryo zipwo] I looked in RAA, but couldn't find anything that allowed the sending
29474 [thomass delt] Unless you are talking about some ancient version of Exchange, you

^ How to do a DNS lookup?
29466 [n.gilbert so] charset=US-ASCII;
29467 [decoux moulo] I've replied on the newsgroup see
29468 [n.gilbert so] Thank you!

^ Re: Eruby compiled with 1.6.6 does not work
29473 [YuriLeikind ] I checked it all.

^ Oracle 8 support?
29477 [sean chitten] Does anyone have any success stories with ruby + Oracle 8i?
+ 29479 [chadfowler c] I'm using it with 8i and no problems as of yet.
+ 29480 [Dave Pragmat] Works fine for me (in production code, no less). I had to tweak the
| + 29481 [sean chitten] Excellent.  When I was reading over the DBI page it said Oracle 7 and
| | 29524 [neumann s-di] Well, I mention there the dependent database library, which is
| + 29485 [mps discomsy] Works fine for me on 8i (8.1.5, 8.1.6 and 8.1.7) on Solaris and Linux.
+ 29531 [danny frouke] Oracle 9 doesn't seem to work, I cannot find the ocidfn.h file that

^ GC and values in extensions
29483 [johann physi] When is it safe to leave a VALUE floating around in an extension
+ 29506 [nobu.nokada ] VALUEs referred by C++ objects.  You can use a Hash instead in
+ 29508 [matz ruby-la] Ruby's GC is "conservative" so that they are protected as long as they
  + 29528 [paul atdesk.] I've heard this same response before, but I'm not sure quite what you
  | 29530 [decoux moulo] Look at rb_gc() and stack_end
  | 29532 [paul atdesk.] VALUE foo(VALUE self) {
  | + 29533 [decoux moulo] Well a better example is
  | + 29539 [matz ruby-la] It won't.
  + 29534 [johann physi] Can the conservative GC find objects (i.e. stuctures with VALUEs for
    29536 [nobu.nokada ] See [ruby-talk:29506].

^ Module#included
29487 [hutch xampl.] I have downloaded and compiled Ruby 1.7.2 (27 December 2001) and have
+ 29492 [nobu.nokada ] Nothing more.
| 29529 [paul atdesk.] So what is the difference, then, between Module#included and
| + 29535 [chr_news gmx] The default action of #append_features is to ``append_features''.
| | 29538 [decoux moulo] Yes, another consequence is that
| + 29537 [nobu.nokada ] Module#append_features does actually append features(methods
+ 29514 [decoux moulo] Well, the response was given by Nobu Nakada. Just a small example

^ Python and Ruby: a comparison
29488 [rdsteph eart] I initiated a thread over on comp.lang.python which has turned into
+ 29489 [curt hibbs.c] I went to the URL you posted but could not find the thread.
| + 29490 [billk cts.co] (Haven't read it yet myself . . . . .)
| | 29495 [harryo zipwo] Most of the postings are very reasonable.  Not pure Ruby bashing, just
| | + 29497 [billk cts.co] Yeah, mostly I agree . . .  cept when I look thru job listings ;-)
| | | + 29501 [harryo zipwo] No problem there.  Wax lyrical about whatever they're asking
| | | | 29503 [billk cts.co] Indeed, sometimes I imagine that each and every programming
| | | + 29573 [elderburn mi] Or...when you are creating sites on public hosts you don't own or
| | |   29594 [henning ikso] yeah, we tried to convince our webhotel to install ruby, but then the RPM's
| | |   29601 [elderburn mi] I wasn't even aware there ~were~ rpm's for Ruby! LOL
| | |   29611 [james rubyxm] Ruby installs quite easily using the ./configure, make, make install route.
| | + 29759 [tim vegeta.a] [ snip ]
| + 29491 [rdsteph eart] Sorry, it  is found at comp.lang.python, a usenet newsgroup, not on my
+ 29651 [schneiker ju] [In this and other somewhat related threads] Some people have (in different
  + 29652 [dblack candl] I'm inclined to think not.  I imagine such a language would quickly
  + 29655 [henning ikso] Pyby :-)!!
  + 29677 [rdsteph eart] Very interesting idea. Unfortunately, I doubt if it woudl be possible. For one
  | + 29691 [dan sidhe.or] Oh, don't doubt. We've pulled it off already, to an extent, with the perl 5
  | | + 29695 [dan sidhe.or] For now, yep. Once we get things situated right, you won't even need to
  | | + 29716 [decoux moulo] The perl parser is written in perl ?
  | |   29736 [dan sidhe.or] For perl 5, no. (Nasty mass of yacc and C) For perl 6, the plan is that it
  | |   29824 [decoux moulo] OK, now I've another question.
  | |   29858 [dan sidhe.or] What, you mean what do we do if we find the underlying security model for
  | |   29861 [decoux moulo] The problem of Safe.pm is fixed in 5.6.1 ?
  | |   29862 [dan sidhe.or] Dunno about Safe.pm in perl 5.6.1. That's someone else's responsibility.
  | |   29863 [decoux moulo] I can say that it's not fixed.
  | |   29865 [dan sidhe.or] If there are design flaws in Safe.pm, let me know. (Off-list, I think, as
  | + 29696 [schneiker ju] one
  |   + 29701 [dan sidhe.or] I've Cc'd to ruby-talk. AFAI it's a bidirectional gateway. (It's where I
  |   + 29766 [dblack candl] Personally, if these two languages merged, I'd really miss Ruby :-)
  |     29772 [mkelly2002NO] Hmm, I wonder if it wouldn't be more productive
  |     + 29774 [dan sidhe.or] Now there's an interesting idea... :)
  |     + 29777 [s3225202 stu] Check out Parrot
  |       29869 [mkelly2002NO] Parrot
  |       29871 [dan sidhe.or] As the Parrot designer, I'd be happy to answer any questions anyone might
  + 29680 [borcis genev] What would be fun is to have library interoperability completed
    29764 [timr probo.c] Oddly enough, I believe that is almost exactly what Bill Gates believes he
    + 29765 [dan sidhe.or] To some extent he has. Sort of, for statically-typed OO languages at least.
    + 29788 [jdhunter nit] And which Ximian and GNOME are bringing to the open source world with
    + 29810 [eldiener ear] CLR is a lowest common denominator for language ideas which MS supports.
      + 29819 [james rubyxm] Is it the lowest common denominator, or the highest common factor?
      | + 29850 [martin v.loe] It is that bad. The only language that is provided completely and
      | + 29997 [eldiener ear] Well Microsoft would say the highest common factor but that is not even
      + 29833 [syring email] "Edward Diener" <eldiener@earthlink.net> schrieb