113946-116417 subjects 114332-115741

^ [ANN] win32-shortcut 0.1.0
114155 [djberg96 hot] The Win32 Utils team is happy to announce the release of

^ ruboids (on mac os) - singleton instance() returns nil?
114172 [hramrach cen] I wanted some OpenGL demo for ruby and the first thing I found was
114186 [Richard_Dale] Yes, it looks as though that doesn't work. I changed it to a global variable
114219 [Richard_Dale] I've just restored the Singleton stuff, and it works fine. So I think the
114252 [hramrach cen] They said qtruby on the ruboids website unless I misread it. But the
114272 [Richard_Dale] I think that is another problem with the Mac OS X build - Qt.rb should be
114294 [hramrach cen] hehe, I tried running the ruboids I have on the correct display and the
114300 [Richard_Dale] irb(main):001:0> require 'Qt'

^ Range of regexps?
114180 [alex verk.in] Have a question (as usual, from a thread on ruby-forum.org,
+ 114185 [bob.news gmx] "Alexey Verkhovsky" <alex@verk.info> schrieb im Newsbeitrag
+ 114193 [james graypr] Robert gave a great answer, so I'll just add that this syntax doesn't
  114237 [ptkwt aracne] It's also known as the flip-flop operator.  It was borrowed from Perl.

^ [Rails] caching compiled templates
114190 [usenet andre] class SomeController
114203 [usenet andre] I have found a workaround. The full patch against the Rails CVS version

^ ruby-dev summary 24298-24353
114197 [ko1 atdot.ne] This is ruby-dev summary 24298-24353.
+ 114198 [nathaniel ta] Me too... I haven't found a place to use it since I read about it two
| 114238 [transami run] Nice! I just ran into a possible use. Sometimes set_trace_func returns nil for
| 114242 [pbrannan atd] Can you post a short sample that produces this?
| 114277 [transami run] Thanks for asking, since I may not have bothered to do this otherwise. It
| 117091 [matz ruby-la] Sorry for being late.
| 117093 [transami run] No rush. Way too much to do all 'round it seems. But thank you for getting
+ 114200 [pbrannan atd] I know what the sample implementation does, but how would/should the
+ 114202 [bob.news gmx] "SASADA Koichi" <ko1@atdot.net> schrieb im Newsbeitrag
  114436 [transami run] T.
  114439 [matz ruby-la] Hmm, "fanctor".  I like the name.
  114443 [transami run] Is a new class required? I think, Proc could add this feature and remain
  114445 [matz ruby-la] I just said I liked the name. ;-)
  + 114452 [transami run] # functor.rb
  | 114528 [rff_rff remo] Ok, I don't have an use for this, but, well, indeed very cool :)
  | 114615 [transami run] class Object
  | 114672 [bob.news gmx] "trans. (T. Onoma)" <transami@runbox.com> schrieb im Newsbeitrag
  | 114794 [transami run] Right. Makes me wish Ruby had an light-weight object class.
  | 114800 [bob.news gmx] "trans. (T. Onoma)" <transami@runbox.com> schrieb im Newsbeitrag
  | + 114844 [transami run] They have one in Evil. Essentially a Kernel-less object, which is good for
  | | 114863 [Ara.T.Howard] where is Evil downloaded?
  | | 114870 [transami run] On Rubyforge.
  | + 114886 [transami run] Oh, I agree. I would suggest a different sets. E.g.
  + 114467 [bob.news gmx] "Yukihiro Matsumoto" <matz@ruby-lang.org> schrieb im Newsbeitrag
    114468 [bob.news gmx] "Robert Klemme" <bob.news@gmx.net> schrieb im Newsbeitrag
    114517 [transami run] Let me see if I understand this correctly. This is essentially a quick way to
    114570 [bob.news gmx] "trans. (T. Onoma)" <transami@runbox.com> schrieb im Newsbeitrag

