211481-220417

211325-212445 subjects 211784-214544

^ regarding memcache client...
211481 [inxs.hemant ] I am using memcache-client written by beloved :) eric hodel for session
+ 211507 [cdc cyphers.] require 'rubygems'
+ 211658 [drbrain segm] You probably forgot to require 'rubygems'.

^ Why must LoadError be explicitly caught from require()
211485 [rogojin gmai] Why do I explicitly have to catch LoadError as thrown by 'require'?
+ 211488 [jan.svitok g] Because empty 'rescue' clause is the same as 'rescue StandardError',
+ 211489 [khaines enig] Because not throwing an exception would be bad.
+ 211492 [khaines enig] Oh, I am sorry.  I just work from a nap (long night) and misinterpreted
  211502 [rogojin gmai] Thanks!

^ Overriding Class Methods With Modules
211486 [ng johnwlong] How do I override a class method on an object with another module? For
+ 211491 [transfire gm] Because we don't have Cuts ;-)
| 211498 [ng johnwlong] Mmm. That doesn't work either.
| 211501 [jan.svitok g] shouldn't be "extended" ?
| 211508 [aleks0 gmail] module TestExtension
+ 211503 [dblack wobbl] What you're seeing is that in the method lookup path, a given class

^ Finding classes
211494 [marcus.brist] 1) Includes a specific module
211504 [flori nixe.p] require 'enumerator'
211506 [marcus.brist] Thanks for the answer. Unfortunately this won't work as I explained in my

^ Building Ruby 1.8.4 interpreter for Windows
211512 [roybh2002 ya] I downloaded Ruby Version 1.8.4 and used it happily :->
211735 [roybh2002 ya] The \lib\ folder is incomplete in the download of Ruby 1.8.5 therefor
+ 211736 [roybh2002 ya] HOWEVER!
+ 211763 [nobu ruby-la] Then you failed to download it.
+ 220408 [yasemine bil] I am a new commer to this site and I am learning Ruby for my Ph.D.
  220417 [smartgpx gma] Well, ignoring the fact that you are NOT building the interpreter,

^ Ruby Books
211518 [brochu121 gm] I am trying to get into Ruby programming so that I could eventually work
+ 211524 [pat.eyler gm] Are you a beginning programmer?  If so, Learn To Program is the book
+ 211529 [rdm cfcl.com] "Ruby for Rails" is the first book I have read that
+ 211534 [james.britt ] Ruby for Rails by David A. Black on both accounts.
+ 211580 [alvin321 tel] Every reader's needs are different but I got up to speed quickly with
  211635 [rick.denatal] I do too, although the first ed. is getting to be a bit behind the
  + 211643 [sambient gma] 2nd edition is keeping my head spinning.  I mean this in a positive
  | 211645 [sambient gma] I should add that I have no experience with the 1st edition of the
  + 211685 [alvin321 tel] I agree that one fire hose is plenty enough for most of us.
  + 211711 [eduardo.yane] I have both of them, and 2nd ed although is a beta version covers many new
    211723 [sambient gma] The recently released book , Ruby Cookbook while not an outright
    211726 [chiology gma] Guide to Ruby (http://www.poignantguide.net/) is an excellent, free,
    + 211747 [james2mccart] The perfect toolkit to get you going with rails and ruby is;
    + 211795 [rick.denatal] I enjoy it,  but...
      + 211800 [emill though] That's being a little oversemantical.  Going into the details of Ruby's
      | 211804 [ruby-talk wh] illegal.)  Anything else is incidental.  I second the de-recommending of this
      | 211807 [tfwright tho] Sometimes I leave copies of why's book on the train, for children to find.
      | 211819 [perrin apoth] Do you leave it with an onion?  I love to see little children cry.  Or
      + 211802 [johnatl mac.] Nothing personal, but if that paragraph were in why's guide, you wouldn't
        211874 [rick.denatal] I've got no quibble with the poetry, in fact I admire the offbeat

^ Parsing CSV file with ruby
211520 [olsonas gmai] I'm currently trying to do something that seems rather simple but I'm
211522 [olsonas gmai] Let me be more specific: essentially I want to find the groups of rows
+ 211542 [nospam nosit] #!/usr/bin/ruby -w
+ 211545 [james graypr] I'm assuming you meant CSV (not CVS).  ;)
  211574 [olsonas gmai] Thank you both for the responses. Both seem to be EXTREMELY helpful.

