17198-25638 subjects 17655-25795
^ module name
17391 [atsang hk.li] How can I dynamically refer to a module name?
17392 [WYS helbling] module BaseModule
^ Problem with Ruby/Gtk and GC
17396 [bombadil wan] More info about my problem with Ruby/Gtk (is anybody using it?).
17399 [decoux moulo] It's best if you can give a *SMALL* script which reproduce the problem.
17402 [bombadil wan] I have been exploring more deeply. Now I have a script that reproduces
17404 [decoux moulo] I can confirm. The problem occur when I select "Window New"
^ Ruby-enabled web hosting services?
17400 [abottoni qua] Does anybody knows if there is a list of the web farms that offer a
17422 [john_van_v y] It is http://puny.vm.com and if you click on "join" you will see the option
17429 [toddg linux1] Perhaps very like the Perl Mongers?
^ Looking for an example...
17410 [Dave Pragmat] Do we have any common examples in Ruby where we use mixins simply to
+ 17412 [aamine mx.ed] DRbUndumped module in dRuby ?
+ 17414 [neumann s-di] mainly for this purpose.
^ Default Value in a Hash.. but I need a new object each time!
17413 [gc mandrakes] I have a loop in which I'd like to populate a Hash by pushing back new
+ 17417 [dblack candl] kind of testbed for this. There was a bunch of discussion on this
| 17418 [gc mandrakes] Thanks David! This lights up the problem much!
+ 17419 [neumann s-di] h["banana"] returns the default value  but do not set the Hash key,
17420 [gc mandrakes] Strange, AFAIK Hash#push modifies the object in place, so this would equal
^ test - please ignore
17415 [billk cts.co] Each of the following recipients was rejected by a remote mail server.
^ Re: [:->] babelfish Japanese => English attempt
17416 [billk cts.co] Ah. I tried looking at the text with different encodings in IE - it wouldn't let
17425 [tsyk yk.rim.] I'm certain those would be. Moreover, 'orthonormal' is more mathematical
17445 [hotfusionman] It's definitely used commonly in mathematics, but it means more than
^ Marshalling Optimization Idea
17421 [onge mcs.anl] I was thinking that it might be useful to cache the marshalled version of
17427 [mike lepton.] of
17443 [matz ruby-la] I'm thinking of different solution. new (possible) _dump would
^ How to copy an object
17423 [jim freeze.o] I have a class that contains a class (possibly a list of classes).
17424 [avi beta4.co] class Package
17426 [jim freeze.o] If it is Parmesean cheese, then it is OK. :)
17436 [avi beta4.co] I don't think that's possible - what you're asking is for Box to affect
^ performance question
17432 [joe vpop.net] % cat junk.rb
+ 17442 [matz ruby-la] Upgrading to the latest snapshot. It runs much faster.
| + 17464 [joe vpop.net] /usr/bin/time ~/junk.rb
| | + 17466 [kare_tempo e] 0inputs+0outputs (227major+6463minor)pagefaults 0swaps
| | | 17533 [matz ruby-la] No, just followed matju's advise in [ruby-talk:5058], which recently
| | + 17469 [joe vpop.net] Ooops. I was futzing around with the script and wasn't running the
| + 17470 [joe vpop.net] I added resize() to hash.c. It offers a speedup if you know how large
+ 17444 [joe vpop.net] One GC idea I thought of is this: What if you could tell the GC to
17462 [pulsar qks.c] 0maxresident)k
^ Looking for volunteers
17433 [shawn thekom] We have a new release of our BlackAdder product ready for release with Ruby
^ FXRuby 0.99.172 failure
17434 [ser germane-] Hokey, here's another one.
17440 [ljohnson res] Ummm, not the right "fix" (as you might have guessed). The Ruby 1.6 header
^ FXRuby compilations consume NAN RAM?
17435 [ser germane-] Geeeeeez. I've got 512Mb on my machine, and FXRuby won't compile with
+ 17439 [ljohnson res] it
+ 17456 [neumann s-di] Running Suse Linux 6.3 under VMWare box, I compiled it with option -02 without
^ An OpenGL Ruby
17437 [Dave Pragmat] I was wondering: does anyone have data I could use to construct a
^ Tk - how to clear a canvas?
17441 [tjabo unix-a] I have some trouble coding a Tk Gui. Can someone give me a hint about how to
17458 [kero d4050.u] Look at
17459 [tjabo unix-a] re,
17461 [kero d4050.u] Looked a bit further into my memory, delete('all') is the one (even
^ Ruby Is Now An Official Drink
17447 [jkaurin home] Sent this back when the gateway was broken, sorry
^ Trashing $defout
17448 [jkaurin home] Sent this back when the gateway was broken, sorry
+ 17489 [decoux moulo] It don't work on VMS :-)
+ 17524 [jkaurin home] You are correct. I meant to remove the $stdout wording before
+ 25614 [jkaurin home] You are correct. I meant to remove the $stdout wording before
^ Has anyone done a Perforce interface for Ruby?
17455 [feoh fourfuz] Folks;
17535 [tony smee.or] Solid choice ;-)
^ [ANN] Ruby/DBI 0.0.6
17463 [neumann s-di] I am pleased to announce Ruby/DBI 0.0.6, which fixes some bugs of 0.0.5.
^ Hash#update and nonexistent +-&|
17475 [hal9000 hype] I just tried to add one hash to another
17521 [matz ruby-la] It's not there because I didn't feel like there's natural behavior for
^ Image manipulation w/ruby
17476 [mal0rd myrea] joining several jpeg images together and printing them out. I think
^ wget in Ruby with a twist
17477 [sprice hiwaa] Just curious if someone already developed something that creates
17478 [chadfowler y] Steve,
17479 [sprice hiwaa] Thanks I'll have to check this out.
17480 [chadfowler y] Great. Feel free to improve it as needed. :)
^ Aliases for class methods
17482 [harryo zipwo] Say I wanted to write my own version of File#open that adds some
17484 [aleksei.guze] Good morrow!
+ 17485 [avi beta4.co] class Numeric
| + 17486 [avi beta4.co] Although actually it should be
| | + 17487 [aleksei.guze] #
| | + 17492 [aleksei.guze] # -----Original Message-----
| + 17488 [aleksei.guze] What about ( 0.5miles + 0.3km ).to_meters?
+ 17490 [marcel codew] That can easily be done using tie() (assuming you talk about Perl) and
| + 17491 [marcel codew] As I've just been made aware of, the original mail was sent to
| + 17504 [matju sympat] that he had written a units package better than the one I had just posted
| + 17508 [aleksei.guze] #
| + 17509 [masa stars.g] The "quantity with units" class was renamed as "Quanty"
+ 17494 [niklas kagi.] I think types like these belong in extension libraries, rather than in
^ Ruby on Slashdot
17511 [jweirich one] Ruby is currently mentioned on Slashdot. I posted some references.
17512 [tobiasreif p] Interesting...
+ 17518 [matz ruby-la] If one need languages standardized, he can't choose Perl, Python, PHP,
| + 17519 [ruby jamesbr] Or Java(tm), for that matter.
| | 17525 [matz ruby-la] * serious discussion for making standard, makes the language more
| | + 17526 [mdavis sevai] I love Ruby and I prefer to avoid the committee idea.
| | | 17527 [feoh fourfuz] Just a newbie, and I don't want to ruin the glorious S/N ratio we have here
| | | 17532 [jjenning ste] i like more personal things than committees too, like ruby-talk :)
| | + 17536 [dblack candl] [Sorry, this got kind of long.]
| | + 17552 [kpowick on.a] Having been a reader of Slashdot for quite a while, and having taken the
| | + 17676 [matju sympat] 1. two implementations of the whole interpreter+lib;
| | 17677 [dblack candl] I follow #2 and #3 more than #1 -- not as a general matter but just in
| | + 17707 [alunapr appl] I'm new to this list , so forgive me if this has all been covered
| | | 17709 [fgp phlo.org] And there are toher languages, which seem to have had similar problems.
| | + 17751 [paulp Active] I think that if Ruby wants corporate "approval", a formal standard is an
| | + 17758 [matju sympat] Because you have to take into account the programmers who will do it and
| + 17534 [jweirich one] Or Java either, as someone else has pointed out.
| 17556 [ser germane-] Hear, hear.
+ 17520 [elderburn mi] What about people in business getting clued? The hypothetical project, as
17522 [timsuth ihug] Most of the arguments on slashdot are 'why bother with the enormous
^ Ruby GTK Problems
17513 [tom eborcom.] I have installed Ruby 1.6.4 and ruby-gtk 0.25 from FreeBSD's Ports system
17514 [ed ewilson.c] Can someone direct me to the mod_ruby camp if it exists. If such a
^ Statistical Time-Consumption Profiler
17523 [matju sympat] One gave an idea,
17530 [jjenning ste] sorry about that... i got a couple of replies to the slashdot thread and replied before reading the whole thread and realizing the post i was talking about was the one that started it. eek!
^ Null Pattern
17537 [K.Hodges fte] Has anyone implemented the Null pattern in ruby yet?
17548 [pbrannan atd] I have implemented a "Null_Mutex", but I have not implemented a generic
^ FOX please fix this ASAP
17539 [ rc duria.de] Lyle, could you please fix this bug, it's impossible to subclass anything in
+ 17543 [ljohnson res] in
+ 25625 [ljohnson res] in
17540 [stephen.hill] I'm just wondering if there might be any call for Dir.chdir to be able
^ Constants and Variables
17546 [mjl emsi.pri] I recently stumbled on ruby, and as a long time fan of Objective C
+ 17547 [decoux moulo] Well an object can be immutable, but this is different for a variable
+ 17561 [matju sympat] What are called "constants" in Ruby is a namespace (or really, a graph of
| + 17570 [r2d2 mao.acc] Many languages have naming conventions for constants, functions, classes, etc
| + 17585 [mjl emsi.pri] Okay, understood. Now is there a way to do block parameter passing
+ 17577 [alwagner tca] Me too. But for some reason I have yet to fathom, no one else here agrees.
17582 [matt lickey.] I think most people agree that it is certainly a FAQ and something
^ special quoting operators (%q and similar)
17549 [hajhouse hou] I know about one special method to construct a string literal: %q(string),
+ 17550 [Dave Pragmat] Ah, you need to read the top of the chapter titled "The Ruby Language"
+ 17551 [matt lickey.] Yes, and a few of the special constructors are described at these
^ What happens when File.new fails?
17553 [Brett.W.Denn] fh = File.new('missing-file.txt')
17555 [joe vpop.net] begin
^ Oracle module
17554 [web2ed yahoo] Is there a web page for the Oracle working group.
17559 [GUARDO santa] I need append a file when i'm uploading files to ftp server... but
^ low-level TCP/IP manipulations?
17560 [hotfusionman] This question may be naive or just plain stupid, but searching the list archive
+ 17590 [teespy gmx.n] I think it would be nice to have a port of Mike Shiffman libnet to ruby for things like this.
| 17669 [rise knavery] I agree completely, which is why I started one a few months back. The
+ 17593 [matz ruby-la] Hmm, I'm sorry that I don't know how to "TCP/IP No Listener error
| 17594 [hotfusionman] Thanks, matz. I guess I'll have a look at the C source for Socket tomorrow to
+ 17595 [waisun.chia ] What you want is ECONNREFUSED (see connect(2)) return code, which
17597 [matz ruby-la] It gives ECONNREFUSED etc.; the switch you've mentioned have no
+ 17598 [waisun.chia ] You're absolutely, right.
| 17599 [matz ruby-la] Yes, alright. I admit it's my bad habit. ;-)
| 17627 [ale crimson.] To help you out, here's a script that finds switches without
+ 17626 [hotfusionman] Thanks, all. However, I need my emulator in Ruby to be the thing that returns
^ writing arbitrary data to a socket
17562 [hotfusionman] Continuing my investigations into my Ruby network hardware emulator, is there a
+ 17563 [Johan.Dahl l] Use the methods described on these pages to pack arrays and uppack
+ 17564 [mike lepton.] to write
+ 17565 [matju sympat] Into a String, yes, but Strings contain arbitrary data first and foremost,
| 17567 [hotfusionman] Thanks to all who replied, especially matju for the explicit example!
+ 17566 [jjenning ste] my_all_thing = [a, b, c, d, e, f, g, data]
17568 [glen enabled] Completely off topic... but that is an awesome signature! ;-)
^ Ruby/X11 version 0.5
17569 [matju sympat] Announcing Ruby/X11 version 0.5.
^ Ruby User's Group -- Los Angeles
17579 [web2ed yahoo] Is there a RUG in LA?
17586 [Dave Pragmat] I don't know if this counts.
^ perfect newbie
17581 [S.Udrea gsi.] I'm a total newbie to OOP and Ruby. Actually I want to learn how to do OOP and choose Ruby because I read that it's a nice
+ 17587 [hal9000 hype] and choose Ruby because I read that it's a nice
| 17589 [joe vpop.net] That is how I understand it. What I think would be valuable is for
+ 17982 [S.Udrea gsi.] I just want to thank those who answered my question about class instance
^ Ruby & cross-platform graphics
17604 [GaulandM cor] I want to develop a ruby application with some simple graphics (lines,
17605 [waisun.chia ] Although probably an overkill: Perhaps Ruby/Qt or Ruby/GTK+ (but only Qt
17606 [feoh fourfuz] Actually as I recall from the docs and website RubyWin is compatible with
17608 [barry_shultz] One alternative is FXRuby
17612 [ljohnson res] system.
^ Net/Http problem - connect(2) error on windows
17607 [jbshaldane h] I run ruby on Windows 2000... it works wonderfully, except when
17616 [seanacarley ] /cygdrive/c/ruby/lib/ruby/1.6/net/protocol.rb:507:in `new': Invalid
^ Ruby standardization (was Re: Ruby on Slashdot)
17609 [pbrannan atd] C++'s ugliness is due to having to be backward-compatible with C, which is
17619 [Brett.W.Denn] When I first came across Perl six years ago, the two things that I found
^ Ruby Threads from C
17611 [onge mcs.anl] I'm looking at using Ruby threads from C and I've got some questions that
17615 [decoux moulo] rb_thread_create(VALUE (*fn)(), void *arg);
17624 [emilong midw] Great! That really cleared things up.
^ Overloading logical operators and bitwise operators
17613 [jbshaldane h] So, I am writing a ruby program that produces object code in another
17614 [Dave Pragmat] name = ARGV || prompt_for_name
17618 [gene.rogers ] This message is in MIME format. Since your mail reader does not understand
+ 17620 [hal9000 hype] to POSIX
| + 17621 [hfulton pop-] to POSIX
| + 17622 [decoux moulo] [ruby-talk:6397]
+ 17623 [matju sympat] Although Ruby could be ported to Posix threads, the advantage of the
17645 [matz ruby-la] Currently there's no way to adjust the size of the tick from outside.
17647 [gene.rogers ] This message is in MIME format. Since your mail reader does not understand
17750 [matju sympat] Have you tried using Distributed Ruby or similar software? This is another
^ How to use popen with &
17625 [jim freeze.o] I am trying to do a double pipe with popen but am not
17635 [wjl mindless] cmd = "gnuplot | xv -"
^ Strange warning
17628 [balexander r] What exactly does Ruby's warning message
17644 [matz ruby-la] You might expect
17675 [balexander r] Ah, yes -- that makes perfect sense -- thanks for the clarification.
17684 [matz ruby-la] Hmm, I don't think I can reproduce the bug. I think I need whole of
17744 [balexander r] It would be hard, since it depends on a lot of environment being set up.
^ a script works different in mod_ruby and ruby
17629 [domingo dad-] I'm trying some scripts using mod_ruby and I get a different behavior
^ RubyUnit: A bit more general test runner
17630 [ale crimson.] I needed to run multiple tests in the same directory quite
17651 [aaron hinnis] RubyUnit comes with a runtest.rb that can take multiple test files as an
^ Win32: Upgrade to Ruby 1.6.4 and GTK broken
17631 [mike lepton.] I installed Ruby v1.6.3-1 and 1.6.4-1 (both InstallShield) and I can't
17657 [ljohnson res] Ditto here; it worked with Ruby 1.6.2 but not with the latter two. Is this
^ Re: SWIG
17632 [Craig_Files ] We have done this two ways...
17662 [pbrannan atd] Sounds like we just need to specify -I on the command-line to gcc to tell
17663 [decoux moulo] Just write a ruby script ruby-config
17665 [pbrannan atd] Ah, I see what's going on here. I was running irb for Ruby 1.6.4, but
17666 [decoux moulo] Apparently no
17633 [mikkelj-anti] Have anyone successfully used the win32ole library for ruby?
^ SWIG and strings
17634 [Craig_Files ] Has anybody been able to typemap strings in swig with ruby?
^ TkPhoto on a button
17637 [hal9000 hype] Ruby/Tk question for you all.
17639 [kero d4050.u] It is really called TkPhotoImage; and you have to call new()
17681 [hal9000 hype] Ahh, thanks, Kero.
17762 [kero d4050.u] I hoped so, but wasn't sure :)
17820 [frios nutiba] Tank for your introduction into Ruby/Tk .
17911 [nagai dumbo2] leftImg = TkPhotoImage.new('file'=>'left.gif')
^ Hash as an instance variable...
17638 [sean-ruby-ta] Howdy. I'm not 100% sure why the 1st chunk of code doesn't
17640 [avi beta4.co] That's a Java idiom that doesn't mean the same thing in Ruby. In a class
17641 [sean-ruby-ta] This makes complete sense and was what I thought was happening. =20
17643 [dsafari xtra] I've been experimenting with FXRuby for a wee while now and have
17653 [ljohnson res] The deal with FXDocument is that it *can* be used as the base class for your
17702 [dsafari xtra] Thanks Lyle, this helps clarify what I need to do :)
^ Singleton and mod_ruby/eRuby
17648 [jimm fnord.i] Folks,
^ Ruby equivalent for ord() in Perl
17649 [YuriLeikind ] Can't find the equivalent of Perl ord() in