77157-77931

76990-78775 subjects 77356-82423

^ install questions
77157 [hal9000 hype] I have been thinking about installation
+ 77163 [ben thingmag] I'm not completely sure I understand the question.  Are you saying that if
| + 77164 [hal9000 hype] What I mean is: AFAIK there is no existing mechanism anywhere
| | 77165 [ben thingmag] That sounds like it would be very useful.  I wish you luck with it.
| | 77170 [hal9000 hype] Don't want to wander too far OT... but I'm coding
| + 77168 [mwilson13 co] I think this would be a good idea. As to implemented practice in this
|   77172 [hal9000 hype] Well, to clarify, I wasn't thinking of a general solution.
+ 77326 [carl youngbl] This is a much-needed feature!  I'm convinced that an auto-installer could

^ did you see this
77160 [bjtolson gte] hey there, i thought you'd like to check this out

^ gates
77162 [brem3 gte.ne] hey its me again, i was wondering if you'd be interested in this site

^ aSocket.select
77171 [argentoff rt] Dear All,
77173 [decoux moulo] svg% ri Kernel::select
77217 [argentoff rt] This is obvious, and I wouldn't ask the question if I was glad with this
77221 [decoux moulo] You make the confusion between Kernel::select and Enumerable#select

^ [OT] CGI security [Was Re: install questions]
77175 [ben thingmag] In that case, maybe.  If you hard-code the filename you're writing to, don't

