125671-126412

125427-135706 subjects 125801-132946

[SOLUTION] LCD Numbers (#14)
125671 [flgr@cc n. e] ...
125698 [jannis@ha de] [SOLUTION] LCD Numbers (#14)
+ 125707 [    v@vs .r ] Cool! :o)
+ 125720 [matthew.moss] Here is my solution...  Not sure that it is really Ruby-ish, as this is
  + 125754 [laurent__nos] [SOLUTION] LCD Numbers (#14)
  + 125775 [dave@bu t. d] That would make Python fun...

REXML question
125673 [cyclists@nc ] I'm working on a program that uses REXML to parse SVG. One of the test
125701 [jamesUNDERBA] The tutorial

Python vs Ruby
125682 [lethalman@fy] (sorry for my poor English)
+ 125683 [premshree.pi] I might be repeating a lot of stuff that's already been written in the
| 125686 [lucsky@ma .c] Here's one: Ruby is better than Python, but the industry has decided
| + 125690 [lethalman@fy] (sorry for my poor English)
| | 125697 [flgr@cc n. e] Nope, that's not true. I see quite a lot of development and support.
| + 125691 [mailing-list] Ah, a Peter Gabriel-ism ;-),
| + 125694 [premshree.pi] I think you are being too critical about Python. I use Ruby as well as
|   + 125704 [lucsky@ma .c] You're probably right. My opinion on Python is just based on my personal
|   | 125708 [premshree.pi] Boy, do you hate Python or what! I haven't seen Ruby users so critical
|   | + 125713 [lucsky@ma .c] Just a little... ;)
|   | | 125818 [eustaquioran] For me the problem is not really the language, but people who uses and
|   | + 125822 [ruby-lists@l] i happen to intensely hate python also for what its worth :)
|   | | 125834 [snowzone5@ho] yeah, that can be a killer if you don't use a fixed width font.
|   | | + 125838 [mailinglists] Even C++ Freaks like Bj?rn Stroustroup don't like brackets because
|   | | | + 125846 [snowzone5@ho] it might seem like that if you know ruby really well and use a lot of
|   | | | | 125851 [premshree.pi] I don't think that's right. It's just a matter of preference. Nothing
|   | | | + 125861 [ruby-lists@l] yup. lisp just ain't all that amazing really
|   | | + 125852 [premshree.pi] Heh, you don't like indentation _and_ you don't like begin/end blocks?
|   | | | 125855 [snowzone5@ho] i LIKE the indentation (it was the person i was replying to that
|   | | + 125859 [ruby-lists@l] actually, i was using vim, but without a distinction in the highlighting
|   | + 125850 [benjamin.fer] critical
|   |   + 125854 [snowzone5@ho] so i guess my question is: who's right with the statement you or the
|   |   | + 125873 [benjamin.fer] it.'
|   |   | | 125878 [jamesUNDERBA] Bruce Eckle, commenting on the readability of a given Ruby example.
|   |   | | 125910 [jim@we ri hh] It all makes sense now.  Although I, myself, do not speak Pennsylvania
|   |   | + 125874 [jamesUNDERBA] On the other hand, I've read comments (not here) to the effect that the
|   |   |   125886 [snowzone5@ho] or does 'the ruby way' mean the freedom to write ruby code the way you
|   |   + 125865 [ruby-lists@l] actually, while there is some truth to this, i disagree.
|   |     125885 [snowzone5@ho] and i think perl6 is going to be very wronger...i wish larry wall
|   |     + 125889 [rasputnik@he] *A* perl programmer, yes.
|   |     + 125890 [premshree.pi] Perl OO is terrible, but things are better with Perl 6.
|   + 125706 [mailing-list] Or may he's just a smug coward?
|   + 125709 [jeff@da k- i] ...
|     125813 [benjamin.fer] that
|     125827 [rasputnik@he] Bruce Eckel thinks Java is a good language, so I'll take his opinions
+ 125687 [mailing-list] Please, oh please look at the ruby-talk archives before asking questions
+ 125689 [jamesUNDERBA] Ruby is moving up the charts.
+ 125693 [joaopedrosa@] Besides what the other guys have already said that I agree with, I
| 125699 [premshree.pi] And Ruby is faster (performance-wise) for some _other_ tasks. :) I
| 125700 [eero.saynatk] The main reason is that people don't want to try it because of the
+ 125695 [flgr@cc n. e] I'm not sure what that means, but if you're arguing about adaption,
+ 125725 [rff_rff@re o] it is doing, it seem, I think this thing was true for pythonvs perl and
+ 125729 [mailinglists] At the moment i would say that the language is in some aspects better
| 125730 [premshree.pi] Could you elaborate on those aspects?
| + 125731 [joaopedrosa@] It would be great to hear about those... But really, if someone that
| + 125736 [mailinglists] Orthogonal OO design, blocks and open classes are in my opinion the only
|   125756 [premshree.pi] Yes, that's one of the major differences I point out when I compare
|   125777 [kristof@vl e] Then what would you suggest?
+ 125748 [Bil.Kleb@NA ] I don't understand "supported".  The *longest* time
| 125948 [rampant@gm i] I think he means supported by hosts etc, though that is changing too I think.
| 125963 [snowzone5@ho] not just me...all the perl programmers i know can read all their old
+ 125789 [nospam@no pa] Some might say the same about Microsoft Windows vs Linux.  Rather than
  + 125810 [premshree.pi] That's interesting, but (as you mentioned later) not an accurate
  | 125871 [matz@ru y- a] I don't think so.  You have more English documents than in Japanese
  | 125876 [jamesUNDERBA] Well, I'm inclined to blame "LAMP".
  | + 125888 [premshree.pi] Heh, once one of my friends called me a LAMeR. :D
  | | 125893 [zdennis@mk e] RAM
  | | 125917 [alang@cr no ] RAP = Ruby + Apache + PostgreSQL?  ;)  Though various people's tastes in
  | | + 125919 [zdennis@mk e] RAMP  or RAM/P
  | | | 125976 [jamesUNDERBA] The O'Reilly site has an "On LAMP" section.
  | | | 126051 [mailing-list] haha, I know what you mean ;-),
  | | + 125920 [rff_rff@re o] I'm always been a fan of the FRAP acronym (freebsd ruby apache pgsql)
  | | | 125924 [michael.deha] A few things to think about for those that worry about popularity.
  | | | + 125927 [premshree.pi] a lot of folks learn languages not necessarily because they are going
  | | | + 125947 [mkhan@le tr ] Play with them as long as you want !
  | | + 125925 [snail@ob me ] <alang@cronosys.com> writes
  | |   + 125981 [rampant@gm i] Considering the ability to plug in C code with Ruby.... how about just a "C"? :)
  | |   + 125988 [jason.sweat@] No fair stealing the acronym I came up with for my "Commercial
  | + 126040 [aglarond@gm ] I tend to like the "R", it leads to PUR (PostgreSQL UNIX Ruby) solutions...
  + 125820 [rff_rff@re o] well, supposing you're talking about freenode, consider tha a #python2
    125821 [eustaquioran] - ----------------------------
    125832 [snowzone5@ho] i've found that when someone becomes a 'python person'  they
    + 125835 [eustaquioran] Yeah, that's what I said about that: you can't talk on a nice way with them
    + 125853 [premshree.pi] With all due respect, I'd disagree here. I have been a long time
    | 125856 [snowzone5@ho] ok, not you...
    | 125928 [snail@ob me ] <snowzone5@hotmail.com> writes
    | 125936 [snowzone5@ho] i also mention that lua WAS easier, but got the same reaction...
    + 125860 [jamesUNDERBA] There's also this page
    | 125881 [snowzone5@ho] yup, i've been there...
    + 126412 [onurb@xi ud ] Please stop trolling.

