53952-54652 subjects 54365-56554

Generate Your Money  With Not Repaid - is Yours
54190 [freesources1] Dear Friends & Potential Entrepreneur,

definative ruby docs
54202 [lists@de on ] I've used The Pragmatic Programmer's Guide for most my work in ruby.

mingw compilation: Here's how
54203 [tpeters@in a] I tried to build ruby-1.6.7 with Mingw-2.0.0-3 and
54217 [eban@os ri .] I guess I've fixed.  Try the latest CVS(ruby_1_6 branch) or
54228 [tpeters@in a] Thanks for the hint. This does indeed fix the Mingw compilation.

Re: definitive ruby docs
54205 [james@ja es ] The Pragmatic Programmer's book may currently be the most complete single source

exerb compressor?
54209 [mikkelfj-ant] I just found the following executable compression program, might be useful
54211 [nobu.nokada@] Yes, you can compress the ruby core file with UPX, but not for

Shell <-> Ruby question
54210 [szegedy@t- n] This is not a strictly Ruby question, but perhaps
+ 54212 [nobu.nokada@] Fundamently, child processes can never modify directly parent
+ 54214 [kjana@dm la ] How about ruby script only make a path to cd and do actual cd by shell
  54222 [szegedy@t- n] How about ruby script only make a path to cd and do actual cd by shell

Re: simple Net::HTTP multi-homed operation is eluding me
54215 [kevinpauli@y] Thanks for the response.  That address argument seems to be the target
54216 [kentda@st d.] Sorry, the 'localhost' bit threw me off.

Guadagnare navigando!!!!!!!!!!!!!!!!!!!!!!!!!
54219 [smith_it@ya ] ...

54223 [discountcall] With our UK National & local Calls costing as little as 1.65p per minute!
54224 [binaryhazard] why the hell are there always ads being sent to the ML? its the first
54249 [batsman.geo@] That's because the newsgroup traffic is being copied to the mailing list.
54295 [sex@1s ar .c] And, another posibility is moderate the newsgroup and the mailing list,
54296 [james@ja es ] Perhaps you missed the earlier thread on splitting the group due to what some
54298 [austin@ha os] I'm not sure I'd consider a list with about 3k monthly messages "low
54300 [enric@1s ar ] OK, it's my point of view, normally I deal with mailing lists that sends

Inheritance Problem in Dynamic/Typeless Language
54225 [billtj@y. lu] I agree with everything that you said.  I guess in a typed language such
+ 54227 [dblack@ca dl] I think it is.  See the threads at and around
| 54284 [billtj@y. lu] Thanks for the pointer.  Well, this is really really surprising,
+ 54235 [jweirich@on ] Probably.  As a (very) general rule of thumb, if you can avoid a
  54278 [billtj@y. lu] I don't think retraining will solve the vast existence of codes that have
  + 54286 [austin@ha os] I think it is flawed. Personally.
  | 54294 [billtj@y. lu] Very well said, Austin, very well said.
  | 54304 [g_ogata@op u] But wouldn't this be a problem if the subclass's constructor had different
  | 54635 [B.Candler@po] Hmm, good point. Or it might have the same arity, but completely different
  + 54290 [ahoward@fs .] bill-
  | 54293 [billtj@y. lu] I agree with what you said.  I also have been thinking of using "copy
  + 54330 [jweirich@on ] Well, yes ... but this is doing something completely different than the

drb Win95 problem?
54229 [chrismo@cl b] RUBY caused an invalid page fault in
54230 [chrismo@cl b] Oh -- any scripts run fine, the error only comes after the script is done.
54232 [chrismo@cl b] ruby 1.6.7 (2002-03-01) [i586-mswin32]

amrita-user mailing list
54233 [tnakajima@br] I released amrita V0.9.5 and opend amrita-users mailing list.

54234 [qqqqqq5948@c] This is a multi-part message in MIME format

Very Uregent
54236 [ayo4patricks] 7 Kofo Abayomi Street,
54237 [botp@de mo t] I think we should refrain non-members fr posting to this list.
54248 [lists@de on ] I agree
54250 [batsman.geo@] Please read http://www.ruby-talk.org/blade/54249 and tell me your
54262 [tom.hurst@cl] I'm happy with the way it is.  The odd bit of spam is not a good reason

net/protocol.rb version 1.1.37  warning: already initialized constant Errno
54238 [robert_linde] ...

Snippet request: Ruby Web Server written in under an hour
54239 [phlipcpp@ya ] Plenty of blogs report D. Thomas and crew immersed some of you and let you
+ 54261 [Dave@Pr gm t] We do this at our full-day Ruby tutorials, although we've never been
| 54266 [batsman.geo@] Is it total immersion? Going from "WTH is Ruby?" to writing a web server
| 54267 [Dave@Pr gm t] It's a six hour course, with lots of exercises. We normally ask people
| 54276 [phlipcpp@ya ] You of all people should have the snippet...
+ 54302 [joe@vp p. et] regards,

