40364-49617

40101-40888 subjects 40578-42449

AST instrospection
40364 [ptkwt@sh ll ] I know this isn't something that's available yet, but I'd certainly like
+ 40367 [vjoel@PA H. ] I'll second that wish. In my application/library, user code has blocks
+ 40374 [matz@ru y- a] Never under the current implementation.  The future Ruby will

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

More embedding fun!
40370 [wardja@jm .e] I have another question that relates to embedding.  I've got a few
40373 [matz@ru y- a] rb_gc_unregister_address().  See gc.c
40448 [wardja@jm .e] The plot thickens!  The object is being marked as part of a scope
40490 [matz@ru y- a] I guess I misunderstood you and your problem.  Show me the code
40524 [wardja@jm .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@ey er a] ***********************************************************************

more embedding fun
40383 [wardja@jm .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@qw s] Well, that went over like a lead balloon.  Back to the drawing (poster?)
40393 [dblack@ca dl] [idea for two-session teaching session on extensions at conference]
40444 [hal9000@hy e] I didn't even *receive* the original post.
40468 [djberg96@ho ] I posted it originally to c.l.r via deja.  Maybe that was a mistake. :(

possible problem with CGI::Session and eRuby
40396 [sera@fh an .] 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@st d.] I'd also like to see english versions of the figures. Are the *.jpg are
  + 40447 [Dave@Pr gm t] 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@st d.] 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@Pr gm t] I want to go on record as objecting to this. I don't know about the
    | + 40513 [ian@ca ib n.] That's not the case, as far as my understanding of copyright law goes
    | + 40522 [ruby@th rs e] 2 b) You must cause any work that you distribute or publish, that
    | | 40750 [xlucid@us rs] Not true.  Germany is as bound by the Berne convention as
    | | 40843 [ruby@th rs e] 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@pa op ] There is an agreement with the original rights holder as expressed
    | | 40541 [Dave@Pr gm t] 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@ca dl] 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@ca dl] You seem to be very interested in the parts of the license that aren't
    | + 40534 [in6x059@pu l] 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@Pr gm t] In English, we have an expression "adding insult to injury."
    |   | 40643 [tobiasreif@p] I share your view.
    |   | 40661 [chr_news@gm ] For all I know this ``they'' is only a ``him''.  It seems such a pity that
    |   + 40601 [chr_news@gm ] "Juergen Katins" <juergen.katins@epost.de> was being inconsiderate in
    |   + 40622 [patrick-may@] I don't see how the case of
    |   + 40698 [dblack@ca dl] This opening statement is without doubt the most unpleasant thing I
    + 40527 [dblack@ca dl] I'm not a license expert either, but even a brief glance at the OPL
      40540 [dossy@pa op ] Excellent point.  The OPL gives the option to the creator of the

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

Re: clearing screen
40417 [w3gat@be ls ] Using the following program
40498 [kasal@ma sr ] I think you need ANSI codes for the screen/window.

How to Convert Regex Back to String in Exact Match?
40421 [billtj@z. lu] 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@ca dl] class << Regexp
| 40473 [tsiivola@cc ] Nice ;) Now just bundle it up with unit tests... Funny though how
| 40474 [dblack@ca dl] The above line was cut-and-pasted from Nobu (just to give credit
| 40590 [billtj@y. lu] Thanks for all the replies.  I conclude that the solution of
+ 40476 [matz@ru y- a] I think
+ 40517 [dennisn@pe n] Well, its not a very elegant way to do it, but with the assumption

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

random module?
40445 [bobx@li ux a] Python has a whrandom or something like that and I would like to create
+ 40454 [dblack@ca dl] def generate_password(minlen=5, maxlen=8)
| 40455 [dblack@ca dl] David
| 40457 [ruby@th rs e] But not is not in not...not, is it? '...' is exclusive.
| 40461 [ruby@th rs e] I'm sorry, I have not checked this not enough. The not might be not in
| 40472 [dblack@ca dl] Wow, now we're really getting tied up in, ummm, nots.
+ 40460 [pizza@pa se ] well i'm not very good at ruby, but i was thinking of something like
+ 40514 [chris@cm -e ] 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@at ] 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@PA H. ] 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@cf rc co] Apologies in advance if this has already been reported, but I didn't see it
+ 40465 [ptkwt@sh ll ] I was wondering when that review was going to show up ;-)
+ 40491 [hal9000@hy e] it

