3410-4100 subjects 3801-4145

^ [Patch] Trace in debugger
3635 [nahi keynaut] Today I used Ruby-1.5 debugger after a long time, and I found 'list'

^ Perl and Ruby: an Irony
3645 [thucdat hotm] I am rewriting a Perl program in Ruby to see the difference.
+ 3652 [schneik aust] No, this is an example of (1) the fallacy of generalizing from one data point
+ 3653 [yashi yashi.] just my two cents
  3654 [thucdat hotm] The trouble is sometimes I have to fish some fields in the middle of the
  3655 [yashi yashi.] line = 'my_service foo yashi 25 bar $1,000,000,000,000' # ;p
  3656 [thucdat hotm] That's it, bravo. Your salary is not 2 cents at all.
  3659 [c.hintze gmx] Dat,
  + 3660 [thucdat hotm] Clement,
  | 3674 [c.hintze gmx] Dat,
  | 3678 [schneik aust] Well, don't be too critical of your English.
  + 3661 [hfulton aust] This is slightly amusing.
    3675 [c.hintze gmx] Yeah! For you who has not done such crab, as I've done!!! :-(

^ Ruby 1.4.5 repacked
3647 [matz ruby-la] md5sum is
3649 [thucdat hotm] adm4cps:spsy$ make
3650 [schneik aust] Given that you are apparently the only one so far who has problems with this,
3671 [schneik us.i] # >
3672 [Jan.Matejka ] date 	06.26,

^ Ruby/Tk questions (docs, widget, usage)
3657 [schneik aust] ruby-1.4.5/ext/tcltklib/README.euc?

^ Components and Objects and Ruby (long post, partly OT)
3658 [schneiker ju] I wanted to draw your attention to an article that I have included below,

^ Ruby 1.4.5 install from Mandrake cooker rpms ?problem?
3662 [charleshixsn] This is the first time that I've installed ruby, so
3663 [pixel mandra] you installed the binary rpm did you?
3664 [yashi yashi.] what version was it?  i've been using -O6 and -mpentium with gcc
3669 [pixel mandra] starting with 1.4.4

^ Ruby 1.4.5 bug
3667 [fenghou erol] Compiled ruby 1.4.5 source on Redhat Linux (intel).  Got
3668 [matz netlab.] Katsuyuki Komatsu <komatsu@sarion.co.jp> found and fixed the bug

^ Ruby in Italy -- Unknown
3670 [jilanik tin.] Here in Italy, Ruby is absolutely uknown, even among Linux comunity and script

^ -  Learn how to SPEED UP your INTERNET connection by 70-100% for FREE!
3676 [tbymwp speed] Hey,

^ sending output to a file or to tee.
3679 [hgs dmu.ac.u] I have a rather large ruby program, too large to post. When I run it the
3700 [Dave thomase] Is your large program long-running, and are you waiting for the output
3724 [hgs dmu.ac.u] That must be it.  I have not done anything to alter the buffering

^ protocol.rb http.rb 1.1.24
3681 [aamine dp.u-] {protocol,http}.rb 1.1.24 was checked in.

