45144-46114 subjects 45579-47085

Re: Moving from TK to Fox.
45385 [lyle@kn lo y] As far as I know, no one has written an "FXRuby for Tk Users" tutorial. But
+ 45386 [hgs@dm .a .u] [Extremely helpful summary trimmed]
+ 45394 [transami@tr ] i was wondering about this FXDataTarget stuff. that sets up an update
| 45424 [ino-waiting@] what is there to say against pulling and pushing data?  put queues and a
| 45426 [transami@tr ] Fox's use of DataTargets puts this pull mechanism in the UI. that's why
+ 45483 [hgs@dm .a .u] That was enough to get me there.  Thank you.  My code, which was
  45600 [lyle@us rs s] Ummm... you also have to call TkVariable#value to extract a Tk
  45710 [hal9000@hy e] [snip from Hugh Sasse]
  45736 [lyle@us rs s] The API is not set in stone, but there are at least two constraints for

What's the lightest weight path to OpenGL for Ruby/mswin32
45387 [noah_meehan@] Has anyone gone in that direction from VisualuRuby?

Opinion on Ruby maturity
45398 [john@jo nk i] This interaction happened on a University of Maryland LUG. I thought
+ 45400 [lyle@us rs s] SWIG (http://www.swig.org) is a tool designed specifically to assist in
+ 45403 [cgpp@cg p. o] by "second letter" I guess you mean mine, and just to clarify, I wasn't
| 45409 [john@jo nk i] I am sorry I misstated your intention.
| 45412 [cgpp@cg p. o] No problem, that's quite OK. Just wanted to clarify.
+ 45418 [pbrannan@at ] Python has this as well.  While Ruby calls each() an iterator, Python
+ 45435 [alwagner@tc ] ...
+ 45463 [jashbaugh@bi] Where are good places to learn / learn about ruby?
| 45528 [cyclists@nc ] The "PickAxe Book", aka _Programming Ruby_ by Dave Thomas and Andy Hunt,
+ 45524 [ndrsbngtssn@] Actually, the language's inheritance model has very little influence

use of #missing_method
45406 [transami@tr ] just a quick question. is the use of #missing_method kosher? should i be
+ 45408 [chrismo@cl b] It usually makes me happy when I use it :) -- it's quite kosher, IMO, makes
+ 45410 [dblack@ca dl] You'll find that if you call #missing_method, it will be intercepted
| + 45411 [transami@tr ] now that gave me a good chuckle! thanks.
| + 45420 [pbrannan@at ] I've never heard a case for avoiding goto where it fits into design. :)
|   45421 [dblack@ca dl] You want precision in language and logic?  What are you, a computer
+ 45484 [nat.pryce@b1] My advice would be to avoid using method_missing if you can achieve the

the better syntax?
45407 [transami@tr ] bindings = {
45455 [nobu.nokada@] I guess these two syntaxes can be consistent, the former when a
45460 [transami@tr ] Thanks Nobu. I think your right. i'll stear clear of the last.

wxWindows for ruby
45416 [repeater@lu ] i give my vote for wxWindows, according to my experience with wxPython. it
+ 45458 [yuchingtien@] no offence to FOX. but wxWindows look much more native.(therefore much
| 45601 [lyle@us rs s] No offense taken ;) There are reasonable arguments for both sides of the
| 45614 [curt@hi bs c] It is also worth noting that the SWT (from the Eclipse project) also takes
| + 45628 [curt@hi bs c] I hadn't heard for wxUniversal, so I decided to take a look. wxUniversal
| + 45633 [transami@tr ] just to throw my two cents into the pot. i think ultimatly lyle is on
| | + 45638 [curt@hi bs c] Probably true.
| | + 45648 [cjh_nospam@m] Have you ever used Qt? I think it does a good job of the whole styles
| |   45649 [transami@tr ] really? that's interesting and sounds impressive. but what kind of
| |   + 45654 [pbrengard@bc] native toolkits styles : Windows, Motif, SGI, CDE, Platinum,... and if
| |   | 45657 [transami@tr ] no problem.
| |   | 45660 [pbrengard@bc] Thanks for your reply.
| |   | + 45664 [benlebt@ya o] Sorry, I'm a newbie here and maybe I'm asking a question that's already been asked, but I'll do it anyway:-)
| |   | | 45667 [transami@tr ] no worries on the newbie status.
| |   | | 45761 [repeater@lu ] greetings transami
| |   | | 45764 [transami@tr ] sign me up. my c/c++ expierence is quite rusty. but i'll contribute
| |   | + 45666 [transami@tr ] thanks pierre. i did not know that qt was so capable. i checked it out.
| |   + 45783 [cjh_nospam@m] Go straight to www.trolltech.com and download yourself the Unix
| |     45791 [lyle@kn lo y] which
| |     45796 [cjh_nospam@m] Not sure, but I doubt it. The stuff about OpenUI was way out of date
| + 45637 [lyle@us rs s] Naive widgets? ;) There is a joke there but I am not clever enough to
| + 45712 [hal9000@hy e] "Naive" widgets!!
+ 45469 [tomas_brixi@] I vote for wxWindows too. It's a powerful crossplatform native looking GUI see

