89719-90316

89534-89995 subjects 89969-90547

^ IPAddr as hashtable key?
89719 [nspring cs.w] I'm wondering if the methods required for using IPAddrs as

^ Re: Getting the tail of a list? [straying OT]
89736 [tibbetts acm] Nobody's really addressed this question posed by the OP. There are

^ Ruby binding for OpenDX?
89737 [Bil.Kleb NAS] I've googled and bladed, but to no avail...
89743 [ptkwt aracne] Wow, OpenDX looks cool.
89801 [tom infoethe] ruby-opendx.rubyforge.org is still available....
89819 [Bil.Kleb NAS] Ah, thanks for the lead... Is is listed in the RAA?  I missed it.
89823 [Bil.Kleb NAS] Doh!   You want me or Phil to create it.
89839 [ptkwt aracne] Bil,
89862 [Bil.Kleb NAS] Fair enough.
89999 [Bil.Kleb NAS] Actually, once I managed to get past the initial sentinel and on

^ Linked vs Array-based Lists (Was: Getting the tail of a list?)
89741 [jweirich one] Good answer, but a minor quibble is addressed below ...
89745 [ralph.mason ] It's always horses for courses though.  If the OP just wants to show the

^ [HELP] : how can I write a goto in ruby
89756 [aidez.moi fr] i am writing an embedded lisp interpretor in ruby, and i noticed that
+ 89762 [bob.news gmx] "smayemba" <aidez.moi@free.fr> schrieb im Newsbeitrag
+ 89763 [gsinclair so] Are you familiar with the "catch" method?  It implements a common use
+ 89764 [aidez.moi fr] I am working in an university project. I have to translate an embedded lisp
| + 89765 [bob.news gmx] "smayemba" <aidez.moi@free.fr> schrieb im Newsbeitrag
| | + 89769 [aidez.moi fr] "Robert Klemme" <bob.news@gmx.net> a ˝─rit dans le message de
| | + 89770 [aidez.moi fr] "Robert Klemme" <bob.news@gmx.net> a ˝─rit dans le message de
| | + 89771 [nobu.nokada ] This should exit outer loop.
| |   89774 [bob.news gmx] <nobu.nokada@softhome.net> schrieb im Newsbeitrag
| + 89773 [austin halos] class Lisper
+ 89793 [aidez.moi fr] //////////////// Thanks for all guys. It works fine. ////////////////

^ Re: Ruby.exe crashing with WIN32OLE WMI example?
89758 [wpinelo hotm] charset="iso-8859-1"

^ Ruby books (was "Re: ruby 1.8.1 windows installer")
89761 [gsinclair so] I doubt the few hundred letters they might receive would make much
89838 [ptkwt aracne] Quite true.  The letters would probably have to contain checks in for

^ Automaic command enter
89776 [davemoore22 ] I'm trying to use ruby to write a system admin script.
89780 [surrender_it] look for expect or rexpect

^ ANN: Object#detach and background method dispatching
89784 [evan falling] Object#dispatch - A very simple method that uses drb to allow any object

