10245-10616 subjects 10683-11931

10443 [wmwilson01@h] Well, either nobody wants me to post this, or nobody cares if I do ;)
+ 10506 [hgs@dm .a .u] Should this include /\.rbw/ for RubyWin Windows port as well?
+ 10508 [akr@m1 n. rg] Wow!  It is that I wanted to use with ViewCVS.
  10509 [wmwilson01@h] It does now :)  Thanks for taking a look.  I'll give it a couple of days, to
  10510 [wmwilson01@h] Thanks very much!  This seems to have fixed a problem I was having as well.
  10546 [akr@m1 n. rg] Try ftp://alpha.gnu.org/gnu/enscript-1.6.2.tar.gz
  10570 [wmwilson01@h] Thanks very much!!

Out of order ruby-talk reception.
10447 [schneik@us i] Some time ago someone mentioned that they wanted to keep the mail list
+ 10460 [  zak@al .c ] Most of the internet mail are delivered AFAIK as UDP traffic, which is
+ 10471 [elderburn@mi] I haven't noticed this particular on the Ruby list, but then again I haven't
  10474 [hal9000@hy e] in

Instance method in Mixin
10454 [jim@fr ez .o] module Notes
+ 10456 [Dave@Pr gm t] the 'attr' line defines an accessor method (called concertA) for the
| 10459 [jim@fr ez .o] hmmm...I'm used to using
| 10461 [Dave@Pr gm t] attr by default creates the read accessor. When the second parameter
+ 10457 [mike@st k. o] On page 234 it says
+ 10462 [  zak@al .c ] At module Notes we call method attr passing symbol :concertA as a

Tendency toward shorter variable names
10455 [0317025435@t] I'm also a fan of long descriptive names when doing C++. Like

overriding NameError exception
10467 [joe@vp p. et] hash = {}
+ 10468 [joe@vp p. et] Oh yeah, this would probably work: hash = Hash.new(0)
+ 10479 [matz@ze ab t] How about the following?

Telnet problem
10469 [noel.rappin@] I posted this a few days back, and I never got a response.  But I'm still

Recursive globing behaviour
10473 [thlai@ma l. ] if I understand correctly, recursive globing currently

threads and resolving names
10477 [joe@vp p. et] I've got a big list of hostnames, and I need to resolve them to
+ 10481 [matz@ze ab t] Sorry, resolving by gethostbyname(3) etc block whole process.  It's a
| + 10482 [joe@vp p. et] Ah, that is what I feared.  I guess the answer is to write
| | 10486 [joe@vp p. et] Or perhaps write it in straight ruby... looks like perl
| | 10487 [adam.abrams@] ...
| + 10485 [akr@m1 n. rg] works, for me.
| | + 10498 [joe@vp p. et] FYI, this is working great for me!  The neat thing was that
| | + 10501 [matz@ze ab t] Do you mind if I include these into standard distribution?
| |   10502 [akr@m1 n. rg] There is no problem, I think.
| |   10512 [matz@ze ab t] Done.  Could you tell me when you update these files?
| + 10516 [matju@ca .o ] matju
+ 10538 [wscott@ic ip] As other people will answer, this is hard to do with ruby thread.
+ 10551 [tarod@ho e. ] Since the operation is blocking the whole process, why not fork?

Need a Jpn->Eng Translator?
10488 [njohnson6157] I speak/read fluent Japanese and am a native speaker of English.  Is
+ 10494 [barry_shultz] Quite a nice offer!
| 10500 [schneik@us i] # I speak/read fluent Japanese and am a native speaker of English.  Is
+ 10503 [tammo.freese] First of all, thank you very much for asking. Although I think
| 10521 [aleksi.nieme] I welcome you to the community!
| 10523 [hgs@dm .a .u] It occurs to me that this cuts both ways.  I have written a little
| 10525 [matju@ca .o ] I can translate in French.
| 10528 [hgs@dm .a .u] Thank you for this kind offer.  You are under no obligation, but
| 10615 [matju@ca .o ] AFAIK, there are 3 French-speaking people on this list -- including
+ 10526 [hoanga@al m.] I've been idly monitoring the threads on Ruby talk and found this one
  10552 [njohnson6157] Thanks for the kind responses!  I'll start hunting out some of these

10495 [adam.abrams@] ...

Linking statically with xmlparse - how?
10507 [florian.walt] I'd like to assemble a completely statically linked version of Ruby
10548 [paulch@ea th] Florian,
10834 [florian.walt] This one worked partially. The run of configure with the described

Amazon.co.uk and pickaxes
10513 [Dave@Pr gm t] I just noticed that Amazon in the UK are finally admitting to having

