66584-67363

66427-67744 subjects 66814-69327

^ TServer & windows
66584 [armin xss.de] I tried this simple example with the windows-ruby version
66622 [armin xss.de] As expected all works fine with the CYGWIN-based version.

^ project design issues
66586 [whitton atla] very few complaints. It's proven to make my daily life here at work much
+ 66594 [lyle users.s] OK.
| 66597 [whitton atla] Actually, I haven't. Sorry for running on an assumption. A search for on
| 66601 [lyle users.s] [See separate response from Robert Feldt regarding this topic]
| 66606 [whitton atla] Ideally, it would mean that a native widget like a table could be internally
+ 66598 [feldt ce.cha] Agreed. I especially don't like that multiple document interfaces looks no
  66599 [armin xss.de] I tried that in vain in the past.
  66600 [feldt ce.cha] I built Ruby 1.8 with --with-gcc='-mno-cygwin' and then built fox and

^ Debian & Gentoo installation instructions
66609 [dcarrera mat] I'm writing installation instructions for Ruby.  I'd like to double
+ 66611 [seth cql.com] apt-get install libruby-dev
| 66615 [dcarrera mat] I suppose that rubybook and eruby are optional.  Right?
| 66620 [emiel il.fon] Yes.
+ 66621 [scott scottb] On Gentoo
+ 66658 [n1k0 rogers.] The first step should be 'emerge -p ruby' (check if ruby is installed first, which happens if the user installs a package that depends on ruby)
+ 66663 [aredridel nb] Sounds right, but I'm not the one to ask.
+ 66683 [szegedy nosp] Does somebody working on a Ruby 1.8 ebuild, or does that
  66689 [citizen428 c] Portage being written in Python may be one of the reasons.

^ FAQ for comp.lang.ruby
66625 [hal9000 merc] RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby!  (Revised 2003-1-7)

^ Problem with log4r
66629 [info mjais.d] I am writing an article about logging with Python and I also want to mention
+ 66636 [surrender_it] probably the problem happens with ruby 1.8, I had that working with
| + 66638 [david.naseby] Search ruby-talk
| + 66672 [mjais web.de] the problem is there for 1.6.8, too
+ 66656 [slumos yahoo] I posted a patch: <http://sourceforge.net/tracker/?group_id=43396&atid=436183>
  66752 [gsinclair so] This is an important package.  Does anyone have the inclination to