^ Warnings on assignments in conditionals?
89785 [david loudth] I consider the following statements to be perfectly legit (although
+ 89786 [lyle users.s] if a = 1 then true else false end
+ 89790 [Ephaeton gmx] It is. The 'gcc' style.. an additional pair of parens around the
+ 89799 [ahoward fatt] irb(main):008:0> if((a = 1)) then true else false end
+ 89892 [unet rexx.co] But this C idiom really doesn't make much sense in Ruby, since
| 89932 [bob.news gmx] "Bret Jolly" <oinkoink+unet@rexx.com> schrieb im Newsbeitrag
| 89955 [unet rexx.co] Yes, that's much better.
+ 89901 [bob.news gmx] "David Heinemeier Hansson" <david@loudthinking.com> schrieb im Newsbeitrag

^ Host command with rsh ?
89787 [nothing abso] charset="iso-8859-1"
89792 [rodrigo.berm] You can use net/telnet instead
89849 [jhauss gfi.f] Thank you Rodrigo,

^ Warnings on assignments in conditionals?
89788 [david loudth] I did understand the distinction, I was just puzzled that Ruby would
+ 89789 [michael_s_ca] would
+ 89791 [jgb3 email.b] For what its worth, you can get the same effect, without the warning,
+ 89853 [kjana dm4lab] -e:1: warning: found = in conditional, should be ==

^ DRb and Exceptions when using DRbUndumped
89794 [martin zsdfh] I have an object that lives in a server process (it includes DRbUndumped) and
89926 [nahi keynaut] Must be doable.  Can you post the code?
89961 [martin zsdfh] ok - first off I am using drb 2.0.4 with ruby 1.6.8

^ Bug: unpack+pack with Bignum/Fixnum conflict (ruby 1.8.1)
89795 [kero chello.] Receiving a binary 32-bits unsigned integer over a socket, I unpack it,

^ Ruby OS mentioned on /.
89796 [intc_ctor ya] ...
+ 89804 [neoneye adsl] I submitted it at osnews, not expecting it to show up at slashdot.
| 89852 [mikkel-remov] "Simon Strandgaard" <neoneye@adslhome.dk> skrev i en meddelelse
+ 89805 [maillist bes] ./ normally does not have vaporware... are a bunch of ruby (a very high
  + 89806 [zdennis mkte] Somehow i have this strange feeling that not all ruby peeps are strictly
  | + 89807 [matt technor] Well, I can't claim to be a hot-shot Ruby programmer, but I have written
  | | 89814 [maillist bes] I seriously didnt mean to offend. I myself almost exclusively code in
  | | + 89818 [huber alum.w] LOL!
  | | | 89820 [rpav mephle.] Did you mean freshmeat? ;-)  Or maybe sourceforge...
  | | + 89829 [matt technor] I wasn't offended at all.  I was just pointing out that I'm probably a
  | + 89808 [neoneye adsl] We hope to stand on the giant shoulders, and have
  |   + 89813 [feldt ce.cha] Check out LLVM (Low-level VM), I've been contemplating using that as a
  |   + 89837 [cc1 cec.wust] Umm I really don't think ruby is fast enough a language to write an OS in.
  |     89924 [lists zara.6] I doubtly think everything in the kernel will be implemented in pure
  + 89811 [ralph.mason ] Well, having written a few embedded operating systems, and plenty of
    + 89815 [maillist bes] true. my bad :)
    + 89817 [maillist bes] I am truely sorry I caused offence to anybody.
    + 89896 [jwkenne attg] Same here.  I was writing Assembler languages back when they and FORTRAN

^ HP-UX+mkmf.rb -- compilation problems with 1.8.1
89797 [kero chello.] configure.in specifies "-E" for DLDFLAGS on HP-UX in order to export

^ [Fwd: [support - Help] Terminal Emulation with IBM / S 390.]
89800 [tom infoethe] Received this message on the RubyForge support project forums; if anyone
+ 89810 [neoneye adsl] Have a look at this module
+ 89812 [batsman.geo ] "Ruby/SerialPort is a Ruby's library that allows you to communicate via

^ Problems running webrick on 1.8.1/OS X 10.3
89809 [david loudth] I'm trying to get Webrick running on Ruby 1.8.1/OS X 10.3, but I'm

^ configuring openssl and ruby
89816 [vjoel PATH.B] I have openssl installed at the default location and tried to configure
89828 [nahi keynaut] Run configure with "--with-openssl-dir".
89835 [vjoel PATH.B] Thanks! I knew it would be easy. I should have grepped the configure
89840 [nakahiro sar] It's a little long road to find.

^ BUGFIX for filelock.rb (Was: epoch/2 bug in filelock.rb?)
89824 [ jupp gmx.de] Nobody provided an answer so I did look into the problem.

^ Rockit & Ruby 1.8
89825 [ralph.mason ] Has anyone been successful making rockit work with ruby 1.8?
89826 [feldt ce.cha] The rockit that is out in the open is old and unsupported; it has known

