[#12345] "[ruby-talk:12345]" tag is removed — matz@... (Yukihiro Matsumoto)
Hi,
[#29915] Re: How to check free diskspace? (fwd) — Mathieu Bouchard <matju@...>
[#29932] Happy 2002! — "Rich Kilmer" <rich@...>
Happy New Year from Washington DC!
>
"James Britt (rubydev)" wrote:
I am attempting to install Ruby 1.6.6 on Solaris (SunOS 5.6):
At Tue, 1 Jan 2002 23:10:57 +0900,
On Wednesday, January 2, 2002, at 03:43 AM, Takaaki Tateishi wrote:
>>>>> "N" == Nigel Gilbert <n.gilbert@soc.surrey.ac.uk> writes:
[#29979] Extending Ruby on Windows (New Post) — "Alan Moyer" <moyer4@...>
This is actually a continuation of the thread I stared on 12/28. I tightened
[#29980] Project Proposal: Cardinal: Ruby frontend for Parrot — ptkwt@...1.aracnet.com (Phil Tomson)
We've had a couple of different threads flowing here the last few days
[#29991] Execing command with backquotes — mail02@... (Frank Benoit)
Hi
You need to add cmd.exe like this:
On Tue, 01 Jan 2002 23:32:43 GMT, "Mark Hahn" <mchahn@facelink.com>
[#30011] on the occasion of message 30K — David Alan Black <dblack@...>
Hello --
[#30101] Ruby Weekly News rdf feed now available — Dave Thomas <Dave@...>
[#30121] more parrot-questions.. — Erik B虍fors <erik@...>
Maybe I should join perl6-internals for this but here we go.
[#30124] How to get top-level object from C? — "Paul E.C. Melis" <melis@...>
Hi,
>>>>> "P" == Paul E C Melis <melis@cs.utwente.nl> writes:
At Fri, 4 Jan 2002 00:19:08 +0900,
>>>>> "n" == nobu nokada <nobu.nokada@softhome.net> writes:
[#30143] Rubydoc ? — Vincent Bernat <bernat@...>
Hi !
[#30144] Compiling Berkeley db for Ruby under Cygwin — "Albert L. Wagner" <alwagner@...>
Even as a Linux user, I probably stay as confused about compiling
[#30149] Ruby and Eclipse — bobx@... (Bob)
Is anyone working on getting a Ruby module for the eclipse project
[#30191] chomp for arrays? — dempsejn@...
Hi All,
How about something like this?
On Sat, Jan 05, 2002 at 04:53:14AM +0900, Adam Spitz wrote:
Hello --
A daydream of mine is a "super-require" that if the file was not found, the
At 06:31 AM 1/7/2002 +0900, Mark Hahn wrote:
Right and the way to address this is to have a public/private encryption key
At 11:48 AM 1/7/2002 +0900, Rich Kilmer wrote:
On Mon, Jan 07, 2002 at 12:03:05PM +0900, Dan Sugalski wrote:
At 01:07 PM 1/7/2002 +0900, Massimiliano Mirra wrote:
At 12:39 PM 1/7/2002 +0900, Rich Kilmer wrote:
I don't understand. I seriously doubt the cia would be interested in this
[#30195] should I use ruby instead of perl — vekkuli ketkutin <qvyht@...>
simple question...
After using Ruby for several months now, I notice that using Ruby
On Fri, Jan 04, 2002 at 08:32:26PM +0900, vekkuli ketkutin wrote:
[#30203] Ruby 1.6.6 bug and fix — Michal Rokos <rokosm@...>
[#30205] Bug? — Martin Kahlert <martin.kahlert@...>
Hi!
[#30229] cdecl vs stdcall — Shan-leung Maverick WOO <maverick@...>
Hello,
Hi,
[#30242] Patch for Ruby 1.7 — "Lyle Johnson" <ljohnson@...>
Looking at the CVS version of Ruby, the declaration for rb_rescue2() in
[#30243] Tab Arrows in RDE — "Ralph Mason" <ralph.mason@...>
Does anyone know how you turn off those tab arrows in RDE. They offend =
[#30265] Structs and Marshalling — Albert Wagner <alwagner@...>
I keep getting myself tripped up when I Marshal Struct objects. I typically
>>>>> "A" == Albert Wagner <alwagner@tcac.net> writes:
On Saturday 05 January 2002 06:25 am, you wrote:
Hi,
>>>>> "Y" == Yukihiro Matsumoto <matz@ruby-lang.org> writes:
At Tue, 8 Jan 2002 02:36:12 +0900,
Hi,
>>>>> "n" == nobu nokada <nobu.nokada@softhome.net> writes:
At Tue, 8 Jan 2002 17:59:23 +0900,
>>>>> "n" == nobu nokada <nobu.nokada@softhome.net> writes:
[#30267] Need help understanding system() call — "John Wheeler" <wheelerwjx9@...>
I have a quick question for anyone willing to help out a newbie:=20
In article <003201c1966f$dadae780$0301a8c0@inf>,
[#30274] The Ruby Way — "Conrad Schneiker" <schneiker@...>
Hi,
> From: Conrad Schneiker [mailto:schneiker@jump.net]
That was supposed to say "how do I implement a hash with duplicate keys?"
Hi,
[#30278] Summary: Call for a small program - willing to give a bonus — Tom Karas <Tom.Karas@...>
Hello out there,
[#30286] Ruby article on Freshmeat — Stefan Scholl <stesch@...>
http://freshmeat.net/articles/view/358/
I was in the middle of writing almost exactly what you said, because
[#30320] Sorting a Hash by value of integer stored in the Hash — Michael Joner <finalfrontier@...>
I have a program which creates a Hash array. The ultimate result is a
[#30327] one liner / overriden class repository — "Jack Dempsey" <dabigdemp@...>
Why aim if not high? :-)
On Mon, 7 Jan 2002, Chad Fowler wrote:
Horacio Lopez <vruz@www.digipromo.com> writes:
> From: dave@thomases.com [mailto:dave@thomases.com]On Behalf Of Dave
[#30347] How to convert character code to a String? — furufuru@... (Ryo Furue)
Hi there,
[#30359] possible addition to rubycookbook.org — "Jack Dempsey" <dabigdemp@...>
Hi Colin (et al),
[#30361] obfuscated ruby contest — "Jack Dempsey" <dabigdemp@...>
Although I agree that creating obfuscated ruby code is probably a =
[#30366] class name reported differently in different contexts — Joel VanderWerf <vjoel@...>
On Mon, 7 Jan 2002, Chr. Rippel wrote:
<ale@crimson.propagation.net> wrote
>>>>> "C" == Chr Rippel <chr_news@gmx.net> writes:
"ts" <decoux@moulon.inra.fr> wrote in
[#30372] [ANN] Invitation to join LotY (Language of the Year) project, 2002: learning Haskell — David Alan Black <dblack@...>
Dear fellow programmers,
On Mon, 7 Jan 2002, David Alan Black wrote:
[#30391] Efficient "lexing" in Ruby (maybe an RCR?) — "Matt Armstrong" <matt+dated+1010799012.80728c@...>
I notice that many of the Ruby packages that do hard core parsing make
At Mon, 7 Jan 2002 10:30:17 +0900,
nobu.nokada@softhome.net writes:
[#30413] how do I "pop up" a scaled jpg image — Bil Kleb <W.L.Kleb@...>
So I created a small script (I welcome criticism) to
[#30431] Re: snippet exchange (was: Re: Re: chomp for arrays?) — "Jack Dempsey" <dabigdemp@...>
The way i was thinking of this working would be this: someone has heard of a
On Mon, Jan 07, 2002 at 01:37:56PM +0900, Jack Dempsey wrote:
On Mon, 2002-01-07 at 11:08, Massimiliano Mirra wrote:
On Tue, Jan 08, 2002 at 02:24:18AM +0900, Sean Middleditch wrote:
On Mon, 2002-01-07 at 15:10, Massimiliano Mirra wrote:
On Tue, Jan 08, 2002 at 05:25:11AM +0900, Sean Middleditch wrote:
[#30443] "[ruby-talk:12345]" tag is removed — matz@... (Yukihiro Matsumoto)
Hi,
[#30454] the [ruby-talk] is gone? — "Jack Dempsey" <dabigdemp@...>
Matz,
[#30461] Re: the [ruby-talk] is gone? — "Jack Dempsey" <dabigdemp@...>
Hi Matz,
Yukihiro Matsumoto wrote:
Hi --
[#30494] Segfault with druby and fork — Michael Witrant <mike@...>
Hello,
Hi,
On Tue, 8 Jan 2002 00:37:14 +0900
Hi,
I wanted to give everyone an update on where we are with the FreeRIDE
Documentation should also be a big(?) concern. I am new to Ruby as
On Wed, 9 Jan 2002, Bob wrote:
"Neil Hodgson" <nhodgson@bigpond.net.au> wrote:
Absolutely! I've thought about documentation, but I wouldn't want to start
[#30503] regex/BNF for class names — Tobias Reif <tobiasreif@...>
Hi,
Hi,
Hello --
[#30539] RDoc Alpha-6 available — Dave Thomas <Dave@...>
Tobias Reif <tobiasreif@pinkjuice.com> writes:
break each title into their own frame with a fixed height
Hi Dave,
"NAKAMURA, Hiroshi" <nahi@keynauts.com> writes:
[#30556] Ambiguous result making the latest snapshot. — Chris Gehlker <gehlker@...>
Making the latest snapshot on MOSX 10.1.2 I get:
[#30581] eruby only generates text/plain — Martin Maciaszek <mmaciaszek@...>
I compiled mod_ruby with eruby. Compiling went find and the
[#30658] Proc hash bug? — "Nathaniel Talbott" <ntalbott@...>
This behavior seems very strange (and is breaking one of my scripts):
Hi,
Yukihiro Matsumoto [mailto:matz@ruby-lang.org] wrote:
[#30700] A few questions... — "Morten" <morten@...>
Hi,
[#30706] ANNOUNCE: FXRuby-0.99.188 Now Available — "Lyle Johnson" <ljohnson@...>
All,
[#30709] instance variables automatically accessible? — cmlr@...
Does anyone know the best way to make instance variables in a class
[#30724] How to override subclass#new — Albert Wagner <alwagner@...>
I have some code similar to below, which expresses my intent, but is not what
[#30737] rpkg 0.1 (long) — Massimiliano Mirra <list@...>
<yaaawn>
Massimiliano Mirra <list@chromatic-harp.com> writes:
On Fri, Jan 11, 2002 at 04:13:48AM +0900, Dave Thomas wrote:
[#30743] Severe issue with two Threads and load and eval — "Jens Nissen" <frodo.hobbit@...>
I have trouble with executing load and eval in two concurrent Ruby Threads.
[#30746] New to Ruby - doing Web project — David Corbin <dcorbin@...>
I'm starting to learn Ruby, and I've decided on a small web/integration
[#30750] Fixing RUDL C extension and Ruby for Visual C — Danny van Bruggen <danny@...>
Hello all,
[#30753] Ruby books — Stephan K舂per <Stephan.Kaemper@...>
Hi all,
On Thu, 10 Jan 2002 16:12:35 +0100, Dave Thomas wrote:
[#30760] regexen for strings that can be converted to numbers — Tobias Reif <tobiasreif@...>
Hi,
nobu.nokada@softhome.net wrote:
nobu.nokada@softhome.net wrote:
[#30782] Question about RubyCocoa and GnuStep — ptkwt@...1.aracnet.com (Phil Tomson)
On 1/10/02 1:23 PM, "Phil Tomson" <ptkwt@shell1.aracnet.com> wrote:
On 1/10/02 1:19 PM, "Chris Gehlker" <gehlker@fastq.com> wrote:
On 1/10/02 2:50 PM, "Chris Thomas" <cjack@cjack.com> wrote:
[#30789] Build question: confused about ext/Setup and static linking — ptkwt@...1.aracnet.com (Phil Tomson)
I was under the impression that if you want a module that is named in
[#30792] When trying to pack Ruby scripts in one .exe file under Windows. — "Carine Abrantes" <abrantes.carine@...>
Hi,
[#30826] SysV::IPC — ahoward@... (ara howard)
has anyone written an interface to SysV::IPC? if not, are any others
[#30839] What is the best way to learn Ruby? — moontoeki@... (Moontoeki)
What is the best way to learn Ruby?
[#30841] The * operator... — Sean Chittenden <sean@...>
What's the * operator called when used in a method's arguments?
[#30866] Dir.entries have no home — Ron Jeffries <ronjeffries@...>
Chet and I were writing a little code manager yesterday and we wrote
Thanks David and Massimilano for your interesting and helpful replies.
On Sat, Jan 12, 2002 at 04:44:42AM +0900, Ron Jeffries wrote:
On Sun, Jan 13, 2002 at 02:43:33AM +0900, Massimiliano Mirra wrote:
Ron Jeffries <ronjeffries@REMOVEacm.org> writes:
[#30872] File management routines? — Massimiliano Mirra <list@...>
Is there any collection of file management routines, such as recursive
[#30883] eruby does not output error message — Masanori Fujita <fujita@...>
Javier Fontan wrote:
[#30890] gsub: arrays as parameters — "Jack Dempsey" <dempsejn@...>
I wrote this and it works well for me. I wanted to see what others
Hello --
Hi David,
On Sat, Jan 12, 2002 at 03:56:15AM +0900, Jack Dempsey wrote:
[#30920] MetaRuby : RubySchema.rb howto? — Tobias Reif <tobiasreif@...>
Hi,
Mathieu Bouchard wrote:
Mathieu Bouchard wrote:
Hi Tobias et al,
prettyprint.rb (and pp.rb) is written by me.
[#30936] raf - ruby application finder — Juli疣 Romero <julian.romero@...>
Yet another RAA web browsing site.
[#30949] Another suggestion for FreeRIDE — ptkwt@...1.aracnet.com (Phil Tomson)
Based on some discussions over at comp.lang.python...
Here's the code for that: easy, but it'll do the subs...i left the
"Jack Dempsey" <dempsejn@georgetown.edu> writes:
Hello --
[#30971] Changes to block behavior in ruby 1.6.6 — Niklas Frykholm <niklas@...>
It used to be that I could do this
[#30975] RubyUnit — David Corbin <dcorbin@...>
I'm trying to use RubyUnit. I've copied testall.rb, and modified it's
[#30988] I/O gets and integers — "linas" <geek@...>
Whenever i use gets to retireve user input, it always retrieves it as a
[#31008] RCRCR — David Alan Black <dblack@...>
Hello --
[#31044] syntax checking and error message — Shan-leung Maverick WOO <maverick@...>
Hello,
>>>>> "S" == Shan-leung Maverick WOO <maverick@cs.cmu.edu> writes:
[#31058] Markus' ruby-parser — Mathieu Bouchard <matju@...>
On Sun, 13 Jan 2002, Mathieu Bouchard wrote:
[#31068] Conflicting method names with modules — Jonathan Lim <trayde@...>
Hi,
[#31077] Markus' ruby-parser (part 2) — Mathieu Bouchard <matju@...>
[#31080] Best way for platf. independent compression? — Massimiliano Mirra <list@...>
Currently, rpkg builds packets by tar'ring and gzip'ping the source
On 1/13/02 1:42 PM, "Massimiliano Mirra" <list@chromatic-harp.com> wrote:
On Mon, Jan 14, 2002 at 12:08:58PM +0900, Chris Gehlker wrote:
On Mon, 2002-01-14 at 17:17, Massimiliano Mirra wrote:
On Tue, Jan 15, 2002 at 03:50:39AM +0900, Erik B虍fors wrote:
* Massimiliano Mirra (list@chromatic-harp.com) wrote:
On Tue, Jan 15, 2002 at 08:29:05AM +0900, Thomas Hurst wrote:
* Massimiliano Mirra (list@chromatic-harp.com) wrote:
On Thu, Jan 17, 2002 at 04:48:30AM +0900, Thomas Hurst wrote:
[#31085] Small Methods - a ramble — Ron Jeffries <ronjeffries@...>
I noticed in some code that Chet and I were writing that, as Smalltalkers, we tend to write really
On Sun, 13 Jan 2002 22:56:22 GMT, Tobias Reif <tobiasreif@pinkjuice.com>
Ron Jeffries wrote:
Hi --
[#31099] a wishlist for ruby 2.0 — Mathieu Bouchard <matju@...>
Hello --
Hi,
Hi,
"Mathieu Bouchard" <matju@sympatico.ca> wrote in,
[#31143] questions: TkText, TkTextTag, etc — nilzn@... (Nils)
hi all
[#31174] Re: Announcing Log4r - A flexible logger for Ruby — Brian Marick <marick@...>
At 03:07 AM 1/8/02, Leon Torres wrote:
[#31182] ROSA (pre-announcement) — "Jack Dempsey" <dempsejn@...>
Over the last few weeks a couple threads emerged in which an online
[#31224] benefits of callbacks — "Jack Dempsey" <dempsejn@...>
A co-worker asked today what they were and why they are so useful, and to be
A callback gives the power of a virtual or late binding function to a non OO
Ok, but being in Ruby (which most certainly is OO =P), why are callbacks so
Signals. You can register a function (or an object, in Ruby) to listen
[#31248] list of all class names — Tobias Reif <tobiasreif@...>
Hi,
[#31251] Swig Ruby documentation mods. — Hugh Sasse Staff Elec Eng <hgs@...>
I have been trying to use Swig Ruby recently, and in attempting to
On Tue, Jan 15, 2002 at 09:18:18PM +0900, Hugh Sasse Staff Elec Eng wrote:
On Wed, 16 Jan 2002, Alan Chen wrote:
At 07:00 PM 1/16/02 +0900, Hugh Sasse Staff Elec Eng wrote:
On Wed, 16 Jan 2002, Luigi Ballabio wrote:
At 11:09 AM 1/16/02 +0000, Hugh Sasse Staff Elec Eng wrote:
On Wed, 16 Jan 2002, Luigi Ballabio wrote:
[#31262] grabbing stuff from web pages — Ron Jeffries <ronjeffries@...>
Part of my web site has recommended books. I use the cover jpegs from
[#31269] Windows Automation — Bhagavatheeswaran Mahadevan <BMahadevan@...>
Hi
[#31275] how to get all the reserved words? — Tobias Reif <tobiasreif@...>
Hi;
[#31289] memory usage question — "Mark Hahn" <mchahn@...>
I need to write a script that will use a hash with 4 million strings of 16
----- Original Message -----
[#31311] Vote for Windows Installer packages — Andrew Hunt <andy@...>
[#31319] Ruby and Parrot at the 1/16/2002 Boston Perl Mongers meeting — Dan Sugalski <dan@...>
Dunno if anyone's interested, but there'll be both a short presentation on
[#31401] attr_{reader|writer|accessor} for class methods — stephen.hill@... (Steve Hill)
Hi,
[#31404] Re: A question on Ruby Threads — "Tobias DiPasquale" <anany@...>
In article <a242re$gop@ftp.ee.vill.edu>, "Chris Gehlker"
In article <a24bn1$lhu@gap.cco.caltech.edu>, Phil Ehrens <-@-> wrote:
Hi,
[#31424] A few words on threads — "Avdi B. Grimm" <avdi@...>
Warning: many strong personal opinions and broad
"Avdi B. Grimm" wrote:
[#31435] Protecting a member hash — Jim Freeze <jfreeze@...>
Hi:
In article <20020116131656.A93722@freebsdportal.com>,
[#31442] #59 Add fsync method to IO class — hensleyl@... (Leslie Hensley)
Adding fsync and fdatasync methods to the IO class will allow Ruby to
[#31458] ruby docs — ahoward@... (ara howard)
are there any sources of docs other than 'the book' that are more
[#31462] Ruby2Exe? — "Dan Hable" <DHable@...>
I've been assigned the task to deploy some add on modules to our version control software. The only condition is that I need to deliver executable files to the end user. I wrote some demo apps using Perl and Perl/Tk, but I feel like stabbing myself in the eye with a pencil instead of working with Perl's OO abilities. Is there a Ruby or Python to exe generator?
[#31478] rubycookbook.org opens new section for code — Colin Steele <colin@...>
[#31512] Hello! Array sub classing? — Markt <markt@...>
Hello Ruby lovers!
Have to admit I'm making hard work of this...
[#31525] Yet another ruby book listet at amazon.com — Markus Jais <mjais@...>
hi
[#31533] Possible bug in Mac version? — Dave Thomas <Dave@...>
On 1/17/02 6:35 AM, "Dave Thomas" <Dave@PragmaticProgrammer.com> wrote:
Chris Gehlker <gehlker@fastq.com> writes:
On 1/17/02 11:41 AM, "Josh Huber" <huber@alum.wpi.edu> wrote:
[#31542] Segfault for define_method — "Chr. Rippel" <chr_news@...>
Talking about bugs, on cygwin 1.7.2 ...
[#31564] The first alternative RDoc template — Dave Thomas <Dave@...>
Hi,
[#31571] Newbie question: RubyTk and Observer ? — Dave <dlc-usenet@...>
[#31593] Can we use constant for a method name? — moontoeki@... (Sung Moon)
Can we use constant for a method name?
Hi,
[#31604] Re: [Fwd: Re: more parrot-questions..] — Dan Sugalski <dan@...>
>Sorry to send this mail to you in private but I did send it to the
[#31618] foozboozer — Tobias Reif <tobiasreif@...>
Who invented the word "foozboozer"? What does it mean?
[#31619] Solving equation for a variable — Massimiliano Mirra <list@...>
In a symbolic algebra tool named Yacas, one can do the following:
[#31636] What's a wiki? — "Dan Hable" <DHable@...>
I've been reading the mailing list for some time and I'm still a little lost on what a wiki is?
[#31643] Submission: Ruby shard for config files — Sean Russell <ser@...>
Here's a code snippit I find myself using quite a bit. I thought others
[#31655] Is freetds working with ruby? —
Hi
[#31658] dynamic method creation — "Albert L. Wagner" <alwagner@...>
I have a need to dynamically create methods with method names
"Albert L. Wagner" <alwagner@uark.edu> writes:
[#31673] Chopping and chomping to no avail — "Michael Hayes" <mike@...>
[#31692] New Rubygarden poll — Dave Thomas <Dave@...>
[#31711] Re: zip on Linux — "Mirabai Neumann" <webmaster@...>
Mirabai Neumann wrote:
In article <Pine.LNX.4.21.0201191154530.4074-100000@bartok>,
[#31727] Keeping track of multiple Ruby discussion sites. — "James Britt (rubydev)" <james@...>
Recently, Massimiliano Mirra wrote:
On Sun, Jan 20, 2002 at 02:01:38AM +0900, James Britt (rubydev) wrote:
[#31735] installing mod_ruby --> seg fault in ruby-rdtool — craig@...
At least that's where core dumped. FreeBSD/Alpha (4.4-RELEASE). New to
Hi,
[#31741] $_ as default parameter for a function — thomass@... (Thomas)
I'd like the fragment below to produce "blah blah", but it doesn't
[#31748] ssh module? (not zebedee) — Jack Dempsey <dempsejn@...>
Anyone seen/worked on one? Are there any plans to support SSH natively
[#31757] _The Ruby Way_: Call for errata — "Hal E. Fulton" <hal9000@...>
Hello, friends.
[#31789] Coding challenge :-) — David Alan Black <dblack@...>
Hello --
[#31824] Re: Ruby ib Linux disrtos (was: Keeping track of multiple Ruby discussion sites.) — "Tobias DiPasquale" <anany@...>
In article <a2favi$iro@ftp.ee.vill.edu>, "Bob" <bobx@linuxmail.org> wrote:
[#31845] Devel::Logger -- Lightweight logging utility. — "NAKAMURA, Hiroshi" <nahi@...>
Hi all,
On Mon, 21 Jan 2002, NAKAMURA, Hiroshi wrote:
[#31881] Return the ASCII code ? — "D De Villiers" <ddevilliers@...>
Hello!
[#31882] RANT: Ruby GUI API — Sean Russell <ser@...>
I started this rant in another thread, where it was way OT, so I'm moving
Sean Russell wrote:
Massimiliano Mirra wrote:
Sean Russell wrote:
On Wed, Jan 23, 2002 at 03:32:28AM +0900, Sean Russell wrote:
[#31897] Problem with Marshal in bdb-0.2.9 — Albert Wagner <alwagner@...>
Hello, Guy.
[#31901] converting chars to numeric — Mark Probert <probertm@...>
[#31913] to_hex? — "Jack Dempsey" <dempsejn@...>
Is there an easy way to convert a string to hex?
[#31921] Re: RANT: Ruby GUI API — Ben Crowell <crowell02@...>
As a mac user, I'm curious to what extent all this could actually
[#31937] Re: RANT: Ruby GUI API — Ben Crowell <crowell02@...>
M. Mirra wrote:
This is just personal opinion but I'd hate to see the Ruby GUI API
> This is just personal opinion but I'd hate to see the Ruby GUI API
[#32003] Windows ruby(cygwin version) Command Expansion Problem — "Songsu Yun" <yuns@...>
Hi,
[#32029] Abstracted GUI APIs (was: RANT: Ruby GUI API) — Sean Russell <ser@...>
I'd like to follow up on a thread, and attempt to consolidate some thoughts
[#32056] Ruby Publishing Framework v0.5.0 — Bryan Murphy <bryan@...>
Ruby Publishing Framework
* Bryan Murphy (bryan@terralab.com) wrote:
On 1/22/02 6:37 PM, "Thomas Hurst" <tom.hurst@clara.net> wrote:
[#32071] Minor thoughts on 'Find' module — Garance A Drosihn <drosih@...>
I think it would be nice to have one or two alternate behaviors
Hi,
[#32121] : ruby-talk seperation — "Tobias DiPasquale" <anany@...>
Hi all,
[#32134] Re: [POLL]: ruby-talk seperation — "Tobias DiPasquale" <anany@...>
Hi again,
[#32137] Tk interface with Ruby — Bhagavatheeswaran Mahadevan <BMahadevan@...>
Hi
[#32168] Re: OOP UI Design — Chris Gehlker <gehlker@...>
On 1/23/02 8:05 AM, "James Britt (rubydev)" <james@rubyxml.com> wrote:
[#32177] — Eugene Scripnik <Eugene.Scripnik@...>
I have a problem loading files from my script (I mean Kernel::load):
Hi,
Hello nobu,
Hi,
Tuesday, January 29, 2002, 5:05:05 PM, you wrote:
Hi,
Wednesday, January 30, 2002, 4:55:23 PM, you wrote:
Hi,
Monday, February 04, 2002, 10:17:37 AM, you wrote:
>>>>> "E" == Eugene Scripnik <Eugene.Scripnik@itgrp.net> writes:
Wednesday, February 06, 2002, 2:53:27 PM, you wrote:
>>>>> "E" == Eugene Scripnik <Eugene.Scripnik@itgrp.net> writes:
Wednesday, February 06, 2002, 3:34:53 PM, you wrote:
>>>>> "E" == Eugene Scripnik <Eugene.Scripnik@itgrp.net> writes:
[#32216] New JRuby release 1.6/0.3.1 beta — Jan Arne Petersen <jpetersen@...>
Hi all!
[#32233] Subclassing vs Subtyping (partly OOP vs FP) — Robert Feldt <feldt@...>
Hi,
Lewis Perin <perin@panix.com> writes:
On Mon, 4 Feb 2002, Dave Thomas wrote:
Robert Feldt <feldt@ce.chalmers.se> writes:
On Mon, 4 Feb 2002, Dave Thomas wrote:
[#32245] FXRuby Drag-and-Drop Code?? — jobeicus@... (Joseph Benik)
Hi,
[#32247] Array.last Weirdness — Jesse Jones <jesjones@...>
I'd expect the following code:
[#32281] Easy references in Ruby? — Olivier CARRERE <olivier@...>
Hello,
[#32312] Serious Array Bug in Ruby 1.6.6? — William Djaja Tjokroaminata <billtj@...>
Hi,
Hello --
Hi,
Hello --
[#32319] looking for an example problem to demonstrate TaskMaster — ptkwt@...1.aracnet.com (Phil Tomson)
I'm looking for suggestions here...
How about some sort of search for a value? As you add more nodes to search
In article <m2adv37fh9.fsf@zip.local.thomases.com>,
[#32343] Win32ole event callback? — a@... (a)
In the world of visual basic, some event subs have an argument that can
[#32351] Ruby/Gtk : question on menus — Markus Jais <info@...>
hello
[#32355] RDoc learns to draw pictures... — Dave Thomas <Dave@...>
On 25 Jan 2002, at 9:34, Dave Thomas wrote:
"Pit Capitain" <pit@capitain.de> writes:
On Fri, Jan 25, 2002 at 10:38:55PM +0900, Dave Thomas wrote:
Jim Freeze <jfreeze@freebsdportal.com> writes:
[#32359] RDoc: eval("class A; ... end") — GOTO Kentaro <gotoken@...>
I'd like to use the great tool RDoc but I have a problem.
[#32388] Ruby Developers Guide — Robert Feldt <feldt@...>
Hi,
----- Original Message -----
[#32401] Sourcecode dump? — Olivier CARRERE <carrere@...>
Hello,
[#32417] Subrange of String subclass => invalid object — "Bob Alexander" <bobalex@...>
Given these conditions:
matz@ruby-lang.org (Yukihiro Matsumoto) writes:
"Yukihiro Matsumoto" <matz@ruby-lang.org> wrote in,
>>>>> "M" == Mathieu Bouchard <matju@sympatico.ca> writes:
matz@ruby-lang.org (Yukihiro Matsumoto) writes:
[#32424] upcase/downcase first character of a word — Tobias Reif <tobiasreif@...>
any simpler way than
[#32432] FXRuby-0.99.189 Now Available — "Lyle Johnson" <ljohnson@...>
All,
[#32445] "friend" alternative in Ruby? — kturing@... (kate turing)
I have a class "Foo". It has a method "doSecretStuff" that I want to
[#32465] rubyzip 0.3.1 — thomass@... (Thomas)
rubyzip 0.3.1 is out.
> It'll need ruby-zlib 0.4 for tgz support, because a) 0.3 nukes
[#32495] REXML: stream parsing question — Markus Jais <info@...>
Hello,
[#32536] Separate lists — Massimiliano Mirra <list@...>
The discussion seems to have died, I think more because the proposed
[#32560] how to find out which args a method can take — Tobias Reif <tobiasreif@...>
Hi,
[#32565] Furnished Office For Rent (close to O'Hare) — milana12373@...
Furnished office for rent.
[#32593] OT: tools for creating documentation — ptkwt@...1.aracnet.com (Phil Tomson)
I'm going to be creating a good bit of documentation for TaskMaster and I
[#32602] open source projects, sponsoring — Tobias Reif <tobiasreif@...>
Hi;
[#32617] Array#splice method — michael libby <x@...>
I'm rewriting the examples in "Mastering Algorithms with Perl" (the
[#32627] Problem with Ruby Tk — Peter Hickman <peter@...>
I'm having some problems with the following code. When I click on either
[#32646] popen3 and buffering — Paul Brannan <paul@...>
I have a program test.rb:
Paul Brannan <paul@atdesk.com> writes:
On Tue, Jan 29, 2002 at 02:58:30AM +0900, Yohanes Santoso wrote:
Here's one possible solution. Does anyone know how to get rid of this
>>>>> "P" == Paul Brannan <paul@atdesk.com> writes:
[#32653] problems with string interpolation — ahoward@... (ara howard)
i'd like do a gsub such that some characters are escapes for later use
ts> well, the problem is with \\ it must be escaped twice this mean
[#32670] What is special about TCPServer? — John Carter <john.carter@...>
I have a wee problem inheriting from TCPServer
[#32681] Cardinal - project looking for a leader — ptkwt@...1.aracnet.com (Phil Tomson)
A few weeks back I proposed the Cardinal project - basically a project to
[#32716] Hal Fulton's Set class — David Corbin <dcorbin@...>
I'm attempting to use this class
[#32731] FOX newbie help, hooking up button click to method — "Morris, Chris" <chris.morris@...>
Whipped up my first FOX dealy ... and it don't work. It creates the form,
[#32732] RbProf 0.2.1 — Robert Feldt <feldt@...>
Hi,
[#32757] strange behavior — <mengx@...>
Hi,
[#32759] Ruby and Morphic? — "Lyle Johnson" <ljohnson@...>
So I'd like to look into an extension for FXRuby that allows you to (easily)
[#32776] RDoc, imagemaps, help — Dave Thomas <Dave@...>
[#32794] trouble changing mtime on symlinks — "Simon Strandgaard" <0bz63fz3m1qt3001@...>
I need to change the time on some symlinks.
[#32803] IOWA error and question — <ntalbott@...>
First of all, when I try to access IOWA pages (I've tried all the
[#32823] Re: strange behavior — <mengx@...>
An indirectly related topic, A class method can not be called
[#32832] Ruby named as a finalist for the Jolt Awards — "Pete McBreen" <pete@...>
Congratulations to Matz and everyone in the Ruby community!
[#32871] Newbie question about mixins — "Mark Wilson" <mwilson@...>
I have a module that I want to use as a mixin. I have defined a method
[#32882] MOre RDoc HTML needed — Dave Thomas <Dave@...>
[#32887] Determining CPU and disk usage — ptkwt@...1.aracnet.com (Phil Tomson)
Re: [Fwd: Re: more parrot-questions..]
>Sorry to send this mail to you in private but I did send it to the
>ruby-talk-mailinglist and hoped that you would answer it. Feel free to
>ignore this mail if I'm taking up your time.
Not a problem, and I've Cc'd it back to ruby-talk. It's been a busy
few days--got DownSized (tm)--and I'm digging out of a huge wad of
mail moved over to a new system. Sorry 'bout the delay.
>I've been trying to build some ruby-classes into parrot and I thought it
>would be really cool to have some ruby-classes in 0.0.4 :)
Absolutely! I need to get the reference type written, then, so
ruby/python assignment semantics work properly.
>Anyway. I'm having some problems understanding how to inherit from a
>base class so I would appreciate if you could answer at least that part
>in the attached mail.
Will do. You won't like it. :)
[Major header snippage]
>On Thu, 2002-01-03 at 23:14, Dan Sugalski wrote:
> > At 11:15 PM 1/3/2002 +0900, Erik B虍fors wrote:
> > >How is object-orientation going to be done in parrot??
> >
> > It's generally going to be left to the various classes. Variables all have
> > a "dispatch to named method" entry in their vtables, which Does The Right
> > Thing. Which, presumably, includes dispatching to the actual
>method somehow. :)
> >
> > So if your code does:
> >
> > someObject.hey_look_a_method
> >
> > that gets translated, more or less, to:
> >
> > find_lex P0, 0, 7 # Assuming we're the seventh lexical in
> > # the current scope
> > call_method P0, "hey_look_a_method"
>
>And here I can show my ignorance again by not knowing what the "seventh
>lexical in the current scope" means :)
I presume I don't need to explain the lexical or scope bits. If I do,
that's OK.
Since all the lexicals are known at compile time, we can cheat and
not have to look things up by name. (We can still do that, but we
don't have to) One of the properties of the hashes used to hold the
lexical variables is that the names come out in the same order they
went in. So if the first name in the hash was "Foo", if you said
"Gimme the value for the first entry" you'd get back the value
associated with the name Foo.
That means the interpreter doesn't need by-name lookups at
runtime--if it knows it needs Foo, and Foo's the first lexical, it
can skip the name lookup, which saves us some time.
>How far off in time is the "call_method"-parrot-op? When can we start
>doing real implementations of the ruby-classes?
We need subroutines and packages to get it implemented. We need more
than that to do it efficiently, but that's all a SMOP.
> > >If I use a perl-module from ruby under parrot and it creates a new
>> >object I should be able to use that from my ruby-code in the same way as
>> >if it was a ruby-object, right??
>>
>> Right.
>
>According to what you write below, not really..
Well, sort of. :)
>Sure, we can use the object like it was a ruby-object but it's not
>really a ruby-object since it doesn't inherit from Object.
Right. The inheritance tree's different--heck, it might even be a
real tree if it's a perl object.
>If I add a method to the Object-class it will not be in
>python/perl-objects which means we are not really running in a
>ruby-world.
From that perspective, you're quite right. Depends, I suppose, on
whether you consider the object hierarchy a part of the language, a
part of the core library, or a quirk of implementation. For me, as
the engine designer, it's in the core library category.
>Personally I think the advantages of interaction between the languages
>outweighs the disadvantages.
I think so too. :)
I think, in practice, that it won't be a problem, but then I'm
writing at what's essentially the assembly language level so my
viewpoint's a bit skewed.
Also, this is only an issue with cross-language objects. If you stay
completely within Ruby code you'd never know.
> > I don't know if python's got a base class, but if it does then python
> > objects only have that base class, not base and Object.
> >
> > As far as the interpreter's concerned, there's really no single superclass
> > that provides any methods or behaviour. (Well, unless you count the "you
> > lose, program dies" routine which'll get filled in for any vtable entries
> > you haven't supplied, but the vtable's a bit below methods and such.
> >
> > If Matz, Larry, and Guido (or some subset of the three) get together and
> > agree on a common set of default methods, then I'll make sure they get in
> > and implemented. (It's not my job to define behaviour, just to design and
>> get implemented the engine that provides the behaviour other people define)
>
>I don't think that is going to happen since perl is not really object
>oriented at all (sure you can have object but still :) ), python is
>half-way OO (some things are not objects/classes) and ruby is fully OO.
>There is no way to do this without turning perl and python into
>something alot more like ruby or turning ruby into something other than
>ruby.
If you look at things right, perl really is completely OO. (You'll
need to stand on your head) For perl 6, it's much more so as part of
the language itself, and completely so for the implementation. Almost
completely by accident, but it was such a nice accident in terms of
performance that it's here to stay.
> > >BTW, thanks dan for answering the other questions I asked :)
>>
>> No problem--glad to answer anything I can.
>
>Good, Then I'm giving you some more questions now :)
>
>I been messing around with parrot alot lately and it's really really
>really cool. I WANT ruby running under this so I was thinking about
>starting the whole thing. I implemented a small RubyObject-pmc. This
>was really easy since there was lot's of examples to build on. A
>RubyString, RubyNumeric, RubyInteger, RubyFloat and a few others should
>also be real easy to create but I didn't find any good information how
>to inherit from the RubyObject type. There wasn't any documentation and
>no examples but since there is a default class that can be inherited
>from I guess it's implemented somehow. You have more info for me?
Some, but not much.
There's two bits here. The first are (as far as Parrot's concerned)
generic methods and such, which live in the class' namespace. They
get called with the call_method vtable, and we'll probably just do a
dynamic by-name lookup and indirect dispatch. Nothing fancy there at
the moment, though it can get fancier later. (Got some ideas and some
pointers at ways to optimize this sort of thing)
For the specific class of methods that Parrot considers 'core', or
the things that populate the vtable, there currently is no dynamic
inheritance. The vtables are populated with pointers to real
functions and that's it. Parrot'll keep a class hierarcy in, and
it'll know what's a child of what class. When you change a parent
class' methods such that its vtable changes, Parrot will
automatically refigure the vtable for the child classes (it's just an
array of function pointers after all) with pointers to the new
routine(s).
I'm going to go and set some of this stuff in wet concrete, BTW. I'd
not given the details a whole lot of thought until now.
>Writing as much of the ruby-implementation as possible in ruby itself
>would of course be very cool.
True. I'm not much of a language purist in that sense, really--I'll
mix C and perl (or ruby, or python, or scheme, or, heck, Fortran)
based on both what makes the implementation easier and what makes it
faster. Parrot does have some bits that are something of a pain for
the folks writing back-end stuff, but it should speed up actual
program runs, so the pain's worth the gain.
>The obvious way of doing this is to write
>some objects and methods in c and then write the rest in ruby and
>compile that ruby-code into parrot bytecode, then include that bytecode
>into every ruby-program.
Sure--it'd just be part of the core ruby library for Parrot.
>Of course this will not be as fast as a
>c-version of everything. I saw that there is a pbc2c-converter in the
>parrot distribution. Would it be possible to use this to "get the best
>of both worlds"? That is, the ruby language but the c-speed?
Absolutely, sure.
>Will there be some way of automatic convertion between types?? What I
>mean is this, let's say you have this wonderfull function in perl that
>takes a PerlString and returns another PerlString. I want to use this
>from ruby and would really like to have RubyStrings for everything.
>Would automatic conversion between these types be something that's
>good/possible?
The core datatypes the engine really cares about are platform
integers, platform floats, bignums (basically an indefinite-precision
base-10 number), and parrot strings.
Parrot strings are a character buffer combined with encoding,
character set, and locale information on the string. They're meant to
be programming-language neutral. (A Unicode string in UTF-32 with a
Finnish locale doesn't care whether it came from Perl, or Python, or
Ruby)
There's not actually a PerlString type as such--the PerlString class
is mis-named. It's a subtype of the perl scalar, for scalars that
currently have only a string in them. Since perl scalars can be
strings, integers, floats, or any number of other things, it makes
sense to have specialized subtypes for those cases where it has
*just* a string, or an integer, or a float. No need to check flags
that way, no need to test and branch, and thus no need to blow your
CPU pipeline a few times before you get to doing the real work.
I get the feeling the explanation's missing a bit, so prompt me for
the bits that are unclear and I'll explain better.
--
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
dan@sidhe.org have teddy bears and even
teddy bears get drunk