^ no traffic
3685 [matz netlab.] I haven't got any trafic for 2 days in the list/newsgroup.
+ 3686 [nosuzuki e-m] and NetNews in this 2 days. So, That might the same problem you posted
| 3688 [matz netlab.] No, I checked.  The Japanese mailing list - ruby-list had file crash
| 3689 [hipster xs4a] Your `no-traffic' message is the first I receive since 3681, so there's
| 3690 [matz netlab.] You can check the dropped mails at
| 3691 [matz netlab.] And I have to mention the great summarizing feature of this site.
+ 3687 [schneik aust] Most unusual, but I think things will pick up this time next week again.

^ Quiet?
3692 [DDouthitt cu] Seems awfully quiet....
3693 [hipster xs4a] Matz mentioned some troubles with the list server. Some articles weren't

^ Why it's quiet
3694 [hal9000 hype] We are all busy learning the new language
3703 [nahi keynaut] Yes!
+ 3705 [matz netlab.] I'm not sure for the rest, but these are the features of Ruby, aren't they?
| 3707 [nahi keynaut] Yes, I think so, too.  I might confuse you.
+ 3722 [charleshixsn] This is a multi-part message in MIME format.
  3734 [schneik aust] Well, I think OS-dependent features for very widely used OS's are a good
  3735 [Dave thomase] Again, this comes back to the ease of acquiring and installing these

^ Method question
3695 [charleshixsn] This is a multi-part message in MIME format.
3696 [hal9000 hype] Others, e.g. Matz, can answer this better, but this is
3698 [matz netlab.] Your answer is awesome.

^ Caller's class or object
3697 [hal9000 hype] OK, here's a question.
3702 [matz netlab.] No, there's no way to retrieve where a method is defined, even current

^ Multithreaded/Embedded Ruby?
3699 [embed NOSPAM] Is there any information on Thread safety in ruby. Suppose I embed Ruby in a
3701 [matz netlab.] Ruby is currently NOT thread safe.  Ruby/Java, for example, handles
3704 [hotaka media] This is from Hotaka@TUT
3706 [matz netlab.] Yes, you may, Watson. ;-)
3708 [hotaka media] This is from Hotaka@TUT
+ 3710 [matz netlab.] I guess something is thread safe, if and only if it's safe in ANY condition.
| 3870 [embed NOSPAM] (or possesed by)
| + 3872 [aleksi.nieme] No it's not as an interpreter, a program. You can't make multithreaded C
| | 3879 [matz netlab.] I doubt it.  Ruby's conservative GC may be fooled by objects
| + 3880 [matz netlab.] The answers are: not yet; no; yes.
+ 3738 [db3l fitlinx] One thing to be cautious of is that thread-safety is often not just a

^ cvs access problems on AIX
3709 [schneik aust] "On AIX systems, the system will often have its own program trying to
3711 [matz netlab.] Let me consider making nightly snapshot, without warrancy.
3716 [schneik aust] Thanks. Even a weekly snapshot would be great.

^ Re: Why it's quiet -- Ruby features.
3712 [schneik aust] Isn't this a Ruby application? I didn't think that this was a fully-supported
+ 3713 [matz netlab.] It's a full featured Ruby to C translator, still in experimental phase
+ 3714 [nahi keynaut] No, rb2c is not a Ruby application.
  3717 [schneik aust] Any chance that Ruby 1.6+ will have a built-in standard multidimensional array?
  + 3720 [Dave thomase] Apart from performance, are there any advantages to building this in,
  + 3721 [decoux moulo] Another reason is that if you look at GSL, you'll see that this library

^ re: Your pallet service
3715 [Marie_Cook f] ___________________________________________________________
3718 [aleksi.nieme] I think Marie Cook has misunderstood the role of this list. I think we've
3726 [hfulton aust] My guess would be that this person posted to the newsgroup,
3730 [matz netlab.] I guess it was the list that had ATTACKed.  She(?) posted to the

^ Clearer parsing
3719 [aleksi.nieme] class Example
3725 [matz netlab.] This is much nicer to the programmers.  I like being nice to them,

^ Possible parsing inconsistency
3723 [Dave thomase] I'm writing test cases for line continuations (boy, what an exciting
3727 [matz netlab.] Well,
3728 [Dave thomase] ;-)
3732 [matz netlab.] Well, I'm kinda embarrassing to tell you that 5 minutes after I sent

^ Re: Why it's quiet -- Ruby features -- Arrays
3729 [schneik aust] Apart from performance, is there any advantage to flying 1,000+ miles
+ 3731 [matz netlab.] In summary, it's quite possible that future distibution includes
| 3748 [schneiker ju] Arrays"
| 3753 [matz netlab.] I doubt it.  The reason is that there's no de facto multidimensional
| 3810 [schneiker ju] If NArray were completed and supported, would you recommend any changes to
| 3815 [matz netlab.] Friend, don't ever ask me about mathematical issue. ;-)
+ 3733 [Dave thomase] I'd certainly go along with you here - adding useful functionality

^ Eiffel adds agents
3736 [Dave thomase] Bertrand Meyer has a chapter from the new version of "Eiffel: The

^ Re: Why it's quiet -- standard distribution issues
3737 [schneik aust] Well, up to a point. That would certainly help in many cases, but there are
3739 [Dave thomase] Today maybe. Next year, I suspect the opposite will be true.
+ 3741 [aleksi.nieme] I think it's the feature of the mailing list archive to create a threads of
| 3749 [schneiker ju] of
+ 3747 [schneiker ju] be
  3751 [Dave thomase] I've got an idea! (OK - it had to happen sooner or later).
  3812 [schneiker ju] for
  3814 [Dave thomase] Because the stuff you're talking about is to some extent currently

^ novity
3740 [ilnodo ilnod] www.ilnodo.it

^ Re: Ubiquitous Ruby
3742 [Dave thomase] Just a couple of points.
+ 3750 [schneiker ju] Famous last words. :-)
| 3752 [Dave thomase] Agreed. Now demonstrate why your dog is any more real than my tail.[1]
| 3811 [schneiker ju] This may make more sense if you start reading from somewhere about 2/3rds
+ 3754 [hgs dmu.ac.u] Erlang looks good in this regard, but I have not got into it yet.
+ 3799 [ino-waiting ] not neccessarily.  standard pgp-encryption would suffice, it's the
  + 3800 [aleksi.nieme] Well, this sounds nice! Ruby (community) would be the first providing, as an
  + 3802 [Dave thomase] Isn't that vulnerable to man-in-the-middle, though? I'm not an expert
    3803 [aleksi.nieme] Yes it is. Look my mail [ruby-talk:3800]. If there're some man-in-the-middle

^ CGI module and form fields values
3743 [jilanik tin.] 1- textbox (name)
3744 [Dave thomase] A hash is not ordered, so you won't be able to have 'each' return the
3745 [aleksi.nieme] Moreover, I'm not sure RFC for HTTP (1949 if I recall correctly) requires

^ XMP on comments
3755 [aleksi.nieme] require "xmp"
3756 [aleksi.nieme] xmp = "can't handle comments"

^ Socket error reporting
3757 [aleksi.nieme] ruby -rsocket -e 's = TCPsocket.open("foobar.com", 80)'
3769 [matz netlab.] Why `Unknown error'?  Anyway I'll apply your patch.
3770 [aleksi.nieme] I didn't dive into the problem more than that and I don't know what

