[#24043] I want a *really* small Ruby interpreter — "Christian Ericsson" <christian.ericsson@...>
Hi,
[#24047] private instance_variable? — cclee@... (Chochain Lee)
Hi,
[#24073] specifying the file and line — "Benoit Cerrina" <benoit.cerrina@...>
Hi,
[#24104] Ruby and Databases ? — Andrew Cowan <icculus@...>
I am hoping I am just missing something after reading the Programming Ruby
Check out the DBI.
[#24114] Re: Modularity question — "Ryan Leavengood" <RyanL@...>
> I want these to be as discrete from each other as
[#24124] socket — mail02@... (Frank Benoit)
Hi
[#24129] Ruby and Pandora - Athene — Daniel Matthews <dan@3-e.net>
What are the possibilities with this?
[#24152] CGI with Ruby (Win2000) — Jilani Khaldi <jilanik@...>
Hi,
[#24170] Performance of Marshal.dump — Darrin Thompson <dthompson@...>
In a program of mine using Marshal.dump I dumped an: Array of objects
[#24178] RE: Limits of dynamism? — "Ryan Leavengood" <RyanL@...>
> class T
[#24183] "yield called out of block" — Mark Slagell <ms@...>
Having just talked with a nuby in email, I believe this error message
This doesn't really have much to do with the original post, but why not
Hello --
> Well, that would leave us needing a new word for what used to be
Hi,
Hello --
[#24192] __FILE__ == $0 refactored in Ruby? — "Morris, Chris" <chris.morris@...>
I see __FILE__ == $0 frequently. Is there a more readable form of this
[#24208] require '../foo/bar' — Tobias Reif <tobiasreif@...>
Should that work?
[#24223] Too much eval evil? (tell me why I shouldn't do this) — gandy@... (Thomas Gandy)
I've been doodling with Ruby (experimenting with it in order to figure
[#24224] literal \0 in String#gsub replacement — Mark Slagell <ms@...>
Okay, I'm stuck on something seemingly trivial here. Is it possible for
[#24228] inline comments, IDs — Tobias Reif <tobiasreif@...>
Hi,
[#24261] param() method weirdness in cgi.rb — David Alan Black <dblack@...>
Hello --
[#24273] multiple serverside processes — Tobias Reif <tobiasreif@...>
Hi,
[#24291] Newbie wrong # of arguments(4 for 0) question — "Erik Meade" <emeade@...>
Well I've finally found an excuse to write some ruby, and I haven't made it
[#24299] yield vs. call? — bob_sidebotham@... (Bob Sidebotham)
I'm a bit puzzled whether there is any semantic difference between the
[#24310] Wiki?? — "Tobias DiPasquale" <anany@...>
Hi all,
[#24314] yield works, but no block given — Joel VanderWerf <vjoel@...>
[#24335] Joys of eval — Albert Wagner <alwagner@...>
A few weeks ago I posted a request for help with regexp, split, scan, et.
On Sun, 2001-11-04 at 13:29, Albert Wagner wrote:
On Sunday 04 November 2001 12:43 pm, you wrote:
On Sun, 2001-11-04 at 14:01, Albert Wagner wrote:
On Mon, 5 Nov 2001, Sean Middleditch wrote:
On Sun, 2001-11-04 at 14:31, Todd Gillespie wrote:
On Mon, 5 Nov 2001, Sean Middleditch wrote:
Bill Kelly wrote:
[#24341] block/yield puzzle — David Alan Black <dblack@...>
Hello --
[#24404] Help with OO — Vincent Foley <gnuvince@...>
Hi, I'm a bit new to OO programming and I would need help. I made a
[#24405] comp.lang.ruby — Gary Lawrence Murphy <garym@...>
It does not exist yet. IIRC, there was a vote to have one
[#24432] Re: Detect future method calls in method_mi ssing? — "Morris, Chris" <chris.morris@...>
> funny business you do with anElement=, calls like
[#24445] wishlist for Ruby books — Tobias Reif <tobiasreif@...>
Hi,
[#24460] List of Exception classes — Fritz Heinrichmeyer <fritz.heinrichmeyer@...>
[#24465] C Extension Help — jason@... (Jason Voegele)
I'm trying to write some additional collection classes for Ruby, such
[#24466] Why is ruby slow (compared to perl) — "Aqil Azmi" <aazmi@...>
Hello,
Niko Schwarz wrote:
On Fri, 9 Nov 2001, Sean Russell wrote:
Robert Feldt wrote:
On Fri, Nov 09, 2001 at 08:45:56AM +0900, Sean Russell wrote:
[#24481] TCPServer example in PP book — Massimiliano Mirra <list@...>
I have tried encapsulating the TCPServer example in a class by itself,
[#24483] Win32 VIM w/Ruby? — "James Britt (rubydev)" <james@...>
I saw that Vim 6 supports an interface into Ruby, and I've managed to compile Vim with Ruby support on Linux, but cannot get it to
[#24492] callback/event <-> threads — Jef Peeraer <jpe@...>
Hello,
[#24497] Doing both input and output to a process — "HarryO" <harryo@...>
Say I wanted to run a shell, send it commands and catch the output from
> Say I wanted to run a shell, send it commands and catch the output from
[#24511] kill rdtool? — Stefan Nobis <stefan@...>
Hi.
> Unfortunately doxygen appears to be GPL instead of LGPL. I don't think any
Mark Hahn wrote:
>>>>> "Matz" == Yukihiro Matsumoto <matz@ruby-lang.org> writes:
On Wednesday 07 November 2001 09:34 am, Mark Hahn wrote:
On Wednesday 07 November 2001 10:04 am, Mark Hahn wrote:
On Wednesday 07 November 2001 10:14 am, Mark Hahn wrote:
Bluntly: It's not an issue, except in the minds of certain licensing fanatics
[#24531] Ruby presentation — "Milan Gardian" <Milan.Gardian@...>
Hi,
[#24547] OpenGL (rbogl) bindings to Tk? — phlip_cpp@... (Phlip)
Rubies:
[#24573] Re: kill rdtool? — Andrew Hunt <andy@...>
[#24583] Re: kill rdtool? — Andrew Hunt <andy@...>
[#24604] Re: kill rdtool? — "Ryan Leavengood" <RyanL@...>
From: Brett Williams [mailto:brett_williams@agilent.com]
[#24610] system('dir') and Windows 2000 — John Carter <john.carter@...>
I have just tried
try "cmd /c dir"
[#24644] font handling in ruby-gtk — mips <mips@...>
Did someone has done some code which looks for fonts in ruby-gtk ?
[#24647] Testing as a Ruby niche — Brian Marick <marick@...>
At the Ruby Conference, Andy Hunt kicked off with a talk about Ruby
[#24665] Ruby servlet container? — Gary Lawrence Murphy <garym@...>
[#24666] I've ported the python nntplib class to Ruby. I will be adding comments to it soon. Here it is for public commentary and criticism — jheard <jheard@...>
require 'socket'
[#24692] how to get hostname/MAC address? — "Tobias DiPasquale" <anany@...>
Hi,
[#24698] ruby and webservices — Markus Jais <info@...>
hello
In article <9setsu$1378d4$1@ID-75083.news.dfncis.de>,
Actually...its me.
Hi,
Yukihiro Matsumoto wrote:
The concerns about which any given Ruby XML library does makes me wonder what, exactly, "XML out of the box" means.
Hi,
On 01/11/11 2:20 AM, "TAKAHASHI Masayoshi" <maki@open-news.com> wrote:
Bob Hutchison wrote:
On 01/11/11 12:51 PM, "Sean Russell" <ser@efn.org> wrote:
[#24700] Strange behaviour of Array#[] — Michael Neumann <neumann@...>
Hi,
> > Why does a[3,1] returns [] instead of nil?
[#24706] assert_exception_and_message — Robert Feldt <feldt@...>
Hi,
[#24707] Trailing uc strange lexer error message?! — Robert Feldt <feldt@...>
Hi,
[#24723] Profiling Code — Matthew Diephouse <fokke_wulf@...>
Is there a Ruby equivalent to Perl's Devel::DProf?
Unfortunately, this only writes the regular output from my program to
On Sat, 10 Nov 2001, Matthew Diephouse wrote:
[#24736] Negate grep pattern match? — Jos Backus <josb@...>
lizzy:/tmp# cat x
[#24750] BUG: net/telnet.rb gives select invalid argument excepition — Ville Mattila <mulperi@...>
ts <decoux@moulon.inra.fr> writes:
[#24772] Looking for df interface — djberg96@... (Daniel Berger)
Hi all,
[#24810] Ruby-Tk; feature/bug/misunderstanding? mouse-location during when a key is pressed in the presence of TkMenubutton — Armin Roehrl <armin@...>
Hi,
> Hi,
> You get the (x, y) of the mouse w.r.t. the root window, since that is
> > You get the (x, y) of the mouse w.r.t. the root window, since that is
[#24820] ANN: Triple-R - The Rubicon Results Repository — Dave Thomas <Dave@...>
[#24850] Re: Testing as a Ruby niche — Brian Marick <marick@...>
Thanks for the comments, and sorry for the delayed reply.
[#24858] Help needed on subclassing — Robert Feldt <feldt@...>
Its late here in Sweden (actually early, but anyway... ;-)) and I cant
[#24890] Ruby-Postgres extension runtime error — mrchameleon@... (Chris Reay)
Hi
[#24891] Ruby/DBI: DBD for SQLRelay — Michael Neumann <neumann@...>
Hi,
[#24926] XML support in the standard lib — Tobias Reif <tobiasreif@...>
Hi,
PaulC wrote:
On 01/11/13 9:33 AM, "Tobias Reif" <tobiasreif@pinkjuice.com> wrote:
> >
Hello --
The DOM is a pretty awkward API to both use and implement. An API based on
>
On Tue, 2001-11-13 at 20:53, James Britt (rubydev) wrote:
From: "Simon St.Laurent" <simonstl@simonstl.com>
James Britt (rubydev) wrote:
>
Hello --
On Thu, 15 Nov 2001, Tobias Reif wrote:
Robert Feldt wrote:
James Britt wrote:
On Wed, 14 Nov 2001, Nat Pryce wrote:
Robert Feldt wrote:
On Wed, 14 Nov 2001, Sean Russell wrote:
Hi all XMLers,
Hello --
Dave Thomas wrote:
P.S.
On 01/11/13 9:56 AM, "Tobias Reif" <tobiasreif@pinkjuice.com> wrote:
Bob Hutchison wrote:
On 01/11/13 11:21 AM, "Tobias Reif" <tobiasreif@pinkjuice.com> wrote:
On Tue, 13 Nov 2001 12:00:35 -0500 Bob Hutchinson wrote:
On 01/11/13 1:41 PM, "Bob Gustafson" <bobgus@mcs.com> wrote:
Bob Hutchison wrote:
On 01/11/13 3:10 PM, "Sean Russell" <ser@germane-software.com> wrote:
>
On 01/11/13 8:59 PM, "James Britt (rubydev)" <james@rubyxml.com> wrote:
[#24941] From aliasing to aliased — Massimiliano Mirra <list@...>
Still playing. :-)
[#24948] Refactoring tool for Ruby... — Stephan K舂per <Stephan.Kaemper@...>
Just being curious if someone has worked on a refactoring tool for
At 03:39 AM 11/13/2001 +0900, you wrote:
[#24955] Teach your kid math w/ruby — pete@... (Peter J. Kernan)
>> > I guess you already know the algebra package of Shin-ichiro HARA:
[#24958] Linux Magazine article — Dave Thomas <Dave@...>
Clemens Wyss wrote:
On Thu, Nov 22, 2001 at 10:20:04AM +0900, Bill Kelly wrote:
>>>>> "J" == Jos Backus <josb@cncdsl.com> writes:
On Thu, Nov 22, 2001 at 03:47:43PM +0900, ts wrote:
[#24991] Mapping sequential strings to random strings: How would you do this? — "Hal E. Fulton" <hal9000@...>
Hello all,
[#25022] attr_accessor question — Michael Sullivan <mps@...>
I was wondering if when one has defined "attr_accessor" for their
[#25029] Set class in Ruby — Yuri Leikind <YuriLeikind@...>
Hello all Ruby coders,
>> However, sometimes it's convenient to have Sets, collections where
----- Original Message -----
[#25042] REXML behavior change RFC — Sean Russell <ser@...>
Hi,
[#25045] RE: REXML Question (Re: XML libraries (Re: Re: ruby and webser vices)) — Ben Schumacher <BSchumacher@...>
Alright, I started playing with REXML last night and so far it looks pretty
[#25072] REXML inserting an element — "Benoit Cerrina" <benoit.cerrina@...>
Hi,
[#25082] exiting blox — Niko Schwarz <niko.schwarz@...>
Hi there,
Hello --
[#25087] FW: RE: REXML Question (Re: XML libraries (Re: Re: ruby and webser vices)) — Ben Schumacher <BSchumacher@...>
FYI- Quick follow up. NQXML allowed you to do this since elements weren't
[#25101] ANN: REXML 1.1a3 — Sean Russell <ser@...>
Hiho,
Hi, I'm REXML newbie :-), and I have a comment.
> Should REXML convert "'" and '"' into ' and "?
TAKAHASHI Masayoshi wrote:
>
James Britt (rubydev) wrote:
[#25119] RE: REXML inserting an element — Ben Schumacher <BSchumacher@...>
Benoit-
[#25211] Is TCPSocket thread safe? — Jakub Travnik <j.travnik@...>
Hello,
[#25213] OT: Berkeley DB on windows — "Albert L. Wagner" <alwagner@...>
I have successfully installed Guy Decoux's Ruby/bdb and the
Download the Win32 MinGW version of Ruby here:
That looks good, Rich. But, but that's just ruby and the db
[#25221] ruby/Tk — MENON Jean-Francois <Jean-Francois.MENON@...>
hello
[#25276] GC question — Tony Smith <tony@...>
Hi there!
This is what I get from command line:
> This is what I get from command line:
[#25278] Re: class SharedQueueThread feedback — "Morris, Chris" <chris.morris@...>
> Well, there is this:
"Morris, Chris" <chris.morris@snelling.com> writes:
On Fri, 16 Nov 2001, Dave Thomas wrote:
[#25291] Re: ANN: REXML 1.1a3 — Ben Schumacher <BSchumacher@...>
Tobias Reif wrote:
Hello --
David Alan Black wrote:
Hello --
David Alan Black wrote:
On 01/11/15 4:54 PM, "Tobias Reif" <tobiasreif@pinkjuice.com> wrote:
Ben Schumacher wrote:
[#25295] Topic ideas for an upcoming series of articles featuring Ruby? — Colin Steele <colin@...>
[#25307] ruby and XSLT4R and Rexml — Markus Jais <mjais@...>
hello
[#25334] Re: Topic ideas for an upcoming series of a rticles featuring Ruby? — Mikkel Bruun <mikkel.bruun@...>
[#25336] Ruby 1.6.5 won't compile... suggestions? — Niklas Backlund <backlund@...>
Hi,
[#25347] more on [matz:"Human Oriented Programming"?] — "Henning von Rosen" <henning@...>
During RubyConf, matz gave a keynote on "Human oriented Programming".
[#25383] Arrays, iterators, and map/collect — "Hal E. Fulton" <hal9000@...>
Hello all...
"Hal E. Fulton" wrote:
[#25432] Why not xmlparser? (was: Re: XML support in the standard lib;whatexactly?) — "Christian Boos" <cboos@...>
> I may have missed something, but the original question that started the
James Britt (rubydev) wrote:
>
James Britt (rubydev) wrote:
> James Britt (rubydev) wrote:
James Britt (rubydev) wrote:
On 01/11/24 11:18 AM, "Sean Russell" <ser@germane-software.com> wrote:
On Tue, 20 Nov 2001, Bill Kelly wrote:
[#25444] Tiny Test::Unit requirement — Robert Feldt <feldt@...>
Hi,
[#25472] Writting a profiler / line coverager / debugger for ruby — Lothar Scholz <llothar@...>
[#25500] finalizers, destructors and whatnot — "David Leal" <david@...>
Hi all,
[#25640] news gateway — Dave Thomas <Dave@...>
[#25667] REXML: node.type, .parent, .name — Tobias Reif <tobiasreif@...>
Hi,
[#25689] Would like feedback on script to remove unused import statements in java — "Thomas R. Corbin" <tc@...>
I use this script all the time when developing in java, it really helps a
>>>>> "T" == Thomas R Corbin <tc@clark.net> writes:
ts (2001-11-18 00:14):
Is there any documentation on this anywhere?
>>>>> "R" == Ralph Mason <ralph.mason@telogis.com> writes:
Hi
>>>>> "J" == Jim Freeze <jim@freeze.org> writes:
> >>>>> "J" == Jim Freeze <jim@freeze.org> writes:
[#25695] more than one object in a druby server? — Tobias DiPasquale <anany@...>
Hi all,
[#25706] Strange behaviour of "rescue" — Michael Neumann <neumann@...>
Hi,
[#25721] TK interface for Ruby? — Vincent Foley <gnuvince@...>
Is is possible to to TK apps with Ruby (like Python with TKinter)? If
[#25753] Misunderstanding or bug? — Dave Thomas <Dave@...>
Hi Dave,
[#25766] rubyUnit, et. al. — Albert Wagner <alwagner@...>
I have installed ruby unit because so much of what I install that others
[#25779] Scripting for both object and non-object — Ed Ohsone <eosn@...>
I would like to know names of general purpose scripting languages which
[#25786] Array.new(n, Array.new(m)) weirdness, but "select isn't broken" — mrchameleon@... (Chris Reay)
The following occurs ...
[#25808] KDE or GNOME curiosity question... — Robert Hicks <bobhicks@...>
I was just curious which desktop (of the two mentioned in the subject)
Kent Dahl wrote:
Hi,
> How hard would it be to have an option to use reference counting in a
> Circular references will cause the object to stay around indefinitely
Hi,
"Mark Hahn" <mchahn@facelink.com> writes:
On Thu, 29 Nov 2001, Matt Armstrong wrote:
At this point my ideas are getting really vague, but I'm thinking that you
Hi,
[#25834] HowTo deal with arrays? — Martin Kahlert <martin.kahlert@...>
Hi!
[#25861] A bug invoking a method with send? — chr_news@... (chr_news@...)
Hi,
[#25869] Redefining new? — Michael Sullivan <mps@...>
Hi,
Michael Sullivan <mps@blackbird.discomsys.com> writes:
I know about how initialize works, but on page 233 of the Pickaxe book
[#25872] Human Oriented Programming & Intentional Programming — "Lachlan Pitts" <Lachlan_Pitts@...>
Hi Rubyers,
[#25907] String#== : Why not error with different type? — furufuru@... (Ryo Furue)
Hi there,
[#25920] Checking if a file exists... — Ben Schumacher <BSchumacher@...>
I was wondering if somebody had an easy way of checking if a file exists on
[#25954] a quick question — Tobias DiPasquale <anany@...>
Hi all,
Has anyone gotten Ruby running (perhaps in some limited form) on the
On Tuesday 20 November 2001 03:15 pm, Chad Fowler wrote:
[#26000] REXML parser bug(?) — TAKAHASHI Masayoshi <maki@...>
Hi,
[#26006] R: Re: Hello World considered harmful — Alessandro Caruso <a.caruso@...>
I thought the main reason people are moving towards Ruby instead of keep
Alessandro Caruso <a.caruso@creditonline.it> writes:
On Wed, 2001-11-21 at 15:31, Dave Thomas wrote:
Thanks Henning and Robert,
[#26009] positive — Tobias Reif <tobiasreif@...>
Hi,
[#26010] RE: positive — "SHULTZ,BARRY (HP-Israel,ex1)" <barry_shultz@...>
>
[#26020] Re: Hello World considered harmful — Dave Thomas <Dave@...>
"Aleksei Guzev" <aleksei.guzev@bigfoot.com> writes:
[#26030] Compiling Ruby Extensions in Windows — William Djaja Tjokroaminata <billtj@...>
Hi,
Hi,
That doesn't sound quite right. I installed cygwin, and I got make and gcc.
[#26032] Re: ANN: regex engine development (was: Re: Why not xmlparser?) — Ciaran McCreesh <keesh@...>
Hugh Sasse Staff Elec Eng wrote:
[#26035] Re: - sourceforge + savannah (?) — "Curt Hibbs" <curt@...>
>I've projects on Sf and i never had problems of copyrights.
[#26042] Re: ANN: regex engine development (was: Re: Why not xmlparser?) — "Bill Kelly" <billk@...>
[#26050] call_myself — Tobias Reif <tobiasreif@...>
Hi all,
[#26075] book "the ruby way" on publishers web-site — Markus Jais <info@...>
hi
[#26088] Re: string concat and .to_s — "mark hahn" <mchahn@...>
> I frankly haven't tried running Ruby extensively with autoconversion
[#26091] List of methods that can implicitly act on $_ ? — Jos Backus <josb@...>
Some methods can implicitly act on $_, such as chomp and split; others, such
[#26107] What am I missing here? — "Ralph Mason" <ralph.mason@...>
Adding a function doesnt find the global variable $_ where as Kernel.instance_eval does.
[#26109] eruby on windows and apache — Brian Chapman <brianechapman@...>
I'm having trouble getting require 'anything' to work
Brian Chapman wrote:
[#26126] Conformance Test of XML Parsers in Ruby(20011122) — TAKAHASHI Masayoshi <maki@...>
Hi all,
TAKAHASHI Masayoshi wrote:
Hello --
--- David Alan Black <dblack@candle.superlink.net
> --- David Alan Black <dblack@candle.superlink.net
Jim Menard <jimm@io.com> writes:
On 01/11/22 4:56 PM, "Martin v. Loewis" <martin@v.loewis.de> wrote:
Bob Hutchison <hutch@xampl.com> writes:
On 01/11/24 8:37 AM, "Martin v. Loewis" <martin@v.loewis.de> wrote:
Bob Hutchison <hutch@xampl.com> writes:
[#26130] Community spike: Fast-state-machines/goto challenge — Robert Feldt <feldt@...>
Hi,
[#26141] Passing class names to constructors. — Hugh Sasse Staff Elec Eng <hgs@...>
If I want to create a variable number of objects, all of
Hugh Sasse Staff Elec Eng <hgs@dmu.ac.uk> writes:
[#26166] Establishing Ruby's Popularity — "James Britt (ruby-talk ML)" <ruby@...>
I have a potential employer who would like some estimation of Ruby's popularity. I know of seven books out (or almost out), and
[#26187] Re: The first official release of ArunaDB — Michael Davis <mdavis@...>
What is raa.succ?
--- Mark Hahn <mchahn@facelink.com> wrote:
[#26205] Book "Rub in 21 days" Table of contents online — Markus Jais <mjais@...>
hi
[#26214] generating and serving SVG — Tobias Reif <tobiasreif@...>
Hi,
On Fri, 23 Nov 2001, Tobias Reif wrote:
MikkelFJ wrote:
On Sun, 25 Nov 2001, MikkelFJ wrote:
On Sun, 25 Nov 2001, MikkelFJ wrote:
Stefan Schmiedl wrote:
[#26252] adding instance variables to an existing class. — Hugh Sasse Staff Elec Eng <hgs@...>
How might I add some instance variables to an existing class, such
> How might I add some instance variables to an existing class, such
[#26270] Table: Ruby versus Smalltalk, Objective-C, C++, Java; — Armin Roehrl <armin@...>
Hi,
What? No Python?!! Oh, the natives will be restless ...
[#26293] The results are in... — Dave Thomas <Dave@...>
<snip>
On Sun, 25 Nov 2001, Albert Wagner wrote:
On Saturday 24 November 2001 05:03 pm, you wrote:
On Sun, 25 Nov 2001, Albert Wagner wrote:
On Saturday 24 November 2001 06:32 pm, you wrote:
On Sun, 25 Nov 2001, Albert Wagner wrote:
[#26303] libcurses-ruby documentation, is it exist? — "Bambang Purnomosidi D. P." <bpdp@3wsi.net>
At Sat, 24 Nov 2001 19:15:25 +0900,
Bambang Purnomosidi D. P. wrote:
[#26323] Berkeley DB 1.85 bindings ... — Kent Dahl <kentda@...>
I've looked at the 'bdb' package in the RAA
[#26329] BUG in select — Jakub Travnik <j.travnik@...>
Hello,
[#26337] Re: Table: Ruby versus Smalltalk, Objective-C, C++, Java; — "john%johnknight.com@..." <john%johnknight.com@...>
[#26356] what's the & in parameter listings? — Tobias DiPasquale <anany@...>
Hi,
[#26380] Converting ~fred to home directory path — "HarryO" <harryo@...>
Does ruby provide a way to convert things like ~fred into the appropriate
[#26414] DRb and failing test, please give some insight... — Massimiliano Mirra <list@...>
I am familiarizing with DRb. I managed to put to work a tiny c/s
[#26427] [ANN] NQXML v1.1.3; Maki number up to 90.9% conformity — Jim Menard <jimm@...>
NQXML version 1.1.3 has increased its conformity from 87.7% to 90.9% by
[#26444] ++operator and sorted hashes — Willi Kappler <grandor@...>
Hi list,
Willi Kappler wrote:
[#26492] String editing question — "HarryO" <harryo@...>
I want to do something similar to what I've seen on slashdot, where the
[#26537] Ruby vs. Python: Decisions, Decisions — "Bob Calco" <rcalco@...>
Everyone:
In article <BGEGJFOHFLNFHACAJJMLOEOKGNAA.rcalco@cortechs.com>,
These are the books I'm aware of:
On Tue, 27 Nov 2001, James Britt (rubydev) wrote:
[#26557] Re: Ruby vs. Python: Decisions, Decisions — "Mike Wilson" <wmwilson01@...>
> >> Python sucks.
# > >> Python sucks.
Yukihiro Matsumoto wrote:
Hi,
Yukihiro Matsumoto (2001-11-30 01:06):
[#26587] Iowa is cool...Avi give us more — Albert Wagner <alwagner@...>
I just finished the Iowa tutorial. Now I want more. Congratulations to Avi
[#26624] Racc — Michael Davis <mdavis@...>
I would like to find or create a parser for ANSI SQL. I am looking at Racc
[#26641] TCP hang problem — "HarryO" <harryo@...>
I'm using the stable 1.6.5 and have been experiencing a strange problem
[#26643] CGI — Bhagavatheeswaran Mahadevan <BMahadevan@...>
Hi all
[#26651] Vote in the current poll! — Robert Feldt <feldt@...>
Hi,
In article <Pine.GSO.4.21.0111271419390.9896-100000@godzilla.ce.chalmers.se>,
On Wed, 28 Nov 2001, Phil Tomson wrote:
Robert Feldt <feldt@ce.chalmers.se> writes:
In article <Pine.GSO.4.21.0111272238560.10092-100000@godzilla.ce.chalmers.se>,
On Wed, 28 Nov 2001, Phil Tomson wrote:
In article <Pine.GSO.4.21.0111280902070.10296-100000@godzilla.ce.chalmers.se>,
On Wed, 2001-11-28 at 10:10, Phil Tomson wrote:
[#26661] Embedding Ruby - scripts + extensions — Tony Smith <tony@...>
Hi All,
[#26664] OASIS test change suggestion — Jim Menard <jimm@...>
I would like to suggest a change in the OASIS test script.
[#26690] Ruby in a Nutshell shipping — ptkwt@...1.aracnet.com (Phil Tomson)
Just got an email from Amazon informing me that my copy of "Ruby in a
[#26715] ANN: RandomR 0.1.0 — Robert Feldt <feldt@...>
Hi,
>>>>> "R" == Robert Feldt <feldt@ce.chalmers.se> writes:
[#26735] quick question — "Bob Calco" <rcalco@...>
OK, who knows where this thread will end up, but as long as I get answers to
RUBY_PLATFORM does not give you the actual OS (nt, 98, etc), but the platform
[#26752] Anyone know of a Regexp pattern random string generator? — "Ross Shaw" <rshaw1961@...>
I'm looking for some Ruby that given a Regexp pattern will generate a random
Does it have to generate multiple random strings or jast "any" string.
[#26757] SV: eRuby — Mikkel Bruun <mikkel.bruun@...>
lets see your error log!!!
[#26769] Database connectivity — Bhagavatheeswaran Mahadevan <BMahadevan@...>
Hi Everybody
[#26780] BOOK: maybe an interesting one. Update: sample code for ruby available — Markus Jais <mjais@...>
hi
[#26782] RE: overload possible? — Wyss Clemens <WYS@...>
No, UNLESS you ask Guy Decoux (ts) to give you his *extension*
>>>>> "W" == Wyss Clemens <WYS@helbling.ch> writes:
On Wed, 28 Nov 2001, ts wrote:
Here's a slightly better version, which also fixes the problem that
At Thu, 29 Nov 2001 08:13:36 +0900,
excellent idea...how about this refactoring...
Hello --
In article <NDBBKPEKEKOELOHKPCNOGELGCJAA.rich@infoether.com>, "Rich
[#26800] Re: overload possible? — Wyss Clemens <WYS@...>
> >>>>> "W" == Wyss Clemens <WYS@helbling.ch> writes:
>>>>> "W" == Wyss Clemens <WYS@helbling.ch> writes:
I was playing around with Ruby/QT the other day, without overloading, I think
>>>>> "Y" == Yee Keat <ykphuah@netwxs.com.my> writes:
Hehe, sorry, yeah, thats the package that I downloaded and played around with
[#26859] One line body — Albert Wagner <alwagner@...>
[#26867] Small RubyUnit extension — Dave Thomas <Dave@...>
On Thu, 29 Nov 2001, Dave Thomas wrote:
[#26880] RE: Small RubyUnit extension — Matthias Lampert <ml@...>
Hello, Dave!
Matthias Lampert <ml@sph.de> writes:
The two if statements below are identical except the words left and right
On Thu, 29 Nov 2001, Mark Hahn wrote:
[#26890] Article on Program design — "Henning von Rosen" <henning@...>
Why does for example Ruby appeal to people in the way it does?
[#26894] short article draft for review — Tobias Reif <tobiasreif@...>
Hi,
Hi --
David,
[#26903] Etc.getpwnam() hanging — "Harry Ohlsen" <harryo@...>
I was very pleased to find that the Etc module provided a getpwnam()
[#26912] ANN: REXML 1.1a5 — Sean Russell <ser@...>
Hello,
> The question is this: should this behavior be allowed? The benefits may be
[#26915] Extensions with C: laziness as virtue :-) — Hugh Sasse Staff Elec Eng <hgs@...>
Given the idea that laziness is supposed to be a virtue in programming :-)
[#26952] ANNOUNCE: FXRuby-0.99.181 — "Lyle Johnson" <ljohnson@...>
No, it's not deja vu all over again. Since there was some confusion about
[#26958] some more finalizer weirdness — Paul Brannan <pbrannan@...>
If I do this:
[#26969] How to match '|' but not '\|' — "Ross Shaw" <rshaw1961@...>
I'm a bit of a nuby to regular expressions so I need a little assistance.
[#26973] thoughts on virtual base classes, interfaces — ptkwt@...1.aracnet.com (Phil Tomson)
On Fri, 30 Nov 2001, Phil Tomson wrote:
[#26976] first class functions in Ruby — "MikkelFJ" <mikkelj-anti-spam@...1.dknet.dk>
In the thread on language design, I mentioned a wish for functions as first
[#26983] Ruby job posted in NYC! — Jim Menard <jimm@...>
I just thought I'd share this with the group: the first job posting I've
[#26984] Can someone explain TupleSpaces? — ptkwt@...1.aracnet.com (Phil Tomson)
I looked at the examples that came with drb, but I'm still not quite
ptkwt@shell1.aracnet.com (Phil Tomson) writes:
[#27017] How to get IP address of client from server — "Harry Ohlsen" <harryo@...>
If I have something like the following ...
[#27045] Extension question — Christian Szegedy <szegedy@...>
Hi!
[#27054] Using Enumerable — Peter Hickman <peter@...>
Im trying to write my own each method for a 'sort of' range class that
Hello --
Thanks to all who replied, like all ruby it was alot simpler than I
Hi --
On Fri, 30 Nov 2001, David Alan Black wrote:
David Alan Black <dblack@candle.superlink.net> writes:
[#27066] Musing — Dave Thomas <Dave@...>
The only barrier to doing this is the will to do it. I for one am all for it
Do it Dude!
[#27078] Ruby & MS-SQL7 — Armin Roehrl <armin@...>
Hi,
[#27107] FW: Kernel::system() not working — "Bob Calco" <rcalco@...>
Anybody have any idea? This is a showstopper for me, simple as it seems. I
In article <BGEGJFOHFLNFHACAJJMLGECDGPAA.rcalco@cortechs.com>,
[#27133] external commands — "michelemdl@..." <michelemdl@...>
I need to exec an external programm from a ruby script.
If someone had already answered to me, please can you re send you answer
[#27136] ANN: REXML 1.1a6 — Sean Russell <ser@...>
Howdy, howdy, howdy.
[#27141] GridFlow/Video4jmax in Ruby — Mathieu Bouchard <matju@...>
On Fri, 30 Nov 2001 23:17, you wrote:
[ruby-talk:26478] Re: Selector Namespaces: A Standard Feature for Smalltalk?
"Doc O'Leary" <droleary@subsume.com> wrote in message
news:251120011105195454%droleary@subsume.com...
> In article <Su_L7.44988$RG1.23138548@news1.rdc1.sfba.home.com>, David
> Simmons <david.simmons@smallscript.com> wrote:
>
>
[...snip...]
I already responded the original problem presented in Waldemar Horwat's
JavaScript 2.0 slides. Let me demonstrate a different use of selector
namespaces which cannot be solved through versioning.
In this example I will also mention the use of indirect use of concrete
interfaces for providing implementation behavior.
----
Problem: Two unrelated Smalltalk developers are creating modules for
handling monetary units [grossly simplified].
As each independently thinks about their design, one of the problems they
encounter is that of converting string representations into money objects.
They both decide that it would be most appropriate (from a design usage
point of view) to enable <String> objects to handle conversions to monetary
unit objects.
I.e., they would like to enable expressions like:
'$50.00' asMoney. "possibly #asDollars"
For whatever reasons, they have both decided that some class (which they did
not write/own -- in this case <String>), is the most appropriate place to
implement a method (which they will write and which will owned by their
projects/modules).
So, naively they write:
----------------------------
Party One's Monetary Package
----------------------------
<Project name: USCurrency>
Class name: Dollars
{
...
Method [
+ <Dollars> aValue
...
]
}
Method class: String [
asMoney
...
]
</Project>
----------------------------
Party Two's Monetary Package
----------------------------
<Project name: CanadianCurrency>
Class name: Dollars
{
...
Method [
+ <Dollars> aValue
...
]
}
Method class: String [
asMoney
...
]
</Project>
====
All is well, they've versioned, built-unit tests, etc. They even develop
sophisticated tools and release them to 3rd parties for consumption. Any
string can be sent the message #asMoney and it does the "right" thing in the
unit tests, etc.
A third party integrator comes along and has the requirement of writing a
program that requires both US and Canadian currency operations. They are
given the requirement that they must use the party-one's and party-two's
packages (rather than writing their own). They may even be in the
uncomfortable but likely position that they do not have source to the
packages [as would commonly be the case for static languages and platforms
based on binary component approaches like .NET].
Now we have a serious problem. Both parties have made implementations that
appear to conflict. First, without namespaces the class name <Dollars> will
collide. Even with namespaces, the #asMoney methods on <String>, will
conflict. Since the #asMoney methods (minimally) yield unrelated return
types. I.e., one party returns a unit of Candian <Dollars> and the other
party returns a unit of US <Dollars>.
---
Arguably, at this point, one would say namespaces would solve the <Dollars>
problem. And there is no way they should be modifying the <String> class
they don't own. Heck let's add language features to seal and finalize things
so they can't do this even in dynamic languages that enable runtime schema
changes.
But is that really the right answer? After all, if the they had
owned/created the <String> class we would say there was no problem with
adding a monetary conversion method to it [although some people might think,
hey, String is a special class and should not be touched -- but, think
again, why is it special?]. In general, as an object-oriented approach we
encourage this type of design decision as a well placed responsibility.
So why is it wrong here? Is it because it is inherently wrong, or is it
because implementation constraints and existing language semantics of
static-languages (and to some degree dynamic languages) have creeped in to
provide rules we should question?
But, if we could offer a uniform technique that allowed one to "encapsulate"
changes to our own code base and yet share our implementation with others,
then it would be fine. This is a feature that has been understood in various
non-oo imperative/function language module systems. So why not allow it in
class-based dynamic language OO systems...
Again, selector-namespaces allow us to do just that. If we could "scope" the
#asMoney methods provided by party-one and party-two then we could provide
this capability. [add concrete Interfaces to this and we have an even better
general solution].
====
Revising the code we write it as:
----------------------------
Party One's Monetary Package
----------------------------
<Project name: USCurrency>
Class name: Dollars
{
...
Method [
+ <Dollars> aValue
...
]
}
Method class: String scope: USCurrency [
asMoney
...
]
</Project>
----------------------------
Party Two's Monetary Package
----------------------------
<Project name: CanadianCurrency>
Class name: Dollars
{
...
Method [
+ <Dollars> aValue
...
]
}
Method class: String scope: CandianCurrency [
asMoney
...
]
</Project>
====
We also note that in a typical Smalltalk IDE, this scoping would be provided
by default by the tools for any methods we wrote onto classes which were not
contained within the project.
Now our 3rd party, who needed to implement a single application that used
both libraries can do so without conflicts.
The <Dollars> classes are distinguished through namespaces (remembering that
modules are classes and classes are namespaces). Both classes
<USCurrency.Dollars> and <CanadianCurrency.Dollars> comfortably exist.
The #asMoney methods both reside in <String> and have their method
characteristics set to:
Party one's USCurrency version of <String> #asMoney has: the selector
#USCurrency.asMoney; and the module attribute set to <USCurrency> to enable
versioned unloading/reloading of the module.
Party two's CanadianCurrency version of <String> #asMoney has: the selector
#CanadianCurrency.asMoney; and the module attribute set to
<CanadianCurrency> to enable versioned unloading/reloading of the module.
All the code in party one's tools will have specified access to <USCurrency>
as a namespace, and will not have access to party two's <CanadianCurrency>
namespace (because they did not know about it). Thus any of party one's
code will always bind to the #USCurrency.asMoney method in <String>.
The same can now be said for party two's code. All the code in party two's
tools will have specified access to <CanadianCurrency> as a namespace, and
will not have access to party one's <USCurrency> namespace (because they did
not know about it). Thus any of party one's code will always bind to the
#CanadianCurrency.asMoney method in <String>.
----
If our 3rd party wants to write code that references both libraries they
will need to specify the particular namespaces they are referring to. Let's
assume they decide to write code to convert both Canadian and US dollars. So
they would like to have methods called #asCanadianDollars and #asUSDollars,
but they want to be insulated from implementation changes provided by party
one and/or party two's version updates.
They might write: (noting that a typical Smalltalk IDE would provide the
scoping attribute by default for methods on external classes)
<Project name: 3rdParty>
Requires module: USCurrency. "versioning prequisites elided"
Requires module: CanadianCurrency. "versioning prequisites elided"
Method class: String scope: 3rdParty [
asCanadianDollars
^self #CanadianCurrency.asMoney
]
Method class: String scope: 3rdParty [
asUSDollars
^self #USCurrency.asMoney
]
.... other project code and classes here...
</Project>
===================
The interfaces technique would be written slightly differently (and I am not
really giving it due consideration in picking names for this grossly
simplified example, but OTOH I am will not subsequently be particularly
constrained by my up-front decisions either).
Here it is, but since I am running out of time I won't particularly explain
it now. I'll leave that to the reader and perhaps subsequent posts.
----------------------------
Party One's Monetary Package
----------------------------
<Project name: USCurrency>
Class name: Dollars
{
...
Method [
+ <Dollars> aValue
...
]
}
Interface name: IMonetaryConversion
default-scope: USCurrency
{
Method [
asMoney
...
]
... other methods here...
}
Function [
Initialize
String addInterface: IMonetaryConversion.
]
Function [
Finalize
String removeInterface: IMonetaryConversion.
]
</Project>
-- Dave S. [www.smallscript.org]