^ Obtaining a reference to an enclosing class of a nested class
211521 [drjflam gmai] class A
+ 211564 [rick.denatal] reference_b.name => "A::B"
| 211570 [drjflam gmai] Yep - they're anonymous. I'm rewriting how RubyCLR deals with shadow
+ 211595 [vjoel path.b] class A
+ 211596 [vjoel path.b] class A
  211600 [logancapaldo] mod1 = Module.new
  211623 [vjoel path.b] I don't think mod2 is nested in mod1, in any sense. There's no reason
  211634 [logancapaldo] VALUE rb_define_module_under(VALUE outer, const char *name)
  211651 [rick.denatal] But module nesting is namespace nesting, so what does it mean to put a
  211653 [vjoel path.b] It's the other way around: a named object in an unnamed namespace, using
  211724 [rick.denatal] Except that the OP said that BOTH were anonymous. Pasting from the
  211771 [logancapaldo] I was just pointing out ways something like that could possibly come
  211797 [rick.denatal] No problem.  I'm just trying to figure out what he want's to accomplish.

^ rdoc question
211523 [tim.pease gm] I have developed my own syntax for some validation scripts here at
211659 [drbrain segm] I don't believe you can.  :include: expects RDoc formatted text.
211824 [tim.pease gm] Eric, thanks for the reply.  I was hoping I was missing something in

^ easy question i hope
211530 [waspfactory ] this is what i need to remove
+ 211536 [jan.svitok g] \|\| (escape with \)
+ 211537 [tim.pease gm] params[:search_input].gsub!(/AND|OR|&&|\|\|/, '')
+ 211538 [nospam nosit] Some characters have special meaning to the regular expression engine. To

^ PVCS-Wishful Thinking
211539 [erichtimkar ] So, I'm going to ask this question knowing full well that I'm going to
+ 211540 [tim.pease gm] Eeeewww!  Our company just switched to Change Synergy from Telelogic
| 211544 [richard.conr] Wait, you migrated *to* Change Synergy?
| + 211547 [erichtimkar ] There is nothing (I repeat: NOTHING) that is worse than PVCS.
| | 211602 [halostatue g] ENDEVOR.
| + 211553 [tim.pease gm] Ahh yes, Synergy.  I can't say enough good things about it ;)
+ 211565 [Patrick.Benn] I didn't know people still used PVCS.  Wow.  You made my day.  :>
  211615 [richard.conr] When we switched from Synergy to Subversion, the clouds broke, sun
  211894 [joiey.seeley] We are currently using PVCS as well, with rumors of switching to Perforce

^ [RCR] Array.step
211546 [ara.t.howard] class Array
+ 211554 [logancapaldo] require 'enumerator'
| + 211556 [logancapaldo] +    i, a[0] = 0, i if a.empty?
| + 211557 [ara.t.howard] you'll have to write almost as many lines as i did to make all of it work
|   211561 [logancapaldo] I'd almost rather make the RCR for changing step rather than adding
|   + 211619 [ara.t.howard] indeed.  just to be clear, however, the RCR is for Array.step not the exact
|   | 211622 [logancapaldo] Well I don't really care persay about the implementation (I was just
|   + 211676 [nobu ruby-la] Do you mean this?
|     211677 [logancapaldo] Pretty much, except possibly supporting Ara's additional requirements
|     211678 [ara.t.howard] indeed and agreed.
+ 211555 [eric.mahurin] What's wrong with the block form of Array.new?
| 211559 [ara.t.howard] nothing.  just verbosity and brain power requirements ;-)
+ 211684 [martindemell] I think this would be a perfect use for the new automatic enumerators,

^ is webunit still being maintained?
211551 [phlipcpp yah] I have an interest in WebUnit, but I notice its last code drop is a few

^ Checking for Network Connection
211562 [chiology gma] OK, so, I quickly googled and was not able to find anything specific, but
211571 [garbagecat10] This isn't easy to do, in the general case. I assume you're just
211593 [chiology gma] Thanks... that was also a solution I had thought about, but couldn't
211599 [snacktime gm] I'm sure there is a timeout option for the socket call, or you could
211603 [chiology gma] Sweet! I didn't know that library existed! You learn something new every day.

^ Re: Array.step
211563 [transfire gm] require 'facet/interval'

^ The Old Switcharoo
211567 [transfire gm] I have a class that has a lot of data members. On top of that I have a

