23179-24518 subjects 23627-24371

^ Paired Arrays
23367 [cliffu earth] I am a rank newbie - trying to learn Ruby (my 1rst language). The Ruby book
23368 [dblack candl] Welcome, nuby!
23370 [cliffu earth] David,

^ varriables and class
23372 [sthomas delt] Another newbie question
23381 [dblack candl] That will only work if miles is an instance of class Round, which

^ Re: GUI / was [ANN] RubyInRubyParser
23375 [toddg foobox] You are confusing the protocol with the implementation.  X11 is a
+ 23412 [Stephan.Kaem] As far as I'm an English compiler (though not a native one...) I'd vote for
+ 23478 [ser germane-] Definately 'schlimmer'.  Or 'nicht so gut'.
  23485 [tobiasreif p] Did you mean "Vorschlag"? ("Vorwurf" means accusation)
  23515 [ser germane-] Ooops.  Sorry.  It's been a while.

^ Is Python rigid?
23394 [paulp Active] I want to clear up what I believe is a misconception because these

^ Ruby and Python: a fuzzy question
23396 [Dave Pragmat] I want to start out with a statement: this is not a message about
+ 23400 [frankm bayar] As someone who's written a fair bit of Python in the not too distant
| + 23403 [emile iris-a] Ah, operator overloading. Personally, I think Java took the right
| + 23456 [ ser efn.org] Ditto, line for line.
|   24088 [rcena epcor.] I, too, couldn't get past this convention. It's the double underscore
+ 23402 [msassak spea] I'll start right off here by saying that if you're turned off by
| 23410 [feldt ce.cha] Thanks for expressing things so clearly. I tend to think along the same
+ 23404 [emile iris-a] I think that there are two factors into play here: conservatism, and
| 23446 [yashi yashi.] As someone already said, I tend to think that Ruby is beautiful.
| + 23479 [ser germane-] Apple ][ basic was the first for me.  Scheme was my first college-sponsered
| | 23499 [dtillman oza] ...
| + 23490 [Stephan.Kaem] BASIC (Sinclair ZX81 with 1kB) switched to machine code/Assembler for a
| + 24067 [benoit.cerri] ...
+ 23406 [fgeiger date] ...
| + 23418 [in6x059 publ] ^^^^^^^^^^^^^^^^^^^^^        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| | 23426 [fgeiger date] ...
| + 23535 [mchahn facel] What is Komodo?
| | + 23536 [rich infoeth] see http://www.activestate.com/Products/ASPN_Komodo/
| | + 23606 [fgeiger date] ...
| + 24071 [benoit.cerri] ...
+ 23414 [tobiasreif p] The whole world doesn't fall in love with the same girl/guy/...
+ 23421 [Stephan.Kaem] And I like Programming Ruby, both the activity and reading the book. :)
+ 23464 [mike stok.co] Is there some kind of language gestalt which draws on the language itself,
+ 23539 [web2ed yahoo] Perl, Python, and Ruby are all awesome languages.  Perl has saved my
+ 23547 [chadfowler y] "feel different" sums it up as best as is possible for
+ 23581 [kevinbsmith ] Yes.
| 23594 [Dave Pragmat] Fuzzy :)
| 23605 [msassak spea] So here I am, responding to a rhetorical question. Forgive me, please. :)
+ 23840 [dblack candl] I think there's also an element of time or history (personal or

^ O'Reilly site has "An Introduction to Ruby" article
23397 [james rubyxm] James
+ 23413 [feldt ce.cha] "In Python, methods are objects, which they aren't in Ruby" seems wrong
| + 23507 [djberg96 hot] As a long-time Perl programmer, such things as $_ are a nice thing to
| | 23560 [ser germane-] Another great migration path is that most shell scripts are *almost* Ruby
| + 23538 [hal9000 hype] Ruby"article
| + 23611 [kentda stud.] That one jumped out on me too, but do note that
|   23624 [colin webg2.] ...
+ 24495 [Stephan.Kaem] Just noticed that this article is mentioned (and linked to) on O'Reilly's

^ Black Adder Ruby support? (Was: Ruby and Python a fuzzy q)
23411 [feldt ce.cha] Has anyone tried out Black Adder? I haven't heard much about their Ruby

^ [ANN: OpenSSL for Ruby 0.0.5]
23419 [rokosm kloka] ...
23420 [feldt ce.cha] Not yet, but I think its important to have cryptography available from

