325987-333106 subjects 326369-327220

^ New window screwing up my Ncurses script!
326177 [tmcdowell gm] require 'rubygems'
326232 [sentinel.200] If you would follow the examples provided, you would be able to complete
326237 [tmcdowell gm] I thought using :: and . were interchangeable? Guess not. I had been

^ Ruby 1.9, Ruby Mysql 2.8, Compiling
326183 [mwlang gmail] I have successfully compiled and install Ruby 1.9.1.rc2 on 32-bit
326184 [rogerpack200] I think it's from 1.8 and mysql lib isn't quite 1.9 compat
326209 [mwlang gmail] Thanks!  That gets me a working mysql connector in a straight IRB
326267 [rogerpack200] doing a
326372 [mwlang gmail] Good gosh.  Wish I'd tried that at the outset, but nooo, I had to go

^ Testing file system manipulations
326186 [c.j.vincent ] I am currently writing a class which processes a log file, inserts some
326381 [andrew andre] You should use mock objects in place of file operations.
326382 [jamesmead44 ] You can find Mocha here: http://mocha.rubyforge.org/

^ Re: Errno::ENOMEM reading a device in Ruby, not in Java thou
326187 [rogerpack200] Interesting.
326189 [matz ruby-la] ios.read([length [, buffer]])    => string, buffer, or nil
338862 [rogerpack200] Interesting.

^ Reading a file in chunks, to a byte array
326192 [draygen comc] I'm pretty new to Ruby, I'm taking courses and reading as much info as I can, but I'm stuck on this one problem that may/may not have a simple answer.
326195 [shortcutter ] It's not fully clear to me which one is the driving application here.
326215 [draygen comc] Robert,=20

^ Help translating C# socket code equivalent Ruby socket code
326193 [kamaljeet_si] Possible to help in translating the following C# socket code to Ruby
326212 [mark thomasz] On Jan 29, 4:30=A0pm, Kamaljeet Saini
326227 [kamaljeet_si] The C# code make sense and understandable but the basic ruby socket

