40101-40888 subjects 40578-42449

^ AST instrospection
40364 [ptkwt shell1] I know this isn't something that's available yet, but I'd certainly like
+ 40367 [vjoel PATH.B] I'll second that wish. In my application/library, user code has blocks
+ 40374 [matz ruby-la] Never under the current implementation.  The future Ruby will

^ Strange Ruby String behavior
40366 [ser germane-] I discovered some bizarre behavior in Ruby, and I wonder if there's an
+ 40368 [vjoel PATH.B] It's probably related to the fact that #@... is shorthand for #@{...}.
+ 40369 [dblack candl] * parse.y (str_extend): should not process immature #$x and
  40399 [ser germane-] Thanks, David.

^ More embedding fun!
40370 [wardja jmu.e] I have another question that relates to embedding.  I've got a few
40373 [matz ruby-la] rb_gc_unregister_address().  See gc.c
40448 [wardja jmu.e] The plot thickens!  The object is being marked as part of a scope
40490 [matz ruby-la] I guess I misunderstood you and your problem.  Show me the code
40524 [wardja jmu.e] This has been edited recently, but it still has the same basic
40644 [nobu.nokada ] Never set other than VALUE to instance variable.

^ confused about readline
40372 [andrew_queis] I've seen a few ruby apps that 'require readline'. I know that readline
40382 [nobu.nokada ] I've heared about some curses libraries for Win32, but no

^ Seattle.rb May Meeting (Pre-Announcement)
40380 [pate eylerfa] ***********************************************************************