^ scan regular expression and strings
114199 [Becker004 gm] tr="meet"
+ 114204 [ruby brian-s] Your change to x is local to the block, because x is a new string object
| 114211 [parseerror g] $ irb
| 114212 [decoux moulo] svg% irb
| 114214 [parseerror g] d'oh, you're right. tricked up by my own laziness.
+ 114207 [ajohnson cpa] tr="meet"

^ Can't 'make install' ruby (cvs head)
114201 [pbrannan atd] I've gotten three different errors on four different runs, all of which

^ [ANN] Technorati-Ruby 0.1.0
114210 [pabs pablotr] As per Chad Fowler's request, here's version 0.1.0 of Technorati-Ruby, a
114227 [chadfowler g] I've seldom see paid programmers deliver software so quickly. :)
114245 [pabs pablotr] Speaking as a paid programmer, I'd just like to say "don't get any ideas

^ [ANN] SQLite/Ruby 2.1.0
114224 [jgb3 email.b] This release concludes the beta period for the 2.0.x series. It adds
+ 114234 [dross code-e] Thanks Jamis, great job. will have to nag batsman to add update to rpa
+ 114246 [rff_rff remo] thank you thousand for this, (and you includes both jamis and justin :)

^ Purely static build of Ruby
114229 [rcoder gmail] I'm trying to find out whether it's possible to build a completely
+ 114243 [emschwar hp.] Actually, ia-32 shared libraries can be loaded just fine on Itanium;
| 114247 [rcoder gmail] There is somewhat of a problem with installing compatibility libraries,
| + 114248 [dross code-e] Static ruby on Redhat requires you to download the static libraries of
| + 114258 [emschwar pob] Well, that's your decision.  I think if you plan to distribute only
|   114263 [ptkwt aracne] It shouldn't be necessary to go to these lengths as it should be fairly
+ 114259 [ptkwt aracne] Seems I recall you have to edit etc/Setup (in the Ruby source directory).
| 114264 [rcoder gmail] At least with 1.8.2-preview2, the Ruby OpenSSL module won't compile
| 114267 [ptkwt aracne] It could be that you need a different version of OpenSSL.  You might want
| 114269 [emschwar hp.] Just a bit of quick rumor control: HP has NOT dropped the Itanium.  We
| 114274 [ptkwt aracne] I stand corrected...
| 114421 [emschwar pob] I can assure you they are not.  Further would probably get me a Severe
+ 114266 [ptkwt aracne] Ooops, sorry, that probably means that you did what I suggested in my

^ Array#uniq
114230 [markus reali] All --
114280 [matz ruby-la] I think it would not be changed in the future.

^ FXRuby help
114249 [jgb3 email.b] Having some troubles getting FXRuby to work for me. Any script that I
+ 114254 [duncan nycap] require 'rubygems'
| 114256 [jgb3 email.b] They do. I changed it to just 'require "fox"' (since the gem install
| + 114261 [lymans gmail] I'm about to install FXRuby on Suse for the first time, but I seem to
| | + 114282 [lymans gmail] I've found where I was mislead. It _is_ the windows binary. It comes
| | + 114317 [lyle.johnson] The precompiled binary distribution of FXRuby for Windows has the FOX
| + 114316 [lyle.johnson] Yes, that's being fixed for the next release. I didn't understand what
|   114374 [batsman.geo ] RubyGems doesn't use stubs anymore; it redefines Kernel#require to
|   114448 [gsinclair so] I disagree.  Setting RUBYOPT is a PITA, as well as being fragile.  I'd put
+ 114315 [lyle.johnson] Me too. I don't have access to a Gentoo system, but things work fine
  + 114368 [jgb3 email.b] It has worked for me in the past, under a different gentoo
  | + 114370 [lyle.johnson] Me too ;)
  | + 114371 [chadfowler g] Remind me at the conference and we'll take a look at it.
  + 114425 [jim weirichh] The is a change in Gem format between 0.7.0 and 0.8.0, but the 0.8.0 code