^ How to do a for loop...and iterate a set number of times?
326196 [dan.cao.nguy] So painfully basic, but I'm just starting Ruby and am coming to it from
+ 326197 [dominikho gm] for thing in things[0..9]
| 326208 [robert.dober] maybe
+ 326198 [ibc aliax.ne] things.each {|thing|
+ 326200 [TimHunter nc] Usually collections define an each method. Each call into the block gets
| + 326206 [julian coret] ary[0..9]
| + 326207 [julian coret] It actually requires a little bit different thinking because once you
+ 326234 [julian coret] Um the beginning is the beginning and the end is the end. It's simple.
  326279 [robert.dober] We shall however consider the possibility that the properties of

^ problem with accessors and dsl's
326199 [lyon2003 lyc] class CommandHandler
+ 326201 [vjoel path.b] This is interpreted as local variable assignment. You can use the
+ 326203 [dblack rubyp] See Joel's answer; I just wanted to add the gloss that the interpreter

^ Zlib.dll
326204 [azimuth-ruby] I've been keeping an eye on the mailing list and I haven't seen something

^ Odd Ruby 1.9.1.rc2 error message
326210 [mwlang gmail] I've been largely successful in compiling Ruby 1.9.1.rc2 and launching
+ 326236 [julian coret] How come 1.9.1 how come rc2 isn't on the site announced?
+ 326245 [matz ruby-la] I think you've omitted important part of the message.  Could you fully
  326375 [mwlang gmail] =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 matz.

^ Can't create a new file
326216 [nebs_man hot] I have no idea what's going on.  I've read about a dozen forums about
326218 [botp delmont] RnJvbTogTmVicyBQZXRyb3ZpYyBbbWFpbHRvOm5lYnNfbWFuQGhvdG1haWwuY29tXSANCiMgbXlm
326222 [nebs_man hot] Thanks, it works now.  It had to do with opening for writing only.  I
326255 [shortcutter ] Well, you can do that but you need a different open mode: open for

^ active_scaffold
326220 [drubdrub gma] Trying to use active_scaffold.

^ API to determine traveling distance between two locations?
326226 [Aldric Giaco] I am looking for an API to allow me to look up traveling distance
326326 [vjoel path.b] Just need to translate from js. HTH.
326327 [vjoel path.b] Oh, just realized maybe you mean road distance, rather than great circle
326530 [Aldric Giaco] Yep.. That's what I mean :/

^ win32ole method missing
326228 [honksandsire] There seems to be a method missing in the TimeScaleValue object of
326230 [honksandsire] I should mention the TimeScaleValue object is part of Microsoft

^ [ANN] camellia_rb 1.2
326229 [sugano arte-] camellia_rb version 1.2 released.

^ Saving the web, charset problems and symbols problems
326231 [sak proxecto] I think that a lot of ruby scripts are for web crawling, web scrapping

^ YAML to anchor same strings in dumps
326233 [Gennady.Byst] Is there any way to make YAML alias same strings in dumps? The following co=
326334 [Gennady.Byst] module ComplexYamlObject

^ HABTM insertion deletes old entries
326235 [preethi1.s t] I've 2 models Profile & User and they have HABTM relationship.
326257 [scott therei] In a HABTM relationship, assigning a new collection (using =) will delete
326260 [preethi1.s t] It is working now.

^ Bug appears...
326238 [takashiemo_1] Hey=2C=20
326269 [rogerpack200] running ruby from within gdb then using "bt" backtrace might tell you

^ Object#singleton_class in Ruby 1.9?
326241 [ snk gna.org] I was under the impresssion that Ruby 1.9 will provide
326249 [dblack rubyp] Not that I remember hearing about. I'd certainly like to see it.
326270 [matz ruby-la] We still don't have consensus on the name.  eigenclass?
+ 326271 [gregory.t.br] I wonder if this controversy has died down.   There are people with
| + 326273 [james graypr] I'm for singleton_class.  It's what the official documentation has
| | + 326278 [gwtmp01 mac.] eigenton_class?  :-)
| | | 326336 [jgabrielygal] I completely agree with this point of view. I don't mind which name
| | | 326347 [transfire gm] I thought you were making an exclamation, until I realized that was
| | | 326367 [jgabrielygal] No problem. In Spain my name is used as an exclamation when someone
| | + 326428 [ snk gna.org] I filed a request for Object#singleton_class in the Ruby Issue Tracking
| |   326434 [dblack rubyp] Good ol' RCR 231, or whatever it was :-)
| + 326314 [radek.bulat ] singleton_class is definitely the best (specially when we consider
+ 326288 [transfire gm] Since you make mention of "eigenclass", that would seem to be your bent.
| 326292 [ snk gna.org] In that case, could we make the names more readable by adding an
| 326300 [transfire gm] Interesting, I find the other more readable, 'class' is like a suffix to
| 326309 [ snk gna.org] The problem I have with words like "basename" is that, to me, they are
| 326323 [transfire gm] Never_the_less this is English, a close relative of German, and it these
| 326329 [ snk gna.org] Good point and excellent illustration!  Until seeing your example, I
+ 326289 [dblack rubyp] No, *please* don't. It would mean having to re-edit books as well as
| 326301 [transfire gm] David! How else are you supposed to sell 2nd and 3rd editions! ;)
+ 326290 [ snk gna.org] Sorry, I only mentioned the other names because they were all proposed
+ 326380 [sean.ohalpin] Personally, I prefer singleton_class. But I would rather it had an
| 326394 [gregory.t.br] Definitely.  I was implying that I don't think *too* many people hate
| 326423 [james graypr] matz_class()
+ 326400 [robert.dober] Actually I am totally against it, in core that is. It would be nice to
  + 326415 [transfire gm] You are against having a method altogether, you mean?
  | 326460 [sean.ohalpin] I like this - how do you see it working alongside the proposed
  | + 326465 [dblack rubyp] I wouldn't want to see 'extend' start to mean both adding a module to
  | | + 326474 [sean.ohalpin] I agree. After all, subclasses lookup class methods in a parent
  | | | 326494 [dblack rubyp] But 'extend' already means something: add a module to the lookup path.
  | | | 326516 [sean.ohalpin] Yes - to the special lookup path shared by subclasses qua instances and clones.
  | | | 326554 [dblack rubyp] I'm not sure what you mean by special. Every object has only one
  | | + 326526 [transfire gm] Ah, sorry I wasn't more clear. Yes, I meant it would create an anonymous
  | |   + 326555 [dblack rubyp] I'd be interested in seeing that article if you can find it. It
  | |   | 326595 [transfire gm] Yea I found it!
  | |   | + 326598 [james graypr] Those are great reading.  Thanks for sharing.
  | |   | + 326620 [dblack rubyp] I think it's very good advice for many situations (#extend has always
  | |   |   326729 [transfire gm] Can you think of a good example of where it is NOT good? All I can think
  | |   |   326736 [dblack rubyp] I disagree. I think that excessive meta-ness is to a large extent in
  | |   |   326798 [robert.dober] Well is that not exactly what Tom meant? Maybe someone can update me
  | |   |   326801 [dblack rubyp] It depends what you mean by shielded. If I use a library that extends
  | |   |   326845 [robert.dober] It is IMHO preferable that, in case of a name conflict, the framework
  | |   |   326854 [dblack rubyp] To be honest, I'm having a hard time even thinking of a case when
  | |   + 326583 [robert.dober] ed module.
  | + 326467 [robert.dober] We surely can!
  | + 326529 [transfire gm] Hey, that's a really good point. #class_extension is very much the same
  + 326421 [dblack rubyp] I'd like to have a singleton_class method, but even if there isn't
    326436 [robert.dober] I think #singleton_class is a great name. I want it, but rather than

