64279-65388

64070-64716 subjects 64429-65862

^ OT: was Re: turning modules into classes
64279 [hal9000 hype] Chris,

^ Does FX/Ruby have some standard icons?
64284 [harryo qiqso] I'm trying to be vaguely clever, by only expanding
64287 [lyle users.s] You are talking about two different issues with regards to how tree
64381 [harryo zip.c] Thanks.  I want the '+' signs.  What I was getting at is that at the time the
64485 [lyle users.s] and at least one claims to be FXRuby-specific. I can't comment on how

^ OT: Twelve Tone System
64286 [billtj y.glu] I never researched the actual answer, but this is my guess.  When a string
64289 [jweirich one] Notes whose ratio of frequencies are small integer fractions sound

^ Ruby Socket Examples
64290 [info irvineh] This is a multi-part message in MIME format.
64292 [drejewic wsi] Szymon

^ Rubyists in Dallas-FortWorth area
64294 [sdate everes] Is there a Ruby Users Group or some such activity is Dallas-Fort Worth area
+ 64305 [chrismo clab] area
| 64322 [sdate everes] while
+ 64320 [dave pragmat] Cheers

^ Ofertas aprovecha 2x1
64296 [opciones las] charset="iso-8859-1"

^ CLOS-like system & Ruby
64300 [gour mail.in] I'm pretty new to Ruby and would like to know whether it allows one to
+ 64303 [matz ruby-la] Which particular feature in CLOS do you want to see in Ruby?
| 64326 [gour mail.in] Dear Matz,
| + 64328 [matz ruby-la] Ruby do not, and will not have macro feature, but "define methods at
| | 64385 [gour mail.in] That's great!
| + 64330 [ekarttun cs.] Ruby and CL have often different ways of expressing things naturally.
|   64386 [gour mail.in] Yes, it's true. Ruby implementation will require to do it more in a
+ 64306 [mikkelfj-ant] to be
  64327 [gour mail.in] I am aware that my expression was not the most clear :-(

^ RPM for 1.7.3
64301 [nedry mail.b] I think I am being a lazy bastard... but does anyone have a RPM for
+ 64309 [mike osdn.or] ...
| 64312 [nedry mail.b] Thanks for that.  That's where I was looking, and found the 1.8 preview
+ 64664 [ian caliban.] Ian
  + 64667 [mike osdn.or] 503's?
  | 64668 [nedry mail.b] Da link worked for me, what is even better, compiling the source code
  + 64675 [mike osdn.or] Ian,
  | 64713 [ian caliban.] I think you're running into my Apache's mod_throttle, which rate limits
  | 64734 [ian caliban.] Ugh. It was still inaccessible. I've just switched to mod_bandwidth, so
  | 64795 [mike osdn.or] OK.  I've really tried to get SPECS/* at first, but that screwed
  + 64923 [kentda stud.] Very neat. Downloading like crazy here.

^ Penting !! Penawaran kerjasama bisnis.
64311 [n1t4 indo.ne] Dear Netter,

^ Re: was Re: turning modules into classes
64316 [mikkelfj-ant] In danish they are different: Where "hus" = "house" and "hjem" = "home",
64323 [batsman.geo ] I really donŽt follow your thoughts on how social constraints affect the
64339 [chadfowler c] Kya baat hai, paagal kutta?  Tumko kaunse bhashe bolte ho?
+ 64415 [hal9000 hype] Maybe, but not on a first date.
| 64437 [nahi keynaut] But both Klingon and Japanese are agglutinative
+ 64442 [martindemell] Shukriya :)