^ What object-configuration approach to use?
89831 [mwilliams ag] Consider a class that supports a number of configurable properties.
+ 89833 [gsinclair so] I like that approach because it's clean, it's explicit, it's
| 89848 [batsman.geo ] Credits go to Hal Fulton
| 89857 [gsinclair so] - Couldn't the attr_writers be created within "initialize", making it
| 89868 [batsman.geo ] def initialize
| 89904 [gsinclair so] That's some good thinking.  The RDoc output for that is unpleasant,
+ 89836 [transami run] I might point out another means, not so well explored, through the use of
+ 89842 [ahoward fatt] ~/eg/ruby > cat foo.rb
+ 89883 [neoneye adsl] I usually wrap my class hierarchy inside a module.

^ Re: Converting a string to an array of tokens (TestCase Attached)
89832 [ng johnwlong] charset="Windows-1252"
89880 [James.Weiric] Try /./ instead of /.*/.  Unexpected stuff will come at you one character at
89885 [bob.news gmx] "Weirich, James" <James.Weirich@FMR.COM> schrieb im Newsbeitrag
89889 [James.Weiric] Ummm ... I was suggesting "|." *instead* of "|.*"
89899 [bob.news gmx] "Weirich, James" <James.Weirich@FMR.COM> schrieb im Newsbeitrag

^ What's the ruby way to avoid recursion?
89834 [pcallihan co] What is the ruby way to do this without recursion?
89854 [bob.news gmx] "Phil" <pcallihan@columbus.rr.com> schrieb im Newsbeitrag

^ drbssl problem - was Re: configuring openssl and ruby
89843 [vjoel PATH.B] I did a 'make distclean' after mucking around with extconf.rb, so I
89844 [nakahiro sar] distclean does not uninstall anything.
89845 [vjoel PATH.B] I never got past 'make' before, so nothing got installed.
89846 [nahi keynaut] Hmm.  Sorry, I misunderstood the problem.

^ Re: drbssl problem with certificates
89847 [vjoel PATH.B] $ ruby drbssl_c.rb
89850 [nahi keynaut] Yes.  There's no point in SSL without secure key management and
89851 [vjoel PATH.B] I understand.
89917 [nahi keynaut] Unfortunately, no.  You'll know...
89923 [vjoel PATH.B] That looks like an entertaining batch of code to pore over...

^ *nix binaries not linked from ruby-lang
89855 [martindemell] Shouldn't there be a link to the RPMs (and other binary *nix

^ Changing a Button Icon twice in one method (FXRuby)
89858 [bluesky stre] charset="iso-8859-1"
89863 [lyle knology] See the comments under the question "When do I call flush(),

^ Updated documentation
89864 [imobachgs so] I was looking for some updated documentation in ruby's homepage, but I only
+ 89903 [surrender_it] in ruby itself, I suppose :) just run RDoc over the library.
+ 89914 [jbritt ruby-] There is a slew of documentation listed at www.ruby-doc.org, though
| 90316 [imobachgs so] El Jueves, 15 de Enero de 2004 01:01, jbritt@ruby-doc.org escribiˇ║
+ 89927 [ptkwt aracne] Phil

^ [Q] Array.delete
89865 [news01 eric-] Is there a method similar to Array.delete which returns the modified
+ 89866 [bob.news gmx] "E.-R. Bruecklmeier" <news01@eric-bruecklmeier.de> schrieb im Newsbeitrag
| 89876 [news01 eric-] (a.collect {|x| x if x != "c"}).compact
| + 89898 [bob.news gmx] "E.-R. Bruecklmeier" <news01@eric-bruecklmeier.de> schrieb im Newsbeitrag
| + 89909 [gsinclair so] I think the theory (which I support) goes: 'delete' sounds like a
+ 89867 [emmanuel.tou] if Array.delete was duplicating the array before removing the value, it
  89871 [bob.news gmx] "Emmanuel Touzery" <emmanuel.touzery@wanadoo.fr> schrieb im Newsbeitrag