Ruby in the rainforest (postlude)
45417 [pate@ey er a] Well, it happened.  7 1/2 of us showed up (my daughter stopped in for a
45419 [dblack@ca dl] Heavens -- it looks like you've walked into Myst.  That must be that

Singleton Classes & thread safety
45422 [dave@la dr t] ...
45425 [ned@bi e- om] If this is more than one Ruby program, you'll have to do inter-process
45427 [dave@la dr t] This is the same program being run twice concurrently, but from what you
45430 [ned@bi e- om] From the OS point of view (and for that matter from the Ruby

curses dev kit, was Re: [OT] Re: GUI's and the Rouge
45423 [ino-waiting@] it combines curses capabilities to widgets.
+ 45434 [alwagner@tc ] Isn't there one called TUI written in Ruby?
+ 45476 [dickey@sa tm] Thomas E. Dickey <dickey@radix.net> <dickey@herndon4.his.com>
  + 45479 [rich@in oe h] The link to the code is not functional...
  | + 45482 [rich@in oe h] This DID work, just not from clicking through IE/Win32....I know, I
  | + 45507 [dickey@sa tm] actually it is (but I get occasional reports from people who have trouble
  + 45480 [list@NO PA c] As a point of interest, here's something else from the Debian
    45481 [Ephaeton@gm ] Could as well advocate a windows only package, remember, GNU's not Unix,
    45496 [list@NO PA c] So?  It doesn't say that it depends on gpm, it says that if it's
    45500 [Ephaeton@gm ] ...except you use its mouse support. I prefer using things which do
    + 45508 [dickey@sa tm] worse than that - many of those packages have not been built on anything
    + 45525 [list@NO PA c] No, it's much easier: mouse support in console is essential for you
      45526 [Ephaeton@gm ] Well, yeah, but Ruby itself makes it easier to write portable code.
      45558 [list@NO PA c] That's the point: you don't know.  Ground criticism of a software on
      45570 [Ephaeton@gm ] Okay, how about this. I was getting that piece of library, and after some

Opinion on Ruby maturity, the missing things
45429 [paul@fl or a] The post by John Knight about Ruby vs. Python maturity seemed to focus just
+ 45440 [john.carter@] <in_wisecracking_tone_of_voice>
| + 45442 [Ephaeton@gm ] <less serious>
| + 45447 [jfreeze@fr e] I have not found ruby to be any different than Perl in
| | 45450 [john.carter@] Who needs to take sides? If there are two prime time ready modules for the
| | + 45457 [jfreeze@fr e] I know what you are saying, and I am trying to not be resistant to change,
| | + 45642 [pabs@pa lo r] Personally, I would prefer a base install which included a pre-
| + 45474 [paul@fl or a] Ruby
|   + 45477 [jc@mi ju t. ] [dd]
|   | + 45485 [ned@bi e- om] And can also be built with a Perl, Python, and/or TCL interpreter.
|   | + 45518 [paul@fl or a] in
|   |   45520 [djberge@qw s] Oh, to be sure, there is probably room for a "Writing Extensions with Ruby"
|   |   + 45522 [Tim.Hunter@s] As would I. The PickAxe book comes very close, and there's some good
|   |   + 45546 [decoux@mo lo] You don't need such a book : you first write your extension in ruby, then
|   + 45693 [hal9000@hy e] counteracting
+ 45443 [pbrannan@at ] I'm curious about this.  I've embedded Ruby in more than a few
| 45473 [paul@fl or a] Can you describe what the tasks for Ruby where in these applications?
| 45521 [pbrannan@at ] 1) A scriptable configuration file; Ruby can make calls into C++ code
| 45523 [paul@fl or a] This is _exactly_ what I was trying to accomplish some months ago. I gave up
+ 45760 [web2ed@ya oo] Are you talking about writing a C/C++ application and embedding Ruby
  45765 [nobu.nokada@] Use rb_eval_string_protect() instead of ruby_run().

How do you think of...
45431 [michael_s_ca] This is going to sound like an odd question, and there's no "right"
+ 45433 [transami@tr ] a each do on x p of x
+ 45436 [alwagner@tc ] for each x in a to p(x)
| 45439 [alwagner@tc ] for each x in a do p(x)
| 45441 [transami@tr ] that has the same meaning but might be confused with the actual use of
| 45461 [alwagner@tc ] I don't think meaning entered into the question.  It was "what does the
| + 45462 [transami@tr ] oh. okay.
| | 45495 [alwagner@tc ] No need to apologize.  I should have used a smiley.
| + 45489 [michael_s_ca] <chuckle> yes, it was a merely syntactic (phonetic?) question; what
|   45504 [hgs@dm .a .u] I don't understand what is behind the original question.  Why do you
|   + 45505 [michael_s_ca] Strictly curiosity.
|   | 45529 [qrczak@kn .o] "a each for x do p x"?
|   + 45695 [hal9000@hy e] I am reminded of the question, "If Helen Keller
+ 45445 [cbbrowne@ac ] "for each x in a, print x".
+ 45453 [yuchingtien@] a for each of your x do this...
| 46843 [dossy@pa op ] Since I only got back from vacation, I'm replying to this thread
+ 45456 [rich@in oe h] in 'a' each as 'x' p x
+ 45464 [chris@cm -e ] ...
+ 45497 [alwagner@tc ] Questions like this always intrigue me because the various replies seem to say
  45499 [michael_s_ca] response.
  45502 [alwagner@tc ] Even when using a "native" language, there is also the problem of a "reading"

Search path for 'nested' .so files...
45449 [jeff.gray@in] I'm making my first foray into the land of C extensions to Ruby and am
+ 45451 [ned@bi e- om] Actually, I think it's libruby.so saying that it can't find
| 45452 [jeff.gray@in] So, that was my first interpretation of the error message, but it
| 45459 [ned@bi e- om] What do you get when you run ldd against Dumstr.so?
+ 45475 [decoux@mo lo] This is bad, try to avoid it.

Ruby-Talk Index
45465 [transami@tr ] here's a one nighter coding challange for some one feeling the need to
45466 [matz@ru y- a] Visit www.ruby-talk.com
45467 [transami@tr ] i have. i always get 0 results on all my searches.
+ 45468 [matz@ru y- a] I guess that means you came up with fresh ideas. ;-)
| 45472 [transami@tr ] thanks for the laugh. i went back and tried again. still no
| 45478 [botp@de mo t] yes, it got me too ;-)
+ 45470 [jerome@go an] I have no idea what the Namazu search engine is running from but if you
+ 45553 [jfreeze@fr e] You may find better results with searching google.
  45555 [Dave@Pr gm t] Thanks for that, Jim.
  + 45556 [jfreeze@fr e] Great Dave. I just tried it, but nothing comes up.
  | 45557 [Dave@Pr gm t] Hmm. On Netscape and IE, the first time you reference a page it creates
  | + 45559 [jfreeze@fr e] I am using IE on Max OSX.
  | + 45561 [rich@in oe h] Um...something really bad happened to RubyGarden...
  | + 45566 [jfreeze@fr e] All is working for me now.
  |   45567 [Dave@Pr gm t] There was an unintentional nested form (my fault), which Netscape
  |   45569 [rich@in oe h] This is better than a neat little hac...it really is a wonderful
  + 45560 [pmak@an me l] I think it's broken. This is what http://www.rubygarden.org/ looks
    45565 [Dave@Pr gm t] Me.