The various UnitTest frameworks.
40458 [john.carter@] Looking in RAA I see three UnitTest frameworks...
+ 40464 [brian@co ln ] Lapidary is no more.  I think it's now RubyUnit.  I've been learning to use
| + 40469 [mike@st k. o] tests in its test suite, and they still work under Test::Unit.)
| + 40470 [jim@fr ez .o] In the process, he has made the api compatible with Ruby Unit.
+ 40475 [pate@ey er a] In the beginning, there was RubyUnit and it was good.  Nathaniel Talbot
| 40478 [cparrish@co ] 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@pa op ] 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@pa op ] Thanks!  To define event handlers you use #connect ... duh.

Test::Unit Installation difficulty
40503 [hutch@xa pl ] I have tried installing Test::Unit and have had no success. The output is
40505 [decoux@mo lo] Verify the value of stacksize with `ulimit -a'
+ 40516 [hutch@re ur ] Thank you. This was the problem.
+ 49617 [adam@ta ew r] I just encountered this problem trying to install Test::Unit using

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

!広告!宣伝パック値下げ!
40515 [eto@vi .1 3.] This is a multi-part message in MIME format

Ruby/Qt
40520 [sean@BU BY S] Is anyone using it?  How is it working out for you?
+ 40557 [cboos@bc -t ] Quite well, but of course, there are some limitations in
| + 40591 [szegedy@no p] 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@no p] I hoped, it would be difficult, but possible...
| + 40727 [ser@ge ma e-] How close is it?  Is there any talk of doing a KDE extension to the binding?
+ 40631 [lyle@kn lo y] You might also want to look at FXRuby (http://www.fxruby.org) if a native

user management...unix...via ssh?
40521 [todd@du kl n] 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@ya n] We (my work) drive our functional tests for a distributed system using

Metaclasses...
40525 [hal9000@hy e] I've been trying to understand metaclasses
+ 40529 [Dave@Pr gm t] At the risk of doing a Ron Jeffries, I'll answer with a question.
| 40531 [hal9000@hy e] Waxahachie?
| + 40533 [dblack@ca dl] class A
| | 40553 [patrick-may@] This reminds me of trying to visualize what the graphs of n > 5
| + 40543 [jweirich@on ] Yeah, I hear you.
|   40547 [pbrannan@at ] LOL!!!
+ 40532 [gotoken@no w] MyClass.class never be MyClass.  Every class is instance of Class or
+ 40537 [matz@ru y- a] You don't have to, because there's no such a thing in Ruby.
  40545 [hal9000@hy e] I realize that Smalltalk and Ruby differ on that.
  40548 [matz@ru y- a] 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@ru y- a] 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@be a4 co] Jan,

ANN: RubyRED 1.0 alpha
40530 [hal9000@hy e] 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@cf rc 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@tr ff] ...

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

ANN: Xml Serialization 1.0.pre3
40544 [home@cl bs o] (partial Readme follows -- see web site for full information)
40725 [ser@ge ma e-] Awesome.  Thanks, Chris.

RE: Xml Serialization 1.0.pre3
40546 [home@cl bs o] ...

Mailman in Ruby?..
40549 [john@jo nk i] I would like to set up a list server that is implemented  in Ruby
40551 [pate@ey er a] The Seattle Ruby Brigade is working on part of this, and would welcome

Seattle Ruby Brigade - Correction
40550 [pate@ey er a] 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@ya n] 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@ya n] Woohoo!
| + 40854 [wconrad@ya n] 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@ya n] 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@] ...
  + 40795 [wconrad@ya n] Nobu, Hi!  Thanks for looking at the patch.
  | 40813 [nobu.nokada@] Once we talked about improvement of `binding' in ruby-dev, an
  + 40809 [matz@ru y- a] 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@ru y- a] 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@] ...
  | + 40872 [matz@ru y- a] 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@ru y- a] For __name__, the "name" should be a name of a universal method often
  |   41004 [akr@m1 n. rg] There is Struct::Passwd#class in etc module.
  |   41015 [matz@ru y- a] Oops...  What shall I do?
  |   41047 [sean@ch tt n] I'm assuming Struct::Passwd#class has BSD roots for user classes,
  |   41076 [matz@ru y- a] "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@ik o] 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@ik o] 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@pa op ] Blame HTML frames.  Or Canada.  Your choice.
| + 40569 [henning@ik o] 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@bi e- om] 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@xt a] 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@ml ] Azt irtad, hogy
+ 40623 [dsafari@xt a] I'll be damned. How this works doesn't make any sense to me. To me that
| 40624 [dossy@pa op ] (1...1).size            # => 0
| 40626 [jim@fr ez .o] ===, begin, each, end, exclude_end?, first, last, length, new, size
| 40628 [dossy@pa op ] Oh, eek.  Well, what's Array#[obj] do?  If the obj is a Range,
| 40662 [jim@fr ez .o] No, it returns an array.
+ 40645 [martindemell] First neat use I've seen for ...
threads.html
top