108055-108481

107877-108870 subjects 108190-110168

^ Will Ruby 1.8.2 include tcl/tk 8.4.x instead of 8.3?
108055 [nospam asdlk] Will Ruby 1.8.2 release come with tcl/tk 8.4.7 libraries?
108061 [nagai ai.kyu] Is that a binary package of Ruby 1.8.2 ?

^ Macros in Ruby
108059 [ gm navel.gr] one of the features of the LISP family of languages that is missing from
+ 108080 [jim freeze.o] I've heard Matz say that Ruby will not support macros.
| + 108086 [ gm navel.gr] I 've heard that, but macros ARE usefull. Take a look
| + 108093 [batsman.geo ] I've sometimes found myself wanting macros for things that *cannot* be
| | 108098 [ptkwt aracne] Can you give some examples?
| + 108095 [ptkwt aracne] True, Matz has said that.  But if we can do something Macro-like with a
| + 108099 [mailinglists] And i hope that he never changes his opinion at this topic.
|   108113 [jesjones min] Banning a feature because it can be misused is a pretty weak rationale.
|   + 108114 [dblack wobbl] I think it's more a question of a judgement being made (by Matz) that
|   + 108117 [mailinglists] Banning an often misused features because it does not fit in the style of a
|   + 108119 [gsinclair so] That itself is a weak argument.  Elsewhere in the thread it was
|   | 108247 [jesjones min] Yes, that was asserted and one example was offered to support it. It
|   | 108254 [vjoel PATH.B] What are some of the differences? I've been away from lisp for a while....
|   | + 108300 [bob.news gmx] Just some minor remark...
|   | + 108301 [jesjones min] Between Ruby and Lisp? To tell the truth I'm not entirely sure. The
|   |   108308 [gsinclair so] Lisp lambda functions *do* do everything that Ruby blocks do.  But
|   |   108331 [jesjones min] Well, what are the differences between blocks and proc objects? As far
|   |   108337 [gsinclair so] Which do you prefer?
|   |   108355 [jesjones min] I prefer a light-weight syntax for something as commonly used as
|   |   + 108358 [jim weirichh] It doesn't.  You could drop the implicitly passed blocks and always deal
|   |   | + 108367 [kristof vlee] That's possible, but not in a block passing way (if that is
|   |   | + 108381 [halostatue g] When I ported Diff::LCS, the Perl Algorithm::Diff version from which I
|   |   + 108366 [kristof vlee] shouldn't that be '(1..10).map( &lambda { |n| n ** 2 } )'?
|   |   | + 108369 [bob.news gmx] "Kristof Bastiaensen" <kristof@vleeuwen.org> schrieb im Newsbeitrag
|   |   | | + 108373 [batsman.geo ] => nil
|   |   | | | 108375 [bob.news gmx] "Mauricio FernŠŌdez" <batsman.geo@yahoo.com> schrieb im Newsbeitrag
|   |   | | + 108374 [kristof vlee] Oh, it seems I was wrong (after looking it up with ri).
|   |   | |   108376 [k v2studio.c] and is there any difference between lambda {...} and proc {...} ?
|   |   | |   + 108377 [kristof vlee] Well, according to ri they are the same method, and a short
|   |   | |   + 108378 [dblack wobbl] They're synonyms, but proc is being phased out, because it looks too
|   |   | + 108390 [gsinclair so] No.  Jesse expressed a distaste for implicitly passed arguments (i.e.
|   |   |   108426 [jesjones min] No, my argument was that having lambda + Proc + method + block seemed
|   |   + 108382 [pbrannan atd] Remember how the lambda method works: it takes a block parameter and
|   |     108385 [ahoward noaa] lambda{ puts 'lambda' } => Proc:0xb74041a0
|   |     + 108392 [gsinclair so] If you must have a shortcut, I think 'L' makes more sense.
|   |     | + 108396 [ruby-talk pc] Or
|   |     | + 108398 [ahoward noaa] ~ > cat a.rb
|   |     |   + 108401 [mneumann nte] how about "fn" or "fun"? Only one character longer than "&" and IMO
|   |     |   | + 108404 [cmills frees] module Kernel
|   |     |   | + 108409 [ruby-talk pc] And only two or one characters shorter than "proc",
|   |     |   | + 108412 [rcoder gmail] alias fn proc
|   |     |   + 108407 [halostatue g] def long_db_update(arg, callback = nil)
|   |     |     108410 [ahoward noaa] ducktype madness!  ;-)
|   |     + 108399 [hal9000 hype] I've been in favor of this since the last rubyconf when I
|   |       108413 [dblack wobbl] Creeping punctuationism.... :-)
|   |       108415 [hal9000 hype] Smile when you say that. Oh, I guess you did.
|   |       108417 [dblack wobbl] I admit I'd opt for inconsistency over further punctuation in this
|   |       + 108424 [hal9000 hype] I can't put my finger on it either, but I see your point. And that is
|   |       | 108432 [ahoward noaa] it's no stranger than this to me
|   |       | 108481 [dblack wobbl] (So your keyboard *does* have parens! :-)
|   |       + 108427 [pbrannan atd] The way I see it, & and unary * (and possibly in the future unary **)
|   + 108120 [jamesUNDERBA] I tend to agree on this, preferring an enabling language to a B&D
|     + 108128 [dblack wobbl] My ignorance of Lisp macros is almost complete.  Mainly I was going by
|     | 108133 [phubuh phubu] Lisp does allow you to completely redefine the syntax, but through
|     + 108136 [ptkwt aracne] Agreed.
|       + 108149 [jamesUNDERBA] Oh, nice move.  Associating Lisp-style macros with static typing.
|       | 108156 [ptkwt aracne] Ohhh no!! Another 7 years! ;-)
|       + 108249 [jesjones min] This seems hard to do well. A good macro system really needs to be
|         108260 [ptkwt aracne] Read my later post.  I was only using that debate as an example...
+ 108084 [vjoel PATH.B] What you have defined are more like C macros, rather than LISP macros,
| + 108087 [ gm navel.gr] You are of course right. But you can do still usefull things. And I
| | 108158 [bob.news gmx] "George Moschovitis" <gm@navel.gr> schrieb im Newsbeitrag
| + 108088 [jamesUNDERBA] Would Ruby macros, in the Lisp sense, have to manipulate the AST?
|   + 108089 [rcoder gmail] manipulated as a simple tree of cons cells; Ruby code, even if a
|   | 108096 [ptkwt aracne] ....and code translators, and lots of other cool things.
|   | 108116 [DocBoobenste] I'll add partial evaluation and refactoring to the list. This _would_
|   + 108111 [dblack wobbl] I'm answering from not very much knowledge of Lisp, and I know the
|   + 108143 [matz ruby-la] * Lisp does not have syntax.  They only have meta syntax
|     + 108170 [surrender_it] is this really a problem?
|     + 108245 [jesjones min] I don't buy this argument at all. It's not like good Ruby programmers
|       + 108250 [vjoel PATH.B] It's not really that hard to do something like this in ruby, but it is a
|       | 108299 [dennis.ranke] Or you could even do it like this, which looks (to me) even nicer than the
|       + 108251 [bg-rubytalk ] I'm sorry to say it, but I think you just proved Matz' point there.  I
|       | + 108270 [pbrannan atd] This looks more like logging than debugging.  C macros typically make
|       | + 108295 [jesjones min] It's not Ruby. It's a little domain specific language (DSL) tailored to
|       |   108317 [steven.jenki] I don't have an opinion on macros per se, but DSLs are (in my opinion) a
|       |   108332 [jesjones min] Which is *exactly* what Dylan macros do. When you define a new Dylan
|       + 108278 [jim weirichh] I spent about 10 minutes coding this in Ruby (and it turned out to be
|       | 108296 [jesjones min] Joel's solution was very cool. Certainly a lot better than any
|       + 108283 [halostatue g] case hit_roll
|         108298 [jesjones min] 1) It's much easier to glance at numbers like 0.75 and 0.20 and figure
|         + 108310 [halostatue g] Hmm. I disagree. I mean, it's better to deal with code like Joel's (or
|         + 108333 [eyez illuzio] I don't think you're right on this point. In the case that was
|           + 108336 [ysantoso-rub] Actually, the example Jesse gave was probably bad. A macro, like any
|           | + 108364 [bob.news gmx] "Yohanes Santoso" <ysantoso-rubytalk@dessyku.is-a-geek.org> schrieb im
|           | + 108368 [surrender_it] not that much, did you see the MetaTags system or the various
|           | | 108370 [ysantoso-rub] class_info <<-DOC
|           | + 108371 [dblack wobbl] You can already do that, if you don't mind a warning with -w :-)  But
|           | | 108372 [ysantoso-rub] docstring(:foo) #=> "This method will return <code>arg</code>"
|           | + 108379 [surrender_it] [nickel@UltimaThule nickel]$ irb --simple-prompt
|           + 108356 [jesjones min] The macro is called percent-case for a reason. "0.75 case" means that
+ 108094 [ptkwt aracne] <code snipped>
+ 108097 [ptkwt aracne] Another comment: maybe instead of redefining 'require' you should just
| 108163 [ gm navel.gr] thanks for your comments. I 'll work on the code a bit and post a new
+ 108400 [sean celsoft] I have to say that, for me, Ruby procs work just fine in place of macros,
  108402 [batsman.geo ] In this particular case, it can be solved with

^ Re: [OT] microphone (was [ANN] Rails 0.5.5: Windows, WEBrick, lots!)
108060 [robertm spel] Just to say I would be interested to know what the microphone is.
108062 [david loudth] Sorry to forget about this thred. I got a Sony ECM-MS907. It's not

^ OpenVMS support?
108067 [johan.nilsso] just a quick question: has anyone ever attempted/succeeded to get Ruby
108144 [matz ruby-la] AKIYOSHI Masamichi from HP is working on VMS port.  If you have
108294 [johan.nilsso] Thanks, I'll do that.

^ vim syntax files
108068 [graham rockc] See below for gory details from vim --version.
108078 [WBrown isoft] Graham,
+ 108081 [hans fugal.n] Put that in ~/.vim/ftplugin and make sure you have "filetype plugin on"
+ 108115 [gsinclair so] Download a tarball from [1] and install it.  Matchit functionality

^ convention for deep classes/modules
108070 [lists zara.6] module Foo
+ 108074 [hal9000 hype] This is possible now but wasn't always. So it may be that older code
+ 108075 [dblack wobbl] module A
  108151 [nick activeh] What is the reason they are not interchangeable?

^ ruby-LDAP and password change?
108071 [rasputnik he] Just a quickie - anyone have a snippet to update a userPassword?
108160 [roberto REMO] e_password = "{SHA}" + encode64(Digest::SHA1.new(password).digest).chomp

^ [Q] Rubygems
108079 [npoly_iki ya] I am trying to install packages through rubygems
108083 [chad chadfow] # Hello everybody
108135 [assaph avaya] Or just copy over the open-uri.rb and net/*.rb from the latest snapshot
+ 108140 [chad chadfow] Good thinking :)
+ 108192 [npoly_iki ya] Worked like a charm. Thanks!

^ Re: Will Ruby 1.8.2 include tcl/tk 8.4.x instead of 8.3? RubyInstaller?
108082 [nospam asdlk] Correct.  I saw that tcl/tck 8.3 binaries are included when I install

^ OT: Quanta Plus (was Re: Favorite Ruby Editors (or IDE)
108085 [Tim.Hunter s] I'll second this. Quanta Plus (part of KDE) is a wonderful HTML
108112 [mortonda dgr] Toolbar macros? that's nifty.  :)
108152 [carl.youngbl] It looks like Quanta Plus costs money.  Is this true?
108155 [mailinglists] Quanta Plus is GPL.

^ Why does Ruby use both tcl83.dll and tk83.dll (instead of just tk83.dll)?
108091 [nospam asdlk] Why does Ruby (on windows) use both tcl83.dll and tk83.dll (instead of
108100 [mghallNO SPA] Absolutely.  Tk operations and events are scripted in Tcl.
108147 [nospam asdlk] Seems that perl-tk somehow removed the Tcl part of Tk.
108157 [nagai ai.kyu] That is a 'ptk' library. It's similar but NOT same as a 'Tk'
108213 [nospam asdlk] I see!  Thanks for explaining.  The BWidgets look really nice so I'm

^ Request for two methods in Array class
108101 [mghallNO SPA] 1. A new method, Array.combine  (needs a better name for general use).
+ 108102 [sean celsoft] c = a.weave(b)
+ 108103 [mneumann nte] a.zip(b).map {|x,y| x*y}
| 108108 [ahoward noaa] but one less object creation
| + 108138 [cmills frees] Seems like a good idea.  After reading the chapter of Meyers book
| | 108141 [cmills frees] still seems useful to me though
| + 108159 [bob.news gmx] "Ara.T.Howard" <ahoward@noaa.gov> schrieb im Newsbeitrag
+ 108150 [matz ruby-la] Sounds nice.  But I'm not sure "combine" is a proper name for the
| + 108154 [k v2studio.c] I don't think we need another method for this. This sounds like the
| + 108161 [bob.news gmx] "Yukihiro Matsumoto" <matz@ruby-lang.org> schrieb im Newsbeitrag
| + 108166 [mneumann nte] combine sounds nice to me. it "combinates" two or more arrays (or
| | 108204 [DocBoobenste] How about (snipped from Sean's e-mail earlier)
| + 108168 [christoph.ne] I'm using Ruby 1.6.8.
| + 108174 [martindemell] Any number, I'd say
| + 108182 [dblack wobbl] I know I'm being the voice of possibly excessive conservatism
|   + 108183 [gsinclair so] That's good thinking.  The most compelling examples so far have been
|   | + 108186 [dblack wobbl] The problem with having zip do auto-mapping is that you lose the
|   | + 108198 [kristof vlee] Why not?  I find the idea of Caio Chassot very interesting.
|   + 108206 [DocBoobenste] That's a strong point. Elaborating a bit more on that, perhaps what is
|     + 108210 [ahoward noaa] generic iterator functionality will give something close to this - using the
|     + 108224 [kristof vlee] That's possible using the enumerator module.
+ 108169 [k v2studio.c] Following on my suggestion that combine is just an extension of map, how
+ 108179 [tunah.usenet] How much of a performance problem would it be to have zip, if given a

^ Ruby's future
108105 [khowe perfne] I've been contemplating using Ruby for an upcoming large project, but became
+ 108106 [david loudth] The next major version is years ahead. And even when it does arrive, so
+ 108107 [mailinglists] Rite is not Ruby 2.0
| + 108110 [dblack wobbl] The position Matz expressed at RubyConf last year was that 2.0
| + 108122 [ptkwt aracne] But doesn't Ruby 2.0 contain Rite?
|   + 108132 [gsinclair so] Rather confusingly, there will (apparently) be a 1.9 stable release.
|   + 108145 [matz ruby-la] Ruby2 is a name for the language specification (if I may call it
+ 108109 [ptkwt aracne] First off, Ruby 2.0 is a long ways off so there should be plenty of time
+ 108162 [bob.news gmx] "Kevin Howe" <khowe@perfnet.ca> schrieb im Newsbeitrag

^ who develops ri?
108118 [kristof vlee] I would like to know who maintains currently ri
108125 [dave pragpro] Me!
108130 [kristof vlee] Ok, thanks.  That's good news.  I'll just need to find out what happened
+ 108146 [dave pragpro] Thank you.
+ 108171 [jan.sabbe st] You can order it at www.proxis.be. Het Computerwinkeltje has some ruby
  + 108172 [laurent.sans] The only Ruby book that I could find here in Belgium was the French
  | 108175 [Ruben.Vandeg] I've seen a Ruby book here in the FNAC in Leuven too (an English one),
  | 108185 [Richard_Dale] It's great to hear about all this ruby enthusiasm in Belgium. I went to the
  | 108195 [jan.sabbe st] Yeah, the ruby tutorial at Fosdem was very cool. It sparked my interest
  + 108180 [dblack wobbl] Keep in mind, though, that a new edition of the Pickaxe book is due

^ ruby-talk vs. ruby-curse (was Re: Favorite Ruby Editors (or IDE))
108123 [carl.youngbl] I thought that ruby-talk was one of the few places where I could avoid
108137 [alex verk.in] +1

^ KDevelop, WideStudio, IDE interfacing
108124 [drossruby ya] 1) How to get your Kdevelop to look "pretty" and

^ performance stats of String#scan, strscan and a homemade approach
108127 [neoneye adsl] because I recently have messed around with a ruby syntax colorer,
108164 [mneumann nte] There's no advantage in your case when using strscan. Try to store the

^ [BUG?] NoMethodError in REXML::Xpath.match in Ruby 1.9
108153 [alex verk.in] I have a problem matching a single-tag XML to paths like '/something',
108219 [ser germane-] That's your problem.  Actually, it is my problem; REXML shouldn't allow
108240 [alex verk.in] Oops... next time I'll try to RTFM more :(

^ GzipReader problem
108167 [jbshaldane h] Shouldn't Zlib::GzipReader#read return "" when you try to read 0 bytes?
108207 [akr m17n.org] I think it should be too.
108234 [jbshaldane h] Thank you for the fix.
108269 [akr m17n.org] As reading marshal.c, it seems that read(0) is called with an empty
108276 [jbshaldane h] Yes, I had come to the same conclusion myself.  They are empty strings.

^ Stable snapshot ?
108173 [Meino.Cramer] While trying to retrieve the stable snapshot of Ruby I get a

^ Ruby 2 parser/compiler
108176 [isambart net] I was wondering if the Ruby 2 parser/compiler will be written in Ruby.
+ 108271 [matz ruby-la] It is possible.  But I am not going to do so.  Some other guys have
+ 108306 [george.marro] ByteCodeRuby [1] partially uses this approach. The parser is Ruby

^ New RCR: add Thread.atomic()
108177 [bob.news gmx] Feel free to comment and vote.
108178 [decoux moulo] gsub!(/critical =/, 'self.\&')
108181 [bob.news gmx] "ts" <decoux@moulon.inra.fr> schrieb im Newsbeitrag

^ Net::SSH & Proxies
108184 [robertm spel] Jamis,
108209 [jochen.i gmx] I'd also love to see Net::SSH working through a HTTPS-Proxy!
108281 [jgb3 email.b] Patches are always welcome. :)
108318 [jochen.i gmx] I currently posted a little patch on the net-ssh-devel mailing list that

^ soap4r via https (ssl)
108187 [csshsh struc] does soap4r also work via https? is it tested and works well?
+ 108193 [drossruby ya] SOAP4R should work over HTTPS via ssl capable http
+ 108292 [nakahiro gma] Yes and yes, I hope.

^ [ANN] RubyConf presentation schedule now available
108188 [dblack wobbl] Dear Rubyists,

^ [ANN] Ruby Central, Inc. gains tax-exempt status
108189 [dblack wobbl] Dear Rubyists,
+ 108191 [dblack wobbl] David A. Black
| + 108264 [djberg96 hot] This is great!  Now, where's the PayPal link? :)
| | 108267 [dblack wobbl] <acct@rubycentral.org>.  We're trying to get our organizational ducks
| + 108265 [djberg96 hot] This is great!  Now, where's the PayPal link? :)
+ 108199 [lyle.johnson] Congratulations and thanks, David. I know that you and others have
+ 108277 [jamesUNDERBA] Well, that was quick.
threads.html
top