^ MySQL gem maintainer and project page?
326247 [luislavena g] I'm looking into RubyForge and the gem specification for any reference
326268 [rogerpack200] might help
326389 [abc3def gmai] I have been playing with mysql-ruby-2.8 compilation last few days, and
326407 [rogerpack200] That's a great idea.  If either of you would like contribute your

^ Creating a ruby class with mass assignment
326253 [uslxycdabssm] How do I create a ruby class that has mass assignment functionality?  I
+ 326256 [rupert rupes] def initialize(args = {})
+ 326261 [shortcutter ] irb(main):001:0> Test = Struct.new :foo, :bar, :baz do

^ uninitialized constant error
326254 [youhaodeyi g] 1. base_cls.rb
326295 [perfectly.no] Maybe you meant to prefix the first line in base_cls.rb with "require"?
326352 [youhaodeyi g] Oh, sorry, I forgot to type the 'require'. But the problem is still

^ Re: md5 function in Ruby
326258 [stuart.clark] Can i just confirm whats going on here. You are loading the contents of

^ Re: RDoc 2.3 now with Darkfish, without CHM and extra HTML t
326272 [rogerpack200] It definitely looks better.
+ 326274 [rogerpack200] +1 for me.
| 329866 [rogerpack200] Now that I think about it, including the source of C methods which have
+ 326321 [drbrain segm] I'll fix this, either these files shouldn't show up (RDoc bug) or
| 326348 [drbrain segm] Actually, it's a Hoe issue. I'll have fixed documentation up when I'm
+ 326325 [transfire gm] Right. I see. It's on the class pages, but not on the main page.

^ [ANN] Ruby 1.9.1 is released
326276 [yugui yugui.] I am proud to announce the release of Ruby 1.9.1. This is the first
+ 326281 [paqs140482 g] Good news.
+ 326283 [james graypr] Three cheers for the entire Ruby core team who has worked so hard to
| + 326284 [gregory.t.br] Nah, we'll need to wait for Ruby 2 for that :)
| | 326285 [james graypr] We may still have time to get that out too.  ;)
| | 326286 [acooper prit] I think that as long as the language changes faster than COBOL we are
| + 326313 [robert.dober] Wait 1 minute, I thought this *was* Perl 6, do not tell me I am in the
| + 326335 [billk cts.co] +1        !!!
+ 326287 [gregory.t.br] A huge thanks to all of ruby-core for this, and for your hard work on
| 326713 [roberto REMO] Kudos to the team!
+ 326294 [takahashimm ] Congrats!!!
+ 326296 [why ruby-lan] Capital job, all of you. Nobu, Tanaka Akira, usa, yugui. And
+ 326303 [janfri.rubyf] Thanks a lot.
| 326310 [dave pragpro] Final beta pushes early next week :)
| 326312 [radek.bulat ] Congratulations and thanks for all your job to Matz, ko1 and the rest of us=
+ 326305 [charles.nutt] Congratulations! Now that the stable release is out, we will pull 1.9.1
| 326306 [devrubygem g] Congradulations guys!! I am a noob so this might be a silly question to the
| 326330 [hramrach cen] I suggest you wait for the Windows One Click installer for 1.9/2.0.
| 326333 [devrubygem g] Hahahahaa Thanks Michal, you answered my question at the same time I was
+ 326328 [gethemant gm] Awesome all the way!
| 326331 [devrubygem g] Are there going to be a one click installer for this new version? I'm having
| 326339 [hramrach cen] The problem is not with Ruby itself but with the libraries it uses
| + 326341 [devrubygem g] Cool, thanks!!! I will be patiently waiting :)
| + 326343 [azimuth-ruby] Yeah, I'm having some problems installing too... I can do the compiling,
+ 326376 [sean.ohalpin] Wonderful news! Congratulations!
+ 327496 [villas82 gma] I'm a kind of confused. It seem as this is the first production
  327505 [james graypr] Sorry.  I have updated the link now.