Access to Windoze Registry?
54240 [ursus@wa ki ] Is there a Ruby module to allow read/write access to the windows registry?

OT: E-mail format  (was RE: net/protocol.rb version 1.1.37  warning: already initialized constant Errno)
54247 [james@ja es ] Um, not to be too picky or anything, but many (if not most) of the folks on this
54265 [x@ic im nk .] HTML-only messages are definitely annoying, but the message to which this
54557 [ jupp@gm .d ] This depends on the mail program that is used. The most prominent one

Ruby Weekly News
54253 [Dave@Pr gm t] Ruby Weekly News: 10/28/2002

Ruby, C and Windows
54254 [frido@q- of ] I'm looking for someone who knows this areas quite well. If you think

ANN: JRuby beta 0.5.3
54257 [ndrsbngtssn@] JRuby <http://jruby.sf.net> is a pure Java implementation of the Ruby

Ruby/DBI and remote db (Was: Re: SQLite)
54258 [roberto@RE O] Speaking of Ruby/DBI, is there any plan to support a host specification
+ 54259 [decoux@mo lo] Well, it exist no ?
+ 54260 [520079130762] This is supported in Ruby/DBI, too.
  54375 [roberto@RE O] Thanks, last time I checked, it wasn't here (or I missed it).

[OT] Re: Very Uregent
54264 [batsman.geo@] Definitely. I have been receiving lots of spam since I subscribed to this
54271 [Dave@Pr gm t] If someone could suggest the transformation required, I'd be happy to

Package directory structure during development
54268 [gsinclair@so] All,
+ 54301 [lyle@us rs s] I don't have any general tips around directory structure, etc. but for
| 54309 [austin@ha os] There is a way to do this from the program, to wit '$:'.
| 54311 [dblack@ca dl] $LOAD_PATH
+ 54308 [charlesb@su ] <CUT>
+ 54310 [vjoel@PA H. ] I've grappled with that one too, but was too shy to ask it here :)
+ 54321 [gsinclair@so] Thanks for all the replies.  For now, I'm going to use Austin's tip and modify

How to invoke === using custom classes and case statements.
54269 [khabibiuf@ho] I was trying to develop a definition for the  === operator on a custom
+ 54272 [decoux@mo lo] With this, this is String#=== which is called i.e. ruby call
+ 54273 [tsiivola@cc ] if 'hello' === a
| 54505 [khabibiuf@ho] Hmmm... so it seems like I cannot use the case statement to test
| 54579 [bulatz@in eg] class String
+ 54277 [kentda@st d.] The case operator flips the order here.
+ 54283 [billtj@y. lu] It is because the order is reversed; I also got the same mistake the first

host to ip
54270 [ kosha@Kp ru] Is there any function which returns ip-adress from given host-name ?
54274 [decoux@mo lo] pigeon% ruby -rsocket -e 'p IPSocket::getaddress("www.ruby-lang.org")'
54275 [ kosha@Kp ru] Tnx))

exerb & fox-problem; converting gui-script to .exe on windows
54280 [armin@xs .d ] I left unix and tried sth. on windows as I need
+ 54282 [austin@ha os] exerb 2.2.0 is based on ruby 1.6.7; ruby 1.6.7 has significant
| + 54285 [armin@xs .d ] thx a lot for the fast reply.
| | 54287 [austin@ha os] I've been able to get all of the exerb samples to work for me.
| | 54297 [armin@xs .d ] Which ruby- (1-click installer-verson by Andy&Dave) and which exerb-version
| | 54299 [austin@ha os] ruby 1.6.7-5 (latest) and exerb 2.2.0; I'm also using ruby
| | 54306 [armin@xs .d ] Thanks for your help.
| + 54334 [kjana@dm la ] No answer?  Hmm he may not expose or simply forget making an announce,
+ 54324 [someone@mi r] I have latest available of ruby, tk, and exerb on windows xp.  I can get the
  54325 [fjs@mi ds ri] Have you tried running your executable in compatibility mode on
  54677 [armin@xs .d ] Apologies -- I am not a windows-person.
  54679 [fjs@mi ds ri] Compatibility mode is only available in XP I think.  It

54281 [jthorne@zi c] How do I unsubscribe from this list...The message flow is nuts...I have

interpreting the second profiling column of Ruby profiler
54289 [olonichev@sc] I doubt in interpreting the second profiling column of Ruby profiler.
54313 [vjoel@PA H. ] It's cumulative as you read down the column, adding "self seconds" each

mkmf strangeness - have_func issue
54291 [djberge@qw s] Ruby 1.6.7 on Solaris 9
54292 [decoux@mo lo] You must add "netdb.h"

