163128-181006

162902-163501 subjects 163344-165631

gem dependency installing twice?
163128 [itsme213@ho ] gems 0.8.11

"Readability" inflation
163152 [dblack@wo bl] I'm writing this separately from any thread partly because it's a new
+ 163157 [james_b@ne r] Early users (circa release of Programming Ruby, 1st edition , or
+ 163159 [daniel.schie] I agree with you that many suggestions have arisen, but many of them are
| 163165 [transfire@gm] Ruby the Can-Do langauge :-)
| + 163168 [daniel.schie] "kind of equal to"? :)
| | 163188 [vjoel@pa h. ] "matches" ? or "case-matches", to be explicit?
| + 163192 [doodpants@ma] I admit I haven't read all of the posts in the named parameter threads,
| | 163195 [christophe.g] Because "a=5" is an expression that returns a value, and is thus allowed
| + 163222 [gwtmp01@ma .] How about "contains" or "includes"?
| + 163236 [surrender_it] I agree with David in the general points, but for what is worth, I agree
+ 163163 [hgs@dm .a .u] Agreed.
| + 163167 [transfire@gm] Or 'as'?
| + 163173 [daniel.schie] Looks interesting... I still think this is better, though
|   163180 [pertl@gm .o ] looks like a hash, if you ask me...
|   163235 [daniel.schie] In my example, the value :really_thick will be assigned to the method's
+ 163166 [ruby-talk@wh] So, is your compaint about the suggestions?  Or about Matz' own recent
| + 163176 [james_b@ne r] I agree that suggestions and discussion are important, and, with Matz
| + 163181 [matz@ru y- a] Thank you.  In fact, I don't like Ruby development is slow.  But
| + 163194 [dblack@wo bl] I can't say because I don't know what gravity you think I think they
+ 163178 [joevandyk@gm] I love the current Ruby syntax.
| 163213 [mailing-list] I agree.  If all Ruby 2.0 brought was a VM Id be happy.  That, and
| + 163224 [vjoel@pa h. ] And I'd be happy with just native threads. Nothing else.
| + 163237 [surrender_it] +1 (ok, I still would like multi methods, but nobody loves them..)
+ 163186 [rm_rails@ch ] I'm pretty sure it's the opposite of what you think.
| 163266 [bob.news@gm ] Well, *did* you actually ask?  What about showing your colleagues a short
+ 163190 [ruby.brian@g] I totally agree with you. Thanks for summing it up so nicely.
| 163204 [ruby.brian@g] After reading the other posts I wanted to make clear that I understood
+ 163257 [ruby-ml@ma i] + |-| 3 |2 3  15  4 |. 5 0 1 |_| + 3 1 _v  |\| 0 + |-| 1 |\| 9
+ 163276 [martindemell] I usually come around to agreeing with you that so-and-so change adds
| 163283 [transfire@gm] ary.sort_by.meth
| 163289 [ruby.brian@g] If you are so bold, I have to chime in again to say that
| 163290 [transfire@gm] ary.sort_by.meth(foo, bar, wack!)
| + 163291 [ruby.brian@g] And what does that mean and how often do I need it?
| | 163294 [langstefan@g] % cat sort_by.rb
| + 163292 [dblack@wo bl] ...
| + 163299 [dbatml@gm .d] So, what we really need is the implicit block variable, because it can do
| | + 163301 [ruby.brian@g] What is so bad about
| | | + 163303 [dblack@wo bl] ...
| | | + 163306 [daniel.schie] I agree. `it' would seem to refer to the playlist itself, not the
| | | + 163312 [dbatml@gm .d] Nothing, it is just more typing...
| | + 163309 [transfire@gm] Uh oh...
| |   163314 [dbatml@gm .d] Maybe
| + 163363 [bob.news@gm ] I think it'd rather be
|   163372 [transfire@gm] Oh, those weren't method calls, there were parameters to #meth --I know
|   163385 [bob.news@gm ] Then I guess this makes a good indication how cryptic that was... :-)
|   163390 [transfire@gm] class << ObjectSpace
|   163395 [pit@ca it in] require "enumerator"
|   163406 [transfire@gm] He he! Yep, I'd call that "inflation" alright ;). Better yet, now we've
|   163424 [leavengood@g] Why? Do you have a good reason beyond the fact that you took all the
|   163426 [transfire@gm] I didn't modify a core class. EnumerableArgs is a complete rewrite of
|   + 163433 [leavengood@g] class << ObjectSpace
|   + 163440 [bob.news@gm ] Can't see this.
|     163443 [transfire@gm] Robert what are you talking about? "You can't see" isn't a useful
|     163477 [bob.news@gm ] I didn't want to repeat Ryan's argument and just signal my approval.
|     163484 [transfire@gm] Such an argument smakes dead against the whole concept of polymorphism
|     163505 [leavengood@g] But you are cheating here by leaving out the "setup code" that allows
|     163531 [transfire@gm] I don't really see that as cheating since the code is already written
|     163625 [leavengood@g] require 'enumerator'
|     + 163627 [james@gr yp ] Yes, an isn't Enumerator in the core as of 1.9?  Time to get use to
|     | 163629 [christophe.g] Indeed, check: http://ruby-doc.org/core-1.9/
|     | 163641 [dblack@wo bl] I'm not sure where that stands either.  It always looked too
|     + 163632 [transfire@gm] I see your point too. Enumerator, and things like #every, are starting
|     + 163650 [dooby@d1 .k ] class House
|       163655 [james@gr yp ] I must be one of the few Enumerator fans in this thread.  I think
+ 163333 [leavengood@g] I agree strongly with this, and the rest of David's comments. In fact
  163338 [transfire@gm] Ryan,
  163340 [leavengood@g] Hehehe, I'm just saying that I think these discussions get out of hand
  163364 [bob.news@gm ] I think this is nothing to worry about.  After all, I'm a big fan of
  163439 [dblack@wo bl] It definitely wasn't a post about netiquette or trying to get people

Re: Nitro + Og 0.24.0, Annotations, KirbyBase, SCGI, Og Evolution, Gen, Dynamic CSS...
163153 [transfire@gm] Congrats on getting the new release out. I know this one was a

Re: Cut-based AOP
163155 [transfire@gm] Which reminds me, I have some tests that are doing this that I need to
163164 [ed.howland@g] Definately have to find out more about precludes
163172 [transfire@gm] Great! Is it downloadable? Where?

Errors involving the number -517611318 driving me mad
163170 [michael.dain] I keep getting strange intermittent errors in various places with
+ 163206 [meta@po ox c] Can you locate where the error is occurring in the code?
| 163207 [jeremy@bi sw] I used to get the exact same error until I moved to 1.8.3.  It was
+ 163208 [drbrain@se m] What is your exact ruby version?
| 163246 [michael.dain] ruby 1.8.2 (2004-12-25) [powerpc-darwin8.2.0]
| 163264 [ocean@m2 cc ] (2005/10/29 10:16)
+ 180830 [billk@ct .c ] Anyone know whether this is still an issue?  I see blog posts
  180832 [ksruby@gm il] The solution was to switch back to gcc 3.3
  181002 [drbrain@se m] No, the problem was much, much less prevalent on gcc 3.3.  The
  181006 [billk@ct .c ] Ah... rats, thanks.

Java Reflection in Ruby
163185 [mercury542@y] For part of an application I'm working on I am looking to use Java
+ 163196 [deanwampler@] You might look at the JRuby project, which is doing a port of Ruby on
| 163198 [zdennis@mk e] Zach
+ 163250 [the.mindstor] #: Charlie Squires changed the world a bit at a time by saying on  10/28/2005 8:07 PM :#
+ 163256 [m.sakurai@dr] Using yajb (http://raa.ruby-lang.org/project/yajb/), you can use Java
  163545 [mercury542@y] Thanks, I will give that a try.

part-time ruby programming job
163187 [jalotta@ea t] Greetings,

DL for Ruby 1.6.8?
163193 [greg.kujawa@] dl.so and associated files weren't found. I am assuming that DL didn't
+ 163199 [zdennis@mk e] I dont know when DL was introduced, but 1.6.8 came with WIN32API I do
+ 163200 [greg.kujawa@] Please disregard. I found the shim package, which brought me up to

What would it take to change the behaviour of variable assignment?
163209 [nugend@gm il] I've been considering the ways to add a particular language construct
+ 163214 [Ara.T.Howard] require 'thread'
+ 163217 [drbrain@se m] Maybe matju's gridflow does this already?
| 163225 [nugend@gm il] foo = DataFlow.new
| + 163226 [nugend@gm il] Bah, that example wasn't good either....
| | 163231 [Ara.T.Howard] require 'thread'
| | 163258 [nugend@gm il] It was a good shot.  The thing is that DataFlow is not a collection.
| | 163288 [Ara.T.Howard] all you need to do for that to work is is a method
| | 163293 [nugend@gm il] It's not about the syntax, well, it is, sorta, but it's not about
| + 163228 [drbrain@se m] matju reads this list, so he just might pick it up...
+ 163337 [tomsonp@ee p] You might want to take a look at RHDL

[QUIZ] TumbleDRYer (#53)
163210 [james@gr yp ] 1.  Please do not post any solutions or spoiler discussion for this quiz until
+ 163230 [agorilla@gm ] This looks like a fun one to me, as it's one of the main things I use
| + 163239 [agorilla@gm ] nm, I seriously misread the challenge.  either way, looking forward to
| + 163241 [dave@bu t. d] I'm pretty sure that's DBMS-specific (MySQL), and I'm pretty sure SQLite
+ 163666 [ruby.brian@g] bschroed@oerfi:~/svn/projekte/tumblezip$ ./tumblezip.rb tumblezip.rb >tumblezip.tumbled.rbbschroed@oerfi:~/svn/projekte/tumblezip$ cat tumblezip.tumbled.rbrequire "zlib"puts Zlib::Inflate.inflate(DATA.read)__END__xSV/-.O/*M*J-,,JUPLR*(-)VP      +4u@@U,KI,I.!zE(c))0J(r)~.J:FT1}/bschroed@oerfi:~/svn/projekte/tumblezip$ ruby tumblezip.tumbled.rb#!/usr/bin/ruby
  163728 [hgs@dm .a .u] ...

SF Beer & Pizza SIG - review and forecast
163211 [rdm@cf l. om] Wednesday's Beer & Pizza SIG was attended by about a dozen Rubyists,

[ANN] Facets 2005-10-30
163215 [transfire@gm] A N N O U N C I N G
+ 163238 [surrender_it] <snipall>
| 163260 [khaines@en g] These are reasons why, despite there being some things in Facets that are
+ 163268 [george.mosch] I would prefer this to be

Re: Facets 2005-10-30
163243 [transfire@gm] Try _too much_ thinking, not too little. Beleive me this hasn't been
163261 [transfire@gm] While I understand, I think maybe the concern is a bit over drawn. Yes,
163273 [transfire@gm] It is not right to "take-over" usage of #use just for Facets. This is a
163355 [martindemell] This is not taking over, just providing a mapping from the symbol
163360 [transfire@gm] Ah, my bad. I glazed right over the fact that the first symbol was
163362 [transfire@gm] I've added. It will be in final 05-12 release.

FACETS - Gem installation errors
163247 [jlsysinc@al ] Upgrading installed gems...
163251 [transfire@gm] Hmph. I'm running Linux with Ruby 1.8.3 no problems. So it's either
163271 [halostatue@g] There is no 1.8.3. Windows install kit, and there probably won't be
163272 [transfire@gm] Really? Why aren't we getting this fixed and getting a bumped 1.8.3-1
163311 [jlsysinc@al ] Why are we not testing our software on Ruby 1.8.2 or any other platform?
163313 [transfire@gm] No you are being an ASS!
163317 [transfire@gm] Also, who whould the orginal author be? Considering I've written well
163325 [jlsysinc@al ] Don't worry as that happens to be a particular obsession of mine.
+ 163335 [leavengood@g] I can understand that sometimes dealing with problematic software can
+ 163339 [transfire@gm] Why don't you contribute back some of your changes? I just did a
  163468 [transfire@gm] I have rebuilt gem with Ruby 1.8.2. I have kept the same name/version

[rails] postgres 8.0, PQsetdbLogin() in -lpq... no
163253 [dan.bikle@gm] People,

[ANN] FuseFS-0.5
163263 [ruby-talk@le] Lo, another travesty was visited upon the ruby-talk community ... and
+ 163319 [ksruby@gm il] Thank you.
| 163321 [ksruby@gm il] Sorry for replying to my previous email. With this patch applied, here
| + 163334 [leavengood@g] That is massively cool. Thanks for this, and thanks to Greg for
| + 163336 [ruby-talk@le] This is very neat!
+ 163349 [rasputnik@gm] Thanks Greg!

[ANN] gdiff / gpatch 0.0.1 released
163269 [ruby.brian@g] I released a new cleaned up version of the gdiff / gpatch library and
163295 [zedshaw@ze s] Hey Brian,
163300 [ruby.brian@g] Thank you Zed,

Qt Threading?
163270 [greg.kujawa@] fine, but I want to add something to it. I want a listener thread that
163275 [greg.kujawa@] I did stumble across -->
163278 [Richard_Dale] Ruby doesn't use native threads, and so as far as Qt is concerned you have a
163282 [greg.kujawa@] I have a CRM application that I've written. And I am looking to add CTI
163284 [Richard_Dale] if tsession.ringing? == true
163499 [greg.kujawa@] The QTimer works like a champ. This is a great solution. I just need to

determining whether an object is an immediate?
163274 [eric_mahurin] This is be best I could come up with for determining whether an
+ 163285 [cyclists@nc ] I seem to remember that begin/rescue is extremely slow, so since we know
| 163384 [gene.tani@gm] you think #clone is slow, try (you could test for adding singleton
| 163388 [eric_mahurin] It is slow, but this is probably one of the better definitions
| + 163450 [nohmad@gm il] [Object, Fixnum, Symbol, NilClass, FalseClass, TrueClass].each { |c|
| | + 163452 [nohmad@gm il] false : true } } }
| | | 163455 [leavengood@g] irb(main):007:0> 'string'.immediate?
| | | 163458 [nohmad@gm il] Right. 'self' should not be there. Thanks for correcting.
| | + 163453 [leavengood@g] [Object, Fixnum, Symbol, NilClass, FalseClass, TrueClass].each { |c|
| + 163457 [phasis68@ho ] class Object
+ 163462 [transfire@gm] I wonder why you need this. I suspect becuase you're using #clone in a
+ 163470 [binary42@gm ] The clone test does not work. Reason? There are plenty of
  163485 [eric.mahurin] ...
  + 163497 [gene.tani@gm] ################ benchmark, round 2
  + 163498 [gene.tani@gm] I'm confused, don't you need to only check that least signif. bit is 1,
    163504 [gene.tani@gm] (pls ignore prior 2 posts, I'm still mulling over how __id__'s work for

chain regex replacement
163279 [onurturgay@g] I want to make a chain replacement in my String object. For example
+ 163280 [ruby.brian@g] Did you look at tr
| 163281 [ruby.brian@g] => "ibm"
| 163286 [onurturgay@g] thanks a lot.
+ 163371 [bob.news@gm ] If you can make changes in one step, i.e. there is no change that will be

rexml: generating tree from source
163287 [clr8.10.rand] #!/usr/bin/env ruby
+ 163298 [dooby@d1 .k ] <Quoting>
| 163304 [clr8.10.rand] [rexml, utf-8]
+ 163316 [clr8.10.rand] I withdraw my request, because handling invalid XML files is not

Japanese font patch for pdf-writer-1.1.3
163296 [nnakamur@mx ] It enable pdf-writer to output Japanese character.
163346 [halostatue@g] Thank you!

Generators via Lazy Evaluation
163297 [nugend@gm il] Welcome to another installment of Danno creates strange things that

Strip leading indentation [was Re: Iterate over md Array (the Ruby way)]
163307 [gavin@re in ] Here's what I use; it allows for arbitrary indent level, and indented

Malleable Instance Vars
163308 [transfire@gm] Are we ready for
+ 163315 [gwtmp01@ma .] container@[index]
+ 163320 [drbrain@se m] PHP-style "variable variables" just lead to code that is too clever
  163322 [transfire@gm] Perhaps so. And I am presently working on such code. BUt to be honest,

rake : rakefile vs. rakefile.rb
163329 [itsme213@ho ] Why does rake not recognize "rakefile.rb" as a default rakefile? I just had
163466 [jim@we ri hh] Seems to work for me.
165711 [itsme213@ho ] It's a bit more peculiar than I thought.
165716 [langstefan@g] The problem is that rake uses Kernel#load to load the Rakefile.
165724 [jim@we ri hh] Thanks for the insight on this problem.  The suggested change has been
165734 [itsme213@ho ] Thanks, Jim (and Stefan). It works fine now.
165850 [pit@ca it in] I find it remarkable that the author of rant is posting patches for the
166523 [damphyr@fr e] snip

Regexp Guru Needed
163331 [james@gr yp ] We're having a discussion on Ruby Core about how to speed up CSV.
+ 163332 [calamitates@] ...
| 163342 [james@gr yp ] I am aware of the infamous "bump-along", but doesn't 0 + 1 == 1?  I
| 163343 [james@gr yp ] Nevermind.  I get how dumb I'm being now.  There's only one
+ 163353 [warrens@ac c] Warren Seltzer
  163389 [james@gr yp ] Thanks.
  163722 [steve@wa ts ] Check out RegexBuddy.  Worth getting access to Win32 just for this if
  163731 [martindemell] Or  http://www.weitz.de/regex-coach/ - it's the best one I've seen, and
  163784 [steve@wa ts ] Thanks for the link Martin.  I hadn't found it before.  I tried it

Regex expression tester.
163341 [doctlo-usene] I know that there exist in Perl, TCL and Lisp programs for testing regular
threads.html
top