25476-25912

25268-26442 subjects 25577-26623

^ Method overloading (option) Was: Re:
25476 [WYS HELBLING] me too ;-)
+ 16909 [matz ruby-la] Well, I haven't seen his code, so I cannot tell anything good for it.
| 16938 [spwhite char] Besides, defining multiple functions with the same name uses the same
| + 16951 [wys helbling] ....neither is it a Smalltalk-way
| + 16957 [decoux moulo] Sometimes space is not important
|   16960 [aleksei.guze] Now Ruby 1.6.4 gives control on how overloading would be performed. What
+ 16914 [matju sympat] How would that affect Object#methods, Class#instance_methods, and other
| 16916 [wayne.blair ] You must admit, though, that absent explicit dispatch based on type most of
+ 25485 [wys helbling] ....neither is it a Smalltalk-way
  + 16952 [avi beta4.co] Hmmm...
  | 16953 [feldt ce.cha] I'm also a bit skeptical as to the value of all this even if there are
  + 16963 [laotse lumbe] Well, offering my advice as a highly experienced Ruby developer, who has
  + 25512 [wayne.blair ] You must admit, though, that absent explicit dispatch based on type most of
  | 16920 [matz ruby-la] I admint explicit dispatch based on type often comes first to mind.
  | + 16930 [matju sympat] As I may have said before, you can make protocols correspond to empty
  | | 16962 [decoux moulo] You have just changed the syntax, and in a way that personnaly I don't
  | + 16965 [hgs dmu.ac.u] I think this is because people "encapsulate" the collection of methods
  |   + 16967 [aleksei.guze] The following is right.
  |   + 16970 [matz ruby-la] I think I can live without "a good way to collect the respond_to?
  |     16972 [hgs dmu.ac.u] A situation where the code is developing, so more methods are coming into
  |     16981 [matz ruby-la] def split(obj)
  |     17001 [hgs dmu.ac.u] OK, thank you.  That is clear.  Now, one can add (I'm writing this
  |     17005 [dblack candl] def split(obj)
  |     17010 [hgs dmu.ac.u] This is probably better than trying to add what I suggested.  The only
  |     17043 [matz ruby-la] It's interesting.  I'll consider about saving name information in the
  + 25534 [dblack candl] I have essentially no C++/Java background, so I don't want to pretend

^ "cvs commit" from within ruby
25481 [wys helbling] I am trying to commit a file from within a ruby script (automation
+ 17061 [decoux moulo] Work for me
+ 17064 [matz ruby-la] I'm not sure what was your problem.  But I think you have to capture
+ 17068 [wys helbling] Under "pure cygwin ruby (1.7.1) with the cygwin cvs" and "pure cygwin
+ 25502 [wys helbling] Under "pure cygwin ruby (1.7.1) with the cygwin cvs" and "pure cygwin
| + 17070 [decoux moulo] Perhaps a problem with the cygwin build
| | 17072 [Dave Pragmat] Or a DLL incompatibility between cygwin and cvs. Does cvs work OK
| + 17071 [wys helbling] <<SNIP>>
| + 17089 [wys helbling] Not the build, but the cygwin1.dll. When exchanging it with the cygwin1.dll
| + 25479 [wys helbling] Not the build, but the cygwin1.dll. When exchanging it with the cygwin1.dll
+ 25569 [chadfowler y] I haven't tried it, but have you seen Ruby/CVS?

^ Re: Extension building
25484 [ecashin terr] Why not?  One reason is simplicity.  Simplicity and consistency is one
+ 17401 [tony smee.or] Actually I've given this quite a bit more thought and I don't see any reason
+ 17409 [ecashin terr] You mean if someone who likes jam writes extensions, they can supply
+ 25554 [tony perforc] to
| 25562 [ecashin terr] If you saw my message as recent, maybe there's something wrong with
| 25912 [tony perforc] Ah. I'm subscribed to the mailing list - guess it's only just come through.
+ 25556 [ecashin terr] You mean if someone who likes jam writes extensions, they can supply
  17411 [tony smee.or] Exactly.

^ [Newbie] Forgetting "extended behaviour"
25486 [sheik carib-] One can use: obj.extend(Mixin1, Mixin2,...) to give
16943 [matz ruby-la] obj.extend(Mixin1)

^ Java implementation of a Ruby interpreter
25490 [japetersen w] Is there a Java implementation of a Ruby interpreter?
+ 17036 [glen enabled] It's been bantered around for a while on this list... I think a
+ 25553 [feldt ce.cha] Aren't you writing one? :-)

^ FXRuby Table and Cells
25491 [ rc duria.de] how do I get a FXTableItem from FXTable for a given row/column? I want to
17326 [ljohnson res] For now, there is no function to retrieve a pointer to an FXTableItem from

^ Is the ruby GC compacting ?
25494 [llothar mail] Or can i safely assume that a reference to a Ruby object is always the
+ 17075 [matz ruby-la] It's not, and will not be compacting GC.  I've been pretty nice to
+ 17094 [toddg linux1] ???
+ 25505 [toddg linux1] ???
  17119 [matz ruby-la] Since compacting GC moves addresses of objects, it makes writing

^ Re: /* */ comments
25495 [mdemello ruf] That's neat - it'd also let you comment out blocks of code quickly and
17359 [dnm pobox.co] Even being an old Lisp hand, I'm somewhat fond of the Haskell way of
17366 [gnhurst hurs] I also discovered that CAML uses (* *), and REXX uses /* */ for

^ Net::HTTP
25496 [atsang hk.li] I use the following code to download a number of files from a remote web
+ 17097 [aamine mx.ed] http.read_timeout = 30   # 30 sec
+ 25624 [hgs dmu.ac.u] require "timeout"

^ Class# syntax
25497 [beren lenny.] Could someone explain the Class#method syntax?  Is it just the same as
+ 17133 [matz ruby-la] If you see "Class#foo", "foo" must be among the method list returned
+ 25564 [feldt ce.cha] if
+ 25615 [hal9000 hype] Matt,

^ Re: ` (back tick) on Win32 machines
25498 [Stephan.Kaem] postings...
17333 [tsyk yk.rim.] What do you get from an environment variable 'COMSPEC'?
17379 [WYS helbling] "perl does NOT make use of the COMSPEC setting, but has kind of an own
17397 [Stephan.Kaem] Well, I do. Seems as if that would get me going on my Win2K and/or Win98

^ RubyUnit and names clashes
25499 [max malva.co] I have two independent utilities with corresponding unit tests.

^ finalizers, destructors and whatnot
25500 [david jazzne] I'm trying to define a finalizer to an object. I've dug through the docs
+ 16892 [decoux moulo] You don't need it, ruby will try to close the object when it's garbage
| + 16893 [decoux moulo] I've forgotten to say if it's an IO object
| + 16900 [david jazzne] What I actually want is that a connection to a database (I'm using pgsql)
|   + 16902 [decoux moulo] If you use the extension postgres, a call to PQfinish() is made
|   + 16954 [fritz.heinri] so you have to trigger garbage collection manually? Pythoneers can count
|   + 25504 [fritz.heinri] so you have to trigger garbage collection manually? Pythoneers can count
|     + 16955 [matz ruby-la] You don't have to trigger it either unless you REALLY care when
|     + 16956 [feldt ce.cha] This is WRONG. You do NOT need to manually invoke garbage collection in
|     + 25511 [feldt ce.cha] This is WRONG. You do NOT need to manually invoke garbage collection in
|     + 25567 [ned bike-nom] No; garbage collection happens automatically, though you can force it.
+ 16908 [matz ruby-la] finalizers are called AFTER object deallocation.  It's too late to
+ 16958 [fritz.heinri] i interpreted David Leals posting in the way that he is concerned about
+ 25477 [fritz.heinri] i interpreted David Leals posting in the way that he is concerned about
  + 16959 [matz ruby-la] I prefer explicit disconnection for the cases like this, rather than
  + 16966 [Dave Pragmat] I think that may have been the case.
    16971 [jweirich one] [... regarding behavior of finalizers under reference counting and GC ...]

^ Introspection and 'where's the source'?
25503 [johann physi] Is there any way that you can find the source code of a ruby method
+ 16977 [laotse lumbe] Scroll down about halfway on that page and you'll find the "System Hooks"
+ 16990 [matz ruby-la] Do __FILE__ and __LINE__ work for you?
+ 17000 [decoux moulo] Well, it's always possible to write *stupid* things, especially when your
| 17012 [seanacarley ] Where, what is iis?  I can't require it because I don't have it.
| 17014 [decoux moulo] Guy Decoux
+ 17003 [jweirich one] Actually, I would like to see this too.  I've been considering
  17006 [gnhurst hurs] So would I, but I see another side to it: while using irb, it happens

^ [newbie] Time.now into 4 bytes
25506 [mrp cre.cano] i would like to grab the current time into 4 bytes in an array.
+ 17087 [joe vpop.net] [Time.now.to_i].pack("L")
+ 25565 [ned bike-nom] [ Time.now.to_i ].pack('V').unpack('C4')

^ ` (back tick) on Win32 machines
25510 [Stephan.Kaem] On the Win2K box the following line works fine (and echoes the name of
+ 17168 [wjl mindless] The problem is that commands like "dir" and "cd" are not programs, they
| 17173 [aleksei.guze] # -----Original Message-----
+ 17169 [aaron hinnis] On Win32 platforms, commands like dir, cd etc are commands that are part of
| 17181 [tobiasreif p] I don't understand that.
| + 17182 [neumann s-di] Seems like "cmd /C" only allows executing programs but not build-in
| + 17183 [aleksei.guze] On my NT 2000 simple commands like
+ 17170 [Stephan.Kaem] Wesley, Aaron,
+ 25552 [Stephan.Kaem] Well, I do. Seems as if that would get me going on my Win2K and/or Win98

^ Re: Is there anything like a Ruby version of CPAN?
25513 [ljohnson res] Not quite like CPAN, but do you at least know about the Ruby Application

^ FL_EXIVAR
25517 [japetersen w] What means the FL_EXIVAR flag (defined in ruby.h)?
+ 17321 [decoux moulo] Why do you want to know this ? :-)
+ 17356 [japetersen w] We are implementing an Ruby-Interpreter for Java.

^ Re: Ruby on a PDA
25518 [kentda stud.] That last bit is wrong, as my pages are getting a wee bit stale in the
25650 [tobiasreif p] Did I?
25683 [kentda stud.] Uh, no, that would be terrible garbled quoting, probably from my part.
25684 [kero d4050.u] Would be nice! Some auto-triggered GC when near that ceiling, perhaps?

^ Ruby Unit
25520 [ronjeffries ] My link to RubyUnit is severely old and broken. I'm finally updating.
17125 [masaki.suket] Regards,

^ Snubbing the windows console
25525 [tyrennias ea] I'm writing a small program under Windows using the Ruby and GTK+ mingw32
+ 17135 [aleksei.guze] Try running rubyw.exe instead of ruby.exe.
+ 17149 [ljohnson res] Please see the question 14B in this MinGW FAQ list ("Compiling and
+ 25493 [ljohnson res] Please see the question 14B in this MinGW FAQ list ("Compiling and
+ 25600 [hal9000 hype] I think that there's a rubyw.exe that will behave the same as

^ module name
25527 [atsang hk.li] How can I dynamically refer to a module name?
+ 17393 [decoux moulo] pigeon% cat b.rb
| 17395 [WYS helbling] You either need to change "def func" to "def BaseModule.func" or you have to
| 17398 [atsang hk.li] Thanks, what I meant "Class" was actually "AClass"
+ 25588 [atsang hk.li] Thanks, what I meant "Class" was actually "AClass"

^ Net::SMTP error
25528 [atsang hk.li] I tried to send some email using the Net::SMTP object and got the following
+ 17137 [atsang hk.li] Oops, surprisingly, I can use the class method even without passing
| 17139 [aamine mx.ed] It is the feature of SMTP. Legacy SMTP does not require
+ 17143 [atsang hk.li] Originally, I got some kind of authentication error if I do not provide
+ 25501 [atsang hk.li] Originally, I got some kind of authentication error if I do not provide
  17180 [aamine mx.ed] Hummm. Did you pass first argument FROM_DOMAIN to start() ?

^ FXRuby How to delete a window?
25530 [doe nowhere.] How do I delete a window created at runtime so it's removed from ist parent
17327 [ljohnson res] parent

^ ##  These Pics Are HOT XXX  9698
25531 [qpgdvq nowhe] click my link to see my hot xxx pictures!!

^ Embedding ruby and the artistic license
25532 [llothar mail] I want to embed ruby in a commercial application. Which will perhaps
17360 [matz ruby-la] * regex.c is covered by LGPL, so that you have to follow its

^ Check This Out!!!  3433
25533 [xtjpze my.co] Check out our new store at www.our-superstore.com

^ Re: FXRuby 0.99.172 failure
25535 [ljohnson res] Ummm, not the right "fix" (as you might have guessed). The Ruby 1.6 header

^ I Truly Appolige To ALL For The: Check This Out:   7827
25536 [kpjfnu my.co] I truly apoloize to everyone for what happened. I was tring to send it to a test group and not the world.

^ Re: Distribute Extensions how ?
25538 [ljohnson res] This is a multi-part message in MIME format.

^ Re: Ruby 1.6.4 Win32 .exe installer
25539 [YuriLeikind ] Because what is packaged into this nice Ruby distribution
17324 [aleksei.guze] #

^ Re: FXRuby compilations consume NAN RAM?
25540 [ljohnson res] it

^ Ruby Wiki home page?
25541 [feldt ce.cha] No names but the RubyGarden Wiki home page looks kind of fun... ;-)
25651 [Dave Pragmat] Yeah - I just restored in.

^ More Than New  3689
25542 [xfkwny final] How would you like your own provider law firm standing ready to assist you

^ GUI tool suggestions for GUI targetted at low res TV display?
25544 [steve-clruby] I am progressing with a "media box" project - and its time to start with
17329 [john_van_v y] This is great, I have long tried to create the same sort of desktop using Perl.

^ Check This Out!!!  1835
25545 [pibvkx my.co] We Have Opened a new SuperStore for all you shopping needs. Check us out at www.our-superstore.com

^ newbee: Java -> Ruby
25550 [uwe.matthaeu] class MyMerge implements MyInterface extends MyBase
+ 17384 [matz ruby-la] class MyMerge < MyBase
+ 17385 [jweirich one] All you need is ...
+ 25655 [rich infoeth] module MyInterface
+ 25663 [dthompson ch] class MyMerge ... extends MyBase { }

^ Re: Ruby-enabled web hosting services?
25551 [toddg linux1] Perhaps very like the Perl Mongers?
+ 17430 [bmccoy chape] You might want to take a look at
+ 17431 [joe vpop.net] regards,
+ 17816 [mike stok.co] Mike

^ Need a LAwyer ?  1235
25558 [ymygiy final] How would you like your own provider law firm standing ready to assist you

^ Oracle module
25559 [web2ed yahoo] Is there a web page for the Oracle working group.
17557 [uu9r rz.uni-] I don't know what you exactly mean with working group, but I

^ Re: Ruby on Slashdot
25561 [timsuth ihug] Most of the arguments on slashdot are 'why bother with the enormous
25589 [kpowick on.a] Having been a reader of Slashdot for quite a while, and having taken the
17558 [elderburn mi] Given the presumption that the Slashdot audience is skewed younger, the

^ Ruby GTK Problems
25570 [tom eborcom.] I have installed Ruby 1.6.4 and ruby-gtk 0.25 from FreeBSD's Ports system
+ 17538 [support nova] We have a new Dell 2550 Server which 4.3-Release does not support.  We have
+ 25571 [support nova] We have a new Dell 2550 Server which 4.3-Release does not support.  We have

^ mail swerver is screwing up again
25573 [toddg foobox] I posted this message to the newgroup back in July.
+ 25666 [tobiasreif p] I received ~160 messages in the last ~2 hours or so :(
+ 25681 [alwagner uar] Sure glad to see that someone else noticed.  I thought it was a
  25685 [    s xss.de] you know that deja vus happen when they change something in the

^ Re: Constants and Variables
25574 [harryo zipwo] Here's a thought ... why not just say that freeze is the only way things
+ 17573 [harryo zipwo] I just tried this and it doesn't work!!  In fact, even if I do ...
+ 17576 [Dave Pragmat] Because that freezes the object that MAX_SIZE references, not MAX_SIZE
+ 17580 [matt lickey.] You are not differentiating two concepts: frozen objects and constant
+ 17588 [harryo zipwo] Of course!  Sorry, I should have realised that.
+ 25580 [harryo zipwo] I just tried this and it doesn't work!!  In fact, even if I do ...
| + 17574 [harryo zipwo] What I find even more bizarre is that even if I make it
| + 25575 [harryo zipwo] What I find even more bizarre is that even if I make it
| | + 17578 [jweirich one] Variables don't.
| | + 25576 [r2d2 mao.acc] Many languages have naming conventions for constants, functions, classes, etc
| |   + 17571 [harryo zipwo] I understand what you're saying, but call on my inalienabke right to
| |   | 17572 [harryo zipwo] Here's a thought ... why not just say that freeze is the only way things
| |   + 25612 [harryo zipwo] I understand what you're saying, but call on my inalienabke right to
| |     + 17583 [mjl emsi.pri] Ah, and I thought I was alone on that matter :)
| |     + 17584 [matju sympat] That's a trade off. Similarly you can't call an accessor :don't_sort,
| + 25669 [    s xss.de] it seems like you are preventing the Fixnum instance 100
+ 25633 [harryo zipwo] Of course!  Sorry, I should have realised that.
  + 17591 [hal9000 hype] You're not thick... you're just not yet thinking in Ruby.
  + 17592 [Dave Pragmat] max_size is a variable that references an object. The variable is not
  + 17596 [harryo zipwo] Thanks to Hal and Dave for clearing that up.
  + 25584 [harryo zipwo] Thanks to Hal and Dave for clearing that up.
    + 17600 [uu9r rz.uni-] Matz once called Ruby's constants "Shared Variables", IIRC, which is probably a
    | 17601 [avi beta4.co] That's probably the most useful way of looking at it, but I just think of
    | 17603 [kjana os.xax] Yes, yes.  And more....
    + 17610 [wjl mindless] It's not so hard to understand if you realize that ALL variables in
threads.html
top