133183-134035

132965-136616 subjects 133344-144852

^ gem uninstall problem
133183 [jim freeze.o] Gems is giving me fits with uninstalling activerecord,
133184 [jim weirichh] The current gems software is a bit sloppy in its dependency evaluations
133188 [jim freeze.o] It looked to me that a 'Y' would have uninstalled
133189 [jim weirichh] Hmmm ... it does look like it selected all the versions of activerecord,

^ A puzzle
133185 [agorilla gma] given 5 variables... incoming, minimium, current, maximum, reserve
+ 133186 [azrael demon] ==
| 133187 [agorilla gma] It's essentially a sort with grouping on equals.  Which seemed to me
+ 133212 [csaba-ml bea] I've sent my solution already offlist, but now I see William James sent
| 133213 [pit capitain] I get 541, too. Your code seems to not pay attention to the following
| 133215 [pit capitain] Looking at your code I see that the restriction *IS* handled there. The
| + 133221 [agorilla gma] Got some great replies to this, on and off-list.  Thanks to all who
| + 133227 [csaba-ml bea] Yes, you are right! Thanks for the enlightenment!
+ 133231 [ruby.brian g] A little quiz is always nice. Attatched my solution, maybe not the

^ IRB for mac
133190 [neoneye gmai] In the terminal there seems to be problem with the arrow keys.
+ 133192 [rasputnik he] Install the readline extension - see list archives.
+ 133193 [curt hibbs.c] You could take a look and see what he is doing.
| 133195 [neoneye gmai] I wasn't aware of FXIrb,  nice. Thanks.
+ 133194 [james graypr] I suspect Ruby did not link against the readline library when
  133196 [neoneye gmai] Thanks, I should have known that a week ago :-)

^ [ANN] Ruby Central 2005 Codefest Grant recipients
133197 [dblack wobbl] Dear Rubyists,
+ 133216 [dblack wobbl] And a belated thanks (my fault) to the judges, for their time and
+ 133218 [curt hibbs.c] This is a great list of enhancements for Ruby!
+ 133219 [james graypr] Yes, a little on and off the radar.  My partner, Greg Brown, and I were