^ Range#length?
64329 [nemo hellotr] What happened to Range#length and Range#size?
64340 [gsinclair so] They disappeared, amidst some discussion in this group, a little while
+ 64343 [nemo hellotr] They disappeared, amidst some discussion in this group, a little while
| + 64364 [matz ruby-la] Do you think of a good name for it?  I'm glad to add a method if
| | + 64366 [rhahn tenlet] I suggest Range#endpoint.
| | | 64380 [nemo hellotr] We don't want to confuse it with #end, #last, and #max (though I think these
| | + 64370 [r.vrajmohan ] How about "last_member"?
| | | 64376 [ahoward fsl.] what would be the last_member of
| | | 64516 [billtj y.glu] How about "sup" and "inf"?  Using '{}' notation for set, '()' for open
| | | 64586 [matz ruby-la] I'm not sure what "sup" and "inf" stand for.
| | | + 64601 [jmichel bore] For me, the right way to think about a range you can iterate over is a a
| | | | 64607 [ahoward fsl.] i am totally with you.  i see no reason why ALL ranges must behave in exactly
| | | | 64619 [matz ruby-la] Range uses String#upto which terminates loop when generated string is
| | | + 64623 [billtj z.glu] I was taking the point from ahoward, which said
| | |   64645 [batsman.geo ] This is mathematically sound, but in which context would you use it?
| | |   64695 [billtj y.glu] I don't know.  I think it is the right way to say the upper bound of a
| | + 64373 [flori nixe.p] r = "a".."z"
| |   64387 [B.Candler po] But I'm darned if I can find the method with does the opposite!
| |   64447 [martindemell] Reposting this since it failed the spamblock - sorry, usenet people.
| |   64482 [matz ruby-la] Yes, thank you for reporting a bug.
| + 64457 [google tompa] class Range
+ 64361 [simon simon-] Unless you think of the "length" as being "the difference between one side

^ Portable FQDM in Ruby?
64331 [hgs dmu.ac.u] I am trying to get the fully qualified domain name of a machine in a
64354 [djberge qwes] The answer is, "I doubt it".
64374 [hgs dmu.ac.u] OK. I've not really explored DNS in depth yet.

^ OT: 12 tones
64334 [probertm NOS] "Hal E. Fulton" <hal9000@hypermetrics.com> did say ...
64338 [chadfowler c] Sorry to OT++, but the fact is that we've had 12 *potential* tones for a

^ [OT] Re: was Re: turning modules into classes
64356 [batsman.geo ] OK, Hindi is nice too :)
+ 64363 [matz ruby-la] I don't know.  Not explicitly at least.
+ 64382 [pit capitain] viele Worte (two instead of the three above :-)
| 64390 [batsman.geo ] When I say lots of _words_ I don't mean that it's very wordy [though it
| 64395 [michael_s_ca] I've read that the official language of politicians was decided to be
+ 64416 [hal9000 hype] Ha!! This tickles several neurons in my poor brain.
  + 64418 [nobu.nokada ] No, rather it's come from Klingon or the like.
  + 64444 [martindemell] There was also the joke about the professor who gave an entire lecture

^ FW: [ANN] New release of Ruby Development Tools plugin for Eclipse
64358 [mhale rolemo] This is a multi-part message in MIME format.

^ Re: Range#length?!?!?
64360 [ahoward fsl.] class Range
+ 64365 [matz ruby-la] Interesting.
| 64378 [ahoward fsl.] is that good, or bad?  ;-)
| 64479 [matz ruby-la] Neutral.
+ 64467 [ahoward fsl.] i can see your point.  however 'last - first' is really the distance between
  64469 [hgs dmu.ac.u] 1. The maximum extent or distance limiting operation, action, or
  + 64474 [ahoward fsl.] touche!  ;-)
  | 64498 [hgs dmu.ac.u] It is used that way, but it is a description of what exists, rather
  + 64475 [matz ruby-la] Unfortunately not for this case.  ".." was there first, so only "..."
    + 64501 [hgs dmu.ac.u] The very good reason might be the historical one for choosing '..'
    | 64520 [batsman.geo ] Unless they expand the keyboard we'll be using the same characters to
    + 64545 [hal9000 hype] I would rationalize it this way: .. works the same as
    + 64612 [jweirich one] The key to remembering is to find a handy mnemonic for ".." VS "...".
      64646 [batsman.geo ] I find it very acceptable and moreover that's the same I thought of :-)

^ Test::Unit exit status
64367 [William.L.Kl] The version of testunit that I'm using doesn't appear to return
64419 [nathaniel NO] Is there a way to set the exit status besides Kernel#exit(<status>)? The
64443 [drbrain segm] How about not using at_exit, and instead using oh, say,

^ [ANN] Ruby-ODE (Open Dynamics Engine Ruby binding) 0.01
64371 [ged FaerieMU] I'd like to announce the release of a Ruby binding for the Open Dynamics