^ RCR #50 Simplifying the use of map by adding optional parameter
23424 [feldt ce.cha] Below is a new RCR. If you feel anything about it please go to
+ 23554 [matz ruby-la] To be "in line with functional language", shouldn't it be
| 23556 [feldt ce.cha] But not if you have a function already...
| 23588 [matz ruby-la] It's too early to say "apparently not".  I'd like to hear from others too.
| 24029 [pit capitain] Matz is right, it's been too early for me. I'm still reading my way
+ 23565 [c.hintze gmx] to achieve similar goal, I did write a small utility that I called
+ 23601 [rokosm kloka] ...

^ FileSpec vs Dir/File class methods
23427 [K.Hodges fte] I would like to know whether there is a good reason for the current design of
23533 [matz ruby-la] Yes.  Strngs are strings.  I believe there's good reason to separate
23613 [niklas kagi.] Because a File object refers to an open file, not to a path name. I
23625 [tobiasreif p] I think that would be a great addition to the standard lib.

^ Re: Sqeuak-like GUI? / was GUI
23431 [jjthrash pob] Yes, indeed it is.  Except for, perhaps MiX.  But still, you're required to
23475 [ned bike-nom] Another possibility if you're looking for device independence is to base

^ Ruby's license ok on SourceForge?
23436 [feldt ce.cha] Anyone knows if Ruby's licensing scheme (dual with one very permissive and
23469 [elanthis awe] You can pick "other license" last I checked.
23471 [vjoel PATH.B] I checked "other" and my explanation was basically "the Ruby license"

^ GUI for Ruby
23440 [chrisg appli] I've written software on several flavors of Smalltalk: VisualAge
23441 [feldt ce.cha] Do you have a ref to the info that it will be open-sourced? I read about
+ 23450 [chrisg appli] Robert,
| + 23455 [feldt ce.cha] Sounds great!
| + 23455 [feldt ce.cha] Sounds great!
| | 23472 [rich infoeth] First, the white paper Chris offered...
| | 23537 [feldt ce.cha] If this path is taken it might be nice to do a java2ruby translator to get
| | + 23562 [ser germane-] I tried looking at SWT; not only doesn't it appear to be open source, and
| | | 23582 [chrisg appli] Yes it's a bit of a pain to get at the moment.
| | | 23583 [rich infoeth] Have you looked at the SWT APIs?  How easy do you think it would be to
| | + 23819 [benoit.cerri] ...
| |   23820 [feldt ce.cha] Yes, but it handles LL(k) grammars which does not include all Context-free
| |   23832 [hipster xs4a] semantic and syntactic predicates, multiple parsers/lexers, AST
| |   23833 [feldt ce.cha] Maybe we are misunderstanding each other but I would consider this extra
| |   + 23835 [matju sympat] Chomsky's Grammar Hierarchy (slightly amended)
| |   | 23839 [feldt ce.cha] Oh yeah, thats right. Had forgot about the numbering scheme. The last
| |   + 23836 [hipster xs4a] I basically agree with you. I quite like the ability though to be able
| |     23864 [benoit.cerri] ...
| + 23460 [Michael.Kirc] on Wednesday and he also mentioned that Eclipse is (will be)
+ 23731 [Pierre-Charl] [Disclaimer: I worked at OTI on Eclipse last year, so my opinion on it

^ TCP Socket and timeout problem
23445 [Michael.Kirc] I have a small piece of code which tries to connect to a server.
23552 [matz ruby-la] You're using Ruby on Cygwin. I'm now suspecting Cygwin socket.  Can

^ Singleton methods and instance methods with same name?
23459 [ljohnson res] ...
+ 23463 [decoux moulo] ...
+ 23646 [matju sympat] please ask your church representative about this issue.
  23648 [jim freeze.o] irb(main):001:0> (Object.methods & Object.new.methods).length
  23711 [matju sympat] The conclusion is that no matter which class object you choose, many

^ expect.rb Child_changed
23468 [pete narya.P] ...

^ Threading WIN32OLE_EVENT.message_loop
23473 [chris.morris] I'm able to run the WIN32OLE_EVENT sample. But I'm working on code that will
23618 [masaki.suket] Insert ie.navigate before catch(:done) {...}

^ "un"-including a module
23476 [pbrannan atd] Here's a quick question: if I include a module, is there any way to
+ 23553 [matz ruby-la] Currently, no way.
+ 23584 [nigelb enesb] I think that in some situations you can achieve something similar to
+ 23608 [decoux moulo] ...

^ Capture undefined method calls?
23481 [chris.morris] document.form.ObjectID.value = 'x'
+ 23482 [rich infoeth] class NodeWrapper
+ 23483 [mrcode pompa] $ ri method_missing
  23492 [chris.morris] Yeup. I remember reading that now, but I couldn't find it before. Thanks!
  23526 [chris.morris] Thanks for all the helpful replies. I must say, Ruby is very cool. Here's

^ Proposed Changes for FXRuby
23486 [ljohnson res] ...
+ 23496 [rokosm kloka] ...
+ 23514 [ser germane-] You know my position on this :-)
| 23517 [ljohnson res] ...
+ 23585 [bobhicks nos] On another note...I tried the included sample project "FXRuby Editor"
+ 23607 [csawtell par] [  ...  ]
+ 26105 [kevinbsmith ] things
  26701 [lyle users.s] ...

