135440-137284

135168-138243 subjects 135595-153646

TCPServer
135440 [dcorbin@ma h] Why is TCPServer inheriting from TCPSocket?  What methods on it might be used
135447 [drbrain@se m] To accept connections, a socket is first created with socket(2), a
135490 [dcorbin@ma h] Exactly my point.  So why does it inherit from TCPSocket, and more importanly
+ 135513 [matz@ru y- a] Just for implementation simplicity, rather than purity.
+ 135530 [ysantoso-rub] Exactly because it is a TCPSocket. A TCPServer is a TCPSocket with
| 135603 [dcorbin@ma h] Is it really a TCPSocket, or is it just a TCP socket.  If it's a TCPSocket, I
| + 135604 [ruby-ml@ma i] I don't understand what the deal is here. This is how standard
| + 135644 [drbrain@se m] Would that make sense for the UNIX implementation of sockets?  No.
+ 135537 [kero@ch ll .] select()  works on it, iirc.

Slightly OT: rate range for contract Ruby development
135441 [itsme213@ho ] What is a reasonable range of rates for an experienced Ruby developer for
+ 135442 [alex@ve k. n] On what continent? :)
+ 135456 [phlip_cpp@ya] While the region, industry, and experience level are the primary factors in
| + 135462 [james_b@ne r] How do you figure that?
| | + 135464 [hal9000@hy e] I'd assume he's arguing from scarcity -- i.e., supply and demand.
| | | 135466 [james_b@ne r] On the other hand, there is a little-to-no demand for Ruby developer in
| | + 135465 [phlip_cpp@ya] in
| + 135470 [samuel_x_win] Do you have a rough range, say X-Y $/hr? I may have an opportunity (!)
|   135724 [jeff@op nd m] A famous philosopher once said to "know thyself."
+ 135717 [khaines@en g] Not really any different from any other sort of development work, in my

