16683-25628

16502-25454 subjects 16927-25521

^ Re: comp.patterns  ?
16683 [stephan.feit] It seems there is no need, referred to the count of answers in this thread.
16854 [rhierro mdf.] I would like a comp.patterns :)

^ opening db files made by apache dbmmanage
16686 [fritz.heinri] how can i open db files (db build in in c library under freebsd, 1.8 i
+ 16689 [decoux moulo] Well, the docs from dbmmanage say
+ 16691 [decoux moulo] Well, the docs from dbmmanage say
+ 16693 [fritz.heinri] Sorry for the noise, the dbm interface works, it only seems to insist on
+ 16695 [fritz.heinri] Thank you for the quick response,
+ 25441 [fritz.heinri] Sorry for the noise, the dbm interface works, it only seems to insist on
| + 16699 [decoux moulo] dbm = 0;
| + 25446 [decoux moulo] C library. For example on Solaris
+ 25447 [fritz.heinri] Thank you for the quick response,

^ weird behavior of editor
16688 [zeljko fon.f] I use Win and noticed strange and silly behavior. I'm learning Ruby and

^ AW:  Re: embedding C++
16692 [WYS helbling] Welcome.

^ 64-bit ruby
16696 [szegedy or.u] First of all, I'd like to thank Matz for his patience in
16718 [matz zetabit] Last time I tried, Ruby ran fine on 64bit alpha linux.

^ Re: ruby-mode.el
16703 [adam theloni] It gets distributed with ruby itself, I think.

^ File#abspath extension and FindBin module
16704 [adam theloni] I have to agree with the other delurkers - ruby is a truly beautiful

^ e: bag difference
16708 [szegedy or.u] Both soultions are quadratic, because index is linear.

^ DBI 0.0.5 problem
16714 [kpj kki.net.] Could someone please explain why all my DBI scripts are failing ?
16717 [neumann s-di] The DBD is named "Mysql" not "mysql" (like Perl).
16761 [kpj kki.net.] dbh = DBI.connect('DBI:Mysql:test', '', '')
16776 [neumann s-di] Ah, I know where your problem lies.
16825 [kpj kki.net.] /usr/lib/ruby/site_ruby/1.6/DBD/Mysql/Mysql.rb:46:in `connect': must
16826 [neumann s-di] No problem.

^ File.flock blocks forever
16715 [mike lepton.] I try to use File.flock to lock a file in a cgi script, but I can't get
+ 16721 [ben_tilly op] This is not an answer to your question, but it is a note
+ 16815 [mike lepton.] I repost about this thread because it seems to be a bug in ruby and
  16818 [decoux moulo] Well, flock is not thread safe.

^ Possible problem found in version 1.6.3...
16716 [will.sobel B] This message is in MIME format. Since your mail reader does not understand
16805 [matz zetabit] Ah. you were using the bug fixed in 1.6.3

^ Question about reflection-ish issue
16722 [ser germane-] I was trying to instantiate an object given only a String name of the class,
16757 [decoux moulo] It's best to use #const_get see [ruby-talk:13414]
16775 [ser germane-] Thanks, Guy, that's the ticket.

^ setsockopt options
16723 [joe vpop.net] Is see that not all socket options are supported for setsockopt, for
16747 [matz zetabit] Just because I didn't know these constants.  I'll add them later.

^ Simulating call-by-reference in Ruby
16726 [senderista h] I'm currently working on Ruby bindings for ORBit and thought that it
+ 16727 [paulp Active] I think that your proposed solution is actually possible in Python but I
+ 16730 [gnhurst hurs] I agree with you here. It would be nice to have some means to access
| 16731 [hal9000 hype] implementation
+ 16746 [senderista h] It occurred to me that return-by-reference (e.g. IDL out parameters)
  + 16786 [matju sympat] This parallels something I've been elaborating about RubyX11 (and finally
  + 16787 [pbrannan atd] One problem with this is that because you can't really get the values of
    + 16798 [neumann s-di] class InOut
    + 16837 [senderista h] It seems to me that holder classes such as what you describe are
    + 25469 [senderista h] It seems to me that holder classes such as what you describe are

^ Fwd: Some quick benchmarks on scripting languages
16728 [wjl mindless] I've been preaching Ruby to a friend of mine at Agilent, and answering
+ 16732 [hubert cs.ny] I checked briefly on the archives of the ruby-talk on benchmark.
| 16762 [matt sergean] Note that as usual with benchmarks, you often don't implement things the
| 16827 [ben_tilly op] A note.  Looping over ranges is generally faster than doing
+ 16877 [wvucenic net] Thanks for posting the benchmark info!  I found it very interesting.

^ use of ruby by testers
16729 [marick testi] I'm one of the editors of a magazine mostly for testers

^ ruby-talk archives broken (was Re:  File.flock blocks  forever)
16735 [gnhurst hurs] Hmm.  In fact, ruby-talk.com just proxies the 'real' mailing list
16743 [sinara blade] Sorry, this was the machine trouble of blade. I rebooted it.
16744 [gnhurst hurs] Thank you.

^ socket bug
16737 [joe vpop.net] I'm trying to track down a problem with sockets that I'm having.  I
+ 16738 [Dave Pragmat] You're running out of FD's in the server process. You need to close the
| 16739 [joe vpop.net] Thanks Dave!
| 16745 [pbrannan atd] trap("CLD") do
| 16779 [joe vpop.net] trap("CHLD", "SIG_IGN")
| 16781 [pbrannan atd] Note that this is disallowed by POSIX.  SIGCHLD is the signal that causes
+ 16740 [Dave Pragmat] I just ran it on my Linux box (Linux zip 2.4.0-64GB-SMP) for 30,000
+ 25459 [Dave Pragmat] I just ran it on my Linux box (Linux zip 2.4.0-64GB-SMP) for 30,000
  16741 [joe vpop.net] Perish the thought! :-)

^ Symbols, and their use as hash keys
16748 [   xm w3d.ru] May anyone enlighten me with knowledge of how symbol integer value
+ 16749 [matz zetabit] You're not suppose to understand that. ;-)
| 16751 [   xm w3d.ru] Thanks ... visited ruby.h but forgot about parse.y
| 16752 [matz zetabit] because "intern" is not free, I think.  You called intern 10000 times
| 16753 [   xm w3d.ru] The same stuff I did for string case, just not used them :)
| 16755 [matz zetabit] Oops...  That was caused by a bad hash function defined in st.c
| 16756 [   xm w3d.ru] Thanks a lot! ;)
| 16758 [matz zetabit] I forgot to modify one place.  You need to apply this additional
+ 16750 [matju sympat] It's the integer that would be returned if you were running Ruby 1.4
+ 16754 [fritz.heinri] this is an explanation for speedup, not for slowdown.
+ 25460 [fritz.heinri] this is an explanation for speedup, not for slowdown.

^ Submitting to Peer Review
16759 [seanacarley ] I am new to Ruby. (~2 weeks experience)  I have written a nearly trivial

^ UNIX man (was:   Re: socket bug)
16760 [   ml sph.de] Also las ich bei Joseph McDonald [mailto:joe@vpop.net]
16789 [hal9000 hype] I'm not the man they think I am at home,
16790 [joe vpop.net] On a more pragmatic note, I found a pretty good reference on sockets

^ uniq and "equivalence"
16763 [hgs dmu.ac.u] Array.uniq seems to rely on deleting multiple references to the same object.
16764 [decoux moulo] Array#uniq make first an hash, then delete the elements.
16769 [hgs dmu.ac.u] is that Object#hash() or Hash.new()?
16770 [decoux moulo] Define a #hash method for your class Trapezoidal_fitness, actually because
16774 [hgs dmu.ac.u] Ok, I see which elements can be deleted now...
+ 16778 [gc mandrakes] Of course you can't :-).
| 16795 [decoux moulo] When ruby store an object in an Hash : 2 objects are identicals if
+ 16791 [decoux moulo] ruby can do it :-)

^ Ruby bug, or what :)
16765 [   xm w3d.ru] ChangeLog rel. 1.478).
16773 [matz zetabit] It's still under experiment.  Please fetch the version back June 21st.

^ Singleton method == Class method ??
16766 [Laurent.Jull] Just one thing I'd like to be sure about: Ruby extensively uses the term
+ 16767 [decoux moulo] Well, probably the FAQ can be usefull :-)
+ 16768 [Dave Pragmat] A singleton method is associated with just one object. A singleton

^ Perl modules from ruby?
16771 [ggrothendiec] I am writing small programs to extract certain information from web

^ mkexports.rb and VC6SP5
16777 [maverick cs.] For some reason my VC6 (SP5, running on Win2k) generate object files with

^ accessing instance variables in ruby debugger
16780 [ianm actives] If I have an instance of small ruby class with 2 instance variables

^ strange behaviour with fork and set_trace_func
16782 [pbrannan atd] After the discussion yesterday about getting the caller's binding, I've
16804 [matz zetabit] OK, let me explain.  This was an ineresting puzzle.

^ UNSUBSCRIBE
16783 [farrukh love] UNSUBSCRIBE

^ pretty printing with enscript?
16788 [alwagner tca] By chance, has anyone done a pretty printing file for ruby in enscript?
16797 [neumann s-di] See RAA Ruby/Enscript.
16814 [alwagner tca] Thanks, Michael.  But the home page is gone and email to the author bounces.
16817 [neumann s-di] I have it. But it's the complete enscript.st file.
16820 [ser germane-] Hey, I'd like to see that, too...

^ wrapping structures
16792 [stillflame g] hey ruby hackers,
16793 [decoux moulo] Well it's difficult to say but why all these indirections ???
16819 [stillflame g] Dictionary LP_dict;
16821 [decoux moulo] Just write it like this

^ unsubscribe
16794 [kravchenko s] Could you please unsubscribe me from the ML?

^ 
16796 [farrukh love] #help

^ Problems compiling FOX for Ruby (FXRuby) on NetBSD
16799 [neumann s-di] I didn't get FXRuby (Ruby interface for FOX GUI Toolkit) available from
16800 [bombadil wan] I get exactly same problem compiling it in Debian GNU/Linux.
+ 16861 [ljohnson res] this do
| + 17687 [Craig_Files ] Lyle,
| + 25582 [Craig_Files ] Lyle,
|   + 17704 [decoux moulo] What is your version of gcc ?
|   + 17720 [Craig_Files ] Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
|   + 25628 [Craig_Files ] Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
|     17723 [decoux moulo] This problem is corrected in 1.7.*
+ 16964 [kjana os.xax] None said nothing here so....
  17057 [neumann s-di] Thanks for the info. It helped me to solve the problem.

^ rb_define_class() vs Class.new()
16801 [kero d4050.u] From C, rb_define_class() defines a named class, however, on the Ruby
16802 [decoux moulo] What do you want to do with such a function ?
16808 [kero d4050.u] Construct a class with a name provided by the user.  It would be
+ 16809 [decoux moulo] pigeon% ruby -e 'A = Class.new(Object); p A.name ; p A.type'
| 16828 [kero d4050.u] That's the unexpected feature, all right.
| 16847 [decoux moulo] What you must understand is that A and B make reference to the *same*
| 16865 [kero d4050.u] Yup.
| 16882 [decoux moulo] Because you don't really need it.
| 16918 [kero d4050.u] Guy,
| + 16921 [matz ruby-la] I'm sorry that I'm not Guy.  But I believe you admit me.
| | 16937 [kero d4050.u] no problem :)
| | + 16939 [Dave Pragmat] Classes do not need to have names. It's a pure convenience used when
| | | 16979 [kero d4050.u] *wakes up* ... Who, me?
| | + 16944 [matz ruby-la] Oops. ;-)
| + 16961 [decoux moulo] If Class.new has this syntax, I ask that *all* classes has the same
+ 16822 [Dave Pragmat] I'm not going to explain this well, so bear with me.
  16823 [decoux moulo] This is a little more complex (this is just to give  some troubles :-)))
  16824 [Dave Pragmat] Yes. I believe that anonymous class names are cached (as hidden

^ Getting a class object from a string containg its name
16806 [larsch cs.au] I need to get a reference to a class object from a string with the name of

^ [BUG?] Kernel::load wrap parameter
16810 [ps radiac.mi] (CC any replies to me please - not subscribed and have crappy newsserver)
16811 [ps radiac.mi] I jumped the gun here. Classes, functions etc aren't propagated but
16812 [decoux moulo] Yes, 'load "file", true' make the load in an anonymous module
16813 [ps radiac.mi] I was experimenting with global variables and misunderstood the sentence
16816 [matz zetabit] Yes, global variables are "global" by its own definition.  Don't abuse

^ Totally newbie seeks a bit of help
16829 [s_skroeder h] I've just downloaded the 'One-Click-windows installer' of Ruby (ver. 1.6.3)
+ 16830 [martin massi] Looks like you've spelt initialize incorrectly. Also your last line should
| 16831 [s_skroeder h] Thanks Martin....
+ 16832 [joe vpop.net] class Person
| + 16833 [martin massi] Execution of a program starts at the top of the file that you pass to the
| + 16851 [tobiasreif p] I agree, having to write 'name' three times seems to be ineffective.
+ 16838 [ser germane-] You spelled "initialize" wrong.

^ Handling of 'national characters' in strings
16834 [s_skroeder h] This is something i'm working on....

^ Re: curses window + scroll
16836 [maverick ido] Nevermind, I figured it out. I had to add a scrollok wrapper into

^ RE: national characters is strings
16841 [aleksei.guze] Next week I'll try to rebuild Ruby with Unicode strings. But it would be
16842 [matz zetabit] I'm a Japanese-speaker and having similar experience.  I'm currently
16843 [aleksei.guze] That's good enough. But I'm afraid this could ( not would ) cause string
16844 [matz zetabit] Ruby already has the ability to handle multibyte character string
16845 [aleksei.guze] I'll help as soon as You call. I like C++ much more than Assembler :)))
16846 [matz zetabit] When you have spare time, could you check out and see Ruby M17N from
+ 16848 [decoux moulo] My question is probably stupid, but I've not found how to change the
| 16858 [matz zetabit] Because it's not there yet. (I told you it's a prototype ;-)
+ 16849 [aleksei.guze] I'm sorry I cannot use CVS ( have no practice ) :((((((
+ 16852 [aleksei.guze] I've taken a look  at m17n.
  + 16853 [decoux moulo] Please, take a look at this :-)
  | 16856 [aleksei.guze] I catched that. I'm sorry I don't know Japanese language.
  | 16860 [matz zetabit] Well, no.  But we have toooo many characters, so that we need
  | 16874 [aleksei.guze] ===========================================================
  | 16884 [toddg linux1] ...
  + 16859 [matz zetabit] They should have same encoding (or at least compatible encoding).

^ [ANN] XML-RPC for Ruby 1.6.6
16850 [neumann s-di] I am pleased to announce XML-RPC for Ruby 1.6.6.

^ about differences of exec and async_exec in postgres module
16855 [bombadil wan] I don't know id exist any pragmatic difference between these functions of
16857 [decoux moulo] Look at

^ [ANN] NQXML v1.0.2 (bug fix)
16862 [jimm fnord.i] NQXML version 1.0.2 fixes errors in the DOCTYPE public identifier strings

^ Writting a profiler / line coverager / debugger for ruby
16863 [llothar mail] I just looked in the ruby reference and didn't find something like the

^ SQL Relay
16866 [david.muse z] I hope this is the right forum for this announcement, I didn't see a ruby-announce list or anything similar so I'm posting it here.
16878 [jilanik tin.] Very interesting. Thank you!

^ Something strange with Ruby's inheritance mechanism
16868 [jaco teaser.] As Ruby beginner, i try some "canonical" OO scripts. Doing so, I've

^ Something strange with Ruby's inheritance mechanism
16869 [jaco teaser.] As Ruby beginner, i try some "canonical" OO scripts. Doing so, I've

^ 
16881 [aleksei.guze] # -----Original Message-----
16883 [decoux moulo] I'm agree with you :-)

^ Method overloading (option) Was: Re:
16887 [WYS HELBLING] me too ;-)

^ finalizers, destructors and whatnot
16888 [david jazzne] I'm trying to define a finalizer to an object. I've dug through the docs

^ overloading
16889 [aleksei.guze] I understood. Ruby already has mechanismus sufficient for overloading.

^ style in ruby cgi scripts
16896 [YuriLeikind ] Today I played with Ruby cgi library
+ 16910 [matz ruby-la] How about trying eRuby?  See RAA <http://www.ruby-lang.org/en/raa.html>.
+ 16915 [YuriLeikind ] Looks tempting. I will try this, thanks a lot.
+ 16950 [mgiacoma dsi] I   agree   with   you   and   when  I'll  'really  use'  Ruby  in  my
+ 25478 [YuriLeikind ] Looks tempting. I will try this, thanks a lot.

^ Visiting ruby source in emacs
16897 [marick testi] I use Emacs as my programming environment for Ruby. I wanted it set up so
16898 [Dave Pragmat] Hope you don't mind, but I added this to
16917 [bernie bould] Yes, I agree it is a good one. Dave, thanks for this link. I didn't know about

^ Re: Something strange with Ruby's
16903 [mirian cosmi] Interestingly enough, I find it much faster to write code in
17164 [marick visib] What makes code readable is a complicated thing. For me, it feels as if

^ rb_define_method when argc is -1
16904 [Laurent.Jull] I have a piece of code under my eyes where rb_define_method is called
16905 [decoux moulo] See README.EXT
16911 [Laurent.Jull] Thanks for the clarification Guy.
16912 [decoux moulo] Well, it's difficult to say with only this information. You have a problem

^ debugging Ruby extension library
16906 [hdstich hdst] i have some problems (memory leaks) with a Ruby extension
16913 [matz ruby-la] Try static link during debug.  See README.EXT

^ Ruby equivalent to -B and -T functions
16923 [Brett.W.Denn] Does Ruby have equivalents to the Perl functions -B and -T? (in Perl, -B
+ 16928 [gnhurst hurs] I looked this up before, and just did it again.
+ 16942 [matz ruby-la] No.  The definition of text/binary is too much western centric.  It
threads.html
top