118691-120257

118480-119749 subjects 119006-120161

^ require 'enumerator'
118691 [transami run] Is this right?
118716 [matz ruby-la] enum_cons() gathers values generated by each_cons().  each_cons()
+ 119331 [transami run] I see.
| 119340 [transami run] Typo. That should be a[1,3].
+ 119338 [chr_mail gmx] Actually I would be surprised by anything but the current efficient

^ Away to capture stderr, stdout...etc....Windows, yet?
118698 [zdennis mkte] Has there been a way to capture stdout and stderr (most important) on
+ 118722 [eule space.c] Your post got lost in a OT thread, not much chance of receiving answers
| 118735 [Patrick.Benn] It works for me on XP Pro using %x (or the backquote) to execute and
+ 118783 [shanko_date ] ### After installing open3 package from win32utils
| + 118790 [zdennis mkte] Thanks Shashank,
| | 118798 [shanko_date ] Zach,
| | 118804 [Ara.T.Howard] would it with the window's fork?
| | 118918 [djberg96 hot] No.
| | 118919 [Ara.T.Howard] can you give a 30 second explanation of why?  i'm guessing it'll have
| + 118792 [Ara.T.Howard] shashank-
|   118795 [zdennis mkte] Shashank,
+ 118827 [doodpants ma] Here's what I'm using. Also see my earlier thread entitled "Execution

^ [KDIALOG] kdialog-0.1
118702 [ehames gmail] After messing around with RubyForge for a while, I'm ready to

^ Re: [ANN] win32-eventlog 0.3.0
118714 [botp delmont] //

^ Creating ri docs on windows
118721 [eli-news ner] I just bought the new Pickaxe II book and am trying to follow along.
118726 [rff_rff remo] ri is supposed to be run on the source.
118778 [eli-news ner] Thanks, Gabriele.  Downloading the zip of the ri documents from

^ installing ruby on MacOS X
118730 [steven.marcu] Ruby newbie here.
+ 118733 [pepe gravast] I'm using Darwinports for ruby and some other libraries like
+ 118739 [jan spam.spa] I used darwinports, because it had the option to install 1.8.2+preview2.
+ 118741 [samgoldman j] I installed from source. In order to not overlap with the copy in /usr,
| 118815 [ptkwt aracne] darwinports puts ruby in /opt as well.
+ 118899 [sigzero gmai] HTH
  118949 [joe.vandyk b] I installed the latest stable release (1.8.2) a couple days ago on my
  + 118951 [jan spam.spa] Not much point in me telling this, as you already installed it, but
  + 118957 [steven.marcu] I went with darwinports and things worked fairly smoothly. It
  + 118986 [sigzero gmai] On 11/3/04 6:13 PM, in article
    119157 [steven.marcu] After an install of darwinports, I installed ruby +preview and rb-rubygems.
    119328 [chadfowler g] Looks like a darwinports problem to me....

^ syslogging to remote syslogd
118758 [Ara.T.Howard] any examples out there?  i've never done this and am just getting going.
118761 [B.Candler po] (1) man syslog.conf
118774 [Ara.T.Howard] o.k. - that did it!  weird that the man page for syslog on my system does have

^ [OT] Euclid
118763 [transami run] Oh I almost forgot about this! Yes, the Elements rock. Some of the earliest

^ segfault in win32ole
118816 [jim_kerr agi] I'm trying to use Ruby to read an Excel spreadsheet with 853 rows and
118825 [WayneFChin g] Jim,
118828 [brian pocket] Yes, 1.8.2 seems to fix all segfault problems with win32ole.  Older

^ Recommended web templating for Ruby+FastCGI
118817 [jd nospam.co] I'm currently using erb within FastCGI to process .rhtml (eruby)
118820 [transami run] There are many, for many needs. If you are interested in speed perhaps try
118830 [Ara.T.Howard] this one looks really cool - though i have not used it.  i still use amrita.

^ [ANN] DBC for C 1.1.2
118829 [cmills frees] Lots of bug fixes (Ruby gem works correctly).  Doxygen documentation