InternetSeer Alert
54312 [ndsub@ma l. ] ...

Learn and Earn...Join For FREE!
54314 [ryu_ken@ph l] I'm sending you this letter to introduce to you a

InternetSeer Alert
54315 [ndsub@ma l. ] ...

Fixnum assignment undefined???  Is it a bug, or blindness?
54316 [charleshixsn] def	calcRowSals(init, step)
+ 54317 [Dave@Pr gm t] ^--- try putting
+ 54318 [kentda@st d.] No, the error is here =================================^
+ 54341 [billtj@z. lu] This is related to Item 14 in the "Things That Newcomers to Ruby Should
  54345 [charleshixsn] That doesn't seem to be what's going on (though it seemed like a good
  + 54347 [billtj@z. lu] I think it is still a similar thing.  When Ruby parses "100.", it expects
  + 54349 [bulatz@in eg] result[i]    =    r / 100.0
  + 54352 [fg@si me om ] Seems to work here (ruby 1.7.3), with "result[i] = r / 100.0" no need for the
    54353 [charleshixsn] OK.  That explains it.  I finally just got around it by multiplying

(堡绊)Free_Domain_name registration_Site..Limited Chance No banner_Advertisement
54323 [linuxhong@or] ...

Snippet: Tiny Featureless Ruby Web Server
54328 [phlipcpp@ya ] This would have taken me less than a wall-clock hour if I didn't have a

gsub and "\\"
54331 [coma_killen@] I'm a bit confused on how to use gsub when the string I want
+ 54332 [camin@ci .r ] hth,
| 54333 [coma_killen@] Thanks Alia. Although I was after a general solution
| 54343 [ahoward@fs .] 'a'.gsub('a') { %q{\8?} }
+ 54340 [billtj@z. lu] There are some examples on how deal with '\\' (but not '?') in Item 20 in

54335 [davedudd@ah ] 尊敬的客户:

net/http segfault
54336 [x@ic im nk .] Wanted to have some airplane reading for the trip to RubyConf and whipped
54338 [decoux@mo lo] What is the stack frame when it crash ?
54357 [x@ic im nk .] How do I find this?
54458 [decoux@mo lo] run it under gdb, and when it crash, execute the command "bt"
54493 [x@ic im nk .] #!/usr/bin/ruby -w
54509 [decoux@mo lo] I can't reproduce the bug with this version
54566 [x@ic im nk .] No. It's custom-compiled as part of Gentoo Linux 1.4 (gcc 3.2, GNU
54593 [decoux@mo lo] yes,

[ANN] Sys/Host 0.3.0
54337 [djberge@qw s] I've just released the latest version of Sys/Host, now available on the

method-call style (was Re: Snippet: Tiny Featureless Ruby Web Server)
54339 [dblack@ca dl] Horse and rider are one? :-)
+ 54344 [pbrannan@at ] I do the same thing.  It makes it clear that I'm calling a method and
| + 54348 [dblack@ca dl] But since attributes are retrieved by method calls in Ruby, that
| | 54360 [pbrannan@at ] In Ruby, attributes are method calls.  However, they are a special type
| | 54446 [bulatz@in eg] attributes is just methods, automatically defined by attr_reader/...
| + 54422 [hal9000@hy e] Server)
| + 54510 [phlipcpp@ya ] Programming is about communicating with humans first, a computer second.
|   54514 [dblack@ca dl] True... but the last () is too, since public_methods.sort can only be
+ 54346 [billtj@z. lu] This is just my personal style.  When I write network simulations (not
  + 54350 [bulatz@in eg] i think real difference that you you want to highlight is between pure
  | 54517 [billtj@y. lu] Yes, I agree with you; I think you have made it clearer, similar to Paul's
  | 54519 [dblack@ca dl] Aren't there cases where that might change, if the implementation changes?
  | + 54525 [billtj@y. lu] I agree with you that () has the potential of serving as an incorrect
  | | 54527 [dblack@ca dl] I don't think one should make that assumption; it's awfully rigid.  I
  | | 54530 [billtj@y. lu] Well, it looks like a contrieved example, so it is really a matter of
  | | + 54534 [dblack@ca dl] Yeah, I was worried I couldn't get away with that dinkiness :-)  But
  | | + 54536 [nat.pryce@b1] Definitely use self.stuff to avoid breaking encapsulation.
  | | | + 54607 [billtj@z. lu] Actually an answer like this is what I am waiting for.  There are other
  | | | | 54610 [alwagner@tc ] That's exactly what it is.
  | | | + 54612 [alwagner@tc ] Of course they give different results: @thing is a state variable, stuff=
  | | |   54618 [nat.pryce@b1] Exactly my point!  And it looks like a trivial point when illustrated
  | | |   54623 [alwagner@tc ] I am still unsure of what is meant here.  I can only see using self.stuff  to
  | | + 54540 [alwagner@tc ] I would say: "It depends..."  In a real program, a method that only returns an
  | + 54533 [pbrannan@at ] It is possible for a method to change its behavior.  However, if a
  | | 54538 [alwagner@tc ] For those who are OOP newbies, a distinction must be drawn between what is a
  | | 54583 [bulatz@in eg] but don't build the home before you fixed the fundament :)
  | + 54581 [bulatz@in eg] it's some like redefining Fixnum.+ :)
  + 54351 [dblack@ca dl] Doesn't that mean that you always have to know whether something was
    54521 [billtj@y. lu] I think you have a very good point here.

good link to read as we contemplate RAA, RAA.succ, et al
54354 [pate@ey er a] enjoy,
+ 54355 [simon@er in ] Testing can show the presense of bugs, but not their absence.
+ 54356 [dblack@ca dl] Interesting.  Simon (hi Simon!) is probably right that "Definitive
  + 54366 [ptkwt@sh ll ] Well, perhaps the original writer of XML::Parser can be convined to
  | 54396 [simon@er in ] One thing that has confused me (and continues to confuse me) about Ruby
  + 54367 [djberge@qw s] David,
  | + 54376 [dblack@ca dl] OK... but these seem like solutions and workarounds to a problem which
  | | 54393 [tsiivola@cc ] I would find it rather natural to reserve the "definitive" names for those
  | + 54424 [hal9000@hy e] Well, sometimes it's not "bad" code, just a difference in philosophy.
  + 54385 [james@ja es ] That's what popped into my mind, too.   A definitive name is great if there is
    54397 [simon@er in ] But as I mentioned, if there's a definitive name, you have to think
    + 54403 [dblack@ca dl] Then again, if you're writing an HTML parser that does what
    | + 54405 [x@ic im nk .] But isn't this what version numbers are for? If the existing HTML::Parser
    | + 54410 [mike@st k. o] Clearly HTML::MyBetterParser ;-)
    + 54406 [alwagner@tc ] I agree with David.  Module names are not the place to describe what a module
    + 54414 [ jimm@io co ] Then what would you call NQXML, REXML, and expat? Each is an XML parser.
      54415 [austin@ha os] In this case? None of them, IMO. They would become, under Simon's
      + 54419 [james@ja es ] I like that.  (It presumes, though, that the APIs are the same.)
      | 54428 [vjoel@PA H. ] Aliasing classes is as easy as constant definition, so why not have
      + 54469 [tsiivola@cc ] None of them, until (if ever) one of them becomes the canonical one,
      | 54484 [gsinclair@so] I second the idea that none be named that, and that they are all named
      + 54471 [tsiivola@cc ] If them naming scheme is reversed,
        54508 [austin@ha os] You're right, but that reintroduces the normal namespace problem.
        54570 [drosih@rp .e] But this is a name-space problem which could be solved by how the