^ more embedding fun
40383 [wardja jmu.e] (sorry if this is a repost, I don't think it is though)
40385 [masonralph y] If I'm not mistaken you can just call

^ RE: Ruby Conference idea
40392 [djberge qwes] Well, that went over like a lead balloon.  Back to the drawing (poster?)
40393 [dblack candl] [idea for two-session teaching session on extensions at conference]
40444 [hal9000 hype] I didn't even *receive* the original post.
40468 [djberg96 hot] I posted it originally to c.l.r via deja.  Maybe that was a mistake. :(

^ possible problem with CGI::Session and eRuby
40396 [sera fhwang.] After struggling with eRuby and CGI::Session for a little while, I
40486 [patrick-may ] This sounds like an odd situation.  How are you running eruby?  are

^ ANN: Programmierung in Ruby
40397 [juergen.kati] The translation of *Programming Ruby* by Dave Thomas and Andy Hunt is
+ 40408 [maverick cs.] I think it will be nice if we can get incorporate the figures into the
+ 40441 [kentda stud.] I'd also like to see english versions of the figures. Are the *.jpg are
  + 40447 [Dave Pragmat] The figures are all produced by pstricks in LaTeX. Unfortunately the
  + 40497 [juergen.kati] I am sorry but there are no "sensible" formated files for the *.jpg
    + 40500 [kentda stud.] The OPL does have some openings for restrictions, including stoping you
    | 40562 [juergen.kati] "Addison-Wesley Verlag" Germany which is economically independent of
    + 40502 [Dave Pragmat] I want to go on record as objecting to this. I don't know about the
    | + 40513 [ian caliban.] That's not the case, as far as my understanding of copyright law goes
    | + 40522 [ruby thorste] 2 b) You must cause any work that you distribute or publish, that
    | | 40750 [xlucid users] Not true.  Germany is as bound by the Berne convention as
    | | 40843 [ruby thorste] Then they better make sure that they have one or more law covering the
    | + 40526 [patrick-may ] I just contacted a friend of mine at Penguin.  In order to release a
    | | 40539 [dossy panopt] There is an agreement with the original rights holder as expressed
    | | 40541 [Dave Pragmat] I don't believe this is correct. The derived work must be under the
    | | 40570 [juergen.kati] I would suggest you encourage AWL to use the license options provided
    | | + 40574 [dblack candl] What's the point of using options, when people are going to ignore the
    | | + 40589 [patrick-may ] "use the license options provided by the OPL next time" sounds a
    | | + 40697 [dblack candl] You seem to be very interested in the parts of the license that aren't
    | + 40534 [in6x059 publ] I am thankful that those four people translated "Programming Ruby"
    | + 40558 [juergen.kati] Dear Dave
    |   + 40583 [tobiasreif p] ... a lot of stuff which I find disturbing. Please try to understand the
    |   | 40617 [patrick-may ] agreed.  For me there is one issue, and it has nothing to do with
    |   + 40584 [Dave Pragmat] In English, we have an expression "adding insult to injury."
    |   | 40643 [tobiasreif p] I share your view.
    |   | 40661 [chr_news gmx] For all I know this ``they'' is only a ``him''.  It seems such a pity that
    |   + 40601 [chr_news gmx] "Juergen Katins" <juergen.katins@epost.de> was being inconsiderate in
    |   + 40622 [patrick-may ] I don't see how the case of
    |   + 40698 [dblack candl] This opening statement is without doubt the most unpleasant thing I
    + 40527 [dblack candl] I'm not a license expert either, but even a brief glance at the OPL
      40540 [dossy panopt] Excellent point.  The OPL gives the option to the creator of the

^ ANNOUNCE: FXRuby-1.0.10 Now Available
40409 [jlj cfdrc.co] I am pleased to announce the latest release of FXRuby, the Ruby language
+ 40413 [rich infoeth] Lyle,
| 40424 [jlj cfdrc.co] I can probably do the same for Linux but it will need to wait until
| + 40436 [rich infoeth] Thank you VERY much!
| + 41259 [james rubyxm] Was a Linux binary for Ruby 1.7 made available? I'm trying to install from
|   41307 [lyle users.s] The problems you're seeing suggest to me that something's broken with
|   41313 [james rubyxm] This turned out to be true, though not at all obvious until now.
+ 40423 [jlj cfdrc.co] which
+ 40443 [vjoel PATH.B] Seems to have fixed a toolbar dragging crash in 1.0.3. Thanks!

^ Re: clearing screen
40417 [w3gat bellso] Using the following program
40498 [kasal matsrv] I think you need ANSI codes for the screen/window.

^ How to Convert Regex Back to String in Exact Match?
40421 [billtj z.glu] Some time ago, I posted the question on "How to Convert String to Regex to
+ 40463 [nobu.nokada ] Keeping original string. :)
+ 40467 [tsiivola cc.] Untested && unsporting && wasteful code follows, taking lead from Nobu's
| 40471 [dblack candl] class << Regexp
| 40473 [tsiivola cc.] Nice ;) Now just bundle it up with unit tests... Funny though how
| 40474 [dblack candl] The above line was cut-and-pasted from Nobu (just to give credit
| 40590 [billtj y.glu] Thanks for all the replies.  I conclude that the solution of
+ 40476 [matz ruby-la] I think
+ 40517 [dennisn pe.n] Well, its not a very elegant way to do it, but with the assumption

^ Email attachments
40428 [djberge qwes] I'm looking for a way to send attachments via smtp.  I looked at Tmail and
+ 40429 [STUCKNER MUL] Here is the code off of Ruby Cookbook that you might have been thinking
| 40432 [djberge qwes] Thanks Steve.  I think it would be nice if this could be wrapped into a
+ 40466 [matt lickey.] Both Tmail and RubyMail can create MIME e-mail.  E.g. RubyMail's

^ random module?
40445 [bobx linuxma] Python has a whrandom or something like that and I would like to create
+ 40454 [dblack candl] def generate_password(minlen=5, maxlen=8)
| 40455 [dblack candl] David
| 40457 [ruby thorste] But not is not in not...not, is it? '...' is exclusive.
| 40461 [ruby thorste] I'm sorry, I have not checked this not enough. The not might be not in
| 40472 [dblack candl] Wow, now we're really getting tied up in, ummm, nots.
+ 40460 [pizza parsee] well i'm not very good at ruby, but i was thinking of something like
+ 40514 [chris cmb-en] def generatePassword(minlen=5, maxlen=10)

^ Thread, stacktraces, errors and expect.
40449 [john.carter ] I'm busy rewriting expect.rb to handle things in bigger chunks. I'm
+ 40452 [pbrannan atd] Which expect.rb is it that you are rewriting?
| 40462 [john.carter ] The one in /usr/local/lib/ruby/1.6/expect.rb (If you speak unix...)
+ 40453 [vjoel PATH.B] Does setting
  40459 [john.carter ] By gorrah! How did I miss that! Thank 'ee kindly Sir, you have saved my

^ Re: Ruby Lint, Lapidary
40450 [john.carter ] I note that ruby has grown a -w flag that does something. Exactly what

^ "The Ruby Way" Reviewed on freshmeat.net
40451 [jlj cfdrc.co] Apologies in advance if this has already been reported, but I didn't see it
+ 40465 [ptkwt shell1] I was wondering when that review was going to show up ;-)
+ 40491 [hal9000 hype] it

^ The various UnitTest frameworks.
40458 [john.carter ] Looking in RAA I see three UnitTest frameworks...
+ 40464 [brian coolna] Lapidary is no more.  I think it's now RubyUnit.  I've been learning to use
| + 40469 [mike stok.co] tests in its test suite, and they still work under Test::Unit.)
| + 40470 [jim freeze.o] In the process, he has made the api compatible with Ruby Unit.
+ 40475 [pate eylerfa] In the beginning, there was RubyUnit and it was good.  Nathaniel Talbot
| 40478 [cparrish cox] I just lurk on this list so I may be wrong but as I understand it Nathan started one. (Lapidary I think) then when enough ppl were using RubyUnit I think he wanted to make them work together. And ended up creating UnitTest. I am a firm beliver in unit testing (junit and httpunit)and as soon as I understand Ruby enough to justify using it I'm looking forward to trying UnitTest.
+ 40501 [nat.pryce b1] Go for Test::Unit.  It supersedes both Lapidary and RubyUnit and will