^ Array.uniq! returning nil
3758 [aleksi.nieme] Why Array.uniq! returns nil if it doesn't do anything (every element
3768 [matz netlab.] Ruby 1.5.x do the magic for you.  Non bang methods don't copy memory
3771 [aleksi.nieme] That's good. *Waiting eagerly* :). But even then I guess
3777 [matz netlab.] Hmm, how about this?
3778 [aleksi.nieme] Well, I appreciate your try. This is yet another nice trick to keep in mind.
+ 3785 [matz netlab.] It's the only effective way to know if modification is done.
+ 3794 [nahi keynaut] As matz said in [ruby-talk:3785] and Dave said in [ruby-talk:1229],
  3795 [aleksi.nieme] These and your example was exactly what I was looking for! Thank you.
  + 3796 [hgs dmu.ac.u] Is this a more idiomatic solution?
  + 3825 [nahi keynaut] You are welcome.
    3842 [matz netlab.] Hmm, I thought I (we) came to the negative conclusion.
    + 3844 [hgs dmu.ac.u] I read this as suggesting test before substituting, but I'm not
    | 3845 [aleksi.nieme] I have to think about those before I answer.
    | 3853 [matz netlab.] "Conditions" may have side effect.  Have you ever seen a code like
    + 3851 [nahi keynaut] Thank you for your comment.
      3852 [matz netlab.] Didn't I raise objection?  Well, perhaps I forgot to say my opinion.
      3862 [schneiker ju] "Yukihiro Matsumoto" writes,
      + 3863 [hgs dmu.ac.u] How much code would break by having an optional third argument, defaulting
      | 3866 [aleksi.nieme] This might be good idea. However I'd like to have a field in String which
      | 3868 [hgs dmu.ac.u] that default '=nil' preserves current behaviour.
      + 3878 [matz netlab.] Other noise characters?  Come on. ;-)
        + 3882 [aleksi.nieme] Right! No more unnecessary noise!
        | 3890 [matz netlab.] Well, modifying may cause confusion.  For example,
        | 3893 [hgs dmu.ac.u] Thank you.  One more might be a new operator.  I don't know
        | 3896 [hfulton aust] That's a very interesting idea, Hugh. But how does
        | + 3907 [matz netlab.] Hmm, by returning a special object that responds to any message and
        | | 3931 [aleksi.nieme] Don't get me wrong here. I've understood your point, but I just want to make
        | | 3961 [matz netlab.] Like bang sign for Scheme language, right?
        | | 3964 [jo totland.o] [ Yukihiro Matsumoto ]
        | | 3992 [matz netlab.] The reason is, as a totally object-oriented language, Ruby has too
        | | 4004 [aleksi.nieme] I like your view here! I think you're quite correct. First bang-methods were
        | | 4024 [matz netlab.] Actually, it is mainly a historical reason.
        | + 3932 [hgs dmu.ac.u] Our mail has been dead for a few days...
        + 3888 [nahi keynaut] Matz, at first, I have to say that I have ever seen this