[ANN] win32-open3 0.2.0
125702 [djberg96@ho ] I'm happy to announce the release of win32-open3 0.2.0.

how do I add a C widget to Ruby/Tk?
125710 [paxton@ki p.] I have an existing Tcl/Tk widget written in C that I=B9d like to port to
125882 [nagai@ai ky ] Please use your widget as it is.

How to get rake / testrb running again
125712 [tobias.luetk] Since i updated to 1.8.2 by way of darwinports on osx I have several problems
125796 [jim@we ri hh] Hmm... I am unsure from your description ... does the problem only happen when

Interactive Fox GUI Builder and Code Generator
125728 [snowzone5@ho] i did not know that...has anybody done this and liked the results?
125883 [nagai@ai ky ] However, you must decide how to get information from your GUI.

Fileutils::copy_entry() won't copy symlinks without dereferencing
125733 [andrew@wa ro] Am I doing something stupid?? ruby-doc says
+ 125738 [bitserf@gm i] This appears to be a bug.
| 125740 [bitserf@gm i] Sorry, that would be "will never be matched".
| 125743 [eero.saynatk] A fix would be to switch the File#stat to File#lstat, if
+ 125744 [kentda@pv .o] Same problem here on ruby 1.8.2 (2004-12-25) [x86_64-linux].
+ 125808 [aamine@lo er] Sorry, this is a bug of fileutils.
  125815 [andrew@wa ro] Ok. Has it reached a stable snapshot yet?
  125923 [aamine@lo er] I have committed a patch now, it will appear in next snapshot.