^ Can you define an event when an FXMDIChild gets focus?
40492 [dossy panopt] I've been reading over the FOX API and the FXRuby documentation
40494 [david.naseby] Try (in the mditest.rbw) adding the line
40496 [dossy panopt] Thanks!  To define event handlers you use #connect ... duh.

^ Test::Unit Installation difficulty
40503 [hutch xampl.] I have tried installing Test::Unit and have had no success. The output is
40505 [decoux moulo] Verify the value of stacksize with `ulimit -a'
+ 40516 [hutch recurs] Thank you. This was the problem.
+ 49617 [adam tamewar] I just encountered this problem trying to install Test::Unit using

^ Re: Digest Articles 40486-40493 (1/1) (ruby-talk ML)
40509 [sera fhwang.] AddType application/x-httpd-eruby .rhtml

^ !広告!宣伝パック値下げ!
40515 [eto vip.163.] This is a multi-part message in MIME format

^ Ruby/Qt
40520 [sean BUHBYES] Is anyone using it?  How is it working out for you?
+ 40557 [cboos bct-te] Quite well, but of course, there are some limitations in
| + 40591 [szegedy nosp] Could you give an example on overriding a virtual method in
| | 40598 [pbrengard bc] for exemple, you cannot overload (or implement - whatever is the word)
| | 40604 [szegedy nosp] I hoped, it would be difficult, but possible...
| + 40727 [ser germane-] How close is it?  Is there any talk of doing a KDE extension to the binding?
+ 40631 [lyle knology] You might also want to look at FXRuby (http://www.fxruby.org) if a native

^ user management...unix...via ssh?
40521 [todd ducklan] I'd like my first Ruby project to be simple user-mangement program
40555 [patrick-may ] ruby supports the `shell command here` syntax.  This could be a quick
40556 [wconrad yagn] We (my work) drive our functional tests for a distributed system using

^ Metaclasses...
40525 [hal9000 hype] I've been trying to understand metaclasses
+ 40529 [Dave Pragmat] At the risk of doing a Ron Jeffries, I'll answer with a question.
| 40531 [hal9000 hype] Waxahachie?
| + 40533 [dblack candl] class A
| | 40553 [patrick-may ] This reminds me of trying to visualize what the graphs of n > 5
| + 40543 [jweirich one] Yeah, I hear you.
|   40547 [pbrannan atd] LOL!!!
+ 40532 [gotoken notw] MyClass.class never be MyClass.  Every class is instance of Class or
+ 40537 [matz ruby-la] You don't have to, because there's no such a thing in Ruby.
  40545 [hal9000 hype] I realize that Smalltalk and Ruby differ on that.
  40548 [matz ruby-la] In the current implementation, yes.  They need not to exist in the
  40602 [dennisn pe.n] Whoa! Now, I'm confused.  What's this "other" implementation you are
  40605 [matz ruby-la] Don't confuse.  I didn't say "They don't exist in the other

^ [ANN] JRuby 1.6/0.5.0 beta
40528 [jpetersen un] JRuby (http://jruby.sf.net) is a pure Java implementation of the Ruby interpreter, being developed
40648 [avi beta4.co] Jan,

^ ANN: RubyRED 1.0 alpha
40530 [hal9000 hype] This idea sprang from a discussion of blogging software

^ FXScintilla Bug?
40535 [david.naseby] I've been playing with the new FXScintilla widget in FXRuby 1.0.10, and I
+ 40536 [david.naseby] This workaround worked once. Failed and segfaulted every time after that.
| 40587 [jlj cfdrc.co] I'll try to find out what's going on with this. Rich Kilmer and some of the
+ 40649 [gilles.filip] len = @scintilla.getTextLength

^ http://www.rubyconf.org
40538 [return traff] I visited http://www.rubyconf.org, and noticed that you're not listed on some search engines! I think we can

^ The FXBook project at SourceForge -- an attempt to author books on FXRuby and the FOX Toolkit.
40542 [dossy panopt] Everyone,
40586 [ahumphreys p] Good luck with the project.
40608 [dossy panopt] Thanks.  If nothing else, I'll have collected all the necessary

^ ANN: Xml Serialization 1.0.pre3
40544 [home clabs.o] (partial Readme follows -- see web site for full information)
40725 [ser germane-] Awesome.  Thanks, Chris.

^ RE: Xml Serialization 1.0.pre3
40546 [home clabs.o] ...

^ Mailman in Ruby?..
40549 [john johnkni] I would like to set up a list server that is implemented  in Ruby
40551 [pate eylerfa] The Seattle Ruby Brigade is working on part of this, and would welcome

^ Seattle Ruby Brigade - Correction
40550 [pate eylerfa] In our May meeting announcement, I mistakenly stated that the meeting

^ what's the calling method name?
40559 [ruby-talk je] class AClass
40566 [john.carter ] caller
40577 [ruby-talk je] My goodness, I must have been sleeping while awake, or the other way
40647 [ruby-talk je] But I think I must have been sleeping. Kernel#caller does not provide
40735 [wconrad yagn] There is an experimental patch at
+ 40771 [ruby-talk je] Thanks Wayne for the patch. This is very useful. Is there a plan to
| + 40796 [wconrad yagn] Woohoo!
| + 40854 [wconrad yagn] Yohanes, I am unable to reproduce the problem.  Do you have complete
|   40856 [nobu.nokada ] I'm not sure about the code, anyhow, rb_id2name(0) returns NULL
|   40894 [wconrad yagn] Oh, I see.  This problem will go away when I make the patch do what
|   40909 [nobu.nokada ] Correct.  In such case, nil will be returned as function.
+ 40782 [nobu.nokada ] Interesting.  It's too hard to get an arbitrary binding, this
  + 40795 [wconrad yagn] Nobu, Hi!  Thanks for looking at the patch.
  | 40813 [nobu.nokada ] Once we talked about improvement of `binding' in ruby-dev, an
  + 40809 [matz ruby-la] You don't have to avoid reserved words for method names, besides some
  | 40816 [nobu.nokada ] I didn't avoid a reserved word but Kernel#class, otherwise
  | 40850 [matz ruby-la] I'm not sure what you meant.  Are you saying we have to choose the
  | 40853 [nobu.nokada ] Yes, it's an issue of pp, but there's no way to get the class
  | + 40859 [nobu.nokada ] A patch for pp.rb.
  | + 40872 [matz ruby-la] Hmm, I thought no one ever redefines "class".  Taking this chance, we
  |   40912 [nobu.nokada ] Meanwhile, I vote for "class", "type" and "hash".
  |   40916 [matz ruby-la] For __name__, the "name" should be a name of a universal method often
  |   41004 [akr m17n.org] There is Struct::Passwd#class in etc module.
  |   41015 [matz ruby-la] Oops...  What shall I do?
  |   41047 [sean chitten] I'm assuming Struct::Passwd#class has BSD roots for user classes,
  |   41076 [matz ruby-la] "uclass" shounds fine.
  + 40870 [jean_hugues_] Having access to the binding would be nice too. Todays one needs to