dynamic object creation
45486 [djberge@v5 h] I couldn't quite find the answer I was looking for on Google (though
+ 45487 [decoux@mo lo] eval is evil
+ 45488 [dblack@ca dl] irb(main):005:0> d = "parsedate"
  45490 [djberge@qw s] Thanks go to both you and David (who presented an identical solution shortl
  45493 [hgs@dm .a .u] Because "There's More Than One Way To Do It". :-)
  45498 [dblack@ca dl] Hmmm... interesting cause-effect conundrum: Is there Perl because

45491 [cbroult@sa i] ...

45492 [cbroult@sa i] ...

.net ruby
45494 [bjsp123@ya o] ...i.e. Ruby for .NET.

GTK+ for mswin32 ruby binaries?
45501 [jeff.schilli] Can anyone point me to the GTK+ ruby modules for the mswin32 version of

RDoc question
45506 [T.Hammond@el] I've got a small question about RDoc (and BTW - many thanks Dave for
45510 [Dave@Pr gm t] The method's body is only included inline if you use the

Join the Red Side, Luke!
45509 [djberge@v5 h] Just thought I'd share...

Some basic Ruby questions
45511 [benlebt@ya o] I am writing a gallery maker (HTML) in ruby and could need some help..
+ 45512 [ned@bi e- om] Why would you want to call external programs when Ruby does all of
| + 45514 [michael_s_ca] Probably, like most people asking basic questions, he didn't know it
| | 45516 [ned@bi e- om] Of course. So how can Ruby answer these questions more quickly?
| + 45515 [ned@bi e- om] array = Dir[ '*.jpg' ]
| | 45534 [nobu.nokada@] array = Dir["**/*.jpg"]
| + 45531 [benlebt@ya o] Thanks for all of your help!
+ 45513 [chrismo@cl b] def pictureMethod
+ 45517 [matz@ru y- a] Like this?
  45519 [rawlins@cs u] or even something like
  45527 [lists@de on ] I just wanted to point this out as a caveat in particular as someone
  45568 [rawlins@cs u] Didn't think of that at all - I think any of the other solutions posted that