54358 [ahoward@fs .] rubyists-
54394 [tnakajima@br] I opened a mailing list to support CGIKit in English.

Blogging RubyConf
54359 [ruby-talk@wh] I'm wondering if anyone will be blogging the RubyConf?  It's a rare opportunity to
+ 54368 [ptkwt@sh ll ] Interesting idea.
| 54395 [jim@fr ez .o] The rooms at Summerfield have high speed internet access for 10$/24hr.
+ 54388 [gsinclair@so] opportunity to
| 54389 [pate@re -b a] If ppl will give me permalinks, I'll put them in RWN this week (it's my
+ 54423 [hal9000@hy e] opportunity to

Re: Zaurus PDA & FTP
54361 [w3gat@be ls ] I needed to use FTP using the Zaurus PDA.  I can hardly believe how easy it

Extending a mixed in module
54362 [schuerig@ac ] I have extended FileTest with these methods
54402 [flori@ni e. ] File.included_modules

Strscan, mkmf and MacOS X
54363 [raymond@pa d] I have been debugging a problem trying to install strscan on MacOS
+ 54407 [canyonrat@ma] I took the cowards way out: "fink install ruby." If you haven't used
| 54417 [raymond@ra m] Thanks, I'll use fink. I tried installing the ruby 1.6.7 package but
+ 55131 [nobu.nokada@] It means you have not installed ruby development package (I

problem with recursive structure
54364 [probertm@no ] Dear Rubists,
+ 54370 [ruby-talk@wh] When you use string interpolation, to_s is called implicitly.  So in the
| 54377 [probertm@no ] Thanks.  That is the "new thing today. ;-)
+ 54372 [ahoward@fs .] def pp_branch(b)
| 54378 [probertm@no ] Thank you.  That got it.
+ 54373 [ptkwt@sh ll ] I don't really have an answer for you, but I get something slightly
  54379 [probertm@no ] The problem is me printing the branch array as well as the leaf.