^ Concatenating variable number of Arrays ?
89869 [holmberg iar] I have been searching for a method to concatenate several arrays.
+ 89873 [andre digira] Someone will probably come up with something better, but you could do it
+ 89874 [bob.news gmx] "Johan Holmberg" <holmberg@iar.se> schrieb im Newsbeitrag
+ 89882 [neoneye adsl] how about arr1.flatten_once  ?
+ 89941 [flori ping.d] arr2 = arr1.inject([]) { |a,x| a + x }
  + 89946 [bob.news gmx] "Florian Frank" <flori@ping.de> schrieb im Newsbeitrag
  | 89948 [holmberg iar] I agree.
  | 89950 [flori ping.d] That's true: But it seems very clean to me. ;)
  | 89963 [holmberg iar] Thanks for the explanation.
  + 90055 [timsuth ihug] class Array

^ collect! and Enumerable
89872 [jim freeze.o] I just noticed that Enumerable does not support collect! although
+ 89875 [batsman.geo ] Does collect! (or map!) make sense for Enumerables? Keep in mind that
| 89878 [bob.news gmx] "Mauricio Fernߤdez" <batsman.geo@yahoo.com> schrieb im Newsbeitrag
+ 89908 [gsinclair so] A. collect always returns an array.

^ [OT] Re: collect! and Enumerable
89879 [batsman.geo ] that's why  "Does collect! (or map!) make sense for Enumerables?",
89884 [bob.news gmx] "Mauricio Fernߤdez" <batsman.geo@yahoo.com> schrieb im Newsbeitrag

^ Subscribed to 10028
89881 [wellpath mai] You have been subscribed to 10028.

^ [ANN] Release of rubric 0.3
89886 [ jupp gmx.de] I am proud to announce a new release of rubric, the Ruby-only news

^ ruby-dev summary 22435-22573
89897 [aamine lover] This is the first summary of ruby-dev ML in the year 2004.
89938 [feldt ce.cha] Very interesting and a nice way to try out a bytecode-VM core. I get
+ 89947 [ko1 namikila] [ Re: ruby-dev summary 22435-22573 ]
+ 90011 [george.marro] It's a very similar approach to ByteCodeRuby
  90020 [hal9000 hype] [snippage]
  90174 [george.marro] Sorry about the lack of docs, either on or off the web. I know it's