10515 [paul.cotton@] # get 10-14

Which language is right for you
10517 [g24ever@ho m] Check out

Embedded Ruby (Part III)
10518 [olivier@vi e] I've moved on quite well with emmbedded Ruby now.
10519 [hgs@dm .a .u] Is there any chance you could write up your experience on the WWW
+ 10520 [decoux@mo lo] It is used to indicate an error.
| 10530 [olivier@vi e] This is indeed very valuable!
+ 10529 [olivier@vi e] Of course, I'll prepare a little howto as soon as I've managed this last
  10531 [hgs@dm .a .u] Thank you.
  10534 [ben_tilly@ho] From the standard PR book, GC.start should do it.
  10554 [olivier@vi e] Thanks for the advice.

Prioritize the need for documentation
10522 [aleksi.nieme] As I promised in mail [ruby-talk:10521], I'm querying the opinion of the
+ 10542 [sol123@ms .c] ...
+ 10596 [JCA02266@ni ] If these are translated into poor English,
| 10599 [aleksi.nieme] That's great! Which documents you're talking about?
| + 10600 [Dave@Pr gm t] Would it help to have a wiki page where people can post requests for
| + 10602 [JCA02266@ni ] Some documents of RDP Project in Japanese.
|   10603 [njohnson6157] process of getting requested documents looked at, as well as letting
|   10675 [JCA02266@ni ] Is there a Wiki server which I can put my docs, now ?
+ 10608 [maili31s@cl ] SugHimsi.
+ 10630 [maki@op n- e] Hmm. I don't know which document is the 'most important'...
  + 10631 [Dave@Pr gm t] This is wonderful stuff. Thank you!
  + 10659 [nakahiro@sa ] Slightly off-topic.  Just FYI thing.
  + 10761 [ptkwt@sh ll ] I'd certainly like to see an english version of this and other docs on

Programming Ruby is now an Open Content Publication
10524 [Dave@Pr gm t] Thanks to some wonderful flexibility on the part of Addison Wesley,
+ 10527 [wmwilson01@h] maybe you would like to post this to slashdot or something?
| 10537 [schneik@us i] # Thanks to some wonderful flexibility on the part of Addison Wesley,
+ 10555 [feldt@ce ch ] This is great news. I'd also like to see the format of this used in other

Ruby CGI exmamples
10532 [rnajlis@cs i] where can I go to find some cgi examples in ruby?
10533 [wmwilson01@h] You'll want to
10536 [rnajlis@cs i] Thanks for your help
10543 [wmwilson01@h] That's ok, we're all new at some point, I'm still pretty cherry myself ;)
10610 [rnajlis@cs i] Hey, there it is.  Great.  Thanks a lot.  That is quite useful.

[O.T.]  Free Amateur XXX Pics
10535 [ edu@re .c m] pics of another people.

Giving a Proc utility methods?
10549 [ben_tilly@ho] Here is my situation.  I have a class, call it Foo.
10559 [wys@he bl ng] binding upon its creation time, which in your case is the "main context"
10560 [  zak@al .c ] True.
10562 [  zak@al .c ] I meant it seems the proc has hard times to refer to itSelf at
10567 [wys@he bl ng] ...again, "self" in the block-code is NOT the Proc object but the "main
10571 [ben_tilly@ho] Both of your solutions work.  Personally I prefer passing

Garbage collector (Was: Embedded Ruby (Part III))
10556 [olivier@vi e] I finally found something called gc_sweep() into gc.c, I hope that's it.
10557 [feldt@ce ch ] No, don't use it; it's only one part of the Mark-and-SWEEP algorithm.
10558 [feldt@ce ch ] Oh, BTW gc_start is the one but note that it is not exported in ruby.h.
10563 [decoux@mo lo] Don't use gc_sweep(), you can use rb_gc() but it's only defined in
+ 10564 [hgs@dm .a .u] Not the most lucid code I have seen. :-)  Could a better name be added
| + 10565 [decoux@mo lo] because you have never seen code in a perl extension :-)
| + 10585 [matz@ze ab t] You can use rb_gc().  I have to organize prototypes betweeen ruby.h
+ 10569 [olivier@vi e] Once again, merci :)

Q: Search path for require ($:)
10561 [Milan.Gardia] can anybody please tell me if there is a way in Ruby to __permanently__
10568 [hipster@xs a] set the environment variable RUBYLIB
10582 [Milan.Gardia] Thanks! That's it :).

10566 [hgs@dm .a .u] What is the purpose of Rubygarden.com?  I know that
10579 [dblack@ca dl] The Ruby Garden is envisioned as something similar to what has been
10580 [hgs@dm .a .u] Thank you.  I will not create a link to it yet, then.  Meanwhile, it
10581 [Dave@Pr gm t] Good idea