^ Fishing for ideas: Ruby-talk for Java coders
77176 [armin xss.de] Stefan and I have the lucky chance to give a talk about Ruby to the IT-
+ 77177 [ben thingmag] * The ways in which Ruby beats Java in OO design
| + 77178 [damphyr free] Well, I don't think going into a Java only house and saying Ruby beats
| + 77179 [mccallister ] As a full-time Just-A-Programmer using Java (at work), and a part-time
| | 77316 [martindemell] + Anonymous arrays
| + 77181 [djberge qwes] * mixins (vs interfaces)
|   77182 [mccallister ] Hmm, while I haven't tried it... are you telling me that Ruby can do
+ 77180 [jon scansoft] This is stuff I really like about Ruby coming from Java. In general I
+ 77184 [pete mcbreen] I would suggest the use of Ruby as a tool to assist in Java development
| 77186 [tom infoethe] Ruby certainly is handy to compliment some of the more unwieldy Java
+ 77194 [rasputin ido] 1) Iterators - Java forces you to write scaffodling, Ruby just does it.
| 77195 [rasputin ido] Ooh! Almost forgot - portabililty.
+ 77329 [wsdng online] As some others already said.
+ 77330 [contact maik] In my opinion, you should try to focus on language features (blocks,
| 77405 [B.Candler po] How can you have interoperability wth vapourware??
+ 77337 [0bz63fz3m1qt] JRuby.. I never tried it?
| 77435 [armin xss.de] A big thx for all the ideas we got so far from the group.
+ 77344 [bob.news gmx] I'd probably show similarities between Ruby and Java (to make them feel at
+ 77348 [surrender_it] they won't let java.

^ smtp.sendmail security
77183 [ng johnwlong] We are using the following code to send email messages from an online form
+ 77185 [kirindave le] I'm surprised that Net::STMP lets you do that. It really should be set up so when taint checking is on, it won't let you do that. Suffice to say that is very bad. You shouldn't allow that to happen.
| 77209 [ng johnwlong] so when taint checking is on, it won't let you do that. Suffice to say that
+ 77222 [matz ruby-la] Check will be added.  Thank you.
  77234 [chrismo clab] Can you elaborate on what this addition will do? I frequently use
  77235 [decoux moulo] * lib/net/smtp.rb (Net::SMTP::send0): add taint check.

^ Generating random numbers?
77187 [harryo zip.c] Can someone remind me of the name for the class/method for generating random
+ 77188 [ben thingmag] irb(main):012:0> rand
+ 77189 [wkb airmail.] Harry,
| 77192 [harryo zip.c] Thanks!
| 77248 [orion2480 ho] Speaking of random numbers... I encountered a problem this morning with
| + 77249 [matz ruby-la] No one can answer for you unless you reveal "something with the random
| | 77251 [orion2480 ho] The only thing it was being used for was for grabbing the element at that
| | + 77253 [hal9000 hype] values,
| | + 77254 [michael_s_ca] calling srand() more than once doesn't make your numbers "more random".
| | + 77257 [matz ruby-la] You don't need to call srand unless you want to reproduce random
| |   77258 [orion2480 ho] I completely understand why this would result in sequentially repeated
| |   77259 [hal9000 hype] My guess would be that it was some kind of logic bug
| + 77255 [michael_s_ca] Call srand once, or don't call it at all.
+ 77190 [brandon dval] HTH,
+ 77333 [cedric.foll ] irb(main):001:0> rand(10)
+ 77457 [ jupp gmx.de] Saluton!
  + 77462 [harryo zip.c] That's a good question.  I'm no statistics guru, so I probably don't really
  + 77584 [paul argelfr] Actually, Ruby's RNG isn't so great for Monte Carlo or discrete event

^ [ANN] Ruby 1.8.0 preview5 in PLD
77191 [aredridel nb] just an announcement: ruby 1.8.0-preview5 is available in PLD's CVS tree, and should be available in the nest FTP area when the builder is done with it.

^ Respond soon
77193 [maryam.7 pin] Dear Partner,

^ [somewhat OT] A Slashdot mention of RubyForge...
77196 [tom infoethe] Yours,
+ 77201 [james_b neur] Ohh, and I have moderator points again!
| 77328 [spam deck.dk] you must have stolen mine! Thief! I had 5 yesterday, now they are gone!
+ 77345 [ jimm io.com] Thanks. Now I know where to spend my five shiny mod points.

^ Parser generator
77197 [rodrigob int] This is a multi-part message in MIME format.
+ 77205 [mwilliams ag] 'racc' is pretty stable, I think.  'rockit' is newer, but includes
| + 77228 [rodrigob int] Thanks, I'll give them a try!
| + 77229 [batsman.geo ] Last time I used rockit (a couple months ago), it just didn't make it
+ 77342 [surrender_it] dunno what you mean for 'mature' but look on RAA for RACC and rockit.
  77469 [feldt ce.cha] gabriele renzi <surrender_it@rc1.vip.ukl.yahoo.com> skrev den Wed, 30 Jul
  77520 [feldt ce.cha] I agree.
  + 77532 [maillist bes] Why would you want a native Ruby parser generator???  I am not trying to
  | 77546 [feldt ce.cha] maillist@bestworldweb.homelinux.com <maillist@bestworldweb.homelinux.com>
  | 77591 [mailinglists] I really doubt that scripting languages offer faster implementation of
  + 77568 [drbrain segm] Well if you aren't in too big of a hurry, there's a pure Ruby Coco/R
    77573 [feldt ce.cha] Is this a new port or are you referring to the Coco/Rb in RAA?
    77578 [drbrain segm] =20

^ RPM spec for ruby 1.8.0-preview5 for Mandrake.
77199 [john.carter ] Here is an RPM spec for ruby 1.8.0-preview5 that works for Mandrake 9.
77202 [ben thingmag] Interesting.  I've never really looked inside an RPM spec file before,
77212 [aredridel nb] You might check the latest PLD from the cvs tree at cvs.pld-linux.org,
77214 [ian caliban.] Better yet, modify the line so that Ruby is used during the build, not

^ Ruby web-application frameworks
77204 [mccallister ] I am looking for a webapp framework that nicely seperates out View
77226 [rasputin ido] Education is the process of casting false pearls before real swine.
77233 [mccallister ] Except that Struts won't do what I want - it keys the View control off

^ Singletons as globals and GC
77206 [ben thingmag] Although Ruby allows the use of global variables, I still prefer not to
+ 77223 [matz ruby-la] I don't know what you meant.  If w1 is referenced from somewhere, w1
| 77238 [ben thingmag] Sorry I wasn't more clear.  I meant to give a case where there are no more
| 77239 [decoux moulo] svg% cat b.rb
| 77241 [ben thingmag] Ah, how cool.  I have never (knowingly) encountered a class instance variable
| 77407 [wsdng online] Just another warning. I don't know how to control the instance
+ 77327 [wsdng online] Classes are global and a singleton instance will be referenced by a

^ Newbie question (originally: smtp.sendmail security)
77207 [xrfang hotma] Although I have been using Ruby for quite a long time and I love it. I

^ Documentation for standard library -- what format?
77208 [wew williamw] I'm a bit confused as to what is meant to be the standard
+ 77219 [jbritt ruby-] RD was the first, or one of the first, formats used to document code.
| 77338 [airboss node] With due respect to the authors of RDoc, I have to confess that I'm a
| 77364 [dave pragpro] Eventually ri and rdoc will be integrated, and you'll have your wish
| 77389 [james_b neur] In the interim there is Rimport, which aids in geting RDoc output into ri.
+ 77225 [gsinclair so] There is an ongoing, though not very active, project to document the
  77231 [wew williamw] Thanks to James and Gavin for their responses.  I've subscribed

^ How do I tell when my CLI output is piped?
77210 [dlandrith ma] I've written several simple command line tools in ruby to display
77211 [harryo qiqso] In C, this is normally done using the standard library routine isatty(file_descriptor) which returns non-zero when output is going to a terminal.
77215 [dave landrit] Works perfect!  Thanks!
77216 [harryo qiqso] Don't thank me; thank Matz :-).

^ RPMs of Ruby 1.8.0 preview 5 for Red Hat Linux 9
77213 [ian caliban.] As usual, RPMs of the latest Ruby 1.8.0 preview release can be found

^ 1.8.0preview5 breaks VIM
77218 [ian caliban.] It seems that the rb_defout symbol was removed a couple of days ago.
77265 [ruby-talk gr] Indeed, I've found the same thing.  I'm not familiar with Ruby
77365 [ruby-talk gr] See http://article.gmane.org/gmane.editors.vim.devel/4088 for a patch to

^ URGENT AND CONFIDENTIAL BUSINESS PROPOSAL
77224 [halilu_akilu] City Bank Of Nigeria Plc

^ Warnings?
77227 [tim bates.id] I've recently got around to reinstating some of my old Ruby apps after a
77242 [matz ruby-la] You've inspired me to add a way to stop all warnings.  In the near
+ 77252 [mdavis sevas] How about a way to trap warnings similar to rescue Exception so we can trap and suppress certain expected warnings?
| 77256 [matz ruby-la] Since warning is a mere message, not exit like exceptions, it is more
| + 77262 [mdavis sevas] I can appreciate the difficulty, however, I would rather not suppress all warnings and yet I have code that generates warnings that are okay.  Will it be possible to turn off warnings and then turn them back on again at runtime?  This would at least provide me an option to disable warning messages during methods that generate warnings.
| | + 77263 [austin halos] irb(main):001:0> class WarningException < Exception; end
| | + 77264 [ben thingmag] When you say you have "code that generates warnings that are ok", you
| + 77339 [bob.news gmx] "Yukihiro Matsumoto" <matz@ruby-lang.org> schrieb im Newsbeitrag
|   77341 [surrender_it] I proposed a think like this !
+ 77260 [tim bates.id] What can I do in the meantime?  One of my curses-based apps is
| + 77261 [ruby-talk wh] $stderr.close
| + 77390 [martindemell] Somewhat far-out, but could AspectR be used to redirect $stderr
+ 77431 [pbrannan atd] How can this feature be accessed from inside Ruby code?
  77450 [matz ruby-la] $VERBOSE = nil   # to make it silent
  77459 [mdavis sevas] Thanks, this worked great.

^ Re: Digest Articles 77163-77218 (1/5) (ruby-talk ML)
77230 [andre syspoi] matome 0

^ [OT] Vim and ruby_no_expensive 'mode'
77236 [djkea2 mugca] Is anyone using the ruby_no_expensive 'mode' for vim syntax
+ 77240 [gsinclair so] I've never heard of it. :)
+ 77245 [lone-star ho] let ruby_no_identifiers = 1
+ 77246 [austin halos] I find the two options there counter-intuitive (most syntax items use if

^ ruby-dev summary 20715-20940
77237 [ksaito uranu] This is a summary of ruby-dev mailing list.

^ Bug or feature in Ruby (1.80.pre4)
77243 [gour mail.in] While attempting to compile and tweak extconf.rb for wxruby bindings
77247 [eban os.rim.] No.  MinGW ruby is a navite win32 application.  It does not
77383 [gour mail.in] Thanks.

^ ruby-postgres for windows?
77268 [carl youngbl] Does anyone know where I can find some precompiled binaries for
77273 [carl youngbl] Just to clarify, I'm using the windows installer version from

^ [ANN] RMagick moves to RubyForge
77274 [cyclists nc.] RMagick has taken up residence at RubyForge. I'm leaving the old web page

^ cgi traceback
77279 [jolsen mail2] Is there a way to configure the ruby cgi module to give
77399 [B.Candler po] You can just trap the exception and display it.

^ [ANN] Ruby-Wise 0.6.15
77283 [kero chello.] Ruby-Wise is a native WIdget SEt for Ruby. Currently it can only use X11

^ Passing a method block to a parent class
77290 [eric.anderso] If I have
+ 77286 [dooby d10.ka] super   #    <----------------###
+ 77287 [swap gmx.net] The above is equivalent to
+ 77295 [markjreed ma] To pass blocks around you have to use proc arguments.
  77401 [B.Candler po] class B < A

^ Builtin objects namespace
77296 [eric.anderso] What namespace are the builtin objects? I want to create an object in
+ 77293 [swap gmx.net] The ``Builtin'' Namespace is called Object - so write
+ 77294 [surrender_it] I think you can always refer to the root namespace with
+ 77377 [bystr mac.co] Use ::Hash to refer to the top level class.

^ is it possible to pipe ruby to more / cat / arbitrary programs?
77298 [tuanbui cray] Good morning,
+ 77324 [bob.news gmx] "Tuan Bui" <tuanbui@cray.com.nospam> schrieb im Newsbeitrag
+ 77402 [B.Candler po] I posted a solution which I think does what you want at
+ 77563 [tuanbui cray] After spending a few days on this, it seems that redirecting output
  + 77569 [bob.news gmx] "Tuan Bui" <tuanbui@cray.com.nospam> schrieb im Newsbeitrag
  + 77574 [mwilson13 co] I tried less and more in irb with both backticks and using shell.rb.

^ XML in Ruby (or C++?)
77313 [jpmprb sapo.] Dear Ruby users,
+ 77378 [bystr mac.co] I would suggest that you look at xml-simple on RAA
+ 77403 [B.Candler po] There are several XML parsing libraries for Ruby; the one which seems most
+ 77427 [brett_willia] If you find performance to be an issue with the Ruby-only based parsers,

^ Re: -3 / 10 = -1  ?!
77314 [markjreed ma] Because -1 == floor(-3/10).  Truncation toward zero, which is the usual
77334 [denshimeiru-] It's doing the "mathematical" division.
77360 [john_b_andre] Thanks to Rudolf and Mark for answering my question.
77361 [denshimeiru-] That is, use the integer type of the platform you are using. Its behaviour

^ File.open{} , huge files and gc
77317 [surrender_it] I just came across a diuscussion about C++ smart pointers and Python's
+ 77299 [tcfelker mtc] The price you pay for not needing to keep track of the ownership and
| 77308 [surrender_it] well, the point is that in refernce count GC I can be sure that fd is
+ 77310 [bob.news gmx] "gabriele renzi" <surrender_it@remove.yahoo.it> schrieb im Newsbeitrag

^ [ANN] filemagic
77319 [whitton atla] FileMagic is a Ruby binding to the magic(4) library, which you may know better

^ 1.8.0 Segmentation fault
77320 [graham tadco] I have been experiencing problems with the 1.8.0 (MSVC build) causing

^ preview4 debugger bug?
77325 [cyclists nc.] It seems to me that the debugger in 1.8.0preview4 always acts as if I've
+ 77370 [nahi keynaut] Though I don't remember such a problem with preview4 or the
+ 77379 [chrismo clab] Yeup. Matz fixed it in p5. http://ruby-talk.org/76914

^ procfs.h problems (continued)
77336 [djberg96 hot] -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
77443 [djberge qwes] Note for those interested - building ruby with the --disable-largefile

^ Reading an integer out of 1..3 bytes
77351 [surrender_it] I'm working on a tiny dumb client for the Gnutella2/MP network, and I
+ 77441 [guslist free] l = packet[offset_to_payload_length_field].unpack("c#{len_len}")
+ 77618 [mghall enter] Like with String 'unpack'?
  77639 [surrender_it] possibly.. but how actually use it?

^ Ruby could be wildly more popular if it had ...
77354 [quixoticsyco] Brackets.
+ 77340 [tim vegeta.a] [ snipped vast majority of farce ]
+ 77343 [kentda stud.] [snip balmy bracket babel]
| + 77350 [bob.news gmx] "Kent Dahl" <kentda@stud.ntnu.no> schrieb im Newsbeitrag
| | 77382 [jweirich one] I tried this style for a while.  But then every time I added lines to a
| | 77388 [gsinclair so] My take is: {} are for functional blocks; do..end for procedural blocks.
| | 77536 [arthur8 boar] This sounds very interesting.  Can you expand upon this a little?
| | 77539 [bob.news gmx] "Arthur" <arthur8@boardermail.com> schrieb im Newsbeitrag
| | 77562 [gsinclair so] Precisely.  Some blocks are called to _do_ something, and some are
| | 77567 [bob.news gmx] "Gavin Sinclair" <gsinclair@soyabean.com.au> schrieb im Newsbeitrag
| | 77642 [gsinclair so] - in my code snippet, "something", "e.x", and "e.y" were placeholders
| | + 77657 [chris m-audi] Also
| | | + 77683 [bob.news gmx] "Chris Thomas" <chris@m-audio.com> schrieb im Newsbeitrag
| | | + 77694 [martindemell] The ternary operator is *useful*, as evidenced by the fact that people
| | |   77696 [4mschulz inf] ???
| | |   + 77708 [xrfang hotma] The beauty of ruby is its tolerance. I use delphi heavily, also Java
| | |   + 77766 [ jupp gmx.de] Saluton!
| | |     77818 [austin halos] "The End Justifies the Means", in English.
| | |     77855 [ jupp gmx.de] Saluton!
| | |     77858 [mgarriss ear] Could you take this discussion off the list please.
| | |     77910 [ jupp gmx.de] Saluton!
| | |     + 77911 [B.Candler po] But then they are just 3-5 character parentheses, not 1-character
| | |     | 77931 [denshimeiru-] function main(argc: integer; argv: array of string): integer;
| | |     + 77929 [bob.news gmx] "Josef 'Jupp' Schugt" <jupp@gmx.de> schrieb im Newsbeitrag
| | + 77682 [bob.news gmx] "Gavin Sinclair" <gsinclair@soyabean.com.au> schrieb im Newsbeitrag
| + 77425 [michael_s_ca] Or to have bracket-aware editors be able to fold, bracket-match, etc.
+ 77371 [aredridel nb] Nice, clean, reads like english.  Flexible indentation, but language
| 77445 [drosih rpi.e] The one nice thing about brackets is that editors know how
| 77755 [austin halos] Vim can match do/end blocks, and folding is already done by it.
+ 77387 [james jamesb] <snip amount='lots' />
+ 77392 [fritz.heinri] .... a look like javascript on steroids.
| + 77404 [B.Candler po] Maybe it would be more popular with Perl programmers, but you wouldn't have
| | 77409 [maillist bes] Ruby does have semicolons, but they are optional...
| + 77410 [xrfang hotma] Javascript's semicolon is also optional. Javascript is one of my
|   77507 [maillist bes] Have you used a PHP debugger? Or do you just click the refresh button in
|   77519 [xrfang hotma] A programmer's feeling is important to him/herself... It does not mean
|   77531 [maillist bes] Maybe so, but then if you care to use the ; in ruby, that defeats your
+ 77455 [ jupp gmx.de] Saluton!
| 77463 [james_b neur] Becauae of the obvious criitcal differences between ( ) and { }.
| 77495 [flori nixe.p] I don't like either of them. Because of the motto "Ruby makes
| 77499 [madsen sjove] [snip "all the fun stuff"]
+ 77780 [androflux so] Okay, I will.
threads.html
top