[#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: [ANN] Ruby Publishing Framework v0.5.0
Ok, now that I've gotten this initial release out, I want to talk a bit about what it is, how it works and some of the problems I've faced up to this point as these are pretty critical problems for getting Ruby adopted in the XML community (and other problems not related to XML). My Framework basically revolves around the notion of chaining components that modify XML documents together. The first component in the chain starts a SAX2 stream of events, then the next few components modify the stream, while the final component at the end of the chain outputs the final and completed document. I wrote a similar framework (which started before I discovered Cocoon2) in Visual Basic for my employer that used the DOM. This worked, but this is a VERY innefficient way to process an XML document, especially when you start to chain a lot of components together. Here's an example: Your initial component generates an XML document by reading it from disk. The next component in the chain transforms certain tags (say framework:include) by loading another XML document from disk and inserting it's contents into the stream. Simple enough. But what if you have another component that inserts a bunch of errors into the document by searching for the yourapp:errors tag? Well, now you can see the problem, each component has to scan the ENTIRE DOM tree just to make one change. This is clearly a bad idea when you start to chain things together. So the decision to move to a SAX2 stream as opposed to a DOM architecture like REXML was an easy one to make (and seeing that the Cocoon2 guys did the same thing also helped). But writing applications that use SAX in Ruby is funky at best. The biggest problem is in dealing with namespaces. A lot of the Ruby XML libraries don't seem to handle XML namespaces very well (if at all). For a project of this scope, namespaces become very critical very quickly. REXML didn't seem to support streaming namespaces at all (maybe I missed something). Even if it did though, the streaming portions of REXML didn't seem to prone to connecting various stream consumers and providers together or very fleshed out at all. So I moved to XMLParser. Now, XMLParser does support namespaces, but it's extremely weird how it's done. I would have thought that XMLParser would have supported the full SAX2 interfaces that Expat provides, but instead it seems to implement this funky way of combining the namespace URI with the attribute tag and cramming that into the SAX1 interfaces. I don't know if this is an XMLParser issue, or one of the things Expat does, but it's not very effective. I essentially ended up writing a wrapper class for XMLParser that undid the damage and made the interfaces more SAX2 like. Which brings me to another point. We've discussed XML implementations before, even streaming parsers like SAX. Everybody has their own little way of doing it. This is a problem, and here's a good example. My framework streams SAX2 events into a Transformer (an object that makes changes to the SAX2 stream) that uses the Sablotron interface to apply a stylesheet to the stream. To accomplish this, my component has to collect the SAX2 stream into a ruby string. Load the stylesheet, pass the Ruby string and the stylesheet into the sablotron transformer and let it do it's mojo. Sablotron returns a ruby string, which I then have to *reparse* to generate the new SAX2 stream and send that off to the next component. This is hacky at best (and definitely a performance drag). An ideal implementation would work more along these lines. The XSLT processor needs to use some sort of DOM like implementation to function (probably unavoidable). If the XSLT processor could directly accept SAX events and build it's internal representation, that would cut a good deal of code out of the picture (serializing the stream to a string, and then parsing that string into the new internal representation). Then, because we are using a standard event interface, the final XML document could then be immediately streamed out via the SAX2 interfaces generated directly from the internal DOM, cutting out yet even more code (avoiding saving the new XML document to a string and then parsing ANOTHER time). That's the ideal. Imagine if XSLT4R used REXML as it's internal representation, REXML was capable of generating it's tree directly from SAX2 events and then capable of generating SAX2 events directly from it's tree. That would make combining the various XML technologies not just easier, but a LOT more efficient. Now, I've basically created a SAX2 interface for Ruby in my project (that sits on top of XMLParser). There has to be synergy between my project, and projects such as XMLParser, REXML, and NQXML. I'd like your guys oppinions on the subject. I want to find a common ground we can all agree on and am willing to work towards that common ground. Now, that's the big XML dilemna. My framework does a few things that are very non-XML for you. The biggest addition is a new Session interface. My Session and Cache interfaces are very straightforward, they are basically Ruby hashes that get Marshalled to disk after every page request (using file locking to hopefull prevent any conflicts). This works, but is hardly ideal. At some point I want to have the ability to plug in something like druby for a better solution. But that's not my problem. My problem has to do with security concerns. Ruby won't eval code that is tainted. These cached objects are tainted when they are loaded from the disk, so I frequently have to untaint them to access them. Some I check, some I don't (I either can't or for good or bad think I can trust them). This works, but this sits wrong in my stomach. Assuming I marshal the objects to disk with the appropriate permissions such that only the apache user can access the file, is that good enough? (I'm ignoring the problem of multiple users having access to the Apache environment for now). It makes me nervous, but anyway, this brings me to my second question. I seem to be having problems untainting the objects in the hash. If I trust that the file I loaded was secure, then I should implicitly trust everything in the cache. Hash.untaint does not seem to propgate to all entries within the hash. Is this the correct behaviour? Right now I have to explicitly put untaints all throughout my code and that again makes me nervous. Ok, those are my biggest concerns at the moment. I'm sure I'll have more, but I think both of these should provide enough content for me to fuss over to keep me busy for awhile now (and I still have way too much documenting to do ;) Bryan Bryan Murphy wrote: > Ruby Publishing Framework > Version 0.5.0 > > Description: > > The Ruby Publishing Framework is an XML based framework for building > dynamic > applications that can generate content based on a SAX2 like stream of > events. > > Version 0.5.0: > > This is the initial public release of the framework which currently > focuses > on bulding web based applications. > > What is it? > > An XML publishing framework is a set of reusable classes for building > applications that generate content using XML documents. By defining > classes > of components that conform to specific behaviors and providing code for > linking those classes together, the framework provides a means to > efficiently > create XML based applications out of easily resuable and highly > modularized > components. > > How can this benefit me? > > To get to the point: When you build a web based application, you are > making > an HTML document that pulls data from one or more sources. Since > HTML is > essentially a dialect of XML, you can build applications that utilize > the > industry-wide XML expertise and technologies. > > The problem with this approach is that you often end up reinventing the > wheel. Every time you want to create or modify an XML document, you > have > to write code to process the XML. This can become tedious as you write > what is essentially the same code (with minor differences) again and > again. > > To compound the problem, you are frequently using outdated technologies > (such as ASP or JSP pages) that cause problems of their own (such as > mixing > content with logic). Attempts have been made to rectify these problems, > but many of them don't go far enough. > > An XML publishing framework allows you to move beyond the world of > outdated > web development. By utilizing standards based technologies and best > practices (such as MVC seperation of content, logic, and > presentation) the > framework allows you to quickly and easily build complex XML > applications. > > Where can I get it and/or learn more? > > http://software.terralab.com/framework/ > > Are there any similar projects in other languages? > > Apache Cocoon 2 (Java) > -> http://xml.apache.org/cocoon/ > > AxKit (Perl) > -> http://www.axkit.org/ >