45530 [ruby-talk-ad] ҥʥʥʥҥ襢̥

What would you want in a GUI interface for Ruby?
45532 [rich@li hi o] I'm looking into designing a way for Ruby to interface with a GUI...
45533 [curt@hi bs c] You must have just joined the mailing list today, because this has bee a
45535 [rich@li hi o] Oh. Sorry! Thanks!

More installer questions
45536 [jfreeze@fr e] I have a few questions about the installer.

Call-by-need and/or Delayed Evaluation
45537 [raganwald@ya] Has there been any work on using Ruby's closures to implement
+ 45538 [nojgoalbyspa] Would it be possible to give pointers to information on the web for this
| 45543 [j@bu ow mi e] Regards
| + 45544 [tsiivola@cc ] I can only agree: I think I learnt more about programming from that single
| + 45573 [nojgoalbyspa] Wow, Thanks!  Now to find the time to read it!!!!
+ 45540 [nobu.nokada@] Like this?
| 46096 [raganwald@ya] Very interesting. Thanks!!!
+ 46097 [raganwald@ya] infinite collections.

Newbie question on HT delete files...
45539 [keuler@po ta] All-

net/http (Referer:?)
45541 [tobiasreif@p] I'm downloading stuff with net/http. Some URLs send different stuff,
45542 [gotoken@no w] You can specify header fields by a hash option.

regex: move minus sign to front for negative numbers w trailing " -"
45545 [botp@de mo t] I'm sorry but my little brain is stuck w my first ruby program. The
+ 45547 [decoux@mo lo] It really depend on what you want : for a regexp the most difficult task
+ 45548 [dblack@ca dl] I don't know why I bother trying to hammer out answers to questions
  45549 [botp@de mo t] that was very helpful and very quick, too (within a few min, i got a working
  45550 [botp@de mo t] I tried your suggestion and now I feel dumber than before :-(

45551 [benlebt@ya o] Can some tell me how to copy files?
+ 45552 [decoux@mo lo] pigeon% ls [bc].rb
+ 45554 [Dave@Pr gm t] require 'ftools'

merge procs
45562 [transami@tr ] okay, i've been staring blankly at this thing for almost 2 days now. i
+ 45563 [dblack@ca dl] If x comes into scope before the procs are defined, they can both
+ 45564 [ned@bi e- om] They act as closures, so this is generally possible.

[OT] Re: curses dev kit, was Re: [OT] Re: GUI's and the Rouge
45571 [list@NO PA c] Of hearing a fact at last, yes.

Ruby/Tk new windows
45572 [khindenburg@] Within a ruby/tk gui I would like to create another window, seperate from
45574 [x@ic im nk .] right. only one root per application. new windows will be children, but

Resizing images?
45575 [benlebt@ya o] Is there any possibility of resizing image-files in Ruby?
45576 [decoux@mo lo] Well, you can look at RubyMagick for example
45589 [engard@al .h] RubyMagick only did coredumps to me. I have installed the ImageMagick
45594 [decoux@mo lo] Which version of ImageMagick ?

45577 [fly2qwwee@ho] ҥʥʥʥҥ襢̥

[ANN] RADIUS for Ruby
45578 [dido@im er u] To anyone who might be interested in using Ruby to write RADIUS clients