^ Re: simplified use of map
23488 [avi beta4.co] You might want to look at Marcel Weiher's Higher Order Messaging for Obj-C
+ 23519 [feldt ce.cha] I'm not sure I like this since in my head map is "map/apply this function
| 23579 [avi beta4.co] Well, one reason for that way over the HOM way is that your way chains
+ 23566 [c.hintze gmx] It is nice to see another Objective-C fan here :-)

^ Re: Overriding #== [numeric operators; hashing and comparison; binary selector
23498 [brangdon cix] ...
23508 [pulsar qks.c] ...

^ Get last character in string?
23500 [chris.morris] Is there a more concise way to do this?
+ 23501 [putsch fiber] irb(main):003:0> s = "abcd"
+ 23502 [rich infoeth] or s[-1,1]
+ 23503 [mrcode pompa] irb(main):001:0> s = "abcd"
+ 23504 [ryan ryanfly] s[-1]
| 23513 [mrcode pompa] That returns a Fixnum my fellow Ryan.  You need to add a call to
| 23523 [chris.morris] To add to the monotony...
+ 23509 [ryan ryanfly] $_="1234"

^ REXML 1.1a1
23506 [ser germane-] I haven't heard any complaints or reports about this, but I found a bug in

^ How to use methID in method_missing
23510 [chris.morris] The pickaxe method_missing translates methId to a string and uses it as a
+ 23511 [rich infoeth] def method_missing(methID, *args)
+ 23512 [pbrannan atd] def method_missing(method, *args, &block)

^ CGI and file upload.
23518 [kentda stud.] I was experimenting with some CGI stuff, when I felt the need for having
+ 23521 [kentda stud.] I found the part on multi-part messages, which seem to be what I need.
+ 23527 [Dave Pragmat] In the PickAxe we say that "When dealing with a multipart form, the
  + 23532 [kentda stud.] No, the paragraph was just too small for the blind bat that I am :-)
  | 23643 [hal9000 hype] Wink's as good as a nod to a blind bat.
  + 23684 [stesch no-sp] The book is right.
    23685 [kentda stud.] I thought tempfiles closed themselves upon exit. Atleast that is what

^ Two Ruby-Tk questions
23522 [armin approx] I'm playing with Ruby-Tk and ran
+ 23540 [kero d4050.u] You can scale() the canvas.
| 23652 [armin approx] Thanks a lot.
| 23673 [kero d4050.u] scale() scales the content of the canvas.
+ 23681 [alwagner tca] You don't change the size of the canvas when you resize the window.

^ Windows Installer: SciTE instead of RubyWin?
23524 [andy toolshe] ...
+ 23577 [bobhicks nos] Sure! On another note...since Fox is in the distro now. Is anyone
| 23586 [rich infoeth] I say move to SciTE.  Scintilla is what underlies RubyWin as well, but SciTE seems to work a fair bit better.
+ 23580 [kevinbsmith ] I've been using SciTE on my Linux box for a while, as my
+ 23718 [bdelmee adva] Does anyone know how to feed parameters to the command-line that's used
| 23723 [rich infoeth] if PLAT_WIN
| 23757 [martin massi] RubyWin?
+ 24807 [acagle subim] Sorry to chime in late, but I got way behind on my reading.

^ RAA.succ
23529 [andy toolshe] ...

^ Principle of Least Surprise
23530 [jweirich one] At the Ruby Conference, Matz joked that the Principle of Least

^ ANN: Ruby Win32 Library 0.0.2
23541 [ptkwt shell1] ...