^ FreeRide and FXScintilla
64372 [STUCKNER MUL] This is a multi-part message in MIME format.
64375 [STUCKNER MUL] This is a multi-part message in MIME format.
64377 [STUCKNER MUL] This is a multi-part message in MIME format.
+ 64405 [rich infoeth] delsp=yes;
| + 64407 [jim freeze.o] I also followed the instructions you listed (or thought I did)
| | 64410 [rich infoeth] Did you build with opengl support enabled?
| | 64436 [jim freeze.o] Oh, so that is it. Why does opengl work in fox but not in fxruby?
| + 64425 [STUCKNER MUL] I am not running on OS X but Red Hat 8.0. I haven't rebuilt with opengl
+ 64488 [lyle users.s] This error message indicates that the FXScintilla support code was not
  64500 [STUCKNER MUL] Thanks Lyle, that did the trick.
  64509 [rich infoeth] Debugging is not currently enabled...sorry :-(

^ rubynet-announce digest, Vol 1 #26 - 1 msg
64379 [rubynet-anno] Send rubynet-announce mailing list submissions to

^ HPUX compile problems
64388 [craig_files ] I am having problems when compiling on a HPUX11.00i machine (gcc 3.2), and
64411 [nobu.nokada ] gcc is standard on HP-UX?
64446 [piers ompa.n] I was trying to get hold of the a later version of autoconf - I know

^ String frustration
64392 [ tim tram.nu] Am having MAJOR trouble handling strings.
+ 64391 [ tim tram.nu] Sorry for the follow-up to myself, but: Using the debugger makes it clear
| 64398 [ms iastate.e] When debugging, strings are shown as if they had been entered in double
+ 64394 [dcarrera mat] Tell me if I understand the problem correctly.  You have string of the
+ 64403 [billk cts.co] How 'bout:  print str.gsub(/\\n/, "\n")
| 64440 [ tim tram.nu] Works like a charm. In my frustration, I missed the gsub method in the
+ 64435 [harryo qiqso] A number of people have given you solutions to the
  64454 [ tim tram.nu] No apologies necessary. I'm not 100% clear on this.
  + 64458 [hgs dmu.ac.u] irb(main):044:0> puts (sprintf "%s", "x\ny")
  | 64489 [ tim tram.nu] So using readlines rather than gets is the key. OK, that makes things
  | 64495 [hgs dmu.ac.u] My point was really the %s, just with a bit of context, but if that
  | 64507 [ tim tram.nu] It seemed to. Oh well, anyway, it's working now. Thanks again.
  + 64462 [batsman.geo ] You want multi-line regex mode!
  | 64486 [ tim tram.nu] No offense, but if I wanted THAT, I'd be using Perl.
  | + 64514 [ahoward fsl.] rexgexs are always ugly - but powerfull.  how can they not be, they are
  | | 64518 [dblack candl] I agree that scan is cool.  However, to be fair, from a *very* rusty
  | | 64519 [dblack candl] Whoops, make that /sg.  I'm not sure it's perfect anyway, but the
  | + 64522 [batsman.geo ] No offence???? You just called me Perl-lover, man! ;-)
  |   + 64541 [mike osdn.or] But hey they aren't! ;-)  Everything can be abused but regexes
  |   + 64679 [ tim tram.nu] And you should, if they work for you. :-) I don't want my code to look
  |     64728 [martindemell] martin
  + 64491 [wkb airmail.] Tim,
  | 64508 [ tim tram.nu] Thanks, Warren. I thought about doing this as well.
  + 64511 [drbrain segm] YAML - http://raa.ruby-lang.org/list.rhtml?name=3Dyaml
    64680 [ tim tram.nu] Will check it out, thanks! (I went to the Web site for YAML for Ruby and

^ Ruby module distribution
64396 [matt black-b] I've been reading the various messages on how to distribute Ruby modules.
+ 64397 [dcarrera mat] But most OS's don't have Linux.  What would you do about Mac OS X, FreeBSD
| + 64401 [matt black-b] Personally, I wouldn't do anything, I don't use those systems.
| | 64402 [ian caliban.] I personally like the RPM paradigm, too, which is why I've spent a
| + 64406 [batsman.geo ] If we make the next APT in Ruby we'll be essentially creating a
|   64484 [mike osdn.or] ...and spend too much effort on that.
+ 64492 [mike osdn.or] Matt, you can try out ALT Linux [1] -- 2.2 release will be
| 64523 [batsman.geo ] [Debian sid]
+ 64967 [warren freed] To Matt Lawrence

^ passing a CGI argument to eruby in the command-line?
64399 [sera fhwang.] Is there a way I can pass a CGI argument to an .rhtml file if I'm
64494 [mike osdn.or] echo "this=that" | eruby /www/some-page.rhtml

^ Dynamically changing widgets in FXRuby
64404 [jnews epicso] I am attempting to learn FXRuby, and I'm running into a small problem,
64413 [jason persam] @tree.create
+ 64490 [lyle users.s] Actually, it's the other way around. If you put the call to @tree.create
+ 64505 [jnews epicso] #--- snip here ---#

^ Ruby Weekly News
64408 [Dave Pragmat] Ruby Weekly News: 02/11/2003

^ Core dumps with FX/Ruby tables
64412 [harryo qiqso] I'm running the Pragmatic Programmer's install for
64424 [harryo qiqso] I'm still having this problem, having moved to 1.6.8.
64428 [glenn gmlewi] I'm also getting "[BUG] segmentation fault" with FXRuby-1.0.19

^ Re: 12 tones
64414 [hal9000 hype] Thanks for that correction. My knowledge of

^ Name for #=== based assertion
64421 [nathaniel NO] I've had several requests that an assertion based on #=== be added to
+ 64438 [matt lickey.] Maybe...
+ 64472 [pbrannan atd] I've heard this operator called the "threequal" operator.
| 64542 [hal9000 hype] I think "case equality" is the common term for it.
| 64562 [ntalbott rol] So you would suggest #assert_equivalent? It has a nice ring to it.
| + 64569 [hal9000 hype] Hmm, I had ranged afield from the original topic.
| + 64571 [matt lickey.] Yes, since in English "equivalent" and "equal" are more or less
|   + 64578 [hal9000 hype] They may be equivalent, but they're not equal. ;-)*2
|   | 64693 [pbrannan atd] Equivalent \E*quiv"a*lent\, a. [L. aequivalens, -entis, p. pr.
|   + 64624 [nathaniel NO] Well, yes... although if I saw #assert_equivalent, it would at least
|     + 64633 [mwilson13 co] How about assert_related
|     | 64643 [pit capitain] Someone suggested "assert_case_of" and "assert_not_case_of" recently
|     + 64657 [matt lickey.] Yes, maybe there is no good English word for "the === operator" so
|       64669 [pit capitain] Just as it was meant to :-)
+ 64473 [dblack candl] irb(main):007:0> def assert_case_of(x,y); x === y; end
+ 64739 [qrczak knm.o] I would call it matching.

