114559-115654 subjects 114924-115969

Ruby 1.8.2
114748 [george.mosch] has anyone any idea when ruby 1.8.2 is going to be released?
114752 [gsinclair@so] July 2004 I think :P
+ 114762 [george.mosch] Super-easy is not enough I am afraid :(
| 114776 [batsman.geo@] What else do you need? RubyGems and rpa-base can be used if you're not
| 114786 [george.mosch] No I just think, that some of the ruby/extensions should be part of the
| 114801 [eeklund@gm i] We've had occasionally had fairly bad experiences with pulling
| 114809 [nathaniel@ta] I'll just chime in here quickly and say that test/unit development has
+ 114781 [transami@ru ] +1, I actually wish rdoc and yaml were gems.

How to sort a table in Ruby?
114753 [nkb@pa if c.] I've a table with about 10 fields. I would like to be able to sort
114761 [B.Candler@po] Something like this?
114764 [bob.news@gm ] "Brian Candler" <B.Candler@pobox.com> schrieb im Newsbeitrag
114779 [gavin@re in ] The reason that #sort_by is better than #sort is described in the
+ 114791 [bob.news@gm ] "Gavin Kistner" <gavin@refinery.com> schrieb im Newsbeitrag
+ 114836 [flgr@cc n. e] It is possible when you want to sort by something that can be expressed
+ 114841 [flori@ni e. ] sort_by is only better if creating a temporary array of length n for
  114843 [B.Candler@po] remembering that Array#sort is exactly Array#dup.sort! (as it the case with

dynamic text as gif
114763 [csshsh@st uc] does anybody of you know of a lib which generates a gif or a png
115486 [eule@sp ce c] Do use RMagick ! (excerpt from text.rb in examples:)

FOSDEM call for presence: any rubyists interested?
114765 [rb@ra hi ou ] Just after Rubycon, and just before Euruko is maybe not the best time to send
114774 [Richard_Dale] If I come would anyone be interested in a presentation about QtRuby and
114954 [raphael.baud] If no other rubyists are interested, it will be hard to give a room for Ruby.
114963 [Richard_Dale] Yes, KDE and ruby go together beautifully - you don't see what an elegant
114965 [raphael.baud] O'Reilly is our main sponsor, and I thought they distributed the book in Europe (is that correct?).

Trapping 'exit from ruby world' in a C extension
114766 [Richard_Dale] I've looking into a problem with the QtRuby extension when it occasionally
114775 [Richard_Dale] I've actually managed to solve this problem a different way now, by deleting

Coding assistance for Emacs
114768 [heimdall@un ] I'm doing my first stept with Ruby now. I really enjoy it. But I'm
+ 114875 [aero6dof@ya ] One useful key combo is M-/ (i think that's the default mapping). It
| 114946 [heimdall@un ] Yes, this is indeed very useful. But M-/ is nearly unpressable with a
+ 114878 [ruby@br an s] My ruby xemacs setup. Has hide-show of functions [f4,f5,f6,f7]
  114944 [heimdall@un ] I think I'll adopt a lot of your stuff. Especially looking up a keyword
  114982 [kristof@vl e] Thanks!  Download the latest version at
  115036 [heimdall@un ] Ah. I've searched the web but didn't find ri-emacs.
  115051 [kristof@vl e] Good, it should work then :)

Latest progressbar gem
114790 [transami@ru ] Noticed that the progressbar gem in repository is version 0.0.3. But, if my

A ruby course
114824 [ruby@br an s] again I ask for your help. I'm going to give a 16 hours course on ruby
+ 114829 [james@gr yp ] The presentation is looking pretty good.  One thing I did notice, on
| + 114832 [Becker004@gm] Do you have speaker notes?
| + 114861 [ruby@br an s] Thanks ;) I really liked this. Even though the unetched one had a better
|   114867 [james@gr yp ] If you're worried about it, just include my name.  Hmm, unless you want
+ 114830 [curt@hi bs c] This is great! Can I add your slides to the WhyRuby? repository
| + 114834 [Becker004@gm] Ruby Quick Start by Michael Neumann
| + 114839 [curt@hi bs c] Page 8:    if the situation is not ambigue
| | 114840 [curt@hi bs c] Gee... there's a mistake in my correction!  :-(
| | 114857 [ruby@br an s] Thanks for taking the time to read it!
| + 114864 [ruby@br an s] Shure, but the final relase will be on sunday after the course has
|   114888 [curt@hi bs c] Thanks you.  If you could just let me know when you then they are ready, I
+ 114983 [angus@qu va ] [Brian Schr?der <ruby@brian-schroeder.de>, 2004-10-04 19.17 CEST]
+ 115001 [gsinclair@so] p4. Output doesn't fit on page (what I'll call "output overflow").
| + 115016 [ruby@br an s] Thanks a lot for the exhaustive list! I'm sorry that I seem to have put
| + 115042 [ruby@br an s] I need more help.
|   + 115044 [ryco@gm .n t] what about
|   | + 115045 [ryco@gm .n t] make that 'and does that to all children'
|   | + 115048 [ruby@br an s] Sadly I don't want to introduce REXML (even though its a great library).
|   + 115052 [markus@re li] * Sub class (or extend) array to support "card deck" semantics,
|   + 115055 [ehames@gm il] "Attach additional responsibilities to an object dynamically.
|   | + 115060 [james@gr yp ] There was an excellent example along these lines in the RubyConf '04
|   | | + 115061 [ehames@gm il] That's right, I meant adding the #fibonacci method to Fixnum.
|   | | + 115071 [markus@re li] Here's something I've used from time to time (not completely fleshed
|   | + 115070 [ruby@br an s] Should be 12, shouldn't it?
|   |   + 115072 [ehames@gm il] 0.fib  > 0
|   |   | 115074 [ruby@br an s] Oh, 12 was the sum of the fibonaccy numbers up to 5. Too much thinking
|   |   | 115079 [ehames@gm il] What are you talking about? As far as I know the fibonacci series is defined as
|   |   | 115086 [ruby@br an s] I meant "bad for _my_ brain". Sorry if I have confused you. You were
|   |   + 115123 [gsinclair@so] module InlineMath
|   + 115075 [see_signatur] The code below introduce a new string concatenation operator '/' which
|   | 115077 [ruby@br an s] That is short and cool. I think this could be an example for me!
|   + 115122 [gsinclair@so] There are plenty of examples at http://extensions.rubyforge.org.  I
|     115146 [drewry@gm il] A question someone asked earlier on ruby-talk might be an easy, but
|     115198 [Gavin.Kistne] module InlineMath
+ 115267 [ruby@br an s] Thank you all for the great discussion and helpfull examples!

Using Sqlite for processing
114827 [curne@cu no ] I thought this was cool enough to share.
+ 114835 [B.Candler@po] Just a minor point, but db is *always* defined at that point in the code,
| 114862 [Ara.T.Howard] it may be defined, but it may not respond to 'close' if Database::new blew up.
| 114951 [B.Candler@po] That's exactly what I was saying. The clause "if defined? db" should not be
+ 114926 [jgb3@em il b] Clever use of the bind parameters, Simon. I'd never have thought to use

Re: [QUIZ][SOLUTION] The Solitaire Cipher (#1)
114828 [WBrown@is ft] I *finally* had a chance to play with this.  On the premise of "better
114831 [james@gr yp ] Clever trick.  This is similar to how the Perl version works which you

Re: [QUIZ][SOLUTION] Secret Santas (#2)
114833 [WBrown@is ft] Well, I originally was going to go down the "collect by family" road and

Ruby, Windows, and Matlab
114838 [ser@ge ma e-] I'm having a frustrating time trying to get a basic Matlab binding
+ 114845 [shanko_date@] I believe the one-click installer was built using VC++
| 114866 [curt@hi bs c] The one-click installer was built with vc++ 7.1. Theoretically I MinGW build
| 115489 [eule@sp ce c] build
+ 114846 [shanko_date@] I believe the one-click installer was built using VC++

Syslog methods
114849 [mkhan@le tr ] Depending of various severity levels Syslog have the following methods
114852 [ruby-talk@pc] I second that.  Fine, that's what the log-levels may be called, but we

114850 [Bil.Kleb@NA ] FWIW, I found the following a little awkward, given that these
114856 [david@lo dt ] That's the wonderful power of the wikis. You perceive this as a bug and

[SOLUTION] Secret Santas (#2)
114851 [Ara.T.Howard] ...

[OT] Re: [SOLUTION] Secret Santas (#2)
114853 [ruby@br an s] to which end are you using all those #{{{ comments? Is it to make your
114859 [Ara.T.Howard] ...
+ 114869 [aengstrom@gn] That's neat. Would you care to share the relevant lines from your
| 114884 [Ara.T.Howard] ...
+ 114873 [ruby@br an s] Ahh,
  114885 [Ara.T.Howard] ...
  114897 [gsinclair@so] Isn't it possible to fold based on syntax/indentation, thus getting
  114903 [Ara.T.Howard] ...
  114906 [gsinclair@so] Can you impose limits on the madness?
  114915 [Ara.T.Howard] ...

problem with rdoc and extensions
114865 [cmills@fr es] I am trying to use rdoc to document a C extension.  The file structure
+ 114893 [cmills@fr es] Here I am replying to my own post...
| 114928 [dave@pr gp o] That's correct - it would be inappropriate to do that when RDoc is used
| 114931 [Ara.T.Howard] how about using cpp, or cat even, to inline all your c sources and the
| 115034 [cmills@fr es] That is a great idea.  Tried it and it works well.  You obviously don't
+ 124872 [rincongum@ho] I just encountered the same problem with libpcap-ruby.
  124882 [Dave@Pr gP o] I missed the original -- what's the issue?

Timeout error?
114879 [probertm@no ] def alive?(host,port)
114913 [batkins57@gm] begin
114935 [probertm@no ] Not quite.
+ 114937 [batkins57@gm] Hmm.  Well, your rescue clause is looking specifically for exceptions
+ 115181 [B.Candler@po] It is for me (ruby-1.8.2p2, FreeBSD), so perhaps this is either a Windows

pstore.rb not operating in binmode
114881 [henning.koch] while using the Rails web framework, I came across an
+ 114889 [matz@ru y- a] I have no machine that requires "binmode".  Does this patch work for
+ 114898 [gsinclair@so] That's probably the reason I had Instiki failing big-time when running
+ 114956 [rff_rff@re o] that means me :)
  114957 [ryco@gm .n t] Susbstitution of \r\n with \n afaik
  114969 [henning.koch] Unfortunately it didn't. There are two more occasions
  114988 [matz@ru y- a] Thank you for the information.  It will be fixed soon.

[Ruby Forum] Problem with rubygems installation in Cygwin
114882 [alex@ve k. n] Unanswered question from Ruby Forum
114922 [eban@os ri .] % objdump -p /usr/lib/ruby/1.8/i386-cygwin/digest/md5.so | grep 'DLL Name'

[Ruby Forum] What are the bugs/issues holding up Ruby 1.8.2 from release?
114883 [alex@ve k. n] Unanswered question on Ruby Forum
114891 [matz@ru y- a] A release manager. ;-<
114918 [Becker004@gm] What does it take to be a release manager?
114919 [matz@ru y- a] when he feels it's ready.  Thus he needs to be trusted from the
114920 [Becker004@gm] Do you want a gmail account for the position?
114923 [matz@ru y- a] I'm not sure what we can do with a gmail account.  Besides, I already

[RCR] New [] Semantics
114890 [batkins57@gm] Currently, the following code
+ 114894 [matz@ru y- a] RCR's are allowed to break exisiting codes, but NOT ALLOWED to mention
| 114896 [Ara.T.Howard] that's NOT what my wife says!  ;-)
| 114900 [matz@ru y- a] Don't tell her.  She would notice we are weird people.
+ 114901 [flgr@cc n. e] ...
+ 114910 [cc1@ce .w st] Yes but [start,length] is capable of expressing ranges that make no
| + 114912 [batkins57@gm] Good point.  I hadn't thought about that.  I just think the difference
| | 114914 [dblack@wo bl] There are a couple of mneumonics for remembering which is which.
| | 115039 [bob@wi ds ng] And as I mentioned in a previous post, but which probably got lost in
| + 114925 [transami@ru ] Hmm... It's still signifies a range. So if there were just a notation, then it
|   114938 [markus@re li] Extend the Range so that either or both ends can be
|   + 114949 [transami@ru ] Hmm... a bit of a touch up (btw unbound can be represented by it's own object,
|   | 115000 [markus@re li] If there is no special syntax, but how do create them?  I'll admit
|   | 115090 [transami@ru ] length
|   | 115136 [markus@re li] I prefer mine (0 <..+ 42 & 0 <..<+ 42), but that could just be NIH
|   + 114959 [transami@ru ] I occurs to me that the angry villagers might be confused. The example of the
|     + 114966 [B.Candler@po] Yes, see adjacent thread. What it actually does is iterate all value from
|     | + 114972 [transami@ru ] Certainly helps to know the distinction (which in unintuitive btw)
|     | | 114981 [B.Candler@po] Erm, no I don't get that. You're declaring a 'member?' test for a class of
|     | | 115041 [transami@ru ] Phew! Okay, I spent the last few hours working this thing out. What a chore!
|     | | 115119 [transami@ru ] CURRENT
|     | + 114978 [flori@ni e. ] rng.member?(val)   =>  true or false
|     |   114980 [B.Candler@po] I agree, although it's really only an optimisation, because other cases will
|     |   114990 [flori@ni e. ] True. At least it would behave like the documentation describes it.
|     |   114992 [B.Candler@po] Hmm, but
|     + 115010 [markus@re li] If I ever get past the parse.y hurdles, I plan to look at this.  I
+ 114929 [code@jo ch n] I find it surprising that several people have expressed so much aversion
+ 114936 [markus@re li] I think I killed it (admittedly, the thread was on it's last legs

RubyGems and RPA
114892 [james@gr yp ] Having just read the RubyGems chapter in the Pickaxe II, I'm curious
+ 114895 [batkins57@gm] RPA and RubyGems both solve the same problem (automatic installation
| + 114977 [eeklund@gm i] Association disclaimer: I'm the original architect of the RPA vision
| | 115194 [chadfowler@g] I'm surprised to hear you say this.  .tar.gz files contain _less_
| | 115224 [eeklund@gm i] I was imprecise here; what I meant was a .tar.gz + standard setup.rb.
| | + 115240 [chadfowler@g] I'd like to hear the grumbling.  Specifically, it's important to hear
| | | + 115248 [horacio.lope] Extracted Lafcadio from the latest tarball available from Rubyforge,
| | | + 115502 [aredridel@gm] Aright. Subscribing now.
| | |   115509 [chadfowler@g] Thank you!
| | |   115519 [botp@de mo t] now that is cool.
| | |   115520 [botp@de mo t] *pls ignore my previous post. I cannot control my fingers sometimes... have
| | |   115535 [chadfowler@g] require 'rubygems'
| | |   115536 [botp@de mo t] cool. thank you Chad for the update.
| | + 115251 [rich@in oe h] I think you are ignoring a very important platform...Win32.  Realize that
| |   + 115260 [halostatue@g] ...AND, we Win32 users don't want RubyGems (or any other packaging
| |   | + 115262 [chadfowler@g] We had some good conversations with people (including you, I think) at
| |   | | 115308 [gsinclair@so] What are we actually talking about here?  RubyGems is designed for the
| |   | | + 115309 [patrick@he a] I use ruby on windows. I
| |   | | | 115311 [botp@de mo t] w regards to packaging/deployment? Nothing. Only admins care on deployment.
| |   | | | + 115315 [agorilla@gm ] Actually, I'd imagine that varies by user (being one myself).  If any
| |   | | | + 115341 [rff_rff@re o] do you think you could satisfy 3..6 if you had autogenerated .msi files?
| |   | | + 115314 [horacio.lope] Valid, interesting question.
| |   | | + 115339 [rff_rff@re o] well, *I* would like to have the chance to repkg gems and rpas as .msi
| |   | + 115278 [rich@in oe h] Yes, well, _our normal installer_ is 11MB and growing, and it does not
| |   |   + 115292 [curt@hi bs c] I'm the primary persono who has been maintaining the installer lately, and
| |   |   + 115480 [halostatue@g] Okay ... both Chad and Rich have misunderstood what I've said.
| |   |     + 115483 [ryco@gm .n t] How do other tools/environments do it?
| |   |     + 115487 [rich@in oe h] I have not misunderstood you.  I am building a GUI for Win32 that lets you
| |   |     + 115495 [chadfowler@g] Oh, Good ;)
| |   |     + 115538 [gsinclair@so] I'd like to see a Win32 program that's dedicated to providing
| |   + 115277 [batsman.geo@] How so? I don't see why making RubyGems play nice with other repackagers
| |   + 115401 [eeklund@gm i] I don't get it.  Are you trying to say that being able to export other
| + 115006 [ruby-lists@l] package authors can also publish rpa packages
+ 114904 [gsinclair@so] Same problem: management of Ruby libraries and applications.  Install,
  114921 [ruby-talk@wh] It'd be great if there was an rpa-base gem, though.  And criss-cross.
  114971 [chadfowler@g] There was at one point, but it was screwed up (my fault) so we removed
  114995 [Ara.T.Howard] you could create the first installer denial of service attack!

New Programming Ruby
114905 [w3gat@nw ag ] I received my new Ruby book today.  I'm thrilled.
+ 114909 [gsinclair@so] This reminded me to go check my mailbox.  I didn't even need to go
+ 114911 [news@al m. p] Hrm, I guess mine won't be signed, since I ordered it a few days
| 114917 [sstephenson@] I ordered Friday morning and received a signed-by-Andy copy today.
| 114940 [bobgus@rc .c] How can there be a 'New' Programming Ruby?
| 114961 [Stephan.Kaem] Let some Ruby enthusiasts do some incedible work for a while. ;-)
+ 115081 [mkhan@le tr ] Same here..

ANN: #IOWA on freenode,org
114908 [khaines@en g] Hey, after spending a day getting a clue about how handy it is to have an

object id, objectspace, ip addresses
114916 [sean.zuzu@gm] what determines an object id?
+ 114947 [bob.news@gm ] "zuzu" <sean.zuzu@gmail.com> schrieb im Newsbeitrag
+ 114952 [B.Candler@po] For most objects, it's just the address in memory of the datastructure for
+ 114962 [transami@ru ] dRuby. Am I crazy?
  + 114976 [sean.zuzu@gm] ok, yes, everyone seems to immediately think of drb/rinda because
  + 115033 [ruby-talk@wh] YAML uses taguri for this very purpose.  You can create unique