Ruby User Groups
10576 [wmwilson01@h] Not trying to toot my own horn, just trying to make people's lives easier,
10595 [sfekas@ya oo] Mike,
10598 [wmwilson01@h] Thanks ;).  It is easier to say Washington, and I contemplated doing that,

Word wrap algorithm
10577 [ChrisM@SN LL] I'm in need of a word wrap method -- anyone know of an existing one
+ 10587 [sent@qu li y] Here's one I threw together, and it has worked
+ 10625 [kjana@os xa ] I have code inspired from filladapt.el.... It's not so beautiful and
  10655 [erne@po er a] Thanks for the start on the ASCII word wrap algorithm.  I changed it around

Toronto Ruby Users Group
10578 [bryan_zarnet] Morning All,

Are """ here documents here to stay? :-)
10586 [feldt@ce ch ] I haven't found any docs on """ here documents but do you (Matz) expect
+ 10592 [decoux@mo lo] Well, this is the syntax for string, you have just written
| 10611 [feldt@ce ch ] puts """
| 10612 [dblack@ca dl] puts "
| 10613 [feldt@ce ch ] Yeah, you're right. Sorry for wasting bandwith. I saw this in someone
| + 10614 [avi@be a4 co] If the code you saw it in was mine, I can explain the rationale - I use a
| + 10624 [jim@fr ez .o] irb(main):020:0> puts """
|   10719 [feldt@ce ch ] No, you're right. People who have been confused by this thread should
+ 10601 [frios@ud a. ] Please...
  + 10605 [andy@to ls e] That would be line number 6 of your input file,
  + 10609 [masa@st rs g] This is because Ruby ver 1.4.x assumes Japanese EUC code by default.

Ruby in college coursework
10594 [ms@ia ta e. ] Just ran across this today. It's only a matter of time before the

Re: (B. Tilly - read) Ruby in college coursework
10597 [wmwilson01@h] If you haven't looked at this, it's basically a project to implement a
10606 [ben_tilly@ho] I was interested, but not as interested as I might be.

select() on Win32 -- New from the confines of the Great (L.) Wall :-)
10617 [schneik@us i] Thought this stuff might someday be relevant for Ruby on Win32.

How to convince management
10619 [ptkwt@sh ll ] use Ruby for it.  In the project planning meeting the proposal to use Ruby
+ 10627 [Dave@Pr gm t] Firstly, your management is right to be wary of using something
| + 10633 [sent@qu li y] Try to find out what the *real* objections are,
| | 10650 [mitch@ve ux ] I would say that their number one objections if you guys use Perl is "If it
| + 10656 [dalley@au ti] Step 1:    Honestly appraise the benefits vs costs of a new platform or
+ 10654 [DNess@Ho e. ] What overwhelming positives are there for using Ruby? It seems to me that
+ 10670 [neumann@s- i] I have the same problem :)

failed attempt to install ruby-1.6.2 on osf4.0d
10620 [ristad@mn mo] My attempt to install ruby-1.6.2 on alpha-osf4.0d with gcc 2.95.2
10623 [hgs@dm .a .u] My "bodge" to fix this was to remove '-ansi' from the CFLAGS in

Alan Kay on OO, CS and Squeak
10621 [feldt@ce ch ] Here's a small preface to the new Squeak book written by Alan Kay the

Even Tcl/Tk goes ActiveSTATE
10622 [fgeiger@da e] Tcl/Tk goes ActiveSTATE (see below). Shouldn't Ruby go ActiveSTATE too? Perl
+ 10632 [schneik@us i] # Subject: Even Tcl/Tk goes ActiveSTATE
| + 10664 [fgeiger@da e] Sorry, this was not meant that way.
| | 10739 [brk@je ko .c] I'd be happy to contribute to this effort. I'm probably more interested in
| | 10774 [MarkH@Ac iv ] Excellent!  As I have no experience with Ruby and no time left, I certainly can't afford to drive such an effort - but feel free to drop me mail when you want to start discussing this.  Im happy to have discussions in private or in this forum.
| | 10796 [schneik@us i] #
| + 10829 [JeffH@Ac iv ] ;^)   See below
|   10861 [schneik@us i] # > potentially great news for keeping Ruby/Tk viable.
|   11006 [JeffH@Ac iv ] I would agree with that.  Tk was great when it came out, and even for
|   11076 [schneik@us i] #
+ 10635 [ptkwt@sh ll ] So, how do we convince ActiveState to make ActiveState Ruby?
  10638 [schneik@us i] # In article <9605s7$7qu$1@newsreaderm1.core.theplanet.net>,
  10647 [neilh@sc nt ] Conrad Schneiker
  10657 [MarkH@Ac iv ] I am certain he would too :-)