[SOLUTION] Ruby Quiz #14 LCD Numbers ( solution #2 )
125734 [email55555@g] Wow ... Jannis Harder's solution is really short ....
+ 125739 [jannis@ha de] The digits 2 5 and 6  doesn't work
+ 125742 [email55555@g] Thanks Jannis Harder found the bug.
| + 125747 [flgr@cc n. e] Why the spaces? Why the parentheses?
| | 125753 [jannis@ha de] ~    syntax error without " "
| + 125749 [jannis@ha de] Based on my solution and the ideas from email55555
| + 125761 [email55555@g] 303 bytes. :-)
|   125762 [jannis@ha de] ### 300 byte ;)
|   125763 [jannis@ha de] ### 296 byte
|   125765 [jannis@ha de] ### 295 bytes
+ 125799 [email55555@g] Wow ... Jannis Harder's program is down to 295 bytes ...
| 125800 [email55555@g] 264 bytes.
| 125828 [rasputnik@he] That's what I love about ruby - the readability of its code :D
| 125836 [lists@ha ff ] I know that's what I love about it - that both are equally possible and
| 125864 [james@gr yp ] Just to be clear, I'm more in line with David's approach and so is Ruby
| 125894 [lists@ha ff ] * On Jan 11  0:02, James Edward Gray II (ruby-talk@ruby-lang.org) thusly jo=
+ 125898 [email55555@g] 256 bytes.

[SOLUTION] Ruby Quiz #14 LCD Numbers
125746 [nathaniel@ta] ...

Serious programmers and syntax (was Re: Python vs Ruby)
125767 [david@lo dt ] Please count me out as a serious programmer, then. I care deeply about
+ 125954 [jhouchin@te ] I agree, beauty is a tremendous asset of a language.
+ 125957 [rampant@gm i] Well... he did put it in quotes. I think what he means by "serious" is
  + 125959 [rasputnik@he] That's the gist of what i was trying to say earlier about my perl experience
  | 125964 [rampant@gm i] Nice :)
  + 125965 [mailinglists] For me a "serious" programmer is a highly educated and skilled person
  | 125967 [joaopedrosa@] Yeah, right. But all the "serious" programmers won't write all the
  + 125972 [ruby-talk@wh] Wash your mouths out, guys.  In English, "serious" is a highly
    + 125979 [jamesUNDERBA] I'd listen to _why; he's serious!
    + 125993 [lyndon.samso] I prefer the word elegant to beautiful.
      126024 [michael.deha] If serious programmers can't talk about ducks, I'm out of here!
      126025 [premshree.pi] I guess everbody has their own tastes. Matz created something _he_

Codefest Grant Questions
125770 [james@gr yp ] I have a few basic questions about the Codefest Grants.
+ 125771 [matz@ru y- a] "The license terms as Ruby itself" does mean dual licensing.  There's
+ 125782 [dblack@wo bl] Good question :-)  I imagine we'll give the judges a little extra time
  125949 [james@gr yp ] Another question along these lines.  If we put an airline ticket

Ruby IDEs for Mac OS X (native)?
125774 [steinman@mi ] I've noticed that a couple of the cross-platform Ruby IDEs can run on
+ 125785 [justin@ge ui] RubyEclipse
+ 125819 [rff_rff@re o] well, freeride's gui is just another plugin. It is planned to have a
| 125826 [mailinglists] Is scintilla already ported to Cocoa/Carbon ?
| 125831 [rff_rff@re o] I know almost nothing about wxwidget, but since it claims full cross
| 125973 [devel@ni re ] wxWidgets already has a wrapper for SciTilla, and it works alright on
+ 125847 [tamc2@ca .a ] Depends on your definition of IDE.  If it is 'big' then afaik, no.
  + 125978 [tobias.luetk] Personally i'm in love with textmate.
  | 126121 [steinman@mi ] Thanks for the responses. I would have replied sooner, but I was very
  + 126125 [ryand-ruby@z] You aren't limited to Interface Builder. You can use XCode to edit ruby