^ Threads and DRb
66633 [hal9000 hype] I changed the title here because this is not
+ 66637 [B.Candler po] Hmm. DRb uses obj.__send__ to invoke a method. (I don't know what the
| + 66642 [surrender_it] (I could be wrong)
| + 66644 [hal9000 hype] I'd like Matz's comments on when this redefinition
|   + 66671 [kentda stud.] If it is always done like above, couldn't you do the
|   | 66674 [bob.news gmx] "Kent Dahl" <kentda@stud.ntnu.no> schrieb im Newsbeitrag
|   | 66705 [hal9000 hype] Good ideas, Kent and Robert.
|   + 66737 [B.Candler po] or shorter:    @__tsmutex ||= Mutex.new
|     + 66744 [hal9000 hype] DRb
|     | 66799 [B.Candler po] Sure. @pool is created as an array of <n> object instances. Whenever an
|     + 66767 [bob.news gmx] "Brian Candler" <B.Candler@pobox.com> schrieb im Newsbeitrag
|     | 66820 [B.Candler po] Sure, I didn't see much difference in checking sanity before or after the
|     | 66854 [bob.news gmx] This is a multi-part message in MIME format.
|     + 66802 [bob.news gmx] apparently the first post did not get through.  If it did, please
+ 66677 [m_seki mva.b] I always use MonitorMixin.
  66706 [hal9000 hype] Very good... having to remember to do

^ How to examine method signature ? (via Ruby introspection ?)
66635 [peterjohanns] I'm not guessing how to examine a method (or property ?), given its
66639 [B.Candler po] TkImage.instance_method("height").arity
66665 [nagai ai.kyu] The height of a TkPhotoImage object is determined at creating the object.

^ Killing an WIN32OLE IE Object
66641 [drbrain segm] I've written a nifty little script that loads a list of URLs in IE, and
+ 66647 [drbrain segm] On further investigation, IE only freezes when using WIN32OLE_EVENT.  So
+ 66688 [chrismo clab] I don't know if this is what you're looking for, in my ClIEController[1]
  66704 [drbrain segm] I've looked at it, but found it too big for the simple stuff I'm doing

^ Portland Rubyists meet tonight
66643 [ptkwt shell1] If you're in the Portland, Oregon Area please come.

^ [ANN] PSE as Ruby module and an RAA question
66650 [ jupp gmx.de] Announcement
66651 [vjoel PATH.B] "Science" would be too vague, but how about "Physical Science"? Or, as

^ [Q] How to destroy a TkToplevel window
66655 [dcarrera mat] I want to make a dialog using Tk (and I don't want to use TkDialog
+ 66662 [mgushee have] Hmm, this is an interesting puzzle. The direct cause of the error
| 66664 [dcarrera mat] button_quit.bind("ButtonRelease-1")  { dialog.destroy }
| 66668 [mgushee have] Well, I believe in the first case dialog.destroy gets evaluated at
+ 66666 [nagai ai.kyu] The reason of this problem is the rule of binding operation of Tk.

^ FXRuby - changing cursor position
66661 [colotechpro ] I'm editing an input form in FXRuby and want to position the cursor to
66676 [lyle users.s] Use the FXWindow#setFocus() method, i.e.

^ no echo
66673 [drejewic wsi] How to get string from console without echo? I need it for password reading.
66691 [ jupp gmx.de] EHLO
66751 [gsinclair so] Thanks for the demonstration, Josef.  I often wondered myself how to

^ [ANN] kwarts - a template system for Ruby
66680 [kwa kuwata-l] I'm pleased to announce the release of a new template system for Ruby,
66778 [kwa kuwata-l] I have done a simple benchmark test using ab(apache bench) command.
66888 [egabriel io.] I am posting my benchmark results now.  Kwarts is the fastest template

^ debugging
66681 [ramakrishnan] ppl.I am trying to debug a Ruby program.are there any debug tools.
+ 66682 [hgs dmu.ac.u] ruby -r debug thingy.rb
+ 66711 [seth cql.com] ruby -r debug

^ Re: $0  false ??
66685 [sabbyxtabby ] Why would anyone want to climb Mt. Everest?  It's a challenge! :)

^ Blocks and variable parameter lists
66686 [B.Candler po] { |a|   ...    }
66687 [decoux moulo] pigeon% ruby -e '1.times {|*a| p a}'

^ SCGI
66690 [ahoward fsl.] it's similar to fastscgi but is supposedly simpler to implement.  i would
+ 66701 [mikkelfj-ant] with
| 66703 [danj 3skel.c] It is interesting that you mention these together. I have been trying
+ 66702 [danj 3skel.c] I just took a look at scgi. It is easy to implement. However I question

^ $SAFE and creating New objects (File) again
66693 [rayz gloria-] So... I ask again ab it.
+ 66694 [rayz gloria-] $SAFE and creating New objects (File) again
| 66697 [decoux moulo] Well, if you want to speak about multipart form values in cgi, you have in
+ 66695 [decoux moulo] One of the variables `ImagesDir', `newImageFilename', `i_extension' is
  66759 [rayz gloria-] yoopiee!!!

^ pkg versioning
66696 [ahoward fsl.] rubyists-
+ 66699 [chrismo clab] This has been discussed here before, and, AFAIK, no consensus emerged. It's
| 66700 [djberge qwes] Are you thinking along the lines of Brian Ingerson's "only" Perl module?
+ 66712 [ptkwt shell1] There was some discussion of the need for this last night at the Portland

^ ruby-dev summary 19711 - 19772
66698 [ksaito uranu] This is a weekly summary of ruby-dev mailing list.
66709 [pbrannan atd] What are "original initialization codes"?
66732 [nobu.nokada ] According to [ruby-dev:19717], he seems to be trying original

^ Ruby article
66710 [mikkelfj-ant] 2003-03-07 Linux Journal

^ Ruby extension to get mount information in Linux
66714 [n.thomp road] Is there a library for getting information in drives that can be mounted and
66728 [n.thomp road] I'm not getting any replies so I'll try explaining what I am asking again in
+ 66729 [lyle users.s] See what happens if you search the Ruby Application Archive
| 66823 [n.thomp road] I found something that I think will tell me if a certain folder is a mounted
| 66824 [lyle users.s] If you search the RAA for the keyword "mount", one of the few matches is
+ 66761 [sroberts uni] /etc/fstab are the drives that can be mounted

^ when a ruby script gets arguments passed to it.....
66715 [glbny yahoo.] Dear All,
+ 66717 [gfb tonesoft] Global aray ARGV -- contains command line parameters.
+ 66719 [seth cql.com] There is a library distributed with ruby to parse arguments.  As an
  66724 [vjoel PATH.B] If the args are non-positional and do not contain whitespace, you can

^ Ruby Weekly News
66716 [Dave Pragmat] Ruby Weekly News: 03/10/2003

^ scanning strings
66718 [mikkelfj-ant] I want to scan a string for breaks. I want to pick both the breaks and the
+ 66721 [seth cql.com] You can use split with a regular expression.  Or you can use a regular
| 66726 [mikkelfj-ant] results
| 66772 [kjana dm4lab] What did you test?
| + 66773 [decoux moulo] pigeon% ruby -e 'p " abc def ghi ".split(/(\s+)/, -1)'
| | + 66782 [mikkelfj-ant] Arrgh - now I see. I need to create a submatch: /(\+s)/, not /\s+/
| | + 66796 [kjana dm4lab] Yes, I searched and got the discussion on it from the ruby-list
| + 66780 [mikkelfj-ant] I used 1.7.3, but mostly referred to the information provided by ri.
+ 66725 [mikkelfj-ant] I imagined something like

^ IRC
66720 [thallgren ya] I wanted to IRC but it seems there's no host named 'irc.openprojects.net' any
+ 66722 [seth cql.com] irc.freenode.net, channel #ruby-lang
| 66766 [thallgren ya] Thank you!
+ 66723 [dcarrera mat] Now its 'irc.freenode.net'
| 66733 [dave pragpro] Which site is this on?
| 66734 [dcarrera mat] I was *sure* I had seen it in the ruby-lang.org website, but now I can't
+ 66727 [n.thomp road] irc.openprojects.net is now irc.freenode.net

^ [ANN]  "Einfrung in Ruby" chapter 2 available
66730 [jbritt ruby-] Chapter 2 of "Einfrung in Ruby,"  Robert Gogolok's German translation of Daniel Carrera's  "Learning Ruby," is available on

^ extend / instance_eval interactions
66731 [jd204c nak.s] Why does instance_eval interfere with extend?  Should it?  If I remove
66735 [pit capitain] James, I'm not sure but I think it has to do with chaining of modules

^ Spanish documentation
66736 [dcarrera mat] Does anyone know of any Spanish Ruby books or other documentation?
66743 [jostein.bern] You might find something here?
66755 [emeza saisam] Well ..I am in this group , but  I think the project is dead . I have
66756 [dcarrera mat] I'm just getting startd, so it's all English right now.  I'm doing the
66765 [arbeizaf ono] Great! I have found little documentation about Ruby in Spanish. Although
66788 [vmreyes us.i] Daniel,
+ 66797 [luisma euros] I'm writting a tutorial of 3 articles for Todo-Linux (a spanish Linux
| 66800 [emeza saisam] selling this product. http://www.geocities.com/emezaj and
+ 66825 [dcarrera mat] I'd love some help if you have the time.  I know Spanish, so I could do it

^ a newbie question
66738 [trickster wi] I am trying to create an array from another array using a regular
66740 [dcarrera mat] Use Array#grep
66748 [gfb tonesoft] That's what I've been missing in Ruby!!! Thank you very much, Daniel (and
66750 [vjoel PATH.B] === is one of the unsung heroes of ruby. It's a protocol that unifies
66798 [trickster wi] Thankx all for the answers. Think I'm gonna read on === since its

^ Tk GUI Builder (or: Mom, can I bother ActiveState?)
66749 [surrender_it] Recently I hear few voices speaking about ruby/Tk
+ 66779 [lyle users.s] Remember that ActiveState isn't a charity; you would probably need to
+ 66813 [bobx linuxma] I asked a couple months ago. They were not interested at that time.
  66930 [roger.sperbe] "SpecTix provides a development environment to build applications with
  66946 [surrender_it] not tried yet, but looks wonderful, thanks!

^ How to add a destructive method to the String class...
66754 [thinker5555 ] I just started learning Ruby this weekend, and I have to say that I've
+ 66757 [vjoel PATH.B] It only gets better as you learn and use it :)
| 66834 [thinker5555 ] Thank you for this!  This solves the problem that Gennady spoke of with the
+ 66758 [gfb tonesoft] Check out String#replace
| 66833 [thinker5555 ] True.  I didn't think about that, although it [luckily] didn't matter for my
+ 66763 [matz ruby-la] class String
  66836 [thinker5555 ] Oops, now that I read over your reply, I realize that I wasn't very clear on

^ .rb to update RAA entry automatically?
66760 [chrismo clab] Didn't find anything in a brief search -- but I've got fuzzy head tonight.
66790 [lyle users.s] This would be useful for me too. The SOAP interfaces to RAA (included

^ Working on a CGI...
66764 [hal9000 hype] OK, here goes.

^ Gentoo Administration
66770 [bruce codedb] This isn't really worth an [ANN], so I'm not making it one.
+ 66807 [ptkwt shell1] This would be very useful.
+ 67038 [citizen428 c] Haven't looked at this script yet, but being an avid and active Gentoo
  67039 [bruce codedb] Michael,
  67159 [Maz nawak-on] I would also like a Gentoo-ruby advocacy group. I don't see much support
  67192 [google tompa] I'm a big fan of both Gentoo and Ruby, but...
  + 67248 [citizen428 c] I never meant to replace the current Portage by a Ruby one.
  + 67255 [Maz nawak-on] Agreed completly. However, we could help on making most use this schema.
    67363 [child t9.ds.] I think this is very good idea :)

^ Coding challenge: Recurring stream
66774 [martindemell] Given a stream of numbers that, at some point, recurs with period k,
+ 66783 [lennon day-r] It's nasty (as in geometric-scaling as string size increases) *and*
| 66784 [lennon day-r] Okay, I accidentally left a debugging output line in the original post.
| 66791 [lennon day-r] Hmm...yeah, it's *very* late. The original version can show false
+ 66785 [bob.news gmx] is it "numbers" or "digits"?
| 66915 [martindemell] Oops, yes, I'd meant to say 'digits'.
+ 66786 [tpeters inva] Sounds like some statistics is applicable. Here's my take that returns the
+ 66801 [bob.news gmx] not genial but working...
+ 66866 [sabbyxtabby ] Sounds like repeating decimals.  If by 'stream' you mean an infinite

^ Marshal.dump() taking a long time
66775 [pmak aaanime] I have a program that parses a text file into a list of objects, then
+ 66776 [nahi keynaut] Try
+ 66777 [pmak aaanime] print Marshal.dump(dict)
  66794 [matt lickey.] What version of ruby are you using?  String concatenation is much

^ memory leaks with instance variables
66787 [ ujb1 gmx.de] I've got a problem with the way ruby handles symbols (e.g. names of instance
+ 66789 [decoux moulo] Well, this is not crazy to use instance_eval : your problem is not with
| 66795 [bob.news gmx] "ts" <decoux@moulon.inra.fr> schrieb im Newsbeitrag
+ 66792 [nobu.nokada ] Symbols can be used again, it's not "leak".

^ Problem with Mysql in win ruby 1.6.8
66803 [greg brondo.] I've installed the PP 1.6.8 version of Ruby for windows.  It comes with
+ 66804 [J.Hawkeswort] Greg,
| 66829 [greg brondo.] require 'dbi'
| 66832 [sergei dolma] Looks like you didn't install mysql-ruby. It's ruby interface for MySQL
| 66844 [paul snake.n] I don't think this is it.  It's failing even to find the DBI MySQL driver,
| 66846 [greg brondo.] Ok.  I looked in the directory structure.  Under 1.6 there is a DBD and
| + 66857 [uu9r stud.un] That should be easy to fix.
| | 66875 [greg brondo.] That worked!  Thanks!
| + 66868 [paul snake.n] Ah.  Then you have mysql-ruby installed, but you don't have DBI's MySQL
+ 66811 [child t9.ds.] I you sure you have both dbi *and* mysql-ruby installed? I had the same
  66818 [greg brondo.] As far as I know.  I used version 1.6.8 from rubyinstaller.sf.net.  It's

^ Ruby newbie uninstall question?
66805 [colin unibus] I am a fresh Ruby convert (from a C++, Java & Python etc. background), armed
+ 66806 [ jimm io.com] If you want to get rid of everything, remove /usr/local/lib/ruby,
| 66810 [colin unibus] Thanks for your rapid response Jim!
| 66882 [surrender_it] I agree that we should have a "make uninstall".
+ 66808 [nobu.nokada ] 1.6 and 1.8 can coexist except for $(prefix)/bin/{ruby,irb}
+ 66892 [egabriel io.] If you tend to build your own files a lot, and your OS doesn't take care
| 66897 [eblanton cs.] Most applications that use automake actually have an uninstall ... as
+ 66912 [colin unibus] Dear Jim, Gabriele, Nobu, Ethan, Sam & Ryan,
  66945 [surrender_it] The Ruby community is the best community you will find anywhere on the
  66961 [hal9000 hype] "Pickaxe" is

^ Prevent method override?
66809 [jd204c nak.s] Is there a way to prevent a subclass from overriding a method that was
+ 66812 [matz ruby-la] def statement calls "method_added" _after_ the method definition, so
| + 66847 [bulatz integ] this can be done by aliasing all existing methods and "restoring" them from aliases
| + 66876 [jd204c nak.s] Thanks so much.  The latter problem is not an issue for me.  Also, in
|   66877 [decoux moulo] Try this
+ 66867 [pbrannan atd] ...
threads.html
top