118104-120073 subjects 118480-119749
^ extending instance methods from a class object
118273 [wmorgan-ruby] I'm currently drowning in a pool of instance_methods and define_methods
118351 [vjoel PATH.B] Here are two ways. There are probably more, knowing ruby :)
118523 [wmorgan-ruby] Thanks! It was the class_eval I was forgetting.
^ is this an open-uri bug?
118281 [todd.bradley] bug. Could someone take a look at this and if this is really a bug,
+ 118330 [rff_rff remo] irb(main):001:0> require 'open-uri'
+ 118406 [akr m17n.org] It seems that the URI is redirected to invalid URI.
^ RPA and author packages/interactions (forward vision)
118290 [eeklund gmai] Discussions of the full RPA at the bottom.
118604 [neoneye adsl] Wow.. this is good insight into how RPA works.
118609 [eeklund gmai] I agree. A reasonable amount of competition (while keeping a good
^ Leak or not leak
118292 [mneumann nte] Ruby experts, does this memory usage look normal to you?
118389 [mneumann nte] After 14 hours... Ruby has stable memory consumption, with
^ Another scrach on head
118298 [mkhan lextra] if (expression)
+ 118299 [jgb3 email.b] By definition (in Ruby), nil and false are false, and _everything else_
| 118304 [mkhan lextra] Thanks, for clarify this. My appology, I didn't know that !
| 118306 [mkhan lextra] Wait a minute,
| 118308 [jgb3 email.b] No, I mispoke for the sake of simplification. nil and false _evaluate to
| + 118309 [mkhan lextra] In other words
| | 118317 [dblack wobbl] You could also say
| | 118320 [mkhan lextra] David,
| | + 118321 [mkhan lextra] Correcting myself,
| | | + 118324 [zdennis mkte] I fail to see where the problem is. if *a* is not an instance of the
| | | | 118326 [mkhan lextra] I already corrected myself.
| | | + 118327 [dblack wobbl] It comes back to the fact that the words 'true' and 'false' are used
| | + 118352 [halostatue g] I'm not sure this is a good consideration. Coming from an SQL
| | + 118357 [botp delmont] //I still don't see a reason for #true? and #false?.
| | | + 118413 [halostatue g] Mmm. I don't think changing that to if a.true? will help readability
| | | + 118608 [mkhan lextra] this will return a boolean, so it doesn't fit in my example.
| | | 118617 [halostatue g] No, I'm sorry, I *don't* know what you mean. Foo.new is a true value.
| | | 118618 [mkhan lextra] Foo.new is not a true value,
| | | 118619 [halostatue g] In some other language, perhaps, but not in Ruby. IMO, the decision
| | + 118359 [binary42 gma] If I am not mistaken this is probably something inherited from
| | 118363 [transami run] That's interesting. Are you suggesting that `if` be a method?
| | 118364 [binary42 gma] Sure... if we wanted to use real Ruby blocks for the conditionally
| | 118424 [transami run] I think this has merit. But I too haven't thought enough about it. One of the
| + 118345 [matz ruby-la] Ruby never get passed on telephone test.
| + 118348 [timsuth ihug] This reminds me of some code written by a (normally sensible) co-worker.
| + 118596 [mkhan lextra] Thanks for your reply.
| | + 118598 [dblack wobbl] a = "hi"
| | | 118602 [Ara.T.Howard] i'd really like a #true?
| | | + 118625 [mkhan lextra] You can extend Object
| | | | + 118626 [binary42 gma] There is a thread on suby-ruby about experimantation with this. Join in :)
| | | | + 118646 [transami run] Ruby allows all objects to eval as true values except the false and nil
| | | + 118627 [jim weirichh] if options['verbose'] == true
| | | 118629 [halostatue g] if options['verbose'].true?
| | | + 118631 [jim weirichh] Me too.
| | | | + 118634 [msparshatt y] Another problem is that a lot (perhaps most) tests within ruby don't
| | | | | 118644 [Ara.T.Howard] don't you think would suprise most newbies too?
| | | | | 118647 [msparshatt y] The same way when a newbie working in C is surprised when comparing
| | | | | 118648 [msparshatt y] Should be correct. :-[
| | | | + 118643 [mkhan lextra] As a newbie, this is also confusing to me
| | | | 118658 [jgb3 email.b] That's the key, right there. There is nothing wrong with being a newbie.
| | | + 118632 [mkhan lextra] This is more OOP
| | | | + 118636 [zoso foton.e] AOL
| | | | + 118645 [halostatue g] I disagree. I don't think it's any more or less OOP than what is below.
| | | + 118639 [Ara.T.Howard] o.k. - bad example on my part. i'm more in favour of a bool? and false? test
| | | 118652 [halostatue g] def solar_elev_file=(value)
| | | 118659 [Ara.T.Howard] i actually coded it that way up front and hated it. the reason is that the
| | | + 118660 [mkhan lextra] or,
| | | | 118664 [halostatue g] Won't work. Read up on case and #===. Frankly, I strongly suggest
| | | + 118663 [halostatue g] class SolarElevFile
| | + 118599 [Ara.T.Howard] and perhaps also
| | + 118603 [zdennis mkte] This is not true, block 1 will execute if *a* is anything but nil or false.
| | 118606 [mkhan lextra] a evaluates to true
| + 118623 [flgr ccan.de] "In Ruby, nil and false are false values, but nil is not equivalent to
+ 118301 [zdennis mkte] Everything in ruby except for false and nil return true in a boolean
+ 118302 [transami run] if (not (a.nil? or a.false?))
+ 118305 [dblack wobbl] Almost always :-)
+ 118307 [mkhan lextra] Exactly, thats what I wanted to illustrate.
+ 118310 [zdennis mkte] Zach
^ at_exit, trap sigint, and sleep. no good in 1.8, ok in 1.6
118313 [homernile ya] Any ideas about why the following code hangs in 1.8
118589 [pbrannan atd] FWIW, it works fine on linux with both 1.8.2-preview1 and CVS head.
^ [ANN] Design by Contract for C Ruby Gem
118315 [cmills frees] Gem is now available!
^ ruby and LDFLAGS
118328 [hramrach cen] Does anybody know why ruby does not support LDFLAGS?
118501 [nobu.nokada ] Use DLDFLAGS for extensions instead of LDFLAGS. The latter is
118550 [hramrach cen] And what flags do I use to propagate my favourite library paths into
119677 [nobu.nokada ] What you want is --with-opt-dir / --with-opt-include /
^ embedding, 'require' and extensions
118332 [ptkwt aracne] I've basically taken the embedding example from pickaxeII and the only
118372 [decoux moulo] You don't give the most important part : how do you build your
118429 [ptkwt aracne] $ gcc -I/usr/local/lib/ruby/1.8/i686-linux -g -c -o summer.o summer.c
118481 [decoux moulo] Well, at moulon
^ Hashes and Blocks (Syntactical/Feature question)
118334 [pete petta-t] I haven't been able to find any documentation on the syntax for a
+ 118335 [gsinclair so] state = 0
| 118380 [bob.news gmx] "Gavin Sinclair" <email@example.com> schrieb im Newsbeitrag
| 118987 [jhaungs acm.] What's a hashtable with names pointing to code blocks?
| + 118999 [bob.news gmx] "Jim Haungs" <firstname.lastname@example.org> schrieb im Newsbeitrag
| + 119002 [pete petta-t] Thanks for all of the helpful responses!
+ 118336 [usenet andre] state = 0
^ TCPSocket question
118338 [g.glueck gmx] i'm trying to use TCPSocket the first time and had a problem with it.
118376 [decoux moulo] Try with
^ beginner gserver question...
118353 [hernan.silbe] I'm in the early stages of learning Ruby. I've been playing with std
118354 [binary42 gma] theS.join
^ [ANN] Ruby on Rails presentation added to the WhyRuby repository
118360 [curt hibbs.c] I just added my presentation of Ruby on Rails to the WhyRuby repository.
+ 118370 [burtdav hotm] Curt Hibbs> http://whyruby.rubyforge.org/wiki/wiki.pl?Ruby_Presentations
+ 118375 [batsman.geo ] s/Bjarn Stroustrap/Bjarne Stroustrup/
| 118396 [curt hibbs.c] Thanks, I'll fix that.
+ 118378 [batsman.geo ] sounds as if there were some kind of default implementation for actions
| + 118391 [burtdav hotm] Mauricio FernŠŌdez> (error corrections)
| | 118399 [curt hibbs.c] I'll fix it.
| | 118409 [jamesUNDERBA] Sluts? That's been a project of mine for a while now.
| | 118420 [transami run] Unfortunately sluts do not program in Ruby. On the other hand, if they did
| | 118430 [sera fhwang.] Hey, speak for yourself, T.
| + 118397 [curt hibbs.c] Thanks again -- I actually meant to say "default". I'll fix this, too.
+ 118469 [batkins57 gm] private def find_customer()
118506 [djberg96 hot] I suspect Curt implemented RCR 277 on his own - http://rcrchive.net/rcr/show/277
^ Re: Rounding error, (100.0 2000 2001 Desktop Money Projects Protege.png Protege_2.1 Q3.DIR Quicken RCS Screenshot-1.png Screenshot-2.png Screenshot-3.png Screenshot.png afs-backup afshome amixer.works b basic.edl bin bruin-woods c4isr.owl c4isr.pprj cellphones.sxc comedi comedilib config config-n6uni config.austin conv-factors.sxc debian drvinfo.txt dry.xml ds-tools emachines evolution float.sxc fnfix foomatic-db-current.tar.gz grp-backup iFog-Aqua20-1.tar.gz id_dsa.pub income jimo-core-sjenkins job-search ken-cole latex2docbook letters lfront log mbse modules n6uni-etc.tar.gz n6uni-home.tar.gz n6uni.tar.gz nasa nisotr old-ruby-tools openafs photos pickaxe2.pdf rdtmerge resume rexml.sxc ruby-bug ruby-oscon.sxi ruby-tidal ruby-tools smbmount.3.0.7 software themes tidal-3-11 tidal-3-5-patches tidal-cvsroot-archive tidal-data tidal-head tidal-poster-corrected.ppt tidal-poster.ppt tidal-web tidal-xdemo tidalsim.tar.gz uuid vim-ruby-snapshot-2003-10-12 wet.xml yepp 9.95).to_i == 994
118362 [steven.jenki] I work in a place that actually sends missions to Mars, and I can assure
^ ruby-dev summary 24487-24627
118365 [aamine lover] This is a summary of ruby-dev ML in these days.
118436 [drbrain segm] What is NKF2?
+ 118502 [matz ruby-la] NKF (Network Kanji Filter - character encoding converter between Shift
+ 118503 [nobu.nokada ] Network Kanji Filter ver.2, which supports UTF-8 as well as
^ Re: Rounding error
118366 [transami run] Just a joke. I don't doubt your arithmetic abilities at all. You work for
118427 [discordantus] Looks like shell expansion, not spam, to me.
^ [ANN] Ruby on Rails presentation added to the WhyRuby repository
118367 [curt hibbs.c] I just added my presentation of Ruby on Rails to the WhyRuby repository.
^ Re: Rounding error ... [remainder of huge subject line truncated]
118368 [ljz asfast.c] In addition to being completely in agreement with Mr. Jenkins, I want to
118369 [transami run] Everyone, obviously, has their own particular perspective on the world. You
+ 118377 [neoneye adsl] It looks interesting.
+ 118431 [ljz asfast.c] The "better world" you are talking about already exists. I will explain
| 118440 [transami run] You misunderstand me then. I never expected that. The original message in this
| 118442 [ljz asfast.c] What technological constraints are you talking about? The constraints
| 118444 [transami run] You first will have to specify the problem set better then that. For example
| 118478 [ljz asfast.c] Let's specify all of the values to be floats in these examples.
| 118479 [transami run] You are constraining the solution set to a system that can not provide a
| 118493 [ljz asfast.c] Yes, I recall.
| 118583 [transami run] Sure. Although I never really disagreed. I've merely suggested that I believe
+ 118438 [steven.jenki] No, the last word was J. H. Wilkinson, "Rounding Errors in Algebraic
118441 [transami run] What happened to David Matula?
^ reuse passed proc later?
118371 [blue_technx ] I'm new to Ruby and some of its features...
+ 118373 [dblack wobbl] In your example you never call foo, so @func never gets assigned to.
| 118374 [botp delmont] //
+ 118382 [bob.news gmx] "David Gurba" <email@example.com> schrieb im Newsbeitrag
+ 118383 [sdate everes] class A
^ [ANN] win32-eventlog 0.3.0
118390 [djberg96 hot] The Win32Utils Team is happy to announce the release 0.3.0 of
118737 [martindemell] I took a look through the docs and examples, but couldn't find out if
118841 [djberg96 hot] It didn't work because net send's are logged in the "System" log, not
118879 [martindemell] Perfect! Thanks - this is going to save me a lot of tedium.
^ Flea vs RubyGarden
118423 [phlip_cpp ya] I sympathize with the battle on spam, but I was using RubyGarden to build
+ 118425 [dross code-e] did you have the location: with the capital HTTP://?
+ 118448 [chadfowler g] Flipster,
118452 [gsinclair so] Wasn't the idea of the "HTTP" patch to only apply to _new_ Wiki edits?
+ 118455 [dross code-e] What would be the point if it were only new? They would spam the current
| 118456 [drbrain segm] =20
| 118457 [phlip_cpp ya] That's the thing - the pages "should" have all been grandfathered-in. I
| 118458 [dross code-e] Right, this spamming problem is just text related(I've yet to see image
+ 118471 [jim weirichh] Well, the patch does 2 things: (1) makes "HTTP:" the proper prefix for
118476 [phlip_cpp ya] as
118491 [chadfowler g] That's right.
118492 [phlip_cpp ya] their
118495 [transami run] You bring up an interesting insight. If a page contains a "mark" of
118514 [phlip_cpp ya] can
118516 [transami run] Right, it is sort of a captcha. The only thing I was really drawing onw was
^ "Business" objects?
118426 [duncan nycap] Why does it connect "business" objects? Does this mean it wouldn't be
+ 118437 [drbrain segm] "Buisiness Objects" don't refer to licensing, but to doing or modeling
+ 118439 [jamesUNDERBA] The word "business" is meant to distinguish those objects from the code
| 118525 [patrick hexa] It is an odd distinction. Why is the in-memory code object, transient
| 118526 [jamesUNDERBA] Well, in this analogy, the plumbing would be the database and the
| 118534 [patrick hexa] James,
+ 118446 [aengstrom gn] The business objects doesn't really have anything to do with business in
^ Running Multiple Versions of Instiki on Same Host?
118428 [anthony.bake] Hey Folks,
118434 [batsman.geo ] You don't need multiple installs; just specify the port as a command
118450 [aredridel gm] This is what I do for my (several) instiki installs.
^ [SOLUTION] AnyWiki Spam - One step to Solution
118443 [dross code-e] Okay, one way to bundle RBL support with another way to get rid of any
^ [RDOC] Creating my own section in a page
118445 [djberg96 hot] I've got a C extension that I want to rdocify. It works well enough,
118473 [dave pragpro] Not right now (although you could just list them in the file-level
118505 [djberg96 hot] How about a Document-constant: directive? Another alternative is to
^ New Ruby conditional semantics thoughts
118447 [binary42 gma] The basic background was begun by someone asking a question about
+ 118449 [transami run] Nice work. Your explanation is a bit terse, but I'll take it :) I forwarded
+ 118504 [bob.news gmx] I have some questions and remarks which you will find below.
+ 118513 [binary42 gma] I am simple avoiding using method chaining. Note that I put this
| 118587 [bob.news gmx] "Brian Mitchell" <firstname.lastname@example.org> schrieb im Newsbeitrag
| 118591 [itsme213 hot] this
| 118615 [binary42 gma] The main problem is that internally the entire conditional (i.e. if
+ 118524 [flgr ccan.de] It's quite useful for proxies. For example a WeakRef to false will not
| 118579 [bob.news gmx] "Florian Gross" <email@example.com> schrieb im Newsbeitrag
+ 118531 [chrunderscor] I once proposed a "truth" flag scheme akin to Ruby's
118537 [binary42 gma] Just remember that we are NOT converting to boolean. In fact
118574 [halostatue g] I'm really not trying to be obtuse here, but I still don't get why
^ Re: requesting advice about creating a business model sim.
118453 [sdate everes] I am not sure that I have a "clever" idea, but I can point to similar
118461 [brotman exci] Shashank,
118468 [cc1 cec.wust] I think the queue based simulation is the key, I believe the other
^ RDoc duplicate methods
118459 [transami run] I'm getting duplicate entries for methods using RDoc. Anyone know why that
+ 118460 [dross code-e] Which Ruby, which entries? I've not seen any quirks like you describe.
+ 118462 [hal9000 hype] No, I haven't seen that. Can you diagnose further? Do the dups have anything
| 118463 [transami run] So far, I've only determined that RDoc is processing some files twice. I'm not
| + 118465 [transami run] Okay I figured it out. It's related to the problem I reported before --I have
| | 118467 [dross code-e] oh, so there really is a problem with every rdoc out there. heh...
| | 118475 [dave pragpro] No, it's a problem with Rake, as the poster indicated.
| + 118466 [dross code-e] Just curious, whats the version of your Ruby -v? Is this base base
+ 118474 [dave pragpro] Perhaps you have an older RDoc, and you have the documentation
^ Possible flaw in rubicon test for TestThreadGroup
118464 [headius gmai] JRuby, and have run into an issue with one of the rubicon tests;
^ mmmmmmmmmmm ruby-talk
118477 [underbar_und] I've been thinking to myself, and what someone else
+ 118487 [usenet andre] I got bored at this point.
| 118488 [underbar_und] I come of to some people a bit rude unintentionally.
+ 118530 [jim freeze.o] Hmm, is this a threat or extortion? Or maybe it more like
| 118559 [dross code-e] Bloody mess to them means they would see my every email. One click of a
| + 118560 [dross code-e] Newsgroups will work too. bada boom!
| + 118564 [jim freeze.o] TIME OF QUERY OF RBL1 ABOUT URL1
+ 118569 [peter semant] [delitia]
118573 [dross code-e] New people to the list often do what others do by trying to mimic what
118575 [batkins57 gm] DAVID ROSS!
118581 [jamesUNDERBA] May I suggest that the issue is no longer Mr. Ross, but those who
118588 [curt hibbs.c] Yes, let's please move on to more productive endeavors.