^ Ruby-man-1.4 needs default values
3759 [aleksi.nieme] The ruby-man-1.4 predefined variables and constants doesn't include the
3767 [matz netlab.] I'll add them in the near future.
3822 [matz netlab.] $. does have alternative ARGF.lineno, but it's a alternative for

^ Range.generate
3760 [aleksi.nieme] class Range
+ 3762 [decoux moulo] this is
+ 3763 [Dave thomase] .to_a does this too...
  3764 [aleksi.nieme] How come I happen to expect the dot binding the parts together before the

^ Emacs indentation
3761 [aleksi.nieme] def emacs
3784 [matz netlab.] This patch may help.

^ modulo and remainder
3766 [Dave thomase] In the latest CVS, #remainder is now deprecated, and the warning
3772 [matz netlab.] In short, yes.
+ 3773 [aleksi.nieme] I think there will be times every now and then (cryptography might be one
+ 3779 [tadf kt.rim.] I hope not.
  + 3780 [Dave thomase] So is date2 now broken with 1.5.4?
  + 3787 [matz netlab.] Hmm.
    + 3809 [schneiker ju] A possible big advantage of emulating Python's behavior (which was hopefully
    + 3871 [royhamel hom] I'm very much a newbie programmer and don't pretend to be able to follow
      3885 [schneik aust] I'm somewhat puzzled about that.

^ Ruby needs \n for last line in here-doc
3774 [aleksi.nieme] The file with content "puts 'foo'" (without \n as a last character) goes
3782 [matz netlab.] I'll fix it based on your patch.  Thank you.

^ Array.pick
3775 [aleksi.nieme] I've found following snippet quite handy. Dunno if there's wider need for
3808 [schneiker ju] Just a general comment--a brief statement of purpose and using conventional
3817 [c.hintze gmx] I fully agree with you ...
3823 [aleksi.nieme] Agreed! I'm sorry I missed that this time. Hopefully I'm better person next
3855 [matju CAM.OR] \t counts as a number of spaces varying from 1 to 8, whatever necessary to
3856 [Dave thomase] I think Conrad was referring to something else. For some reason, when
3860 [schneiker ju] see.

^ Kernel.rand
3776 [aleksi.nieme] module Kernel
3783 [matz netlab.] Ok, I'd pick this behavior.  Probably a bad news for document writers.;-)
3786 [Dave thomase] This coming from the man who removed 'remainder' and changed the
3788 [matz netlab.] Without previous notice, right?  I meant ANOTHER bad news.
3789 [Dave thomase] I can beat your bad news ;-)
3790 [matz netlab.] Oops, embarassing typo.
3816 [matju CAM.OR] module Useful

^ Widening out discussions
3781 [Dave thomase] I was wondering--how many developers on ruby-lang also read
+ 3791 [matz netlab.] I (in fact the company I belong) have the Japanese to English
| + 3792 [Dave thomase] Presumably that volunteer needs to speak Japanese?
| | 3793 [matz netlab.] I'm afraid he needs to.  The document for the translation software is
| | 3813 [schneiker ju] Hmm. Can't the translation software translate its own documentation? :-)
| | 3906 [matz netlab.] Would you like to see the translation examples?
| | 3916 [schneik aust] That's very interesting. Thank you both.
| | 3927 [aleksi.nieme] Thank you very much. This is really good (maybe I don't have big
| | + 3928 [matz netlab.] Hmm, bloody.
| | | 3929 [aleksi.nieme] Yup, I meant the Ruby part.
| | | 3936 [matz netlab.] It requires Honyaku-damashii from OMRON corp.
| | + 3934 [manamist whi] SugHimsi%Japanese.
| | + 3948 [maki inac.co] I've updated a translator for ruby-list and samples.
| + 3798 [ino-waiting ] what is there to do?  where do you think the problems could arise?
+ 3797 [ino-waiting ] www.dictionary.com.   short texts in a box are translated free, and not