^ Math Tricks
114250 [james graypr] #!/usr/bin/env ruby
+ 114251 [jgb3 email.b] If you divide two integers, you get an integer (with Ruby). So instead
| + 114253 [rff_rff remo] require 'mathn'
| + 114270 [gavin refine] def div; binary { |l, r| l.to_f / r } end
+ 114255 [discord mac.] The other questions were answered pretty well, so I'll just answer the
  114257 [james graypr] Thanks to all for the help.

^ Shuttle info for those attending RubyConf 2004
114260 [djberg96 hot] Just a quick note.  Those of you staying at the Holiday Inn can hop on
114268 [sdate everes] It runs on the 20 min schedule till 1 AM  and then you can call them

^ AClass() vs. AClass[] constuctors (was Best name for "this method")
114265 [transami run] Okay, perhaps they should be private. Beyond that, I'm not sure its really a
114276 [dblack wobbl] I'm not sure about a use case; it just doesn't fit the model.  Classes
+ 114290 [bob.news gmx] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
+ 114305 [transami run] Oh, dear. I fear that's taking it quite too far --and very far from the topic,
  114310 [bob.news gmx] "trans. (T. Onoma)" <transami@runbox.com> schrieb im Newsbeitrag
  + 114477 [transami run] True 'nuff, and I have done this myself a few times. Nonetheless a number of
  + 114480 [transami run] Class [] Method     Kernel () Method