^ Why do I want 1.8.2?
118831 [stefan.arent] Sorry for the silly question, but I just installed 1.8.2-preview2 on my
+ 118853 [drbrain segm] There is a ChangeLog file in the source dir you built 1.8.2p2 from.
| 118917 [belorion gma] That's all well and good if you want to wade through 7600 lines of
+ 118923 [halostatue g] I think that will be done when 1.8.2 is actually released.

^ [RDOC] Using a template causes rdoc not to document some classes
118833 [djberg96 hot] Windows XP Pro
118834 [dave pragpro] Probably means that the kilmer template hasn't been updated. E-mail me

^ From getoptlong to optparse
118836 [mmirra liber] $ prog --host localhost --port 8000 login --password secret
+ 118883 [bob.news gmx] "Massimiliano Mirra - bard" <mmirra@libero.REMOVETHIS.it> schrieb im
| 118995 [mmirra liber] Not exactly.  I need to stop parsing when a special command is seen.
| 118998 [bob.news gmx] "Massimiliano Mirra - bard" <mmirra@libero.REMOVETHIS.it> schrieb im
| 119411 [mmirra liber] Yes and no.  Yes: this command can occur anywhere after one or more
| 119483 [bob.news gmx] charset="iso-8859-1"
+ 118934 [t_leitner gm] You may want to take a look at cmdparse.rubyforge.org. It is based on optparse, but provides the semantics of subcommands as you called them. Your command line
| 118996 [mmirra liber] Seems what I need.  The only drawback is that it would be an external
+ 119689 [nobu.nokada ] I had included an example file cmd.rb (and its incidental file
  + 119712 [Ara.T.Howard] thanks nobu!  i've been dying to know how to do this!
  + 119714 [bob.news gmx] <nobu.nokada@softhome.net> schrieb im Newsbeitrag
    119990 [nobu.nokada ] Do you mean this?
    120033 [bob.news gmx] <nobu.nokada@softhome.net> schrieb im Newsbeitrag
    120039 [nobu.nokada ] OptionParser has two kinds of behaviors; "in order" and
    120257 [bob.news gmx] <nobu.nokada@softhome.net> schrieb im Newsbeitrag

^ fsmgen 0.1
118838 [probertm nos] I am pleased to announce the release of fsmgen.  This is a class library
+ 118840 [Ara.T.Howard] you can put it up on my site if you with - contact me offline.
+ 118860 [carl.youngbl] Why don't you post it on rubyforge?  Plenty of free space there
| 118867 [probertm nos] Thanks, Carl.  I forgot about rubyforge (doh!).  I am setting up the
+ 118868 [horacio.lope] Great work, this is a nice addition that could well be (after polished
+ 118908 [eeklund gmai] Wouldn't this be better implemented as meta-programming in Ruby, so
  + 118913 [probertm nos] This is a very good point and one I am not sure of the correct design
  + 118962 [jim weirichh] Funny you should mention this ... I was playing with ruby state machines about
    + 118969 [ptkwt aracne] Where would one find the StateMachine class/module that you're inheriting
    + 118972 [probertm nos] Funny how this happens .. :-)  How do you access the state machine, Jim?
      118992 [jim weirichh] Several ways.  The simplest is to just inherit the FSM and implement the

^ Converting hash keys to symbols
118843 [jgb3 email.b] Golf question...
+ 118845 [mneumann nte] But you should not do this for random strings, as symbols are AFAIK not
| 118849 [jgb3 email.b] Good point. I hadn't considered that. However, for what I'm doing, there
+ 118846 [jamesUNDERBA] I'd be inclined to add 'intern' to Symbol, and just call intern on
| 118851 [jgb3 email.b] Good point. However, this is something that is only occurring at one
+ 118857 [flgr ccan.de] Does this help?
  118859 [jgb3 email.b] Clever! That's really nice. It won't quite work for me, however, since I

^ EmbedRuby/InWindowsDll
118847 [the.chrismo ] Just posted a small working how-to for getting Ruby embedded in a

^ RSS of RCR archive broken?
118848 [guslist free] The RSS feed of the new (or am I very late to notice) seems broken. The

^ Programmatically and dynamically catching exceptions
118863 [logancapaldo] Allright here was my idea which seems to have been shattered by the
118871 [ysantoso-rub] class Try
118876 [logancapaldo] Thanks thats quite neat.
118884 [bob.news gmx] "Logan Capaldo" <logancapaldo@gmail.com> schrieb im Newsbeitrag
118886 [timsuth ihug] As long as we're saving lines...
118894 [bob.news gmx] "Tim Sutherland" <timsuth@ihug.co.nz> schrieb im Newsbeitrag
118977 [ysantoso-rub] Nice! But I think I have left out an important factor in the original

^ [OT] (Biking To Work? Was US Presidential Election)
118864 [zdennis mkte] How far do you bike to work? I live 12  mile from work, and I'd love to
+ 118865 [aredridel gm] I biked to work, five days a week, to a town 600 feet up and ten miles
+ 118870 [phlip_cpp ya] I used to bike 14 miles to work, along a riparian bike trail with
+ 118909 [bg-rubytalk ] Right now it's less than 2 miles.  Before I moved it was a little over 2
  118911 [halostatue g] I'd love to bike or take transit to work. Unfortunately, I work
  118914 [bg-rubytalk ] Yeah, I know Oakville.  Public transportation outside downtown Toronto
  + 118915 [curt hibbs.c] I never thought of that... Northern countries should favor global warming
  | 118916 [msparshatt y] Except I don't think it would work that way. The way it would actually
  + 118922 [halostatue g] Yeah. I usually went from where I live (Swansea, south of the Jane

^ curses and the ACS_* chars
118866 [markus stber] I recently did some Curses programming (for the Sokoban Quiz) when I
+ 118889 [ruby-lists l] on this note it would be lovely to see access to the
+ 119128 [tpeters inva] Maybe it is not as simple as that.

^ FXRuby1.2.1 - need to uninstall
118872 [shimmel371 a] I think I made a mistake installing FXRuby1.2.1 on
118921 [lyle.johnson] I believe that you'll need to remove the "fox.so" file, which is

^ Re: fsmgen 0.1 (longish)
118873 [probertm nos] Thank you.  It needs polishing and debugging, that is for sure.  It does
118888 [horacio.lope] Now it's a lot more clear,  thank you
118924 [probertm nos] You are welcome.

^ Trasaction::Simple install-pkg?
118877 [transami run] /usr/local/lib/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require__': No
118910 [halostatue g] I will be releasing Transaction::Simple 1.2 shortly.

^ [ANN] narf 0.6.1 released
118880 [patrick hexa] Narf 0.6.1 has been released.  It contains some house cleaning fixes, a

^ [ANN] RSS Parser 0.1.0
118881 [kou cozmixng] I released RSS Parser 0.1.0.

^ broken Ri download
118890 [eduardo.fern] I have tried to donwload Ruby Interactive from
+ 118891 [Stephan.Kaem] 'ri' IIRC is part of the standard ruby distribution. So the right place
+ 118901 [rff_rff remo] ri is included in ruby 1.8.1 so you should have that already.

^ [OT] US Presidential Election Aftermath
118895 [rubytalk gma] All in all, i stood in line for 4.5 hours. It was my first time voting

^ class variables from modules
118896 [csshsh struc] how can i make that the example below returns 'Hello, my name is test'?
+ 118897 [dblack wobbl] Your subject line says class variables, but here you're using instance
+ 118904 [gavin refine] module ClassMethods
  118907 [bob.news gmx] "Gavin Kistner" <gavin@refinery.com> schrieb im Newsbeitrag

^ Charlie Mills' article on Design by Contract...
118898 [tom infoethe] Congrats, Charlie!
118902 [rff_rff remo] also, there was good acceptance of it at osnews.com, where a link to it
118912 [cmills frees] Thanks Tom!

^ [RDOC] Feature request: --force
118906 [djberg96 hot] I have a library that already has a 'doc' directory with a couple of

^ escaping single quotes in a string with gsub
118920 [prubel bbn.c] I'm trying to take a string and escape a single quote if it is not
+ 118925 [james graypr] gsub(/(\\*)'/) { |m| $1.length % 2 == 0 ? $1 + "\\'" : m }
| + 118933 [prubel bbn.c] That does look much better.
| + 118940 [flgr ccan.de] "foo bar don't \\'".gsub(/((?!\\).(?:\\{2})*)'/, "\\1\\\\'")
+ 118927 [dblack wobbl] I admit I get confused by escaping and stuff... but I can't quite
  118932 [prubel bbn.c] David,

^ dates earlier than 1970?
118929 [khowe perfne] I have a web app that collects new employee info, one of the fields being
+ 118930 [jgb3 email.b] String? I honestly don't mean that facetiously, either. If you enforce
+ 118931 [matz ruby-la] (1) If your platform handles negative time_t, Time can be as old as

^ irb problems
118936 [kjellolsen e] I was wondering if anyone could help me troubleshoot a problem I've
118961 [discordantus] I suspect that you aren't using the pre-installed version; I think you

^ gems install trouble
118937 [itsme213 hot] I'm having trouble with installing gems 0.8.1 on Ruby 1.8.2 (latest RC)
118938 [itsme213 hot] Pure operator error. Sorry for the noise.

^ [RAKE] rdoc task fails on Win2k
118953 [jamesUNDERBA] When using rake to create rdoc files on Windows 2000, I get this error
118960 [jim weirichh] Rake just feeds the command string to the system call.  Try executing
+ 118963 [jamesUNDERBA] Here's what I ran, same dir as running rake
| 118968 [jamesUNDERBA] In  rdoctask.r, I added
| 118993 [jim weirichh] [... changes for sensing the platform and calling the proper rdoc elided ...]
| 119036 [halostatue g] Why not bypass the need for calling the batch file entirely?
| 119053 [jim weirichh] Also an excellent suggestiong.  The #document method in the example, I
| 119062 [dave pragpro] Yup - for normal use, it's just ARGV.
+ 118975 [dave pragpro] I believe that Rake might not be quoting the command (last time we saw
  118976 [dave pragpro] Or not... :)

^ [GOOFY]  Re: A concise description of Ruby?
118956 [jamesUNDERBA] I think of Ruby as programming Viagra, and this thread prompted me to
119004 [rff_rff remo] given that we're in a fractal OT expansion, let me notice that

^ [ANN] Ruby Package for MacOS X
118965 [discordantus] I just packaged up today's stable snapshot of Ruby for your MacOS X
+ 118971 [discordantus] Hmmm... There may be some technical difficulties going on here. The
| 118984 [discordantus] Yup, it was corrupted. I re-uploaded it, downloaded it and tested it;
| 119028 [kjellolsen e] charset=US-ASCII;
| 119091 [discordantus] The download url changed; I reflected the changes on the web page,
+ 119033 [sroberts uni] Cool that you did this, but I'd like to make a request...
| 119095 [discordantus] Last time I posted a package, it wasn't automated at all, and someone
| + 119105 [sroberts uni] Yes, AFAIK.
| | 119425 [hramrach cen] yes, that is how ruby is installed in fink. But it is 1.6 and 1.8.
| + 119240 [curne curnom] Not complicated at all. PackageMaker can be called from the command
+ 119193 [ruby-lists l] works excellently!! thank you!!!

^ Ruby and civil political discussion? (Re: [OT] US Presidential Election)
118970 [burtdav hotm] I'm _very_ impressed by the civility of this thread. It's almost as if
+ 118979 [dross code-e] you are right, its suprising. Even on newsgroups the slight mention of
| 119165 [burtdav hotm] So the Guide spells doom for the community?
+ 118983 [sera fhwang.] Well, one thing that helps is that the Ruby community is still quite
+ 119005 [rff_rff remo] Au contraire, we're so geeky that we save energy to burn huge flames on
| 119030 [burtdav hotm] Very good!
+ 119016 [peter semant] Actually the political *debate* came to RT very late. Other ML/NG have
| 119191 [timsuth ihug] Personally, I have very strong feelings about the election (unhappy with the
| 119210 [burtdav hotm] Thank you, Tim!
+ 119064 [sastph sas.c] In my experience a community adopts the customs of its leaders. In our
  119089 [steven.jenki] Only if the community is small. There's not a nicer guy on the planet
  119166 [burtdav hotm] Can this negative effect be attenuated by RL events such as RubyCon and
  119281 [sera fhwang.] Yes, and also don't forget to think about starting a local Ruby group
  119286 [tom infoethe] And, like the Chicago Ruby user's group, pls feel free to set up a

^ rescuing exceptions
118978 [zdennis mkte] I'm doing some automated ftp'ing....
119178 [zdennis mkte] I haven't seen a reply to this thread, so I'll give it one more go.....
119181 [vjoel PATH.B] Are you sure that code, exactly, prints something to stderr or stdout? I
119182 [zdennis mkte] Joel you are a lifesaver. Thank you for responding....I stepped out of

^ textile with yaml
118982 [itsme213 hot] I am trying to mix Textile into my Yaml document. I've got the latest
119001 [Stephan.Kaem] "why's (poignant) guide to ruby" which you'll find at

^ [ANN] Transaction::Simple 1.2.0
118985 [halostatue g] Simple object transaction support for Ruby
119012 [mneumann nte] Hm, I've written a similar library for Wee, which saves snapshots of
119026 [halostatue g] Taking a quick look at your library, it looks like it does much the
119032 [mneumann nte] Yes, because a transaction (or snapshot) might involve any number of
119039 [halostatue g] This isn't as bad as it sounds. Most things that can't be Marshal-ed
+ 119045 [mneumann nte] Sure. My problem indeed is completely different. I register callbacks
+ 119084 [batsman.geo ] That sounds like Object#become, as found in evil.rb, with the

^ rails: gem install rails is bombing
118988 [jd nospam.co] I'm running into a problem installing rails using gem.  How do I fix this?
118994 [david loudth] You don't have RDoc installed. Debian has chopped off Ruby into tiny

^ using LDAP Controls in ruby-ldap
118991 [jason.wold g] This is a bit of a stretch since it is as much about LDAP as it is
119069 [drewry gmail] This looks like the extension - not the value - isn't supported.
+ 119093 [jason.wold g] Thanks for the tip.  Both AD and OpenLDAP 2.2 support this, although
+ 119327 [jason.wold g] '10' needs to be just the integer 10, and then it works.
  119383 [ggg ser1.net] charset="iso-8859-1"
  119389 [Ara.T.Howard] alternatively the source for OpenSSL::ASN1::Integer#initialize might/should

^ Ruby BitTorrent
118997 [curne curnom] Has anybody started a Ruby BitTorrent transfer library? I wanted to
+ 119003 [mneumann nte] Yep, it's me ;-)
| + 119015 [curne curnom] That's cool tho. I figured someone out there must have gotten the same
| | 119019 [mneumann nte] My initial goal was to write a full client (but no tracker). But I
| | 119043 [curne curnom] Like I said. I was just being superstitious and paranoid :-)
| + 119017 [jagenheim gm] Nice. I thought about doing that too. :)
|   119021 [mneumann nte] Me too ;-)
+ 119022 [rff_rff remo] linked from bt.rubyforge.org
  + 119042 [curne curnom] From the page: "Aversa is a little utility for creating and viewing
  | 119046 [tom infoethe] Yup, that's all the current release does.
  | 119048 [mneumann nte] Wow! That's really cool!
  | 119054 [tom infoethe] Oh, sorry, I should have said "a full client, a full tracker... that's
  + 119044 [tom infoethe] Yup, Ikkei and I - actually, about 95% of the work is Ikkei's - have
threads.html
top