43147-43642

42931-43307 subjects 43313-46070

Ruby on Mac OS X
43147 [tobiasreif@p] I heard that Apple will ship Mac OS X Jaguar with Ruby.
+ 43155 [ jimm@io co ] The one thing I can't get working is eRuby. mod_ruby works fine, but as I
+ 43193 [gehlker@fa t] I heard that it was going to be in the server version. This is the first
  + 43201 [gehlker@fa t] I have an update on that. A small bird, flying eastward from Cupertino, is
  | 43204 [tobiasreif@p] Awesome!
  + 43228 [tobiasreif@p] I don't know about what's avilable. I just thought that since on
    43230 [gehlker@fa t] I think that's just Fujimoto being conservative. Maybe I'll discover a flaw
    43233 [tobiasreif@p] I'm sure Apple would appreciate it if you would share your views,

searchable function reference
43148 [beyerlin@ma ] hy rubys,
43149 [ahumphr@ZA g] www.pragmaticprogrammer.com/ruby/downloads/ri.html

rubicon
43150 [ruby-lists@w] ./rubicon_tests.rb:374:in `require': ./builtin/TestIO.rb:980: parse error (SyntaxError)
43152 [nobu.nokada@] * parse.y (yylex): obsolete '?<whitespace>'; use '?\s', '?\n',
43162 [ruby-lists@w] Ok.

Transparent asynchronous execution
43151 [corion@in or] I've read some interesting parts of the E language description
+ 43154 [kjana@dm la ] You can use method_missing hack for this.  May be you interested in my
+ 43158 [ned@bi e- om] foo = Promise(1,2,3) { |a,b,c|

Negation of regular expression
43156 [y_saito@mx 0] If any regular expression r is given,
+ 43159 [ned@bi e- om] @bar.reject { |ea| ea ~ /foo/ }
| 43164 [y_saito@mx 0] Thank you for your answer.
| 43165 [ned@bi e- om] class A
| 43166 [y_saito@mx 0] Thanks again.
+ 43168 [alwagner@tc ] irb(main):043:0> x = 'abcd'

Gnome & GTK+ 2.x out;  Is anyone working on a binding?
43160 [alwagner@tc ] Just curious if anyone is working on a binding for Gnome/GTK+ 2.x.  I see a
43173 [mutoh@hi hw ] I am. Though the project is just started.
43190 [alwagner@tc ] That's great Masao.  I'll be watching for it.

Burger, the Ruby blogging software
43161 [urban@oo s. ] ...
+ 43169 [pate@ey er a] Your friend may want to look at PageTemplate to handle the templating.  It
+ 43182 [martine@cs w] If anyone else is interested in "blogging", I've written a Ruby module
  + 43184 [james@ru yx ] And I've written some classes to work with Cherry Blosxom, making it dead
  + 43189 [alwagner@tc ] So, what is "blogging"?
    43192 [martine@cs w] ;)
    43642 [alwagner@tc ] Evan, you should be reported to the DEA.  This stuff is addictive.

`*' spanning multiple words in rdoc
43167 [list@NO PA c] Is there a way for `*' in rdoc to surround multiple words instead of
43170 [Dave@Pr gm t] That seemed to be problematic, as it seemed likely that you could

i18n (was Re: Andy Roonie)
43171 [bjsp123@ya o] or
43262 [matz@ru y- a] <snip features he wants>

Ruby in the Rainforest
43172 [pate@ey er a] We're at just over 3 weeks until Ruby in the Rainforest, so I should

eruby SAFE question
43174 [ docx@io co ] I'm trying to implement a replacement for the standard apache file listings
43175 [sean@ch tt n] While it may seem frustrating, this is the correct, predictable, and
43176 [tobiasreif@p] I can't find any DocBook files.
43179 [sean@ch tt n] There are actually a great number of files that make that up.  I
43244 [tobiasreif@p] Which is great in the eyes of many :)
43248 [Dave@Pr gm t] And if you use the OPL, I strongly suggest exercising options 1 and 2,

Ruby on Windows (was: help (ruby-talk ML))
43177 [tobiasreif@p] All this brainstorming and coordinating of efforts feels like a breeze

rubydoc and other documentation contributions....
43178 [sean@ch tt n] Howdy.  I've put together a docbook project that will houses all of my
43191 [sean@ru y- a] Or for those who just want to dabble on their own, anonymous CVS

ArgumentError points to wrong line
43181 [kero@a2 07 .] Run the attached Ruby file.
+ 43195 [patrick-may@] I think ArgumentError will point to the beginning of a method call if
+ 43238 [nobu.nokada@] Try this patch.

xmlrpc problems
43188 [jonas.b@ho e] <newbie-alert/>
43198 [uu9r@rz un -] Your xmlrpc server must support introspection.
43200 [caelumse@ya ] Thanks for your answer! Now I got it to work. But I have another
43202 [uu9r@rz un -] Hmm, how does the result using a hash look like?
43203 [caelumse@ya ] When I printed the returned variable in the client I got something
43209 [uu9r@rz un -] If you're using "print variable", try "p variable" or "print variable.inspect"
43219 [caelumse@ya ] Ahh, thanks!

TkCanvas TkcPolygon state disability
43196 [phlip_cpp@ya] #!/usr/bin/env ruby

protocol.rb error
43205 [tobiasreif@p] I got
43206 [ned@bi e- om] And should be "raise unless ignore". But I'm wondering which version
+ 43208 [decoux@mo lo] Probably 1.6.4
+ 43210 [tobiasreif@p] But in 1.6.7 it was correct, was it?
  43211 [decoux@mo lo] pigeon% cat -n ruby-1.6.7/lib/net/protocol.rb
  43215 [tobiasreif@p] Thanks Guy and Ned; yes I had 1.6.4, and now have 1.6.7.

Getting a full backtrace from Thread#join?
43207 [mattbee@so p] def countdown(n)
43239 [mattbee@so p] Has anyone got a better solution than overriding Thread and using this kind

htmltools and (un)escaped entities
43213 [list@NO PA c] require 'html/stparser'
43214 [ned@bi e- om] require 'html/stparser'

select loop question
43216 [joe@vp p. et] I've got a question on using a select loop.  Here is the basic way I
43225 [r2d2@ac .u u] Just do
43235 [joe@vp p. et] 1.upto(1000) do
43237 [r2d2@ac .u u] If you do many deletes, it is slow. It has to search the array for
43241 [joe@vp p. et] This is 4 times as fast as arr.delete(obj) on a 500 element array, it

Re: ruby using tk menues
43217 [w3gat@be ls ] I've been unable how to figure out using a menu with tk.  Nothing I tried
43222 [vjoel@PA H. ] ...

project help needed
43220 [tspivey8@te ] is anyone interested in helping me with a ruby mud client?
43229 [dossy@pa op ] Tyler,
43236 [tspivey8@te ] basicly the mud client would be totally scriptable from ruby. that would add so much more power - similar to lyntin etc.
+ 43285 [mark.firesto] I'm interested in writing a MUD into my telnet Ruby BBS program.... Hmmm.
+ 43286 [dossy@pa op ] Lyntin appears to be a port of tintin++ from C to Python.  That's

Re: Ruby on Mac OS X + website
43221 [ccos@bi po d] agreed!!
+ 43223 [gehlker@fa t] Why not do both. We can  still submit feedback at
+ 43224 [drosih@rp .e] The people who have authorized access to those pre-release builds
| 43227 [tobiasreif@p] No.
+ 43243 [tobiasreif@p] You could submit your suggestions on
  43259 [ccos@bi po d] ...
  43260 [ccos@bi po d] ...

downtime
43226 [matju@sy pa ] dear jMax and/or Ruby users,

Building with Borland or Digital Mars tools?
43231 [adamss@as in] Has anyone built Ruby for Win32 using the Borland command-line tools, or the
43240 [nobu.nokada@] Ruby 1.7 includes bcc support already.  I don't know about

[ANN] Ruby-GetText-Package-0.3.0 is out!
43232 [mutoh@hi hw ] I released Ruby-GetText-Package-0.3.0.

[ANN] Ruby-GNOME 0.29 is out!
43234 [mutoh@hi hw ] Ruby-GNOME 0.29, Ruby-GTK 0.29 is now available!

method objects?
43242 [tspivey8@te ] a=[func1,func2,func3]
+ 43245 [szegedy@t- n] def a
| 43254 [vjoel@PA H. ] func1 = proc { puts "do something" }
| 43256 [boognish23@y] or
+ 43246 [nobu.nokada@] a = [method(:func1), method(:func2), method(:func3)]
| 43247 [guaracybm@ig] with an array of strings
+ 43264 [dsafari@xt a] If those 3 methods are to be executed in order, then they sound pretty related

documentation licenses (was: eruby SAFE question)
43249 [tobiasreif@p] Boy, I had to close my mouth after long seconds; *loss of copyright*?
+ 43250 [Dave@Pr gm t] I don't know if there is a way to prevent it, What happened is that
| + 43251 [tobiasreif@p] This most definitely is highly illegal, from what I know.
| | + 43272 [pit@ca it in] Which I'm doing actually until this dispute has been settled. I think
| | + 43314 [huber@al m. ] No, they would not.  Only the copyright holder (at least in the US)
| |   43356 [tobiasreif@p] I found out that they say they would.
| |   + 43369 [tobiasreif@p] Mr. Katins,
| |   + 43397 [huber@al m. ] Well, yes.  Of course they would help.  I'm sure no one thought the
| + 43255 [james@ru yx ] Copyright des englischen Originals ? 2000 Addison Wesley Longman, Inc.
|   43270 [juergen.kati] Thank you for your appreciation of my work. I have spent a lot of
|   + 43273 [tobiasreif@p] Just as Dave and Andi worked hard on the original book.
|   + 43275 [tobiasreif@p] Juergen Katins,
|   | 43280 [juergen.kati] A translator doesn't take any copyrights.
|   | + 43281 [tobiasreif@p] I'm not sure about all this, and IANAL.
|   | + 43282 [dblack@ca dl] But the OPL *does* restrict you.  It says that unmodified AND MODIFIED
|   |   + 43371 [list@NO PA c] Oh no, why did you have to say that?  I was kind of enjoying the
|   |   + 43381 [james@ru yx ] If a modified work is restricted by the terms of the OPL, I don't see how
|   |     43383 [dblack@ca dl] I certainly think so.  My view of the Katins translation is that it
|   |     + 43394 [juergen.kati] I will no more argue about any copyright or license problems.
|   |     | 43419 [tobiasreif@p] Mr. Katins,
|   |     | 43444 [juergen.kati] There are always some bean counters, pettifoggers, and quibblers worrying
|   |     | 43447 [tobiasreif@p] This is a severe failing and omission, resulting in an illegal breach of
|   |     | 43455 [chr_news@gm ] A come on. The huge amount of work he must have put into this
|   |     | 43461 [gabriel@si s] Very interesting thread, this one!
|   |     + 43401 [tpeters@un -] Juergen is of course right insofar that the act of translation generates a
|   |       43413 [austin@ha os] Copyleft actually doesn't matter, here. A translation is a
|   |       43463 [tpeters@un -] Of course you're right. Only the copyright holder can change the license.
|   + 43277 [dblack@ca dl] That has nothing to do with my point, which was that the OPL
|   + 43283 [list@NO PA c] It's not given away: it's shared with those who accept a certain set
+ 43257 [dblack@ca dl] I'm not sure this would have impressed Mr. Katins, who does not seem

Rite
43252 [tobiasreif@p] why will Rite feature compilation?
43261 [matz@ru y- a] I think you mean compilation to bytecode.  It's mostly because of
+ 43265 [tobiasreif@p] Ah OK.
| 43287 [djberge@qw s] Yes, and yes.  Also, don't forget "ease of distribution".  I'd rather slap a
| 43293 [elanthis@aw ] Um, you'd still have to install the byte-code interpreter and any
| 43370 [justinj@mo i] Java compiles to bytecodes and is then potentially subject to JIT.
+ 43361 [joerg@gm .n ] How will it be done?
  43364 [matz@ru y- a] In the future, I plan to allow installing your own script preprocessor

[ANN]RDE0.9.6.1 released
43253 [QZS01353@ni ] RDE0.9.6.1 released.

Re: Ruby on Mac OS X + SWIKI
43258 [ccos@bi po d] ...

Mail-related libraries...
43263 [austin@ha os] I have a pair of scripts that I need to write soon, and I would
43284 [Dave@Pr gm t] require "net/pop"

functions need declaring before use
43266 [lists@de on ] I've noticed that functions require that they be declared before they can
+ 43267 [r2d2@ac .u u] This is not likely to change. Ruby processes the file from beginning
| 43271 [pit@ca it in] ,----[ script ]
| 43296 [lists@de on ] Thanks for these suggestions guys. Niklas, your explanation makes a lot of
+ 43268 [ruby-talk@je] Is this what you mean?

ruby-dev summary 17541-17608
43276 [aamine@mx ed] This is a summary of ruby-dev ML in these days.

using string with different encodings
43288 [nagypalg@fr ] I have wondered which is the best way in Ruby to deal with strings in

ruby vs. perl
43289 [ccos@bi po d] i'm not a perl user.
43290 [djberge@qw s] Ruby has a slightly slower startup time, but actual execution speed is about
43294 [Mark.Volkman] ...
+ 43295 [mark.firesto] ...
+ 43297 [pbrannan@at ] Ruby is also faster than Perl on at least one of the tests.  If you go
  43305 [vjoel@PA H. ] Ruby's advantage here is that the C interface is very nice. From what
  43345 [ptkwt@sh ll ] Joel,
  43396 [vjoel@PA H. ] Phil,

convert bytes of numerics to character arrays
43291 [bsl04@co p. ] In C, I might memcpy an int or short into an array of characters.  Is

convert bytes of numerics to character arrays
43292 [bsl04@co p. ] In C, I might memcpy an int or short into an array of characters.  Is
43298 [r2d2@ac .u u] Look at the #pack and #unpack functions.

Ruby implementation Q's
43299 [justinj@mo i] I'm currently in the process of developing a Ruby implementation
+ 43300 [nat.pryce@b1] I have heard this mentioned a lot and never understood these comments. Can
| 43365 [justinj@mo i] Imagine that there is a class that manages bitmaps, sounds or other
| 43386 [pbrannan@at ] Deleting an object from behind someone's back would be bad.  There's
+ 43301 [matz@ru y- a] <snip wonderful differences, except no.5>
| + 43303 [pbrannan@at ] Also note that this isn't exception-safe, since a doesn't get closed if
| | 43368 [justinj@mo i] I'm suggesting that being able to remove a variable (and have it
| | 43376 [peter@se an ] Presently an object persists until all links to it are removed. If you
| | 43456 [justinj@mo i] Ok, imagine I have a class that represents bitmap resources, 3d geometric
| | + 43474 [peter@se an ] How about a class with the following interface.
| | | + 43476 [pbrannan@at ] What happens of dosomethingwiththedata() raises an exception?
| | | | 43477 [peter@se an ] Good question.
| | | | 43481 [pbrannan@at ] This works well from inside Ruby and from C (using rb_yield()), but it
| | | + 43480 [justinj@mo i] Yes, this is the explicit case.  It's kind of how you'd do it in a language
| | + 43489 [dan@si he or] I've had to deal with this particular problem while designing Parrot.
| |   43497 [justinj@mo i] It's not guaranteed deterministic destruction because of the cyclic
| |   43502 [dan@si he or] Yep. Circular references are a big downside to refcounting, though as
| + 43367 [justinj@mo i] How easy is it to convert from C++ to C? ;-)
|   43403 [matz@ru y- a] It depends on how much you "abuse" C++.
|   43458 [justinj@mo i] Of course. In Rubys usual environment I don't think it would be a
|   + 43479 [nobu.nokada@] No method called for a variable, for an object referred by 'a'.
|   | 43485 [justinj@mo i] Sorry, I didn't describe it so well.  I meant that the equivilent of
|   | 43523 [nobu.nokada@] It's not only impossible to conservative GC, also too
|   + 43482 [matz@ru y- a] I agree it is interesting.  But you will not see it in (my) Ruby in
|     43493 [justinj@mo i] I'm not suggesting it as a request for the current Ruby.  I mention the idea
|     + 43494 [djberge@qw s] Well, how do other languages implement GC?  Which language, in your opinion,
|     | 43503 [justinj@mo i] opinion,
|     | 43507 [dan@si he or] This isn't true for perl. Perl uses a pure refcount scheme, with a
|     + 43500 [dan@si he or] ...lots and lots of people would want to be your friend. :) It's a
+ 43417 [basile@st ry] Then you might consider using the garbage collector in Qish, see
+ 43609 [transami@tr ] i know next to nothing about GC's, yet i wonder: when is it, in ones
  43625 [justinj@mo i] The issue of scope is different for Ruby than for a language like C/C++
  43639 [ned@bi e- om] Not just because of cyclic references.

Ruby Weekly News
43302 [Dave@Pr gm t] Ruby Weekly News: 07/01/2002

Problem with Solaris extension for 'ps'
43308 [djberge@qw s] Ruby 1.6.7 on Solaris 8.
43312 [nobu.nokada@] You don't store the defined Struct.
43316 [djberge@qw s] create

Happy July Birthdays
43309 [james@ru yx ] It's July; the birthstone for this month is the Ruby.
+ 43310 [dblack@ca dl] Happy birthday(s), from the lowly Amethyst :-)
+ 43311 [jan@ve me r.] Ruby, the birthstone of this month? Never heard about that, but anyway...
| 43329 [charlesb@su ] Happy birthday....
| 43331 [chris@da kr ] You have all got it lightly, atleast you aren't an April fool like
| + 43341 [vmreyes@us i] Great!
| + 43347 [matz@ru y- a] Cheer up.  The birthstone for April is diamond, the king of jewels.
|   43362 [chris@da kr ] I also hear that people born in April are also highly intelligent,
+ 43319 [ndrsbngtssn@] Hey! Greetings everyone! ^_^
+ 43321 [jim@fr ez .o] I never paid much attention to birthstones until several
threads.html
top