^ Too Many Ways?
114278 [gavin refine] "Various ways to accomplish the same goal is good,
+ 114281 [gsinclair so] [snip good examples]
| 114312 [gavin refine] Yeah. I suppose the question was sort of rhetorical, my way of saying
+ 114286 [bob.news gmx] "Gavin Kistner" <gavin@refinery.com> schrieb im Newsbeitrag
| 114298 [dblack wobbl] If only the things that make life easier for newcomers could disappear
| + 114299 [decoux moulo] I'm agree with you, just make it more complex to solve the
| + 114314 [gavin refine] I suppose that's my wish, too. As unrealistic as it may be.
|   114415 [burtdav hotm] Sometimes I'm tempted to think this is already the way; in the doco for
+ 114296 [rff_rff remo] %{x}
+ 114313 [cpine hellot] (This is something I really tried to follow in my tutorial, which even has a TMTOWTDI section near the end:  http://pine.fm/LearnToProgram/)
| + 114318 [gavin refine] Funny, I never understood what #map did. People used it all the time
| | + 114323 [ajohnson cpa] Perfect sense? Your description sounds a lot more like #select than
| | + 114324 [peter semant] Programming languages are a lot like philosophy. Nothing ever gets
| | + 114329 [gsinclair so] One of the first things I learned about Ruby was that some methods are
| | + 114331 [mneumann nte] How would you feel if you were forced to use #map all the time? That's
| | + 114338 [flori nixe.p] But this isn't what collect does. It picks up all the daisies. I think
| | + 114341 [ehames gmail] Being a Haskell programmer, I prefer map to collect. Actually, the
| + 114335 [rff_rff remo] <snipall>
|   114347 [cpine hellot] My point was that if I am teaching Ruby to a functional programmer, I don't teach them proc at all, and they already know what lambda means, so no problem.  Similiarly, I wouldn't teach map to a Smalltalker.
+ 114408 [B.Candler po] def foo
  114631 [bob windsong] Well, yes, I got hung up on this right off the bat--I got it into my
  + 114632 [510046470588] that's what documentation is for.
  | 114872 [sera fhwang.] Hear, hear. Whenever you have to learn a large subject, you're not
  + 114648 [gsinclair so] Good point, Bob.  I normally baulk at sensitivity to TMTOWTDI, but
    114652 [transami run] I never use yield. But I'll tell you what, I too think the above suggests that
    114750 [B.Candler po] Those semantics would be more consistent with yield and blk.call, and
    + 114792 [transami run] Great point!
    | + 114793 [gsinclair so] def foo(a, b, &c=nil)
    | | 114803 [transami run] c = lambda { |x| ... }
    | | 114804 [gsinclair so] def foo(a="foo", b="bar", &c=nil)
    | + 114797 [B.Candler po] Ugh... fortunately I've never had to write code like that :-) Especially
    |   + 114798 [B.Candler po] Sorry, I will correct myself. -3 means at least 2, but the maximum limit is
    |   | 114799 [transami run] Exactly what I was thinking.
    |   | 114805 [B.Candler po] I can't see what's hard about implementing them: have a couple of constant
    |   | 114848 [transami run] Will you give it a go?
    |   | 114950 [B.Candler po] irb(main):004:0> i=1.0/0
    |   | + 114953 [B.Candler po] ...then it may be worth testing the boundary points explicitly against
    |   | + 114960 [transami run] Nice Brian!
    |   |   114968 [B.Candler po] Errm, well it looks right to me. If you're saying that the range 0...10 is
    |   |   114973 [transami run] Well, yes, one could look at it that way. But I mean in accordance to the
    |   |   114979 [B.Candler po] It depends whose definition you think is "correct". Enumerable has a method,
    |   + 114802 [dblack wobbl] I have to admit (and my lack of C++, Java, etc. is probably showing
    |     + 114808 [transami run] set_trace_func. To define advice, one defines "hook" methods. Now, I could
    |     + 114813 [Ara.T.Howard] no - because you would also have a different signature (else the methods
    |       114815 [dblack wobbl] [snip rest of very informative summary]
    + 114887 [transami run] matz, I'm curious. How do you feel about this?

^ Do we need a standard Adaptor? (was: Re: ruby-dev summary 24298-24353)
114285 [bob.news gmx] "Nathaniel Talbott" <nathaniel@talbott.ws> schrieb im Newsbeitrag

^ pdf output from instiki on OSX
114288 [ptkwt aracne] There is a page on the Instiki wiki about getting pdf output to work (

^ Funtionality of 'case'-Expression
114289 [r_mueller im] Salve!
+ 114292 [bob.news gmx] "Ralf Mler" <r_mueller@imp-ag.de> schrieb im Newsbeitrag
| 114295 [r_mueller im] thanks robert,
| 114297 [rff_rff remo] He's adding that method to the singleton class of 'crit1'.
+ 114303 [B.Candler po] def with(obj,&blk) obj.instance_eval(&blk); end

^ [SUMMARY] The Solitaire Cipher (#1)
114311 [james graypr] YOURC IPHER ISWOR KINGX
114349 [raphael.baud] Thank you for the quiz. I really liked your summary!
114356 [james graypr] And I really appreciate you saying so.  Thanks.

^ Range syntax theory
114319 [zdennis mkte] I have been thinking lately about rangess and I will give you the two
+ 114320 [ruby brian-s] very good point you make. I imagine that the inclusive version is used
+ 114321 [halostatue g] It's the distinction between
| + 114350 [markus reali] It must be something pre-perl; at least, I was using this
| + 114365 [Ara.T.Howard] thank you austin for pointing this out.  just to be clear - i'm not opposed to
+ 114322 [bob.news gmx] "Zach Dennis" <zdennis@mktec.com> schrieb im Newsbeitrag
+ 114325 [gavin refine] I was thinking this exact same thing in the shower yesterday morning.
| 114326 [ryco gmx.net] From an intellectual point I sort of understand the '..' and '..'
| + 114327 [halostatue g] irb(main):001:0> (1..5).include?(4.99)
| | + 114328 [ryco gmx.net] Still, it's the 'larger' Range.
| | | + 114344 [ehames gmail] They are actually the same length! Nevermind, I like Cantor way too much ;)
| | | | 114373 [fgp phlo.org] But one could argue that, since 1...5 is an open set and 1..5 an closed
| | | + 114354 [Ara.T.Howard] infinity + 1 = infinity
| | |   114358 [zdennis mkte] I agree with Ara. I do not like the term infinity for the example Ara
| | |   114359 [peter semant] No! Wrong!
| | |   114360 [zdennis mkte] Oops...on my behalf. You are correct Peter. Thank you for pointing this
| | |   114362 [app1tam ups.] Okay, maybe we think of it this way.  '..' is a club.  '...' is a club, with
| | |   + 114363 [zdennis mkte] This thinking imposes that the reasoning of the syntax should conform to
| | |   + 114366 [zdennis mkte] This has been a very fun discussion. I'll shut up now unless anyone
| | |     + 114372 [ryco gmx.net] Indeed. I was not really thinking this to the end.
| | |     + 114395 [martindemell] I can't think of any better reason than "inclusive ranges are the common
| | |     + 114447 [gsinclair so] I'll try to come up with a good reasoning.  Pretend I'm designing a language.
| | |       114450 [zdennis mkte] Yes I agree with you here. This is how languages have been developed it
| | |       + 114460 [gsinclair so] To me, neither seems "more natural" once prior experience is removed.
| | |       | + 114475 [transami run] 0..9      inclusive
| | |       | | 114487 [angus quovad] ["trans.  (T. Onoma)" <transami@runbox.com>, 2004-10-01 12.59 CEST]
| | |       | + 114510 [markus reali] This is simply untrue.  Float ranges and Time ranges are both very
| | |       | + 114516 [zdennis mkte] Yeah, no one has gave unbias'ed conclusions or reasoning. Oh well. It
| | |       + 114493 [james graypr] I believe I remember in your first post you saying you weren't calling
| | |       | 114509 [zdennis mkte] Yes, I did say that. And I still don't want the near future versions of
| | |       + 114562 [hramrach cen] Interesting discussion
| | + 114367 [springer sil] I see the distinction but a some point the reality of the limits of the
| + 114330 [zdennis mkte] I think the visual difference is exactly why it doesn't make
+ 114333 [rff_rff remo] actually, I thought till one moment ago that ... was going to be
| + 114334 [batkins57 gm] I agree.  Having a separate operator for exclusive ranges just
| | + 114357 [halostatue g] Because of the [start, end] and [start, end) difference. They *are*
| | + 114503 [jwkenne attg] You mean start..(end-1) -- but apart from that, because start...end is
| + 114336 [ruby brian-s] That is nice, but why does it conflict with having the ... operator?
| | 114348 [rff_rff remo] well, just because
| | 114351 [ruby brian-s] Should have thought more myself.
| | 114353 [rff_rff remo] I've been unclear, sorry.
| + 114337 [peter semant] I find the ... notation useful when the upper limit is the size of
| | 114343 [zdennis mkte] You added more syntax then needed. "-" has higher precendence then "...".
| | 114346 [zdennis mkte] And it makes more sense when reading it.
| + 114340 [zdennis mkte] I agree.
| | 114352 [rff_rff remo] the former, sorry for being unclear :(
| + 114364 [Ara.T.Howard] programming using the 'offset, length' paradigm lead to much more elegant code
+ 114339 [Ara.T.Howard] what comes to mind for me is the english meaning of continued, not finished,
+ 114342 [agorilla gma] Yep, at first glance I read the dots as "up to" and "up to including".
| 114345 [zdennis mkte] I agree that for now and the recent upcoming releases we leave it alone,
+ 114391 [mmirra liber] Whose mind?
| + 114394 [agorilla gma] On 1st pass, with little prior knowledge to influence it (my perl was
| + 114400 [zdennis mkte] Obviously the email is going to be based on a bias by the OP...me. The
|   114455 [markus reali] By the same logic you could argue (as some did, years ago) that the
+ 114488 [mlgaunnac ho] 0..5  inclusive
  114490 [transami run] Ha!
  114508 [markus reali] Thank you!  In my free time (ha!) I'm working on a patch to 1.8.2