^ [QUIZ] Hexagonal Grid Game Board (#190)
326280 [yahivin gmai] Summary of quiz #189 coming in a day or two.
+ 326282 [james graypr] Ooo, I like this problem.  Nice one Daniel!  :)
| 326317 [jgabrielygal] Me too, crossing my fingers to have some time to make a try...
+ 326621 [sander.land ] Here is my solution.
+ 326683 [cmdicely gma] Here's my solution. The request for the unobstructed distance and then
+ 327288 [yahivin gmai] There were two solutions to this weeks quiz. One by Sander Land using

^ Re: Ruby 1.9.1 is released
326293 [james.herdma] /repos/ruby/tags/v1_9_1_0/NEWS.
326298 [rmagick gmai] Con grat u lations to Matz, Koichi, Yugui, and everybody who worked so
326299 [boblmartens ] Congratulations to everyone involved. Fine work!
326304 [ snk gna.org] Well put, sir!  Indeed,
326344 [sb 6thsense.] Thanks for this awesome release!
326345 [rogerpack200] Luis plans on releasing a mingw 1.8.6 and a mingw 1.9, so yeah [he was
326346 [devrubygem g] Cool.. :)
326363 [ansuga gmail] Thanks to all the Ruby's team development for their incredible job.
326366 [azimuth-ruby] Fantastic! Thanks!
326368 [maurice.enci] Ruby banzaaaaaaaaaai!
326371 [saravani20 g] Ruby Rocks :)
326386 [wujunchen gm] How can I make it works in cygwin?
326387 [wujunchen gm] After downloaded the package from the ftp instead of checking out from
326418 [danielroux g] Thanks to everybody involved, for all the effort you put into this, for
326445 [aquasync gma] This is great - nice work by the ruby team!
326511 [parasew gmai] we are currently preparing Ruby 1.9.1-p0 and 1.8.7-p72 binary packages

^ binding in ruby1.9
326297 [tim.pease gm] Could someone explain why this code does not work in ruby1.9 and
326307 [charles.nutt] What an unusual feature to keep coming up.
326311 [tim.pease gm] Okay, that explanation makes sense. My new implementation (following
326316 [charles.nutt] Even better!

^ Measuring Network Latency
326319 [mcnamarabria] i'm looking for ideas of measuring network latency with ruby.  i can't

^ File::write() complement for File::read() ?
326349 [ snk gna.org] Why is there not a complementary File::write() method to the
326357 [ snk gna.org] It is currently easier to read whole files (via File::read) than to
+ 326388 [Rob AgileCon] $ fri File#write
| 326398 [ snk gna.org] I asked for a class method File::write (just like File::read) not an
+ 326427 [ snk gna.org] Posted via http://www.ruby-forum.com/.

^ difference in file.join between Linux, win32?
326350 [rogerpack200] if I run some code within the following directory structure
+ 326409 [t_lawetta ya] Not sure how this question is related to File.join().
+ 326411 [jarmo.p gmai] Strange, it worked for me correctly under Windows XP when starting
  326425 [luislavena g] That's because you didn't provide the path to blah.rb
  326435 [rogerpack200] I'm ok with it working that way--the only weirdness is that, with these
  326444 [ snk gna.org] No, it is *suprising* (principle of least surprise) that, depending on

^ err messages during make install-doc
326353 [mark mark.or] I'm installing ruby for the first time on OS X 10.4.11. I'm following

^ Is there any Plugins for  log file analysis in ruby?
326354 [vikasg aflat] Problem - 1)
+ 326433 [shortcutter ] What format is that?
+ 326534 [andrew andre] If you're working with rails, you could write a rake task and call that from
  326662 [njus larshau] If you're running a Rake task, most of these will expect the root of your

^ [ANN] GlassFish gem v0.9.2 released
326356 [charles.nutt] The GlassFish gem has been updated to 0.9.2!

^ global generator of unique symbols
326361 [thomas faun.] is there a global generator of unique symbols? See article
+ 326364 [pjb informat] (@@gensym_counter = 0)
| 326374 [dblack rubyp] I still don't get the fake Lisp thing. Why write cryptic, unidiomatic,
| + 326378 [thomas faun.] Pascal's style seems to reduce errors by syntactical whitespace. These
| | 326384 [matt moss.na] Perhaps you should write 1 + 2 and be done with it.
| + 326391 [dominikho gm] +1
+ 326373 [dblack rubyp] Based on a 2005 post from Jeremy Kemper, based in turn on a response
+ 326393 [gwtmp01 mac.] Perhaps generating a UUID and converting it to a symbol would work for