^ 10000 images windows shell scripting
40560 [henning ikso] How do I accomplish the simple invocation from a ruby script of a program
+ 40567 [john.carter ] I use...
| + 40568 [john.carter ] It occurs to me that this cmd/c thing may be a Windows 2000 specific trick
| | 40572 [henning ikso] system("cmd.exe /c dir") #on NT|2000 or
| | 40606 [dennisn pe.n] This reference doesn't work for me.  I just get the beginning page of some
| | + 40607 [chris.morris] plorer+win32api&cginame=namazu.rb&dbname=ruby-talk&max=50&whence=0
| | + 40610 [dossy panopt] Blame HTML frames.  Or Canada.  Your choice.
| + 40569 [henning ikso] Thanks! That helped!
+ 40603 [dennisn pe.n] Well, if you "really need it to work soon", then a simple example of the

^ HTML syntax tree
40563 [martindemell] Is there any ruby equivalent of perl's HTML::Treebuilder?
40594 [ned bike-nom] I'm writing one right now (as in: in the next couple of days). I have the

^ expect
40564 [john.carter ] Here

^ Re: [FXRuby] SEL_MOTION for FXWindow, etc.
40565 [Martin.Man s] er

^ Shifting array element & regex on array element
40571 [freeride-dev] In implementing a buffer gap mechanism, I was wondering if there is
40573 [dsafari xtra] Perhaps ugly? But it works.
40576 [ruby-talk je] Wow, this is cleaner and I don't see any difference in performance to
40582 [kgergely mla] Azt irtad, hogy
+ 40623 [dsafari xtra] I'll be damned. How this works doesn't make any sense to me. To me that
| 40624 [dossy panopt] (1...1).size            # => 0
| 40626 [jim freeze.o] ===, begin, each, end, exclude_end?, first, last, length, new, size
| 40628 [dossy panopt] Oh, eek.  Well, what's Array#[obj] do?  If the obj is a Range,
| 40662 [jim freeze.o] No, it returns an array.
+ 40645 [martindemell] First neat use I've seen for ...