^ Fast reply needed: class var trouble
23544 [feldt ce.cha] Ok its getting late over here in sweden and I'm tired. Can someone please
+ 23548 [rich infoeth] you forgot the @ sign (@t=@@default_t)
| 23555 [feldt ce.cha] Oh, but that was my point: Why am I not allowed to call the instance
| 23557 [rich infoeth] attr_accessor :t
| 23558 [feldt ce.cha] Yes, of course. So classic! Ok, I'm off to bed...
| + 23561 [ralph.mason ] I would rather have the option to require declaration of all variables.
| | 23572 [mchahn facel] I don't know about variable declaration as the solution, but this is
| | 23587 [Dave Pragmat] I'm wondering if you're talking from some bad experiences here, or if
| | + 23589 [ralph.mason ] "Dave Thomas" <Dave@PragmaticProgrammer.com>
| | | + 23591 [rich infoeth] Please...not "var"...
| | | + 23595 [Dave Pragmat] Perhaps I'm just too conservative. I don't understand what makes Ruby
| | | | 23634 [kevinbsmith ] understand,
| | | + 23596 [feldt ce.cha] No, no no. Not needing declarations is one of the things making Ruby Ruby
| | | | 23604 [ralph.mason ] The thing everyone seems to be missing is that forcing declaration of
| | | | 23662 [ ser efn.org] While I'm still strongly opposed to the idea, there is another good
| | | + 23602 [ ser efn.org] The last thing I want to have to do is declare variables; the next step
| | + 23590 [rich infoeth] class MyCoolClass
| + 23567 [harryo zipwo] <Pine.GSO.4.21.0110270029510.9930-100000@godzilla.ce.chalmers.se>, "Robert
|   + 23574 [dblack candl] But that assumes that Ruby has enough information to know this, at the
|   + 23614 [niklas kagi.] I strongly disagree... all variables should be local by default.
+ 23563 [ser germane-] All you're doing is setting the local variable "t" in set_default.  If you

^ RE:  komodo (was: Ruby and Python: a fuzzy question)
23569 [mchahn facel] Thanks.  Looks great.  Any idea when Ruby support will happen?
23571 [rich infoeth] Well...ActiveState has an interest in Ruby, but no exact timeframe yet.  As for other things, on Win32 I've gone to using ScTE (www.scintilla.org).  Its a great editing component for for lots of languages including Ruby.  It also runs on Linux. Its not really an IDE (no project mgt, debugging, etc) but its a great editor.
+ 23573 [mchahn facel] So it seems komodo and black adder are in the same boat for ruby support.
+ 23575 [mchahn facel] If komodo is open-source (it is, right?) then we should be able to see
+ 23592 [nhodgson big] ...
  23612 [paulp Active] Komodo is not open source, though it ships with most of its source

^ Cross-platform GUI wrapper (for Python)
23576 [kevinbsmith ] I just read this really interesting article about a Python
+ 23600 [ ser efn.org] I suspect that this will have about as much success as AWT for Java did,
| 23610 [kero d4050.u] Gotcha.
+ 23623 [alwagner tca] Ah, but here's the rub:  just what is a "native" widget set for Linux?
  + 23633 [kevinbsmith ] The whole point is to support any or all of them. GTK is
  | 23645 [alwagner tca] Assuming it was to EVERY  GUI on Linux, it sounds like a real maintenance
  + 23661 [ ser efn.org] Have a native binding for each.  Find out what they're running, and use

^ Is there an Ultraedit wordlist for ruby?
23616 [melis cs.utw] ...
23622 [mchahn facel] I have one.  I'll email it to you.

^ ruby on windows-ce handheld ?
23617 [pantau zedat] is anyone working on a ruby implementation for windows-ce handhelds e.g.
23638 [ned bike-nom] Yes, there's a project that a grad student started; the sources are in the
23696 [pantau zedat] - hans
23697 [ned bike-nom] Sorry, I thought everyone who was compiling Ruby knew how to get to the Ruby

^ sleeping, calling methods inside class defs
23619 [tobiasreif p] ruby 1.6.3 (2001-03-19) [i386-cygwin]
+ 23620 [decoux moulo] ...
+ 23621 [dblack candl] Because the bare call to sleep is a call to Kernel#sleep.  If you want
  + 23629 [tobiasreif p] David, Guy,
  | 23632 [erik bagfors] If I understand you correctly
  | 23641 [tobiasreif p] yep. Thank you very much.
  + 23647 [tobiasreif p] Thank you very much for your explanations. The help from this list is
    + 23649 [avi beta4.co] I was about to give an explanation about the top level being in the
    | 23650 [tobiasreif p] That's what confuses me.
    | 23720 [decoux moulo] ...
    | 23740 [vjoel PATH.B] This has always been a bit confusing to me, though it is useful.
    | 23829 [decoux moulo] ...
    | 23862 [vjoel PATH.B] Then I guess I don't understand what the "current class" is, or how to
    | 23914 [decoux moulo] ...
    + 23675 [decoux moulo] ...