brute force string search
125778 [crf@sb x. u-] String.scan(/.*xyz.*/) -> ~10s runtime
+ 125794 [lists@be tr ] str = File.new( 'longfile').read
| 125795 [batkins57@gm] How is that any different from Idea 1?
+ 125804 [cmills@fr es] Try the StringScanner library.  It is very fast.
+ 125811 [bob.news@gm ] "Martin Pirker" <crf@sbox.tu-graz.ac.at> schrieb im Newsbeitrag
| 125812 [bob.news@gm ] "Robert Klemme" <bob.news@gmx.net> schrieb im Newsbeitrag
+ 125833 [mcl-ruby-tal] Did you try something like this?
| 125895 [langstefan@g] Perhaps faster with: ... if x.include? "xyz"
+ 126108 [georgesawyer] "xyz".
  126210 [crf@sb x. u-] [fascinating read]
  126251 [georgesawyer] Thanks!

[ANN] YARV: Yet Another RubyVM 0.1.0
125781 [ko1@at ot ne] I released YARV: Yet Another RubyVM 0.1.0.
+ 125926 [aredridel@gm] Congratulations! I look forward to trying it out!
+ 125930 [george.mosch] THANK you very much for your efforts! I 'll try it now!

where is list of maintainers of std library?
125788 [sroberts@un ] I've seen a list of who is responsible for each part of the ruby 1.8 std

Net::SSH Failure Vs. 0.6.0
125791 [justin@ge ui] Code Producing Errors
125792 [justin@ge ui] Update Added the openssl-snapshot-20040726.tar.bz2 path to Ruby 1.8.2
125797 [jamis_buck@b] Yup, this is a bug that has been fixed and will be rolled out in the
125824 [justin@ge ui] Jamis,
125837 [jamis_buck@b] Ah, a guinea pig! :) I would certainly appreciate your continued bug
125971 [justin@ge ui] Jamis,

[ANN] rubytorrent 0.2 (bittorrent for ruby)
125793 [wmorgan-ruby] I'm happy to release RubyTorrent version 0.2.  RubyTorrent is a pure-Ruby
126182 [mail@ex ep i] Hey William,

Duck Typing as Pattern Matching
125798 [itsme213@ho ] I am not a type-system expert, but I started thinking about Ruby-based duck
125802 [dblack@wo bl] My main first reaction was that I find the reference to duck typing
125892 [itsme213@ho ] Not always true. Below I've dropped many of the ':' as I think they are not
125974 [dblack@wo bl] Hmmm...
+ 125990 [itsme213@ho ] bound
| 126046 [dblack@wo bl] What's gained by that, though?  It gives you a basis for an analogy
| 126105 [itsme213@ho ] In a method signature
| 126131 [dblack@wo bl] I continue not to believe that this can be determined at run time,
| 126173 [itsme213@ho ] Curiously, that is my point too. If you can some of the things that "you'd
| 126179 [dblack@wo bl] There's a verb missing between "can" and "some" :-)  But in any case,
| 126183 [itsme213@ho ] "you'd
| 126204 [dblack@wo bl] I haven't touched respond_to?  I'm just showing you a constraint under
| + 126221 [itsme213@ho ] Let's see, .... Rails generates lots of "methods" from macros by hooking
| | 126223 [dblack@wo bl] Quite interesting example -- I hadn't seen it.
| | + 126234 [itsme213@ho ] I agree on both counts. Cheers!
| | + 126289 [itsme213@ho ] you
| + 126257 [decoux@mo lo] Why do you think that it's artifical ?
|   126282 [itsme213@ho ] Oh oh, even more Ruby experts join the chorus ? :-)
|   + 126286 [transami@ru ] I haven't read the entire thread so forgive me if I'm rehashing....
|   | 126307 [itsme213@ho ] in
|   | + 126309 [itsme213@ho ] Completing that last posting ...
|   | + 126310 [itsme213@ho ] Of course if selector is a fixed symbol you wouldn't need this as you would
|   | | 126314 [eero.saynatk] Are you thinking something different than
|   | | 126328 [transami@ru ] Yes. A bit different on two accounts. 1) The "upon" clause is just a regular
|   | | 126350 [itsme213@ho ] regular
|   | | 126356 [itsme213@ho ] the
|   | + 126329 [transami@ru ] Of course ;) And that's why I used "upon" and not just a case statement or
|   + 126287 [decoux@mo lo] well, difficult, for me, to reply because you must see the underlying C++
+ 125999 [bob.news@gm ] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
  126132 [dblack@wo bl] Definitely, but I still wouldn't call it message semantics.
  126138 [bob.news@gm ] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
threads.html
top