^ priority queue using RBTree
133202 [vjoel PATH.B] I couldn't find a nice PriorityQueue in ruby, so I patched one together
133230 [vjoel PATH.B] Thanks! (And thanks for mailing directly--the gateway seems to be

^ TkTextIO class
133204 [nagai ai.kyu] I released a sample of Ruby/Tk: TkTextIO class.

^ Module#dup and Module.remove_method question
133205 [buter cwts.l] I have a question about Module#dup and Module.remove_method.
133214 [dblack wobbl] B.foo lives in A (the methods don't get dup'd when the class object is
133258 [buter cwts.l] Thank you very much for you answer, but it's still not clear to me: I
133263 [dblack wobbl] Now that I look at it again...  I think it must be special handling of
+ 133267 [botp delmont] //Thank you very much for you answer, but it's still not clear to me: I
| 133274 [buter cwts.l] That's the issue: you can't restore the old method-resolving behaviour
+ 133278 [lists bertra] => "probscedian"
  133280 [decoux moulo] look at rb_mod_init_copy() in class.c
  133306 [lists bertra] This functions description says: "/* :nodoc: */". That's not
  133331 [botp delmont] //That's the issue: you can't restore the old method-resolving

^ tree transformation insight required
133206 [spoooq gmail] I was wondering if anyone would have some insight into a problem Ive got.
+ 133448 [steven.jenki] I've done something similar to your first alternative, but using blocks.
| 133568 [spoooq gmail] Steve,
| 133570 [spoooq gmail] Fixed the bug...
| 133944 [spoooq gmail] Ive just discovered XSLT templates can take parameters... which is the thing
+ 133953 [neoneye gmai] I have had good results with visitor design pattern and interpreter
  134035 [spoooq gmail] Thats not a million miles from my first cut at an XSLT template. The

^ scada: killer app for ruby
133207 [botp delmont] In searchning for scada systems on the net, i noticed that they are usually
133209 [neoneye gmai] what is scada ?
133211 [jason.sweat ] Supervisory Control And Data Acquisition.
133240 [spoooq gmail] I think gnu scada systems are unlikely for a few reasons.
133244 [jeffm ghostg] There is already some work in this area (non-ruby through).
133246 [spoooq gmail] I look forward to being proved wrong.
133249 [tom.willis g] I had to integrate a shipping system written in vb6 with something
+ 133252 [botp delmont] //There is already some work in this area (non-ruby through).
+ 133253 [spoooq gmail] This is what I mean when I say the integration is more costly than the

^ Annotations in Ruby
133208 [curt hibbs.c] Forgive me if this was already discussed here (its very possible I could

^ [ANN] Irb enhancements
133210 [csaba-ml bea] * support for bash-style multiline editing (multiline commands are
+ 133224 [vjoel PATH.B] I've wanted this for a long time! (Stupid me, I thought zsh was the only
| + 133225 [bg-rubytalk ] Yay for zsh!
| + 133229 [csaba-ml bea] According to my classification, there are three type of multiline
|   133232 [bg-rubytalk ] In zsh up-arrow and ctrl-p are both bound (by default) to
|   + 133234 [sroberts uni] There are BSD-licenced readlines around, with GNU readline compatible
|   + 133237 [csaba-ml bea] Ah, thanks! That's interesting.
|     133245 [sroberts uni] FYI - a readline-like library I used with the rc shell, worked well, to
|     133251 [csaba-ml bea] Certainly it's good to hear of such things -- I knew only of libedit as
+ 133261 [cldwalker ch] Thanks for the enhancements. I'm also modifying irb, mainly
  133343 [csaba-ml bea] I've heard only of the first one (and I'm applying that, too).

^ x86_64 segmentation fault due to forgotten extern directive
133217 [Geert.Fannes] charset="us-ascii"
133220 [decoux moulo] Normal, on 32 bit machine sizeof(int) == sizeof(unsigned long). This is
133257 [Geert.Fannes] Why does this cause a problem when extern is omitted? Is there some
133260 [decoux moulo] Yes, without declaration the return type is assumed to be int.

^ Object#inspect's output
133222 [lists bertra] I want to understand thoroughly how singleton objects are
133223 [vjoel PATH.B] The second object is the metaclass of C. There's a good explanation of
133238 [lists bertra] Ah, I see.

^ Re: [SOLUTION] Roman Numerals (#22)
133226 [james graypr] Here's my own late entry for this party.  My use of a prebuilt Array

^ rb_raise and memory
133228 [mailing-list] rp = ALLOC(Regexp);
133233 [matz ruby-la] It's leaking.  Thank you for finding it.
133235 [mailing-list] No problem.  Is there a simple workaround (other than explicitly
133242 [matz ruby-la] There's no way for Ruby GC to handle non-VALUE data.  The only
133298 [g_ogata optu] Won't ALLOCA_N work for this, or am I not following?
133300 [rooneg elect] alloca memory is deallocated at the end of the scope, which is not a
+ 133301 [g_ogata optu] Right, I was thinking of a different situation.  Sorry.
+ 133308 [ruby-ml magi] Well, there's an argument to be made that any memory that's to be used

^ Fwd: Ruby Central 2005 Codefest Grant recipients
133236 [james graypr] (from the newsgroup)

^ ot -RE: scada: killer app for ruby
133250 [botp delmont] //I think gnu scada systems are unlikely for a few reasons.
133254 [spoooq gmail] Customers know nothing. The spirit of gnu is not with them.
133259 [botp delmont] //I love gpl-software, even most gnu software, but I dont think

^ [OT] Tiny URLs
133255 [jamesUNDERBA] Informal poll: Are there others as leery as I am of tinyurl and similar
+ 133256 [joaopedrosa ] It's better to fit in a fixed size area, mainly because URLs don't
+ 133264 [Bil.Kleb nas] I (naively) choose to view the world in a positive manner (aka a
| 133266 [rasputnik he] 'you are going to tubgirl.com' or whatever.
+ 133269 [lists halffu] =20
| + 133275 [tom infoethe] Yup, exactly, I usually would paste in the link, but those ViewCVS URLs
| + 133283 [halostatue g] -austin
| | + 133284 [petite.abeil] Looks very much like an industrial grade service :P
| | | + 133285 [alang cronos] Perhaps if the resources are available, someone could set up a
| | | + 133482 [tom.hurst cl] It's been alive for over a year, what more do you want? :)
| | + 133293 [lists halffu] For those who don't feel like clicking (and to tie this thread into the
| + 133299 [michael.camp] They've never been down that I've ever seen.  The service has been
| | 133304 [jamesUNDERBA] Um, pretty much every person I've met who has exhibited routine juvenile
| | 133335 [sera fhwang.] You might have. I've known tons of reliable, juvenile people. I'd argue
| | 133393 [pabs pablotr] =20
| | 133415 [rampant gmai] Though I guess the specific problem with the TinyURL joke is that it
| + 133431 [drbrain segm] I find blade [1] to be a far superior archive of ruby-talk to google
+ 133286 [jel tundra.a] I would rather people just use HTML links properly, so that you see the label
| 133333 [sera fhwang.] Well, I can't say I've ever actually seen these used in web pages
| + 133471 [jlsysinc all] I've used them in web forums where badly written naughty word filters
| + 133536 [aredridel gm] You mean used on web pages like
|   133541 [robby planet] You know... I just realized something. I *just* subscribed to RubyTalk
+ 133291 [khaines enig] I have a simple tiny url service running at http://enigo.com/shortlink
| 133292 [Daniel.Berge] On that note, I thought there was a Ruby equivalent to the WWW::Shorten
| 133294 [khaines enig] I would not be opposed at all.  The algorithm that I use is very simple, and
+ 133295 [aredridel gm] In the interest of web durability, I prefer not to use them.
  + 133302 [jamesUNDERBA] That's a legitimate concern, and long-term there is the good chance that
  | 133303 [aredridel gm] Since IRC chats are often archived, and mailing list posts too, I
  | 133325 [horacio.lope] Exactly, besides,  many of these tiny urls are based on a temporary
  | + 133328 [rasputnik he] But surely you just bookmark the url you get redirected to?
  | | 133337 [ruby-ml magi] I often search ruby-talk (and other) archives for various information.
  | + 133374 [chneukirchen] This is also true for no-paste services like rafb.net/paste.
  + 133334 [sera fhwang.] But honestly, the redirection URI is just as likely to stick around in
  | 133349 [eule space.c] (In response to news:9ff6d7ad2d50f4065516b94022d20e82@fhwang.net by Francis
  + 133342 [ng johnwlong] This is a great point and the very reason I wish people would not use

^ TkRTTimer class
133262 [nagai ai.kyu] I added new TkRTTimer class to Ruby/Tk.

^ ruby-ldap rebinding ?
133265 [rasputnik he] Can anyone tell me where I'm going wrong here?
133345 [ian caliban.] Conn#unbind doesn't just unbind from the server; it also destroys the
133366 [rasputnik he] Ok thanks - I've used Perl::LDAP in the past which lets you rebind and
133411 [ian caliban.] Yes, I'm afraid you need a new connection to bind as a different user.
133414 [rasputnik he] Yeah, but then I need to code an admin user/pass pair into my script,
133422 [ian caliban.] You could consider using SASL and something like GSSAPI instead, but
133433 [ian caliban.] This feature is now in Ruby/LDAP's CVS and will be released in 0.9.1.
133435 [rasputnik he] Brilliant, thanks Ian!
133470 [ian caliban.] You're welcome.
133472 [ian caliban.] And I spoke too soon, because SSLConn connections are more complicated.
133558 [ian caliban.] This has now been fixed in CVS. SSL connections can now also be rebound.
133594 [rasputnik he] Lovely, ta. Out of interest, is there a reason you need to unbind before binding?
133784 [ian caliban.] It all depends on how much transparency you want.
133794 [rasputnik he] I think that's what feels wrong about a bind just clobbering the existing

^ Is iterating in lock-step possible?
133268 [roshanj micr] I have been wondering is there is a way to do this. Can I have two
+ 133270 [ruby.brian g] you can use the Generator class, to wrap any iterator into a generator
| 133271 [decoux moulo] Why do you use #each ?
| + 133272 [roshanj micr] Brian, ts,
| | 133288 [wmorgan-ruby] There's a definite cost to using generators. Of course, you've already
| | + 133296 [wmorgan-ruby] Um that would be, 1000. Not ten. 1000.
| | | 133297 [g_ogata optu] Actually, only the arguments are converted; the receiving object is
| | | 133305 [wmorgan-ruby] Oh, you're right. Thanks.
| | | 133346 [roshanj micr] Thanks for all the mails. Like William called out, this did not solve
| | | + 133370 [wmorgan-ruby] I think you might be overlooking the obvious, which is that you can take
| | | + 133376 [spoooq gmail] Continuations are the right answer in this case.
| | |   133377 [spoooq gmail] Gah, always miss something when I post code...
| | |   133380 [spoooq gmail] Just found this, it seems to fit the bill nicely and its in the std
| | |   133383 [spoooq gmail] More or less compliant with the generator.rb api, which I like.
| | |   133400 [csaba-ml bea] in the std lib.
| | |   133508 [roshanj micr] // From: William Morgan [mailto:wmorgan@masanjin.net]
| | |   133518 [wmorgan-ruby] It sounds to me like you've posed a problem at the syntax / abstraction
| | |   133595 [roshanj micr] // Would you be happy if you hadn't looked at the code? Would
| | |   133702 [wmorgan-ruby] The iteration state is all in the iterator method. For example, look at
| | |   133710 [roshanj micr] //   def fib
| | + 133398 [csaba-ml bea] It's a bit faster if you do
| + 133276 [ruby.brian g] Thank you, I thought that was something not yet in the standard lib.
|   + 133281 [tom.willis g] I needed to do this the other day, but I was too embarassed to ask. :(
|   + 133289 [dblack wobbl] This message is in MIME format.  The first part should be readable text,
+ 133290 [jason.sweat ] => [1, 2, 3, 4]

^ [SUMMARY] Roman Numerals (#22)
133273 [james graypr] I like these easy problems.  The barrier to entry is low, so we see lots of

^ SIGHTING: Ruby article in Dr. Dobb's
133287 [eule space.c] In case that hasn't been mentioned: The february 2005 issue of Dr. Dobb's

^ very slow IO (STDIN.gets and puts) on Linux, ruby 1.8.2_pre3
133307 [ mig 1984.cz] Why is Ruby 2x slower in IO than php or bash?
+ 133312 [bg-rubytalk ] English is so much worse than Japanese!  When I try to count to one
| + 133316 [Daniel.Berge] Any particular reason you're using a prerelease version of Ruby 1.8.2?
| | 133355 [ mig 1984.cz] I have 1.8.2 but wanted to do the test it in other version, so used pre3
| + 133353 [ mig 1984.cz] 1. I have NOTHING against Ruby, it is my best language
|   133396 [bg-rubytalk ] I'm glad you see the humour.  I was a little harsh, but I was having a
+ 133320 [flori nixe.p] Well, Ruby assigns the line string to $_, if you use gets that way. So
  133356 [ mig 1984.cz] So the solution is maybe to use getc and parse lines on my own...
  133359 [navindra cs.] Maybe you're missing the point.
  133381 [tom.willis g] Here's my results on a 14.5 mb file, ruby wins.

^ Simple extension question
133309 [probertm acm] What is the easy way of clearing an array in an extension?
133310 [Daniel.Berge] rb_ary_clear(foo);
133315 [probertm acm] Thanks, Dan.  I knew it was something trivial.  I haven't done any extension

^ Gateway broken?
133313 [Daniel.Berge] It appears that messages posted to google groups are not making it the
133314 [ruby-ml magi] Yep, it sure is broken. I'm also getting some sort of bounce messages?
133317 [dennis lausc] Hey folks,
+ 133318 [james graypr] The gateway has been one way for several days now.  A quick trip to
| 133321 [dennis lausc] Hey James,
| 133322 [hal9000 hype] I've seen this -- my impression has been that it's a symptom of
| 133363 [dennis lausc] Yes, those bounces are definitely not related to the gateway at all.
| 133375 [chneukirchen] I already mailed the ml admins to remove that particular subscription,
| 133378 [matz ruby-la] I think I missed your mail.
| 133395 [chneukirchen] I guess it's time for another line in my fetchmailrc then. :-/
+ 133319 [vjoel PATH.B] One example: the recent thread on "priority queue using RBTree". My
+ 133323 [ruby-ml magi] I think I may have deleted all the bounces, I'll take a look. They're
| 133324 [james graypr] To be clear though, these messages ARE showing up on the mailing list,
+ 133561 [james graypr] Any word on the status of the gateway?  Thanks.
  + 133563 [dave burt.id] No quiz posts have been sent to c.l.r but not the ML yet.
  + 133591 [decoux moulo] Apparently it's unidirectional : work only ruby-talk ==> clr
    133607 [dennis lausc] Hey ts, hey list,
    133770 [ruby-ml magi] Indeed they did, unfortunately in some arbitrary semi-inverse order :)

^ Malformed UTF-8?
133326 [ian caliban.] We have a commercial calendaring application at work that conveniently
+ 133327 [neoneye gmai] the substring "\210\004" is invalid UTF8.
| 133330 [neoneye gmai] Forget this explanaition, its wrong.. (I mis-read my testcase)
+ 133332 [mailing-list] #! /usr/bin/ruby -w
  133361 [ian caliban.] My thanks to you and Simon. It's especially nice to see a formal

^ gem bug?
133329 [hal9000 hype] OK, this is very strange.

^ [JOB] Possible ruby job in SF Bay Area
133336 [vjoel PATH.B] This is an informal announcement of a possible position for
+ 133338 [jamis_buck b] Just curious: how many people have written a project in Ruby consisting
| + 133339 [joaopedrosa ] I don't know. But > 50k LoC is a little bit over the top I think.
| | 133340 [spoooq gmail] Im only up to 1.25k LoC in my current project, and thats my Ruby record.
| | 133341 [spoooq gmail] Tallied up the (c++) output - around 32k Loc. :D
| + 133348 [ruby-talk wh] I've always held to the old adage: If you've written 10K lines of Ruby
| | 133351 [vjoel PATH.B] Oooh... a MATLAB clone in 10KLOR. MegaGolf, anyone?
| + 133350 [vjoel PATH.B] Hm, maybe that is not a useful criterion. A program is not better
| + 133354 [laurent mold] FreeRIDE (the Ruby IDE) is roughly 20,000 LOC (25,000 lines with
| | 133364 [neoneye gmai] I have started from scratch 3 times with AEditor.
| + 133371 [wmorgan-ruby] RubyTorrent is about 1700 loc for the libraries, and 2200 including
| + 133386 [mailing-list] My current project (unveiled shortly) is currently above the mark.
| + 133461 [sera fhwang.] Rhizome's code is about 22Kloc. Not that I'm proud of that, really; if
+ 133365 [david loudth] While I think its great to see the job market get into drive, it would
| 133404 [vjoel PATH.B] You're right. I always hated reading any job posting that was just a
| 133662 [ptkwt aracne] It does seem to me that LORC (Lines of Ruby Code) tends to be much
+ 133385 [michael.camp] 50-60k in SF?  Wow.
| 133401 [vjoel PATH.B] Yes, wow. There are a lot of us trying to live at that rate, or below...
| 133403 [michael.camp] There's something to be said for doing what you love.
+ 133409 [vjoel PATH.B] To follow up: if the job is offered as a contract, what sort of hourly
  133664 [ptkwt aracne] Yes.  However, it started out as a C++ project going in.  After a month
threads.html
top