^ Stack level too deep (SystemStackError)
89900 [Jesper Jespe] I have a program where I'm getting a Stack level too deep (SystemStackError)
89906 [gfb tonesoft] What's your OS? BTW, it is a known issue with Mac OS X where in most
89929 [jolsen mail2] How?
89931 [gfb tonesoft] In bash, "ulimit -s" shows the current stack size in kbytes (defaults
+ 89934 [bob.news gmx] "Gennady" <gfb@tonesoft.com> schrieb im Newsbeitrag
+ 89952 [jolsen mail2] Thanks Gennady - that helped. (Mine was 4096)
+ 89968 [surrender_it] on a sidenote, someone I know has the same max stack size as me
  90000 [vanjac12 yah] I had the same problem with stacksize too low on a MAC OS X,

^ Nested scopes and the Singleton pattern
89902 [hal9000 hype] This is really two questions.
89915 [nobu.nokada ] Have you considered about race conditions?
89918 [hal9000 hype] Thank you, Nobu. No, I did not consider race conditions.
89919 [nobu.nokada ] Just using Thread.critical.  And seems close to your idea
89921 [hal9000 hype] Actually I like "new" instead of "instance". I guess this
89937 [nobu.nokada ] Not accurate, it uses 3-state; before, during and after
+ 89949 [pbrannan atd] I think I agree.  It took me an hour to understand the Singleton code
+ 89967 [swap gmx.net] You probably always need a 3-state if you want a self
  89989 [nobu.nokada ] Due to the line ending codes, your patch contains whole files.

^ Why initialize?
89910 [ralph.mason ] One thing I have often wondered is why the ruby constructor isn't called
+ 89911 [thomas_adam1] Set it up as an alias :new etc....???
+ 89912 [gfb tonesoft] Search ruby-talk archives at
+ 89916 [austin halos] FWIW, in vim, I use !init and it types
+ 89935 [bob.news gmx] "Ralph Mason" <ralph.mason@telogis.com> schrieb im Newsbeitrag
+ 89936 [nobu.nokada ] Note that classes also are objects.  Singleton method new and

^ Re: Ruby OS mentioned on /. (Ruby/DL)
89928 [ptkwt aracne] Yes.  It's hard to see how you could write an OS in Ruby at this point.
89945 [neoneye adsl] cannot, but we would like to write the lolevel layers in ruby, such

^ (Process.wait2)[1]
89930 [Ara.T.Howard] my understanding was that Process.wait2[1] would be the child process
89933 [andrew walro] see man 2 wait, and include/sys/wait.h

^ YAML bug: ruby 1.8.1 (2003-12-05) [i686-linux]
89939 [andrew walro] When dumping a Hash containing a string with a length greater than about 4100,
+ 89940 [decoux moulo] Well, probably the bug is corrected in the CVS version.
+ 89942 [bob.news gmx] "Andrew Walrond" <andrew@walrond.org> schrieb im Newsbeitrag

^ Undefined method 'flush' for Fox::FXApp ?
89943 [bluesky stre] I'm new to Ruby and OO programming, so please forgive my silly question.
89944 [lyle knology] I just tried it here (as a sanity check ;) and the method's definitely

^ NULL pointer given, Win32API
89951 [djberge qwes] Windows XP
89956 [tsyk yk.rim.] It seems that the parameters of the API are passed in wrong order.
89957 [djberge qwes] Aaagh!  Never mind - I had the arguments backwards.  It works.
89958 [djberge qwes] Ok, now the EventLog#close method is dying.  It's returning "the handle
+ 89974 [phasis bclin] Treat handle as integer.
+ 90031 [dooby d10.ka] [snipped beyond recognition]
  + 90069 [djberg96 hot] class Win32FooError < StandardError
  + 90070 [djberg96 hot] Oops, I think I spoke too soon.  I'm getting false positives.

^ Fyi: "Windows Services For Unix Now Free Of Charge"
89953 [jos catnook.] This may help Ruby use pthreads on Windows.

^ Cerise - database error ...
89954 [usenets yaho] I've been trying to get Cerise database sample apps to work but have no

^ Sockets problems on OS X 10.3
89960 [david loudth] It seems like it wasn't Webrick to fault for my problems getting the
89964 [rich infoeth] Well, i found a way to get webrick to work...its to do this before you

^ recvfrom(2) error on OS X 10.3.2
89962 [nathaniel ta] I'm working on a new DRb protocol, and intermittently get the following
90158 [nathaniel ta] Is there any more info I can give on this? It's really broken...
90255 [fukumoto nos] With regard to [ruby-talk:89962], I glanced through the code and it
90265 [nathaniel ta] Thanks for the patch! I now no longer receive Errno::EINVAL errors. I
90273 [batsman.geo ] Are you using non-blocking IO?
90278 [nathaniel ta] I believe DRb does underneath. I just find the EAGAIN error surprising

^ Ruby and RTP
89965 [jy75 voila.f] Good year 20004 to all.
90007 [ jimm io.com] <echo>

^ Quick Input -- Sockets vs. HTTP
89966 [dhtapp cox.n] I'm fiddling with a little personal client/server project (still in the
+ 89973 [vjoel PATH.B] What about XML-RPC? That's in the ruby stdlib as of 1.8.0.
| 89984 [dhtapp cox.n] Thanks for the thought.  I'm keeping that on the back burner for now.  I'd
| 89988 [sroberts uni] I don't know about Ruby's XML-RPC implementation, but there is nothing
| 90009 [tibbetts acm] I second the suggestion of XML-RPC. Ruby's XML-RPC library (the standalone
+ 89987 [nahi keynaut] * Security requirements
+ 89996 [bob.news gmx] "dhtapp" <dhtapp@cox.net> schrieb im Newsbeitrag
threads.html
top