[SOLUTION] English Numerals (#25)
135446 [eliahhecht@g] This is my first submitted solution, and I hope I've figured the time
+ 135449 [glenn.parker] ill-defined method of expressing numbers in English, so I did it the way
| 135450 [glenn.parker] OK, not _too_ surprised.  Since "and" sorts earlier than any number in
+ 135515 [james@gr yp ] Thanks for taking the time to submit.  Welcome.  (And yes, you were on
  135531 [dave@bu t. d] That won't work for the method Integer#to_en. You could make it a constant
  135532 [springer@si ] what about octodecillion ?
  135591 [eliahhecht@g] Guess I must have missed that one. Doesn't change the

SOLUTION (was Re: English Numerals (#25))
135455 [matthew.moss] I decided to add a Japanese translator rather than pinyinwhatever...

ActiveState Ruby 1.8.2
135457 [nospam@no pa] Anyone know if there are plans for an ActiveState version of Ruby?
+ 135458 [djberg96@ho ] think if it was going to happen, it would have happened by now.
+ 135460 [sigzero@gm i] I actually asked them when the 1.6 series was out. They did not seem
  135461 [dblack@wo bl] A couple of years ago (I think) at some Linux trade show I asked
  135529 [pat.eyler@gm] I asked them about it at OSCON last year.  They said they were watching
  136238 [ryand-ruby@z] I have some email somewhere and contact information if anyone wants to

Re: Rake 0.5.0 Release
135459 [phlip2005@gm] file.exe" from

rdoc bug - adding a --main option causes other files to be ignored
135467 [paul.rogers@] I think I got the latest rdoc from cvs, but I get a different file

ruby-forum.org defaced
135468 [timsuth@ih g] ...
+ 135469 [hal9000@hy e] I'm not familiar with that site. What is/was it?
| 135475 [timsuth@ih g] A web discussion board. Last time I checked it was very active, especially
| 136054 [snowzone5@ho] it's unfortunate that the few bugs phpbb2 have had, were nasty exploit
| + 136065 [alex@ve k. n] "Unfortunate" is putting it mildly.
| + 136191 [shalev@si pl] I would like to contribute to the RForum project.
|   137284 [usenet@an re] that's nice to hear. You can enter "svn diff" in the root directory to
+ 135471 [navindra@cs ] A pretty thorough job.  It seems the Ruby forum has been replaced with
  135472 [alex@ve k. n] The Ruby Forum is "down for maintenance" after a number of security

RUBYOPT="rubygems" doesn't feel good...
135478 [google@er kv] When you set RUBYOPT to "rubygems", library ubygems is
135505 [chneukirchen] Still better than forcing the other users to have gems installed...
135514 [google@er kv] Why? I bet you foresee something I missed.
135535 [chneukirchen] You don't need to have gems installed; you can simply install the
135540 [google@er kv] Oh, I see what you mean... But it's not what I'm talking about.
135568 [chneukirchen] The issue is that I for myself, the developer do not use rubygems.

Ruby Weekly News 21st - 27th March 2005
135480 [timsuth@ih g] Ruby Weekly News 21st - 27th March 2005
135826 [timsuth@ih g] I'm surprised no-one has commented on this yet... I was expecting a chorus
+ 135835 [mailing-list] wow!
| 135844 [matz@ru y- a] Since YARV engine would achieve what I wanted by complete rewrite,
| + 135847 [agorilla@gm ] btw, I did say "Wow!" when I read it.  Didn't you hear me? ;)
| + 135890 [ruby-talk@wh] He has come.  Son-shi.
|   + 135898 [agorilla@gm ] Bow, wow!
|   | 135907 [ news@ja .f ] agorilla@gmail.com says...
|   + 135901 [robert.mcgov] Couldn't I just pat them on the back electronically? Its easier on the
+ 135851 [glenn.parker] Call me when it's ready for testing, then maybe I'll say "wow".  At this
+ 135904 [navindra@cs ] Nice!  What is involved with this merging?
+ 136124 [B.Candler@po] - The Ruby source code will be bigger and slower to build
  136172 [surrender_it] please excuse me if my questions are dumb..
  136261 [B.Candler@po] Well, you have to understand I know nothing about YARV other than what is in
  136274 [surrender_it] well, the first yarv version I tried did not do any of the above, IIRC,
  136602 [B.Candler@po] Ah, so YARV is a *static* compiler, not JIT? Then I misunderstood
  136610 [ruby-ml@ma i] I think you are reading too much into the preceding statements.

DRb / dRuby - freezes on DRb::DRbUndumped - any ideas?
135482 [mileskeaton@] Following it, exactly.
+ 135539 [mileskeaton@] New information on the post, below.
+ 135814 [mileskeaton@] I started putting little "pp" statements inside drb.rb to find out
+ 135873 [mileskeaton@] The answer to this was just given by Brian Candler in another thread,

Best (Windows) Ruby editor
135484 [usenet2@no p] What is in your opinion the best (Windows) Ruby editor out there? I'm
+ 135485 [Neville.Burn] I'm using jedit [www.jedit.org]
| 135519 [the.chrismo@] Dunno if it's the best, but +1 for jEdit for me.
| + 135522 [lasse.koskel] I could be putting my head into a wasp nest, but... is anyone using
| | + 135579 [surrender_it] have you actually set up the nice scite features like simple
| | | + 135627 [dave@bu t. d] I've gotten it to crash by things like running a script, and
| | | | 135638 [glenn.parker] FreeRIDE crashes for me on WinXP, and FWIW the tooltips implementation
| | | | 135652 [surrender_it] I can say I agree with the tooltip thing.
| | | | 135760 [glenn.parker] Well, it's better than nothing.  Now the developer knows it's not just
| | | + 135640 [lasse.koskel] No, I haven't set up anything. Autocompletion and multiple tabs would
| | |   + 135641 [curt@hi bs c] I just did the above in FreeRIDE and it did not crash.
| | |   | 135646 [mailinglists] This raises the question if this project (RRB) is dead ?
| | |   | 135647 [curt@hi bs c] Yeah, I was just thinking the same thing. Its pretty useless in its
| | |   + 135642 [alex@ve k. n] Five lines??? That sounds like a very complex HelloWorld - no wonder it
| | |   + 135680 [blaumag@gm i] I'm yet another SciTE user, but what I have to say might be of your interest.
| | |     + 135688 [curt@hi bs c] [1]http://rubyforge.org/tracker/index.php?func=detail&aid=1606&group_id=31&atid=202
| | |     + 135695 [lasse.koskel] My list of programming/scripting languages to learn is getting longer
| | |       135702 [blaumag@gm i] Kind of: all the user configuration is handled by Lua.
| | + 135620 [alex@ve k. n] All the way. Learning Eclipse for the sake of Ruby programming may or
| | + 135698 [zdennis@mk e] I use RDT with Eclipse and I love it.
| + 135766 [rob.02004@gm] I stopped developing the Ruby Plugin long enough to put out a beta 0.1
|   135940 [flgr@cc n. e] Nice! Thanks a lot for the work you spend on this!
|   135960 [rob.02004@gm] Florian, to fix the syntax highlighting problem in jEdit try
|   + 135965 [binkley@al m] I had difficulty installing it under Cygwin, but will give it another
|   + 135967 [flgr@cc n. e] ...
|     135990 [rampant@gm i] I asked about this on IRC, and now use the colour coding for regexes
|     136049 [flgr@cc n. e] /^(.+?):(\d+)(?::in `(.*?)')?/
+ 135497 [lucsky@ma .c] Switch to OS X... :>
| 135499 [usenet2@no p] Doesn't run (without an emulator) on my PC. ;) But yeah, my next
+ 135502 [mailinglists] Look at my signature.
| + 135506 [ news@ja .f ] mailinglists@scriptolutions.com says...
| | 135511 [mulperi@ik .] Arachno ruby is fully working. It has bit steep learning curve, but
| + 135516 [binkley@al m] Does Arachno support refactoring?  Which refactorings?
+ 135523 [john-mason@s] I like RDT for Eclipse (http://rubyeclipse.sourceforge.net/),
| + 135546 [rhkramer@gm ] I also need / want to pick an IDE for Ruby, and would welcome comments by
| | + 135563 [Richard_Dale] Ruby support in KDevelop 3.2.0 is probably at least good as Eclipse RDT,
| | | + 135622 [horacio.lope] Richard, what are the chances we can get Kdevelop running on Win32
| | | | 135660 [Richard_Dale] Probably not too difficult, but it is a bit of a sore point with some KDE
| | | + 135714 [wyhaines@gm ] I have used Eclipse with RDT for quite a while, but a couple months ago I
| | |   + 135726 [Richard_Dale] KDevelop certainly has built in CVS support, so you can do what you
| | |   | 135740 [khaines@en g] See, there you go.  I just need to look around a little bit more.  :)
| | |   + 135800 [martin.anker] It is still a bit buggy, but the performance increase is very noticable.
| | + 135580 [meruby@gm il] IMHO,  kdevelop is a hidden gems for ruby IDE. I think it is not that
| + 135554 [binkley@al m] Can you explain this further, please?
|   + 135556 [belorion@gm ] Another +1 for jEdit.  You can even write macros in jEdit using Ruby
|   | 135565 [james_b@ne r] The very reasons I like using vim.
|   | 135569 [chneukirchen] The very reasons I like using emacs.
|   | 135573 [goseigen@co ] I agree.  Question though, what have you been using for your view
|   | 135674 [chneukirchen] Fortunately I dont have to use ERB.  (Any my own templating engine
|   + 135558 [mailinglists] This is a typical java -> ruby switcher question :-)
|     + 135560 [binkley@al m] Katsu!
|     + 135570 [chneukirchen] And how can Smalltalk tell?
|       + 135577 [mailinglists] They can't. But method arguments have names there, so the name
|       + 135578 [surrender_it] since it is image based and it actually has all the code running all the
|         135675 [chneukirchen] Smalltalk still uses dynamic typing.
+ 135562 [timothy@et p] I'm just finishing up a Ruby-mode for the Epsilon editor (
| 136062 [snowzone5@ho] ouch...has it always been priced like that?
| 136167 [rampant@gm i] Looks like a Win95 screenshot though...
+ 135564 [BArmstrong@d] Cream, found at http://cream.sf.net is based on Vim, but modeless &
+ 135650 [info@ze se i] Zeus comes with Ruby syntax highlighting pre-defined. Also after
| 135651 [roger@gw h. ] i use the crimsoneditor at http://www.crimsoneditor.com it's freeware and supports syntaxhighligthing for ruby and
+ 136059 [snowzone5@ho] i try to use freeride when i can, but mostly (to get work done)  i've

Re: [SOLUTION][QUIZ] English Numerals (#25)
135488 [dave@bu t. d] - "When the integers 1 to 10_000_000_000 are written in the English

DL usage
135493 [Stephan.Kaem] when using DL to generate some code to access dynamic library functions,

[ANN] Nitro + Og 0.14.0, Caching, Og Mixins, Important fixes.
135496 [george.mosch] new versions of Nitro and Og were just released.

Ruby performance question
135500 [rf.oodanaw@s] I am not a performance freak at all but I've noticed that despite a huge
+ 135507 [sastph@sa .c] I don't think Ruby takes advantage of the 2nd CPU. The script runs on
| + 135619 [alex@ve k. n] And since P-IVs are hyper-threaded, the actual CPU utilization on a
| + 135621 [gavin@re in ] So that explains part of it.
|   + 135628 [alex@ve k. n] Because there may be all sorts of things other than the processor at
|   + 135677 [cyclists@nc ] Did memory access speed double, too? Bus speed? Things happen outside of
|     135753 [shalev@si pl] Yes.  The G5 has a 1ghz bus compared to the G4's 167mhz.  The RAM also
+ 135512 [james@gr yp ] A second processor is only going to be of benefit when multiple
+ 135801 [rf.oodanaw@s] Thank you for your comments. I'd like to clear the point about Windows

[ANN] Kwartz-ruby 2.0.0-beta4 - 'mkmethod' and 'velocity' support
135520 [kwa@ku at -l] I have released Kwartz-ruby 2.0.0-beta4.

Rails 0.11.1 - skeleton app aliases
135524 [Peter.Fitzgi] I would like to see the following shell aliases in the skeleton app

Wrong "Dir" (was: Re: RubyScript2Exe 0.3.3)
135526 [google@er kv] Qt defines Dir in its own module. Ruby's ftools.rb somehow uses
+ 135544 [meruby@gm il] May be Richard Dale has a solution for this?
| 135575 [google@er kv] At the end of "Qt/qtruby.rb", "Qt" is included in class
| 135682 [Richard_Dale] Oh dear! I got Erik's email about the bug, and I'm having a look at it. It
+ 135545 [meruby@gm il] May be Richard Dale has a solution for this?

Modifying boolean values
135533 [farrel.lifso] Is it possible to somehow ducktype an object so that it behaves like a
+ 135555 [flgr@cc n. e] Everything but nil and false is true so you can indeed create custom
| 135764 [chr_mail@gm ] You can get an idea about the performance penalties from
| 135772 [flgr@cc n. e] Interesting, I think it might be nice to implement it like that in Rite.
+ 135559 [ptkwt@ar cn ] You say you want to have it return a string "1", but what if you return
| 135561 [farrel.lifso] Yeah I think this is my best bet at the moment. Florian's suggestion
+ 135763 [chr_mail@gm ] ...

[RAILS] 0.11.1 pagination not updating @items
135542 [Peter.Fitzgi] ...

DL usage / DL documentation
135547 [Stephan.Kaem] I currently try to call a function in a DLL, which has a prototype like
+ 135557 [flgr@cc n. e] Have a look at GetDiskFreeSpace in http://rubyurl.com/k7A8T
| 135574 [Stephan.Kaem] Thanks for the link!
+ 135587 [drbrain@se m] require "dl"
  135681 [Stephan.Kaem] Thanks for answering. I'm sure it does. But apparently I'm a bit stupid
  + 135718 [drbrain@se m] Eric Hodel - drbrain@segment7.net - http://segment7.net
  + 135721 [drbrain@se m] Whoops, that last one made it out the door due to an accidental mouse

Poll Results
135549 [jeem.hughes@] a ("Yes, Lots!"):  21 (30%)

bwlimit or throttle in WEBrick?
135571 [magnus@bo in] I'm in the middle of writing a P2P tool with openssl+WEBrick. A lot of
+ 135625 [ysantoso-rub] ...
+ 135632 [ysantoso-rub] Magnus,

why Float::MIN? is  positive
135576 [meruby@gm il] Shouldn't Float::MIN = -Float::MIN?
135581 [meruby@gm il] Shouldn't Float::MIN = -Float::MAX
+ 135583 [Chris.Willia] Not necessarily. Typically when you have signed numeric integers the
+ 135589 [cmills@fr es] Float.  Usefull I guess if you need to represent really small values.

The Greatest News Ever!
135585 [Ron_Grossi_0] ...
135590 [ryand-ruby@z] Can we do something to filter this out? It is getting tiring.
135663 [jimburton1@g] The bad news for Ron is that if there's a hell below the spammers are

cxxtest in ruby?
135592 [probertm@ac ] Has anyone done a Ruby port of cxxtest (http://cxxtest.sourceforge.net/)?  I
135593 [pat.eyler@gm] I'm not sure what you mean by this.  Are you looking for something
135601 [probertm@ac ] cxxtest is a unit testing framework for C++ that is written in Perl.  It is a

Java for Rubyists
135594 [shalev@si pl] I have been forced by the powers-that-be to learn Java.
+ 135599 [james@gr yp ] I learned Java quite some time ago, so I'm not up on the modern good
+ 135605 [billk@ct .c ] Probably so.  Just be thankful they aren't making you
+ 135613 [mileskeaton@] Shalev -
  135615 [achou@te le ] I'm not anything like a Java expert, but I do refer to Bruce Eckel's
  135623 [tom.willis@g] I second Eckel
  135686 [lyndon.samso] I'll never get this attitude, why is programming in a more powerful
  + 135689 [phurley@gm i] I cannot claim to speak for the writer, but I will say that some
  | 135951 [flori@ni e. ] Programming toasters.
  | + 135955 [shalev@si pl] Actually, the language was designed for programming coffee percolators.
  | + 135958 [vjoel@PA H. ] Nay, toasting programmers. Cheers!
  + 135690 [peter@se an ] I think you are confusing several things here: more powerful language /
  + 135691 [chneukirchen] It's a matter of level.  When you write a low-level app (kernel), C is
  | + 135692 [nicolas.dels] Not to enter a J2EE sucks (not) flamewar, but one shouldn't confuse
  | | 135700 [chneukirchen] I have no idea about J2EE, really; but I dislike Java enough on it's
  | | 135707 [lyndon.samso] Something else I find interesting. The hatred towards non programmatic
  | | 135723 [james_b@ne r] Certainly seems so, at least for some.
  | | 135752 [shalev@si pl] So... it looks like people have a lot of experience on the subject and,
  | + 135705 [lyndon.samso] Hmm I can draw a further distinction, between coding for enjoyment,
  + 135779 [tom.willis@g] You read too much into my comments you person you... ;)
threads.html
top