26141-27839 subjects 26539-27442
Ruby GC Determinism [Was: KDE or GNOME curiosity question...]
26284 [phlip_cpp@ya] I haven't gotten this far in Ruby, but I understand that in Python
+ 26288 [Dave@Pr gm t] So refactor to decouple it
| 26338 [ser@ge ma e-] This is really cool, Dave. I'm still getting used to blocks, and what you
| 26344 [Dave@Pr gm t] In a context like this, where you're using blocks to guard resources,
| 26366 [phlip_cpp@ya] In the light of exception safety, the above must be said the other way
| + 26378 [billk@ct .c ] I HaveThisPattern (and the book :) but one thing that nags at me
| + 26476 [nat.pryce@b1] 'begin'?
+ 26289 [nat.pryce@b1] that
+ 26307 [billk@ct .c ] Perhaps I'm missing the point, but if the above is an example of
26341 [phlip_cpp@ya] Dave Thomas would appear to agree with me ... (;-) this is better not best.
Ruby and Mac OS X: stack level limit?
26291 [ rtan@vt ed ] I recently downloaded Ruby fot Mac OS X (following the link from Apple's
+ 26295 [ rtan@vt ed ] Hm, after mucking about in the code, I got around the problem by setting
+ 26314 [lucsky@ma .c] On my OSX 10.1.1, using ruby 1.7.2 fresh from the CVS repository, I can
The results are in...
26293 [Dave@pr gm t] I left the latest RubyGarden poll running for a while, just to see how
+ 26294 [guaracybm@ig] try it
| 26296 [Dave@Pr gm t] Thanks for the info. It looks like we're going with NSIS from NullSoft
| 26398 [ralph.mason@] One could perhaps argue that we already have a pretty good language to build
| 26413 [Dave@Pr gm t] Perhaps, and if someone has the time, it might be a worthwhile project
+ 26304 [ s@xs .d ] How would MSVC-less users compile additional stuff?
| 26311 [nat.pryce@b1] MSVC and Mingw are both source and binary compatible. So if Ruby is compiled
+ 26309 [tobiasreif@p] Will it still be very simple and easy to install? I see that as a major
| 26319 [Dave@Pr gm t] Absolutely - that's why we did the initial InstallShield one (neither
+ 26365 [alwagner@tc ] That's too bad.
| 26377 [feldt@ce ch ] Do you really think this will affect what you'll be able to do on
| 26389 [alwagner@tc ] There is more in the ruby.exe than ruby itself.
| 26391 [feldt@ce ch ] Which ruby.exe do you refer to? I'm still not with you...
| 26395 [alwagner@tc ] specifically, ruby165-0.exe
| 26397 [feldt@ce ch ] Ok, we're talking about two different things. I've been talking about
| + 26400 [mchahn@fa el] I think you accidently answered a question I posted earlier today. Am I too
| | + 26404 [feldt@ce ch ] I'd be amazed if it could!
| | | 26418 [mchahn@fa el] It's only software. <grin>
| | + 26412 [Dave@Pr gm t] It cannot load .dll's directly, although there is a technology that
| | | + 26420 [mchahn@fa el] If the goal is idiot-proof installation, then I'm not surprised at all. I
| | | + 26423 [alwagner@tc ] Were we on the honor system? Or was it not possible to vote more than once?
| | | + 26519 [bdelmee@ad a] Sigh...so am I. I may have missed posts, but I don't remember
| | | 26522 [Dave@Pr gm t] In fairness, people have been having problems (like the connect
| | | 26524 [tobiasreif@p] Oh yes :(
| | | 26550 [mikkel.bruun] Like running *nix??? ;-)
| | + 26472 [ralph.mason@] The only difference between a DLL and a SO file is then extension. (Well
| + 26425 [alwagner@tc ] Those are the after-the-vote options. The best option for myself is to leave
+ 26416 [mikkelj-anti] I didn't vote, so make that 120/269 :-)
libcurses-ruby documentation, is it exist?
26303 [bpdp@3w i. e] Is there somebody who can point me to the libcurses-ruby documentation ?
+ 26306 [ttate@kt ja ] I think there is no english documentation now.
| 26424 [bpdp@3w i. e] Do you know where I can find the list of some renamed functions?
| 26433 [ s@xs .d ] I don't know about renamed functions, but if you do
+ 26333 [j.travnik@sh] Don't forget to look at JTTui also. It have its own curses library.
26426 [bpdp@3w i. e] Thanks.
26437 [j.travnik@sh] Thanks.
Re: SVGUIs (was:Re: generating and serving SVG)
26308 [tobiasreif@p] do they use SVG?
26324 [neumann@s- i] No, I think this would be too slow.
26355 [tobiasreif@p] I don't ;)
Berkeley DB 1.85 bindings ...
26323 [kentda@st d.] I've looked at the 'bdb' package in the RAA
+ 26325 [decoux@mo lo] Yes, and only tested with Berkeley >= 2.4.14
| 26334 [kentda@st d.] If this a relatively simple thing, like changing certain "open" calls,
| 26335 [decoux@mo lo] No, because db185 has a very poor interface. I think that it's faster to
+ 26461 [decoux@mo lo] You must have db.1.85 or db.1.86, you can find these files at
26490 [kentda@st d.] Cool! Thanx!
dynamically redefining methods
26328 [list@ch om t] I would like to include logging capabilities to a class by just
+ 26331 [feldt@ce ch ] You might want to check out AspectR (in RAA) and Ruby-Trace by Brian
+ 26340 [j.travnik@sh] module Loggable
26447 [list@ch om t] I wasn't aware of class_eval. It works perfectly, thanks!
BUG in select
26329 [j.travnik@sh] I found a bug in ruby select method.
+ 26336 [kentda@st d.] Careful now, so you don't make the Pragmatic Programmers heads spin too
| 26343 [Dave@Pr gm t] It's been a week for that: a couple of days ago Chad found a real
+ 26349 [j.travnik@sh] If I change getc.to_s to sysread(1) in posted source, it works ok.
Ruby GC Determinism [Was: KDE or GNOME curiosity question...]
26339 [phlip_cpp@ya] Just because C++ is the only language deterministic enough to do it...
26454 [matz@ru y- a] Yes, at least "open" does.
26351 [angus@qu va ] I must parse a simple configuration file, in whose syntax strings are
26354 [decoux@mo lo] Try
26443 [angus@qu va ] It worked, thank you!
what's the & in parameter listings?
26356 [anany@ec .v ] What does the '&' signify in parameter listings? I have seen it in such
+ 26358 [Dave@Pr gm t] If the method is called with a block, convert that block to a proc
| 26432 [ronjeffries@] Y'know, now that I think of it, that whole & thing is odd. What was
| 26434 [ s@xs .d ] and while we're at it, use  to delimit them? ;>
+ 26359 [j.travnik@sh] No, it is the way to pass block around.
Selector Namespaces: A Standard Feature for Smalltalk?
26362 [david.simmon] Here is an incentive for classic Smalltalk evolution...
26408 [panu@fc .n t] Amongst the wealth of information behind the links you gave, it is hard to find
26422 [david.simmon] find
26460 [droleary@su ] Actually, they don't. The real issue in this case is that a
+ 26465 [david.simmon] I think you missed the primary point -- which is solving/addressing the
| 26553 [droleary@su ] If the direct problem is with versioning, the solution should deal with
| 26555 [david.simmon] Doc O'Leary,
+ 26477 [david.simmon] [...snip...]
| 26620 [panu@fc .n t] We can add or modify a method in an existing class but have the change affect only selected parts of the system - because a given method can have several implementations that co-exist simultaneously and get used in different parts of the system. Thus: " '50' asMoney" could cause the execution of different implementations of #asMoney, depending on where the method call appears.
| + 26631 [david.simmon] affect only selected parts of the
| | 26667 [spair@ad an ] David,
| | 26732 [david.simmon] instances
| + 26660 [jarober@ma l] No, as with ENVY for VW or StORE for VW, a only one extension of a given
+ 26478 [david.simmon] [...snip...]
| 26560 [droleary@su ] This is not the problem, of course; it happens all the time. And based
| 26574 [jarober@ma l] Sigh. Ok. Here's something that happened in VW back during the 2.5.2
| 26683 [droleary@su ] My versioning comments were in a completely different subthread. Here
+ 26480 [jarober@ma l] Actually, they do. Take Smalltalk - I load a component like Distributed
26561 [droleary@su ] I never said namespaces weren't a solution, I just said they were a
26566 [david.simmon] We are basically disagreeing. Further discussion will just result in
26686 [droleary@su ] Quite the opposite. It is you who seems fixated on namespaces while I
26703 [david.simmon] the
26833 [droleary@su ] I figured that, which is why I also figured we weren't really
26851 [david.simmon] space(s)
27115 [droleary@su ] Actually, once you have proper class aliasing, it doesn't really
calling ruby from Window App
26368 [hubert@cs ny] Call me crazy.
26369 [phlip_cpp@ya] Okay.
[PATCH] Re: BUG in select
26370 [j.travnik@sh] Problem occur when you are waiting for two or more
26458 [matz@ru y- a] I understand the problem. But I'd rather modify rb_thread_select()
26464 [j.travnik@sh] I wanted a simple patch. I have done it.
Converting ~fred to home directory path
26380 [harryo@zi wo] Does ruby provide a way to convert things like ~fred into the appropriate
26384 [elanthis@aw ] No no. ~,^ Read the $HOME environment variable. /etc/passwd might not
26392 [harryo@zi wo] That will work for just "~", but won't work for "~fred" when I'm logged
+ 26410 [kjana@dm la ] File.expand_path should do such expansion. Does it work?
| 26415 [harryo@zi wo] Excellent! I thought it was something that would already have been
+ 26417 [elanthis@aw ] Ah, then you'd have to have a library that tied into the system libs (at
can I use a dll in cygwin ruby?
26381 [mchahn@fa el] I compiled ruby-fltk in microsoft visual C++ 5.0 and installed the resulting
26394 [feldt@ce ch ] Is there anyway we can stop the messages bouncing on his mailbox? I find
26486 [mikkel.bruun] hehehe
DRb and failing test, please give some insight...
26414 [list@ch om t] I am familiarizing with DRb. I managed to put to work a tiny c/s
26468 [list@ch om t] Apparently I didn't strip all I could strip from the previous example.
26470 [m_seki@mv .b] It's a equivarent problem. Please, try the 'drb/eq' module.
26575 [list@ch om t] Thanks a lot, that did the trick. I was off by a mile and never would
26734 [m_seki@mv .b] * http://www.ascii.co.jp/books/detail/4-7561/4-7561-3961-2.html
New member, project(s) and questions
26421 [Alexis.Lee@u] An announcement and a couple of questions.
[ANN] NQXML v1.1.3; Maki number up to 90.9% conformity
26427 [ jimm@io co ] NQXML version 1.1.3 has increased its conformity from 87.7% to 90.9% by
26482 [maki@in c. o] UENO-san also fixed XMLScan's bugs in XML declaration and so on
+ 26487 [bobgus@mc .c] It would be difficult to assign a (maki) number to the Negative Test
+ 26515 [ jimm@io co ] Thank you. I plan to start attacking the negative tests eventually.
A great new search engine 5242
26429 [jmoore@es up] I have come across a fantastic search engine, that donates 70 percent of its profits to charity. It is currently working with 2 major cancer research units, and a charity that provides services to premature babies. Instead of using yahoo, or altavista, use http://www.theworldconnect.net. Every time you search from this site, you are indirectly raising money for charity. The search engine is free to use. I must stress that I am not in affiliation with the site, I just want everyone to know about it. Tell all your friends and help make a difference.
26430 [bpdp@3w i. e] Really fantastic, try to search "ruby" and guess what you'll find. The result
sample MSVC dll project for ruby?
26431 [mchahn@fa el] I'm using ruby-1.6.5-i586-mswin32 and I'm having a rough time getting my
26449 [martin@op us] I've had some success using VC to compile modulues for Ruby. I'm using
[ANN] JTTui 0.10.1 - textmode user interface
26438 [j.travnik@sh] new version of JTTui has been released.
++operator and sorted hashes
26444 [grandor@gm .] I'm new to ruby ( using 1.6.5 ) and comming from c++. The language is really great
26450 [j.travnik@sh] In Ruby everthing is object,
+ 26452 [gotoken@no w] I'd like to add another explanation.
+ 26462 [mchahn@fa el] I have noticed before that Ruby is lacking a sorted map and a sorted set. I
26466 [grandor@gm .] thank you erveryboy for your answers!
26467 [mchahn@fa el] Ok, you talked me into it. I need a break from the exasperating MSVC stuff
26483 [tromp@cw .n ] And how does your algorithm differ from red-black trees?
26540 [mchahn@fa el] It uses counts instead of red/black bits. It counts read accesses on each
26471 [michelemdl@l] confirm 2001112606451519683622418301 Michele DeLorenzi
26474 [ptkwt@sh ll ] I'm using dRuby and I have a Client object which runs on a remote machine
26569 [m_seki@mv .b] Yes, DRbUndumped is mix-in class for passed by reference.
26485 [michelemdl@l] guide
New Ruby user / HTML Parser / Module repository
26489 [corion@in or] I have just joined the list after two days of using Ruby. A bit about my
+ 26514 [YuriLeikind@] Welcome to the Programming-Is-Fun-Again language!
+ 26517 [bdelmee@ad a] The closest thing is the "Ruby Application Archive", at
26532 [corion@in or] My HTML Parser (plus a small web leecher, work in progress) is now
String editing question
26492 [harryo@zi wo] I want to do something similar to what I've seen on slashdot, where the
+ 26494 [kentda@st d.] Not the "right way", but one that I, as a I find myself using
| 26495 [harryo@zi wo] That was the sort of thing I was getting at if I approached it from
| + 26496 [BMahadevan@N] ...
| | 26505 [harryo@zi wo] I originally purchased a printed copy of the book, when I found it in a
| + 26501 [kentda@st d.] Oh, I read that as "ignore" UNacceptable tags.
| 26506 [harryo@zi wo] Ah. I'd forgotten that you could pass a block, rather than a fixed
+ 26500 [dblack@ca dl] I haven't reexamined it to see whether I'd do it the same way again....
| 26509 [harryo@zi wo] That looks very useful. I'll have a play and see if it does what I need
| 26512 [harryo@zi wo] Yes. That code works brilliantly !! Thanks again.
+ 26504 [billk@ct .c ] Here's one approach . . .
| 26513 [harryo@zi wo] That code is very succinct! It seems to do what I want, too.
+ 26521 [kjana@dm la ] print CGI::unescapeElement(
26523 [harryo@zi wo] This is the best solution so far! The other guys came up with some nice
26497 [BMahadevan@N] ...
26499 [bpdp@3w i. e] What's the problem?
26502 [BMahadevan@N] ...
26503 [BMahadevan@N] ...
26510 [bpdp@3w i. e] Maybe you need to install Apache webserver first and then mod_ruby
26584 [bpdp@3w i. e] Dear Clayton Wozney,
Can somebody delete this guy from mailing list?
26511 [bambang@3w i] Every time I send something to this mailing list, there will be also a bounce
26520 [michelemdl@l] This is a check
delegates and weakref
26527 [pbrannan@at ] require 'delegate'
26535 [matz@ru y- a] It's the limitation. WeakRef is not a "cooked" class, i.e. it doesn't
26536 [pbrannan@at ] I'm not sure I understand what you mean by "cooked." I am calling
26597 [matz@ru y- a] WeakRef class itself does not provide delegating methods. Its
from_to, upto (recurse, yield)
26528 [tobiasreif@p] def from_to first,last
26529 [pbrannan@at ] You are not passing a block to from_to when you call it recursively. Try
26530 [tobiasreif@p] Thanks!
26531 [a.caruso@cr ] Welcome aboard.
Ruby vs. Python: Decisions, Decisions
26537 [rcalco@co te] OK, not to instigate Yet Another Which Is Better (YAWIB) session, I'm really
+ 26541 [Dave@Pr gm t] This is simply an artifact of using the cygwin distribution. If you
| 26548 [rcalco@co te] Thanks! Actually, shortly after I sent my email, I figured out why irb
+ 26545 [ s@xs .d ] I left an irb session running on my Win2k-notebook while I was working
| + 26547 [ralph.mason@] face
| + 26549 [rcalco@co te] face
| + 26573 [niklas@ka i.] Well, just for the record. My irb sessions often ended prematurely on
+ 26546 [ralph.mason@] extension).
| + 26551 [rcalco@co te] as
| + 26590 [mikkelj-anti] create
| + 26595 [ralph.mason@] com
| | 26607 [mikkelj-anti] If
| + 26599 [mikkelj-anti] This came out wrong. I think it is great to wrap Ruby objects in IDispatch.
+ 26552 [phlip_cpp@ya] Python sucks.
| + 26557 [wmwilson01@h] Exactly the type of answers that would drive people away from Ruby rather
| | + 26559 [brucedickey@] I took it as a good jest -- I thought it was funny. He praised Python later
| | | 26588 [phlip_cpp@ya] Thanks.
| | + 26571 [johann@ph si] Just wait. If Ruby becomes popular, the community will go downhill.
| | | + 26589 [phlip_cpp@ya] Not the community, the language. Python contains miserable technical
| | | | 26609 [rcalco@co te] # > >> Python sucks.
| | | | 26611 [feldt@ce ch ] I think the sad thing with such, IMHO, "language bashing" is that
| | | | + 26614 [rcalco@co te] I think it interesting to observe how my simple, semi-technical questions
| | | | | 26629 [ rik@kd .o g] #if Bob Calco
| | | | | 26644 [baasad@qu li] Ruby people have great sense of humor as u can see
| | | | + 26615 [james@ru yx ] And now, if someone searches Ruby on Google groups for, you know, *those words*,
| | | + 26592 [mikkelj-anti] Then we just create c.l.ruby.meta
| | | + 26596 [matz@ru y- a] Philip, it doesn't. It's mostly matter of taste.
| | | 26601 [phlip_cpp@ya] language (assuming you are the one who did).
| | | + 26603 [anany@ec .v ] I just want to clear something up: the Windows method of creating
| | | | + 26604 [ralph.mason@] Not sure where you got your information from. This is EXACTLY what the
| | | | + 26612 [mikkelj-anti] I'm not going into details but yes I know that Unix is not brain dead
| | | + 26617 [matz@ru y- a] Yes, I did. And I was born under the culture that respects ancestors.
| | | 26910 [ser@ge ma e-] Does this include cultural ancestors, or just direct ancestors? Do you
| | | 26917 [matz@ru y- a] In Japanese culture, we pay more respect to the direct ancestors, but
| | | 26923 [ s@xs .d ] and puts and "" % var, too, I guess....
| | | 26934 [matz@ru y- a] No for puts (it's from C); yes for String#%.
| | | 26937 [ s@xs .d ] with integrated newline at the end? in C?
| | | 26938 [decoux@mo lo] moulon% man puts
| | | 26939 [ s@xs .d ] after about ten years, I finally regret not reading the second half
| | + 26610 [ rik@kd .o g] #if Mike Wilson
| + 26591 [mikkelj-anti] Am I the only one who things this is an overly hyped approach?
| + 26594 [rcalco@co te] # news:email@example.com...
| | 26640 [kentda@st d.] Oh, boy, could I use some hype to help me on those two :-P
| + 26598 [phlip_cpp@ya] Are you the only one who has not tried it?
| 26605 [mikkelj-anti] I know - it works for me, but I realize that not everyone can work that way.
+ 26567 [ptkwt@sh ll ] "Ruby in a Nutshell" by Matz (published by O'Reilly)
+ 26568 [Dave@Pr gm t] Regards
+ 26570 [mikkelj-anti] Well in the Ruby way what about "Teach Yourself Ruby in 2.1 Days" :-)'
| + 26579 [harryo@zi wo] .... or, even better(?) "... in 21 hours" !!
| + 26672 [jim@fr ez .o] I thought it was "Teach Yourself Ruby in .21 Days".
| 26674 [Dave@Pr gm t] Ruby Teaches You in 21 Minutes, then Makes You a Nice Cup of Tea and
| 26675 [brucedickey@] Hmm, we know where this is going. How about "Grok Ruby In An Instant"?
| + 26676 [dblack@ca dl] You Were Born Knowing Ruby, But You Don't Realize It Yet
| | 26677 [anany@ec .v ] I got my information from MSDN. I should have known it wasn't reliable ;-)
| + 26710 [mikkelj-anti] How to instantiate 99 Ruby users
+ 26608 [james@ru yx ] Programming Ruby: A Pragmatic Programmer's Guide, by David Thomas, Andrew Hunt
26693 [hgs@dm .a .u] The amazon UK site says this isn't available yet.
+ 26697 [ptkwt@sh ll ] amazon US is shipping it as of today...
+ 26724 [james@ru yx ] I think those dates are what the publisher decides to tell the vendors, and have only a tenuous relationship to reality.
26727 [hal9000@hy e] and have only a tenuous relationship to reality.
26743 [BMahadevan@N] ...