^ [QUIZ] DayRange(#92) - My solution
211569 [rick.denatal] I sent this before with a big zipfile attachment including rdoc, and I
211652 [rick.denatal] Ackkkk!

^ Drb and mystery ports (and Queue question)
211573 [rubyfan gmai] I'm trying to make a simple message queue. Messages can be added to
211631 [vjoel path.b] This will request a free port from the OS, so that the client can
211657 [rubyfan gmai] mq = DRbObject.new(nil, 'druby://localhost:9759')
211661 [vjoel path.b] That's the port on the server side, unless I'm confused.

^ Separation of Variables
211575 [eatmyjunk gm] I have a few variables for a program I am attempting to write that I
+ 211577 [ron.reidy gm] Martin,
+ 211588 [jan.svitok g] (using YAML as storage format)

^ [ANN] Ruby/ManageSieve 0.3.0
211576 [andre digira] This a new release of Ruby/ManageSieve with changes which were on CVS

^ Lighter-weight ActiveMQ-like thingy in Ruby?
211621 [rubyfan gmai] Has anyone worked on an ActiveMQ (http://activemq.org ) like messaging
+ 211626 [garbagecat10] I've thought a lot about it, and have already written some code.
+ 211632 [ben bleythin] I haven't looked at it, but it came up in a thread in December 2005 on a
  211640 [garbagecat10] I've talked briefly with Assaf about the reliable-msg project, and
  211648 [ben bleythin] Are there features it's lacking that are required?  Did Assaf indicate
  211656 [garbagecat10] Good point.
  211954 [kato.kiwamu ] I and my team have been trying to step up reliable-msg and finally released it today.

^ Fwd: [QUIZ] DayRange(#92) - My solution
211630 [rick.denatal] Brian pointed out that I'd missed the spec and was hypenating two day

^ [ANN] prototype-0.3.0
211636 [ara.t.howard] NAME

^ [ADV] Workshop for Getting Started with Ruby on Rails in Vancouver / Sept. 8
211639 [nshb inimit.] Rails Workshops presents Getting Started with Ruby on Rails, to be

^ Re: One-Click Ruby Installer for Windows 1.8.5-21 released
211644 [mortench gma] The world is clearly moving rapidly towards 64 bit architectures. AMD
211649 [the.mindstor] I agree with this, but I wonder if there is somebody that has
+ 211666 [halostatue g] I had actually started and I did get a running Ruby. But I had to do a
| 211691 [the.mindstor] That's good to know, at least the result was not negative.
| + 211719 [halostatue g] It means that in theory, we could switch to MinGW and worry about a
| + 211812 [ml.chibbs gm] I think he means that since 64-bit Ruby and 32-bit Ruby are completely
|   211820 [the.mindstor] Hmmm... I really don't think this would be a good decission. I see
+ 211836 [bwhicks aep.] I did it the other day just to see if I could. I downloaded the source
  211838 [halostatue g] Right. Building Ruby itself is dead simple.
  211855 [TimHunter nc] Or you could just ask those who've done it. Kaspar Schiess did the Win32
  + 211857 [billk cts.co] What I did was to install the same version of ImageMagick
  | 211873 [TimHunter nc] That's what Brett and I ended up doing.
  + 211859 [halostatue g] Sorry; I was specifically referring to making it work with the freely
    + 211871 [TimHunter nc] Okay, I see.
    + 211905 [znmeb cesmai] Well, I finally bit the bullet and installed the one-click installer
      + 211982 [halostatue g] To get nmake etc. you'll need the Platform SDK (downloadable from a
      | 212102 [znmeb cesmai] I think I did download the SDK, or at least was offered the opportunity.
      | 212127 [ml.chibbs gm] The Ruby in Instant Rails *is* the current version of the One-Click
      | 212129 [ml.chibbs gm] I didn't answer your other questions...
      | 212136 [znmeb cesmai] Yeah, that's what I meant by shooting myself in the foot. I suppose if
      | 212145 [drjflam gmai] There's some folks out there (I forget who at the moment) who are
      + 212132 [jan.svitok g] On full VC8/7/6 (I haven't tried the Express edition) there is a batch

^ unsubcribe
211655 [constans gma] unsubcribe

^ [ANN] Piston 1.1.1
211680 [francois.bea] A new release of Piston is upon us.

^ debug flag being ignored
211682 [tallison tac] I'm trying to run 'ruby -d foo.rb' and the d is either ignored or I don't
+ 211683 [logancapaldo] Maybe you wanted ruby -rdebug -d foo.rb ?
| 211799 [tallison tac] grrr.... that's not what the man pages, books, and everything else say...
| 211803 [logancapaldo] Well -d sets $DEBUG to true. -rdebug loads debug.rb which is the
+ 211688 [rickhg12hs g] "-d" sets $DEBUG to true.

^ Re: Test::Unit gotcha
211686 [drbrain segm] An object's methods don't have an order.
+ 211849 [m_goldberg a] OK, I accept that methods aren't ordered at run time and, therefore,
+ 211866 [martin snowp] Although I agree with the principle that unit tests shouldn't depend
  211920 [drbrain segm] class AbstractTestCase < Test::Unit::TestCase

^ Incorrect return of the TkFont configure instance method when no value
211695 [lionel.maiau] I already posted this question to the ruby-core mailing-list, but as I
+ 211845 [m_goldberg a] Try
+ 211848 [nagai ai.kyu] On Ruby/Tk, you can use 'configure' methods only to set attibutes.

^ Inheriting test classes
211702 [aidy.rutter ] All my GUI test classes contain this code within the constructor.
211704 [stefan mahli] class GeneralBehaviour

^ Textile / RedCloth to PDF converter?
211707 [joerg.batter] Hey there,
211716 [johnatl mac.] pdf=`basename $1 .txt`.pdf
211743 [joerg.batter] John,

^ Re: Rubyists of Second Life Meeting | 08/31/2006 and 09/07/2
211709 [wccrawford g] Other than using a program like Fraps, I don't think there's a way.
211712 [aglarond gma] Is that what the SL YouTube'rs use?
211823 [wccrawford g] It's always 6pm somewhere ;)

^ [ANN] MusicBrainz-Ruby 0.3.0
211714 [pabs pablotr] I just posted version 0.3.0 of MusicBrains-Ruby, my Ruby bindings for

^ exerb exception handling
211715 [xrfang hotma] I have a question about exerb: how can I let exerb to LOG all exceptions in

^ Win 98 one-click 1.8.5-21 installer problem
211717 [jzakiya mail] On my Windows 98 desktop the installer appears to load correctly.
211721 [halostatue g] Win98 doesn't keep the environment in the registry. Does your
211813 [ml.chibbs gm] The One-Click Installer doesn't officially support Windows 98.

^ Changing Log4r methods
211722 [ejepsen gmai] Can anybody here tell me why the example below is not outputting
212582 [ejepsen gmai] Nobody?

^ Something is wrong with the latest stable snapshot.
211727 [canyonrat ma] The latest, Sept 1, stable snapshot won't build for me. I type './
211881 [matz ruby-la] Can you check the timestamps of files?  Are there any files from the
211897 [canyonrat ma] There were this morning when I posted the original message. I'm on

^ [UPDATE] RailsConf Europe is almost sold out!
211731 [dblack wobbl] RailsConf Europe is almost sold out -- registration is going to close

^ [SUMMARY] DayRange (#92)
211737 [james graypr] A couple of submitters mentioned that this problem isn't quite as simple as it
211856 [robin nibor.] Thanks for the tip with #instance_variable_get, I'm just getting into

^ exerb exception handling
211741 [xrfang hotma] Dear All,

^ [ANN] Hal Fulton Interview
211742 [pat.eyler gm] I just posted an interview with Hal Fulton, author of The Ruby Way, and the

^ splitting string to hash
211746 [bnice_99 yah] s1- "[1] Hello [2] bye"
+ 211749 [james graypr] I assume more is missing a quote there.
| 211751 [Daniel.Berge] Should that be "[2:2] more" ?
| + 211752 [bnice_99 yah] No, that was actually correct, the second one is [2] not [2:2]. The key
| + 212960 [aledonne.lis] If you're capturing a group in your split pattern, and your pattern
+ 211755 [wccrawford g] Assuming that James is correct in that :2 is missing from the second
| 211811 [bnice_99 yah] Actually the original was correct - the second 2 should have a key of
+ 212955 [aledonne.lis] Brian-

^ IO and an encoded email attachment
211757 [turnip turni] I have been trying to set up a small Ruby script as a spam filter. It
+ 211769 [cdc cyphers.] If you use procmail for your MDA you can set up recipes so that you can
| 211773 [turnip turni] Thanks for the suggestion. I considered procmail but didn't really want
+ 211776 [johnatl mac.] This is probably because the echo command is a command that is built into
+ 211778 [khaines enig] It makes doing complex things with email, using a Ruby DSL, easy.  I have

^ PDF conversion with ruby/linux
211766 [tfwright tho] Unfortunately I have a project which has the requirement that users may
211772 [alex blackke] There's a tutorial over on xml.com for doing it with an OpenOffice macro
211787 [tfwright tho] I didn't even think of open office--a very interesting alternative that
211789 [alex blackke] No worries.  It's also got an RPC interface which might help, but I

^ Integer to byte string - Speed improvements
211770 [gavin refine] I'm writing code that needs to store an integer as a sequence of bytes.
+ 211774 [gavin refine] I forgot to add - I'd also be interested in seeing a golf tournament on
| 211830 [SimonKroeger] v = 0x217962755220666f207463657073612074656577732061207369206d756e676942
| 212037 [gavin refine] Wow, that's hot. Thanks :)
| 212307 [SimonKroeger] s = 'Bignum is a sweet aspect of Ruby!'
+ 211780 [johnatl mac.] s =
| 212441 [chneukirchen] I at first thought to have missed something, but Process.times doesn't
+ 211809 [noah.easterl] Not necessarily
| 212040 [gavin refine] Ah, thanks.
+ 211817 [rick.denatal] No need for these, I'm on a campaign to let integers be integers.
threads.html
top