10626 [shawnessy@ho] #bye

Empirical comparison
10628 [phasis@ch nn] I am anxious to know empirical comparion of Ruby and other languages
10644 [0317025435@t] Tried the Ackerman test. I was able to run it up to Ack(3, N) where N is 6.

Redefined symbol "select" in win32/win32.h
10629 [ljohnson@re ] This is probably a question more appropriate for the Ruby developers, but I

Need COM code snippet for Excel
10636 [jim@fr ez .o] Does someone have a code snippet that they can point me to that allows
10637 [Dave@Pr gm t] Regards
10641 [0317025435@t] When I run it in RubyWin, RubyWin coredumps when executing
+ 10642 [Dave@Pr gm t] This isn't going to be that helpful, but.. I downloaded it and ran it
| 10643 [glen@en bl d] I guess the first question would be: does the original poster have Excel
| 10676 [0317025435@t] I could do this too but maybe there's a nasty bug somewhere so maybe, if
+ 10645 [hgs@dm .a .u] Win 98, Ruby1.6.2  I had to shut all other
+ 10714 [masaki.suket] Please try ruby 1.6.2.

Need other Links to English InstallShield version of Ruby?
10646 [schneik@us i] I see "The English InstallShield version of Ruby" is on the "What's New"
10658 [nahi@ke na t] No, IMO.  We should add it on the Download page.  Because
10660 [Dave@Pr gm t] No. But if you point to
10720 [tammo.freese] first of all, thank you for providing an InstallShield version of Ruby.
10746 [Dave@Pr gm t] I removed the link because that version of 162 has the problems with

Segmentation Fault in embedded interpreted
10651 [neumann@s- i] I want to embed a Ruby interpreter.
10665 [decoux@mo lo] Perhaps it can't resolve some symbols at runtime. On linux it work if the
10669 [neumann@s- i] Thanks, that works for me.

Re: Ruby/Tk, what am I doing wrong... [long answer]
10652 [jfn@en er ct] Welcome!  I hope you're not offended that a fellow newbie answers your
+ 10727 [noel.rappin@] Jeremy, thank you very much for this -- it's a very clear and lucid
+ 11008 [jkaurin@Mi d] This, nesting blocks, was the cause of my confusion with grid also (see
+ 11012 [decoux@mo lo] Use #pack only with (), when you use it with a block {} it will *never*

File types, filters, input
10653 [schuerig@ac ] I'm still toying around with a script that recursively searches

b-tree class for Ruby?
10661 [mdavis@se ai] Does anyone have a b-tree class for Ruby?  I need a class that will allow
+ 10662 [dgjs@ac .o g] How about the Berkeley DB extension for Ruby,
| 10681 [mdavis@se ai] 200 Type set to A
| 10694 [matju@ca .o ] You cannot use normal FTP across two networks. Your LAN is in a
| 10695 [matju@ca .o ] I don't know why you are trying to reach an HTTP file by FTP...
| 10704 [decoux@mo lo] moulon% nslookup sevainc.com
| 10709 [mdavis@se ai] Thanks for the info.  I seem to have fixed the problem.
+ 10742 [masa@st rs g] although this page is written in Japanese.

heap data structure
10663 [aseltine@cs ] exisits. It implements all the usual operations (insert, extract_max,
10674 [harryo@zi wo] I'd be interested.  I'm just about to start a course on data
10680 [mdavis@se ai] I'm interested.
10682 [mdavis@se ai] Can I make the heap a static or fixed size?  For example, I want the heap to be 2K regardless of how many items it contains.
10696 [aseltine@cs ] No, I don't think there is an easy way to make a heap do these things.
10698 [ben_tilly@ho] If you don't have that book, you can also get the

Q: Search path for require ($:)
10666 [ruby_david@h] mmm, how about if i am using ruby in a cgi environment?  where should i run
10673 [hipster@xs a] you could put
10686 [ruby_david@h] in my case, the cgi scripts are nested, so probably i will have to check

reading file from URL
10667 [  tk@hc d. e] I know Perl and PHP, and now I'm trying to learn ruby. In PHP I can read
10668 [decoux@mo lo] Use a library. Net::HTTP (in 'net/http') for http://... , Net::FTP (in
+ 10671 [  tk@hc d. e] salut Guy,
+ 10672 [decoux@mo lo] require("net/http")

Re: Board game model
10678 [j.radcliffe@] Out of curiosity, I'd like to see the board game if possible. I'm working