^ Ruby definition
64423 [patrickdloga] Having been away from Ruby for a couple of years, I have a few
+ 64426 [chadfowler c] It seems to be the source.  I think Rubicon is a rather nice definition
+ 64451 [drejewic wsi] Dear Patrick,
  64611 [patrickdloga] And I was so hoping the situation had changed over the last couple of years.
  64641 [botp delmont] It has indeed! (I personally couldn't catch up w the new developments :-).

^ Lexical scope and closures
64427 [patrickdloga] I read recently a flaw I did not previously know about...
+ 64430 [hal9000 hype] I sympathize with you in a way, Patrick, but I
+ 64463 [dblack candl] Let us know if you need help choosing a name for your new language :-)
| 64610 [patrickdloga] Exactly. I think my second round of interest in Ruby lasted about 24
| 64614 [botp delmont] Pls don't lose interest. Ruby needs more ruby hackers.. You have a point
+ 64564 [B.Candler po] It's not actually true. Blocks do introduce a new scope, iff the variable
  + 64567 [batsman.geo ] I know, but let me catch my chance to state that
  + 64570 [hal9000 hype] be
    + 64575 [patrickdloga] God help us all. I thought Ruby was a simple language.
    | 64647 [batsman.geo ] That modification is not meant to spoon-feed the compiler (which does
    | 64670 [B.Candler po] That's exactly it.
    | + 64671 [decoux moulo] No, there are only 2 cases. No need to give complex explanation for
    | | 64673 [B.Candler po] (1)    a=0  and  {|a| ... }
    | | 64674 [decoux moulo] Only matz know the new rules.
    | | 64677 [B.Candler po] He was involved in the recent discussion about what his ideas were for the
    | + 64678 [transami tra] thank you for the excellent overview
    |   + 64681 [B.Candler po] Hmm, nice idea: make it settable per-block rather than per-variable.
    |   | 64685 [batsman.geo ] Was suggested before but IIRC matz didn't comment on it.
    |   | + 64688 [B.Candler po] *  LocalVariablesAndBlocks?
    |   | + 64733 [B.Candler po] Thanks for putting this together. Anybody else who's interested, please see
    |   + 64750 [matz ruby-la] I don't think it's good idea, because it kinda hard to remember which
    |     64751 [transami tra] i understand, but perhaps too bad, as i think it might be the easiest way to
    |     64755 [matz ruby-la] Which camps?  At least this one does not satisfy the "compatibility
    |     64756 [transami tra] 1) make'em all local
    |     64758 [matz ruby-la] I'd choose something between
    |     + 64762 [botp delmont] <grin> I like this, reminds me of basic. Or maybe ":=" wc reminds me of
    |     | 64774 [bob.news gmx] "Peñá, Botp" <botp@delmonte-phil.com> schrieb im Newsbeitrag
    |     | 64829 [jweirich one] Actually, to me, it is the "local" command that reminds me of the
    |     + 64770 [transami tra] arr.each {|i;a,b|
    |     | + 64773 [matz ruby-la] It's sort of hard to describe, but it is not declaration I avoid;
    |     | + 64813 [B.Candler po] I think so too. It would make sense if they were catching variables 'a' and
    |     | + 64818 [transami tra] i'm concerned about using 'let' as it would not be clear why we wouldn't use
    |     |   64821 [batsman.geo ] How do I use A#c then if there's @c?
    |     |   64833 [transami tra] indeed, that actually is intentional. the namespace for variables and methods
    |     |   64845 [batsman.geo ] With a warning?
    |     |   64900 [transami tra] well, a warning might be good. the later definition would override the former
    |     + 64775 [bob.news gmx] "Yukihiro Matsumoto" <matz@ruby-lang.org> schrieb im Newsbeitrag
    |     | 64777 [nobu.nokada ] Because it is an ordinary block.
    |     | 64786 [bob.news gmx] <nobu.nokada@softhome.net> schrieb im Newsbeitrag
    |     | 64791 [nobu.nokada ] def local; yield; end
    |     | + 64805 [transami tra] all it does local a and b. ugly, if you ask me.
    |     | | + 64814 [dblack candl] Isn't that the goal though?
    |     | | + 64824 [batsman.geo ] Still dreaming of your super-closures? :)
    |     | + 64960 [bob.news gmx] <nobu.nokada@softhome.net> schrieb im Newsbeitrag
    |     |   64962 [batsman.geo ] That mechanism can be implemented in Ruby itself, ie. it doesn't need
    |     |   64969 [bob.news gmx] I see.  Thanks!
    |     + 64822 [batsman.geo ] personal feeling: too many indentation levels.
    |     | 64842 [matz ruby-la] That was my original idea, but I now feel that it's too few clue to
    |     + 64855 [qrczak knm.o] It would look backwards for me; := looks like assignment and =
    |       64920 [dblack candl] As one of the two or three people in the world who think that Ruby's
    |       + 64921 [decoux moulo] Well, the rule actually is simple : a variable belong in the scope where
    |       | + 64922 [dblack candl] def meth
    |       | | + 64925 [decoux moulo] I don't understand sorry, with this example
    |       | | | 64926 [dblack candl] Yes, but now that I see the word "shadowing" I realize it won't happen
    |       | | | 64927 [decoux moulo] use "export" rather than "import", i.e.
    |       | | | 64968 [stephen.hill] Personally I am genuinely confused. I like the scoping rules as they
    |       | | | 65022 [B.Candler po] That's not entirely the problem. It's also when your '#do something'
    |       | | | 65079 [stephen.hill] I understand the problem now - its just that I have never found it to
    |       | | | 65194 [B.Candler po] You've only displaced the problem: 'local' now must be a block-local
    |       | | + 64934 [jweirich one] I think the most common case will be ... code that looks exactly like it
    |       | |   64936 [matz ruby-la] Thank you for expressing my thought.  I wish I could describe my ideas
    |       | + 64924 [gsinclair so] Sounds good to me, just as it did when it was first suggested!
    |       + 64932 [transami tra] honestly, i probably have to agree. the more i think about it the more i see
    |         65388 [B.Candler po] Suppose Ruby did introduce a declaration for local variables as discussed,
    + 64579 [B.Candler po] Yes. That's one reason for the warning; the other reason is because Matz
      64587 [hal9000 hype] <sigh> I never really understood the term "shadowing." I thought
      64594 [matz ruby-la] This will cause warning first, then eventually become error in the far
threads.html
top