[#52047] ruby-talk separation, part II — " JamesBritt" <james@...>
> > > >ZenTest and ZenWeb were just released. I announced these to
> > If somebody has a new class or library, then they should add it to
> > > If somebody has a new class or library, then they should add it to
-----BEGIN PGP SIGNED MESSAGE-----
Hello --
On Tue, Oct 01, 2002 at 09:03:44PM +0900, Bulat Ziganshin wrote:
FreeBSD's got a decent setup. Few additions to the list here:
On Wed, Oct 02, 2002 at 04:29:33AM +0900, Sean Chittenden wrote:
As I ponder over the list of topics below, I wonder if people would be
[#52094] OO Perl -> Ruby — ptkwt@...1.aracnet.com (Phil Tomson)
I'm wrapping a C library for a Binary Decision Diagram package using swig.
[#52142] current method — "Volkmann, Mark" <Mark.Volkmann@...>
Is there a way to programmatically determine the name of the method that is
you could do something like this:
[#52184] How do I invoke a block procedure from within a C extension? — philip.bacon@... (Philip Bacon)
I am writing a C extension and wish to call a block from within one of
[#52219] Targeting Borland's compiler on Windows — "Gavin Sinclair" <gsinclair@...>
All,
[#52245] Compiling stuff under Windows: list of problems — "Gavin Sinclair" <gsinclair@...>
I don't want my tortuous experience of trying to get things working under this
[#52259] bugs — "Kontra, Gergely" <kgergely@...>
Hi!
Hi,
>> >> k='Hello'
[#52262] Tcl implemented in hardware? — ptkwt@...1.aracnet.com (Phil Tomson)
This is a rather strange item. I was checking out comp.arch.fpga
[#52278] Printing the Contents of a 2d Array — rotfeast68@... (Rotfeast)
At the risk of sounding like a nuby to ruby...
[#52290] Regexp: Stripping out all except ASCII? — Mark Probert <probertm@...>
[#52300] Can soneone tell me what I'm doing wrong... — Jeremy Gregorio <gunvalk@...>
I'm trying to write a little script to rename my mp3s I started with this:
Hi Jeremy,
Well, I don't know how to explain it easily without using the concept of
[#52349] Please help, question regarding threads — Andrew Cowan <icculus@...>
Bulat Ziganshin wrote:
[#52358] Reusing base classes tests? — coma_killen@...
Hi,
[#52364] mod_ruby and postgresql — Harry Ohlsen <harryo@...>
I did a quick search on the ruby-talk archive, but to no avail, so here's my
In article <200210031922.48955.harryo@zip.com.au>, Harry Ohlsen wrote:
[#52380] Confusion on Keywords — William Djaja Tjokroaminata <billtj@...>
Hi,
[#52391] CRuby (Was: R) — Nikodemus Siivola <tsiivola@...>
CRuby = subset of Ruby + typed methods + compiler to C
Nikodemus Siivola wrote:
Michael Campbell wrote:
Hi --
[#52411] Violation of Principle of Least Surprise — Travis Whitton <whitton@...>
I'm writing this to report a bug as related to Ruby's principle of
[#52436] Specifying local and external block parameters (that old chestnut) — "Gavin Sinclair" <gsinclair@...>
I've cannibalised discussion from the "Bugs" thread. I hope it is a service to
Hi,
On Fri, Oct 04, 2002 at 11:37:21AM +0900, Yukihiro Matsumoto wrote:
Hi,
Hello Yukihiro,
On Fri, 04 Oct 2002 17:32:01 +0000, Bulat Ziganshin wrote:
>>>>> "Y" == Yukihiro Matsumoto <matz@ruby-lang.org> writes:
----- Original Message -----
>>>>> "M" == MikkelFJ <mikkelfj-anti-spam@bigfoot.com> writes:
On Mon, Oct 07, 2002 at 12:01:41AM +0900, ts wrote:
Hi,
[#52483] ruby if no input — "Kontra, Gergely" <kgergely@...>
Hi!
[#52487] SOAP4R proxy support? — "Volkmann, Mark" <Mark.Volkmann@...>
I can't get SOAP4R to send requests though a proxy server. I'm setting the
[#52507] mingw install — Mark Probert <probertm@...>
[#52519] Interview of Matz in Login — Pierre Baillet <oct@...>
Hello there, --
[#52547] Ruby to approximate 'file'? — Austin Ziegler <austin@...>
Is there a file-type detection script available for Ruby, similar to
[#52557] Speed of Ruby/modruby vs PHP — Jim Freeze <jim@...>
Hi:
On Sun, Oct 06, 2002 at 08:50:48PM +0900, MikkelFJ wrote:
> How do I configure mod_ruby to run with a cached script?
On Sun, Oct 06, 2002 at 09:44:41PM +0900, MoonWolf wrote:
Ok, here is how I understand this.
On Sun, Oct 06, 2002 at 05:07:25PM -0400, Jim Freeze wrote:
Hi:
Jim Freeze (jim@freeze.org) wrote:
On Mon, Oct 07, 2002 at 12:05:01PM +0900, Eric Hodel wrote:
Jim Freeze (jim@freeze.org) wrote:
On Tue, Oct 08, 2002 at 04:25:56AM +0900, Eric Hodel wrote:
[#52570] Segfault when installing Test::Unit — nico <n1k0@...>
When i try to install Test::Unit 0.1.4 i get the following error:
>>>>> "n" == nico <n1k0@rogers.com> writes:
>>>>> "t" == ts <decoux@moulon.inra.fr> writes:
[#52579] Coroutines for discrete event simulation? — "Ken Sprague" <eclipse@...>
Is it possible to use Ruby to design a discrete event simulator using
[#52581] Platform again — Friedrich Dominicus <frido@...>
Well I ask again. On what platforms are you using ruby most of the
[#52594] CGI sessions as threads? — Brian Candler <B.Candler@...>
Hello,
[#52602] Another take on ensuring right args to methods — Massimiliano Mirra <list@...>
Hi --
On Sun, Oct 06, 2002 at 10:43:46PM +0900, dblack@candle.superlink.net wrote:
On Mon, Oct 07, 2002 at 05:15:05PM +0900, Massimiliano Mirra wrote:
On Tue, Oct 08, 2002 at 05:52:46PM +0900, Mauricio Fern疣dez wrote:
[#52608] Update on HTTP session handling in Ruby? — "Szabolcs Szasz" <sz@...>
Hi,
[#52641] regex speed — David Garamond <davegaramond@...>
i am noticing ruby is much slower than perl when matching patterns with
[#52643] Rapid Development with Ruby — Vincent Foley <vinfoley@...>
I just read an interview with Pragmatic Andy and Dave on Amazon.com:
[#52653] webforms — "Kontra, Gergely" <kgergely@...>
Hi!
I downloaded and tried it but fails to create a session (?).
"Szabolcs Szasz" <sz@szasz.hu> writes:
[#52664] Regexp.MULTILINE — David Garamond <davegaramond@...>
while we're still on it, i wonder whose decision it is to remove perl's
[#52669] Things That Newcomers to Ruby Should Know — billtj@... (Bill Tj)
Hi,
Hello Bill,
>3) 'x+=b', 'x*=b' and other assignment operators is internally translated
[#52671] File.read Vs. File.sysread performance... — "Allen Mitchell" <ajm@...>
I tried the following piece of code on W2000 using a 2.4MB file
[#52681] reading from a URL — "Volkmann, Mark" <Mark.Volkmann@...>
I need to read the content of an HTTP URL. I can break the URL up into
[#52691] eruby forms processing — <jthorne@...>
I am a newbie web programmer who has been told that ruby and eruby is
[#52693] Clearing arrays etc. in extensions — Mark Probert <probertm@...>
What are you wanting to do? Make the array have 0 elements? You could use
Hi,
[#52712] odd edge case with require — patrick-may@... (Patrick May)
$ cat test.rb
[#52727] block vars (some theory) — "Bulat Ziganshin" <bulatz@...>
Hello all,
>>>>> "B" == Bulat Ziganshin <bulatz@integ.ru> writes:
Hello ts,
[#52747] Re: reading from a URL — "Volkmann, Mark" <Mark.Volkmann@...>
This is what I'm currently doing to read from a URL through the company
[#52750] Re: reading from a URL — "Volkmann, Mark" <Mark.Volkmann@...>
Has Matz said whether he planned to integrate your proxy authorization patch
On Wed, Oct 09, 2002 at 12:02:54AM +0900, Volkmann, Mark wrote:
[#52779] mod_ruby post-request cleanup — Harry Ohlsen <harryo@...>
This is very likely just a bug in my code, but I figured I'd ask, just to save
[#52797] inserting an element to array at a specified position — David Garamond <davegaramond@...>
since ruby's array doesn't have index(POS, OBJ) like in python, nor
[#52801] Compiling using IMPORT, NT=1 — =?ISO-8859-2?Q?Marco_K=F6gler?= <marco.koegler@...>
Hi!
[#52806] strange Hash default behaviour — John Tromp <tromp@...>
I wrote a ruby program to read a list of graph edges and produce
[#52823] CGI sessions without cookies? — Stefan Scholl <stefan.scholl@...>
I haven't tried sessions, yet. But I'm curious if you can work
[#52834] libtemplate ruby binding — Christian Kruse <ckruse@...>
Hello together,
[#52848] Polymorphism, Isomorphism — ptkwt@...1.aracnet.com (Phil Tomson)
Consider this a bit of public pondering...
On Thu, 10 Oct 2002 06:12, Phil Tomson wrote:
[#52888] possible patch for singleton.rb — leikind@... (Yuri Leikind)
Hello all,
[#52910] Re: Too Many Underscores? — "Volkmann, Mark" <Mark.Volkmann@...>
I haven't followed the discussion about new syntax for private variables
[#52930] Sorting an array of hashes — Martin Stannard <martin@...>
Hi,
[#52936] Re: Things That Newcomers to Ruby Should Know — "Pe, Botp" <botp@...>
[#52967] Problems with coordinates and clipping — 520079130762-0001@... (Michael Neumann)
Hi,
[#52992] Re: REXML & Root Node — "Hammond, Tony (ELSLON)" <T.Hammond@...>
Matt:
[#53003] UTF-8 Character Conversion to HTML — Ben Schumacher <ben@...>
-----BEGIN PGP SIGNED MESSAGE-----
[#53021] FYI: Can't attend RubyConf — "Hal E. Fulton" <hal9000@...>
I am an enthusiastic supporter of Ruby
[#53045] Sorting — warren@... (Warren Brian Noronha)
dear developer,
Hello --
> I think almost anything is a better name than CRAN, as that (to me)
Hello --
> Just a thought: why *not* copy CPAN? It's pretty good, isn't it?
Hi --
[#53141] 1.8 release? — "Gavin Sinclair" <gsinclair@...>
Sorry if this has been discussed to death, but I found no concrete mention
[#53165] access surrounding class — Matthias Veit <matthias_veit@...>
[#53183] final in ruby — "Kontra, Gergely" <kgergely@...>
Hi!
On 2002.10.15, Kontra, Gergely <kgergely@mlabdial.hit.bme.hu> wrote:
>> Will ruby some day support some kind of predicate or modifier, so I can
>>>>> "K" == Kontra, Gergely <kgergely@mlabdial.hit.bme.hu> writes:
Kontra, Gergely wrote:
[#53188] Referring to instance vars in a Struct? — "Chris Morris" <chrismo@...>
I have a Struct -- then I extend the class by adding some methods. I
[#53199] & operation and if statment — Robert McGovern <tarasis@...>
I'm puzzled by the behaviour in the following run. I would expect line 2
[#53203] ruby<=>php for web scripting — "Kontra, Gergely" <kgergely@...>
Hi!
"MikkelFJ" <mikkelfj-anti-spam@bigfoot.com> wrote in message news:aoesk2$l7q$1@netsrv2.spss.com...
[#53230] Please check my algorithm — Vincent Foley <vinfoley@...>
Hi, I found a nice programming challenge:
Hi --
dblack@candle.superlink.net wrote in message news:<Pine.LNX.4.44.0210142141510.7458-100000@candle.superlink.net>...
> dblack@candle.superlink.net wrote in message
"Mike Campbell" <michael_s_campbell@yahoo.com> wrote in message news:<NFBBKBEMGLGCIPPFGHOLMEHOCLAA.michael_s_campbell@yahoo.com>...
[#53274] FXRuby-1.0.14 Now Available — "lyle@..." <lyle@...>
I am pleased to announce the latest release of FXRuby, the Ruby language
On Wed 16 Oct 2002 at 05:32:11 +0900, lyle@knology.net wrote:
[#53278] ruby-dev summary 18458-18504 — TAKAHASHI Masayoshi <maki@...>
Hi all,
>>>>> "T" == TAKAHASHI Masayoshi <maki@rubycolor.org> writes:
On Wed, Oct 16, 2002 at 02:50:10PM +0900, ts wrote:
[#53284] Porting a CRC function to ruby — Matthew Miller <namille2@...>
Hello,
[#53285] Psyco — Travis Whitton <whitton@...>
There's an interesting article on IBM developerWorks about a new program
[#53289] OSX file extension — "Bob X" <bobx@...>
I was just perusing some OSX sites and reading a REALbasic review when lo
[#53297] Interfaces in Ruby — web2ed@... (Edward Wilson)
Is there a way to write/inforce interfaces in Ruby like one can using
On Wed, Oct 16, 2002 at 01:30:04PM +0900, Chris Gehlker wrote:
On Thu, Oct 17, 2002 at 12:45:41AM +0900, Chris Gehlker wrote:
On Thu, Oct 17, 2002 at 11:19:04AM +0900, Chris Gehlker wrote:
On Fri, Oct 18, 2002 at 03:02:53AM +0900, Chris Gehlker wrote:
>http://rm-f.net/~cout/code/ruby/treasures/RubyTreasures-0.3/lib/hacks/interface.rb.html
On Thu, Oct 17, 2002 at 01:25:57PM +0900, Edward Wilson wrote:
On Fri, Oct 18, 2002 at 12:16:30AM +0900, Paul Brannan wrote:
On Fri, Oct 18, 2002 at 08:13:18PM +0900, Massimiliano Mirra wrote:
On Fri, 2002-10-18 at 14:42, Paul Brannan wrote:
On Fri, Oct 18, 2002 at 11:20:43PM +0900, Nat Pryce wrote:
On Fri, 2002-10-18 at 18:03, Paul Brannan wrote:
[#53315] Is the debugger broken? — "Gavin Sinclair" <gsinclair@...>
Hi rubyists,
Hi,
[#53328] Hooking on method invocation — viking@... (Eugene Zaikonnikov)
Hello,
On Wed, Oct 16, 2002 at 10:43:05PM +0900, Eugene Zaikonnikov wrote:
[#53359] Things That Newcomers to Ruby Should Know (10/16/02) — William Djaja Tjokroaminata <billtj@...>
Hi,
----- Original Message -----
On Tue 22 Oct 2002 at 12:18:22 +0900, Hal E. Fulton wrote:
Hello Ian,
On Wed, Oct 23, 2002 at 06:28:29PM +0900, Bulat Ziganshin wrote:
Hello Mauricio,
> 13. Ruby variables hold references to objects and the = operator
On Sat 19 Oct 2002 at 00:42:20 +0900, Kontra, Gergely wrote:
[#53368] Marshaling with ARGF — google@... (Tom Payne)
Hi --
[#53376] Plugin autoregistration (inherited method call) — Wejn <lists+rubytalk@...>
Hi,
[#53378] Precompiling eval expressions — Brian Candler <B.Candler@...>
What ways are there to pre-compile an "eval" expression which is going to be
[#53388] DBI:Pg 'autocommit' is not a valid option name — Michael Schuerig <schuerig@...>
[#53417] Strings or symbols? — Philip Mak <pmak@...>
When working with a record that has various fields represented using a
[#53422] Date handling with DBI — "Gavin Sinclair" <gsinclair@...>
Rubyists,
[#53426] Converting String to Time would be nice — "Gavin Sinclair" <gsinclair@...>
[#53440] behaviour of nil —
Hi,
"C馘ric Foll" <cedric.foll-nospam@bigfoot.com> writes:
[#53471] Enumerable.partition — google@... (Tom Payne)
Hi --
[#53478] Ruby on RedHat 8.0? — web2ed@... (Edward Wilson)
Does anybody know whether Ruby made it into RedHat's last release
[#53481] Having trouble installing OSSL — sera@... (Francis Hwang)
I'm trying to install OSSL, but it gives me this error when I run
[#53490] Assignment — Massimo Arnaudo <marnaudo@...>
Hi everibody,
[#53493] URI bug or bad URI? — Alan Chen <alan@...>
Have a proof-of-concept application which parses drop texts. One of the
[#53496] one liner? --- split file at empty line — Dong <dongxiang@...>
I need to split a file
[#53498] one liner? --- need help splitingi a file — Dong <dongxiang@...>
I need to split a file
Hello,
On Fri, Oct 18, 2002 at 08:27:58AM +0900, Dong wrote:
[#53513] Emacs: Ruby with Semantic — Philipp Meier <meier@...>
Hello Rubyists,
[#53553] Text::Format for Ruby (1.003) — Austin Ziegler <austin@...>
I have just reimplemented Text::Format for Perl (0.52) in Ruby. I
On Sat, Oct 19, 2002 at 04:31:16AM +0900, Austin Ziegler wrote:
On Sun, 20 Oct 2002 18:39:02 +0900, Massimiliano Mirra wrote:
[#53556] Help wanted with an experimental FAQ facility — Dave Thomas <Dave@...>
----- Original Message -----
[#53582] realpath() method? — "Szabolcs Szasz" <sz@...>
BTW, how is the coordination of the std. lib done?
[#53596] Is subclass known in superclass.initialize? (virtual constructor theme...) — "Szabolcs Szasz" <sz@...>
Is there a reasonable replacement for '?' below?
[#53613] Strange String bug (around type.to_s from mod_ruby)? — "Szabolcs Szasz" <sz@...>
(See attached files please.)
[#53626] XMLParser, NQXML, REXML, ... — Armin Roehrl <armin@...>
Hi XML-freaks,
> Hi XML-freaks,
On Wed, 23 Oct 2002 13:01:59 +0900, Sean Chittenden wrote:
> > Markus and I are working on rubydoc which is now able to
On Wed, 23 Oct 2002 14:07:46 +0900, Sean Chittenden wrote:
> >> Ruby, on the other hand, has two going on three different
> There is no perfect format, IMHO. XML's good for machines and for
> As a standing offer to any Ruby project: if you want to trade out XML
[#53636] Grouping by twos — martindemello@... (Martin DeMello)
Another of those trivial little problems that I obsess about finding
I ran into the same requirement and I solved it by extending the Array
[#53652] RAA.succ? — ptkwt@...1.aracnet.com (Phil Tomson)
I hope there will be some discussion of RAA.succ (or is it RAA.next) at
Hi,
Hi,
In article <007d01c278d8$0b4cd950$85222fc0@sarion.co.jp>,
In article <1035310903.958074.2185.nullmailer@picachu.netlab.jp>,
Hi,
-----BEGIN PGP SIGNED MESSAGE-----
Hi, all,
On Mon, 21 Oct 2002, Phil Tomson wrote:
In article <20021023041621.GC48080@perrin.int.nxad.com>,
Phil Tomson (ptkwt@shell1.aracnet.com) wrote:
> >> I'd definately like to see some central repository that could be
[#53681] XML/XSLT processors - XSLT4R not working? — Chris Wong <chris_wong@...>
I'm looking for a pure Ruby XSLT processor. Stumbled across XSLT4R.
[#53685] XMLRPC and complex data structures — Daniel Berger <djberge@...>
Hi all,
Michael Neumann wrote:
[#53688] functional Ruby equiv to this perl snippet — bobx@... (Bob)
# parses a text file looking for server names and ignoring lines
def load_server_list
I realised that my first test wasn't good for non-empty but blank
"Austin Ziegler" <austin@halostatue.ca> wrote in message
On Tue, 22 Oct 2002 05:54:49 +0900, Bob X wrote:
"Daniel Berger" <djberge@qwest.com> wrote in message
[#53703] rb_gc_register_address problem — Paul Brannan <pbrannan@...>
We ran into a problem today with the garbage collector (caused by our
Paul Brannan wrote:
[#53707] Unicode GUIs on Windows — Philip Mak <pmak@...>
For anyone who's interested in developing GUIs that use Unicode, I'm
Philip Mak wrote:
[#53771] Perl multiple match RE in Ruby? — michael libby <x@...>
-----BEGIN PGP SIGNED MESSAGE-----
Hi,
-----BEGIN PGP SIGNED MESSAGE-----
-----BEGIN PGP SIGNED MESSAGE-----
[#53780] Ruby/Tk newbie question — "ursus major" <someone@...>
Folks:
[#53795] How to get unique names from file — Korshunov Ilya <kosha@...>
What i have - Proftpd log file in the following format -
[#53823] Using variables in conn.exec (pgsql) — Korshunov Ilya <kosha@...>
I want to create complex sql query for pgsql.
[#53865] XMLRPC and IP authentication — Daniel Berger <djberge@...>
Hi all,
Hi,
[#53884] SQLite — "Bob X" <bobx@...>
Anyone working on a Ruby interface for SQLite?
On Wed, 23 Oct 2002 10:38:31 +0900, Bob X wrote:
Hi all,
On Saturday 02 November 2002 7:57 pm, Enric Lafont wrote:
Albert Wagner wrote:
On Sunday 03 November 2002 5:53 am, Anders Bengtsson wrote:
On Mon, 4 Nov 2002 04:12:39 +0900, Albert Wagner wrote:
On Sun, Nov 03, 2002 at 10:57:29AM +0900, Enric Lafont wrote:
On Sun, 3 Nov 2002 10:57:29 +0900, Enric Lafont wrote:
On Saturday 02 November 2002 11:56 pm, Austin Ziegler wrote:
Austin Ziegler wrote:
On Mon, 4 Nov 2002 06:44:46 +0900, Enric Lafont wrote:
From: "Enric Lafont" <enric@1smart.com>
On Mon, Nov 04, 2002 at 10:02:12PM +0900, Gavin Sinclair wrote:
On Tue, 5 Nov 2002 20:18:47 +0900, Brian Candler wrote:
It is a sign of my hybrid Objective-C background, no doubt, but I
Brad Cox wrote:
> > >
> -----Original Message-----
Rich wrote:
>
Hal E. Fulton wrote:
Yukihiro Matsumoto wrote:
[#53885] Ruby Weekly News — Dave@...
----- Original Message -----
> > Ruby Weekly News: 10/20/2002
"Hal E. Fulton" wrote:
On Thu, 2002-10-24 at 10:50, Daniel Berger wrote:
> -----Original Message-----
> That said, FreeRIDE will have significant capabilities specific to Ruby
[#53953] Re: Things That Newcomers to Ruby Should Know (10/16/02) — "Mills Thomas (app1tam)" <app1tam@...>
But why does it really, REALLY mean that? Was there a reason for doing
Hal E. Fulton <hal9000@hypermetrics.com> wrote:
Hi --
[#53957] NODE tree introspection — Simon Cozens <simon@...>
[#53981] Ruby and Windows — "Regina Goodwin" <amanishakhete@...>
When I open up Ruby on my Windows Desktop and I write code, how do I get it
[#53982] Re: Things That Newcomers to Ruby Should Know (10/16/02) — "Mills Thomas (app1tam)" <app1tam@...>
It's not non-sensical. If it appeared that I mean for all objects to use
[#53983] Re: Things That Newcomers to Ruby Should Know (10/16/02) — "Mills Thomas (app1tam)" <app1tam@...>
Actually, the way you describe '+=' makes sense to me. It is what I would
Hi,
Hi --
[#53992] On Using Data_Wrap_Struct — Mark Probert <probertm@...>
[#54005] comp.lang.ruby FAQ — "Hal E. Fulton" <hal9000@...>
RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby! (Revised 2002-9-20)
[#54017] array[start..end] gives unexpected results — ito@...
Is this correct?
[#54021] Ever write a video game in ruby? — Philip Mak <pmak@...>
Has anyone ever written a video game in ruby, of similar technological
[#54039] Read "current line" from a file? — "Gavin Sinclair" <gsinclair@...>
All,
[#54065] ruby calls perl — Carlos <angus@...>
Why does ruby call perl?
[#54090] ruby for DOS — "Andres Hidalgo" <sol123@...>
Is there a version of Ruby for DOS?
[#54110] Visual C++ controversy — "MikkelFJ" <mikkelfj-anti-spam@...>
Pardon me for this somewhat off-topic issue.
[#54111] How come true, false don't support <=> (comparison) operator? — cilibrar@... (Rudi Cilibrasi)
I am wondering if there is a good reason why Ruby does not by default
Hello --
In article <Pine.LNX.4.44.0210250754010.2650-100000@candle.superlink.net>,
Hi --
dblack@candle.superlink.net writes:
Hi --
In article <Pine.LNX.4.44.0210261701170.16157-100000@candle.superlink.net>,
Simon Cozens wrote:
[#54134] Re: How come true, false don't support <=> (comparison) operator? — "Marcin 'Qrczak' Kowalczyk" <qrczak@...>
Fri, 25 Oct 2002 20:59:36 +0900, dblack@candle.superlink.net <dblack@candle.superlink.net> pisze:
[#54164] Too Brief Before? -- fonts in win32 — "Alan (Ursus Major)" <ursus@...>
Folks:
[#54189] exerb question — Floyd Smith <fjs@...>
I am using exerb to create executables under Windows. Certain scripts
Sorry - forgot to include the error message:
[#54223] WE CAN HALVE YOUR TELEPHONE BILLS!! — "Discount Calls UK" <discountcalls@...>
With our UK National & local Calls costing as little as 1.65p per minute!
[#54237] Re: Very Uregent — "Pe, Botp" <botp@...>
I think we should refrain non-members fr posting to this list.
I agree
[#54238] net/protocol.rb version 1.1.37 warning: already initialized constant Errno — "Robert Linder" <robert_linder_2000@...>
Hi,
[#54239] Snippet request: Ruby Web Server written in under an hour — Phlip <phlipcpp@...>
Rubies:
Phlip <phlipcpp@yahoo.com> writes:
Rubies:
Hi --
On Tue, Oct 29, 2002 at 11:38:57PM +0900, dblack@candle.superlink.net wrote:
Hi --
Bulat Ziganshin <bulatz@integ.ru> wrote:
Hi --
On Thu, Oct 31, 2002 at 12:42:25AM +0900, dblack@candle.superlink.net wrote:
dblack@candle.superlink.net wrote:
Hi --
dblack@candle.superlink.net wrote:
On Wed, 2002-10-30 at 17:38, William Djaja Tjokroaminata wrote:
On Wednesday 30 October 2002 12:13 pm, Nat Pryce wrote:
[#54268] Package directory structure during development — "Gavin Sinclair" <gsinclair@...>
All,
[#54269] How to invoke === using custom classes and case statements. — khabibiuf@... (Khurram)
Hi all,
[#54280] exerb & fox-problem; converting gui-script to .exe on windows — Armin Roehrl <armin@...>
Hi,
On Tue, 29 Oct 2002 00:03:09 +0900, Armin Roehrl wrote:
Am Montag, 28. Oktober 2002 16:20 schrieb Austin Ziegler:
I've been able to get all of the exerb samples to work for me.
Am Montag, 28. Oktober 2002 16:53 schrieb Austin Ziegler:
[#54314] Learn and Earn...Join For FREE! — Nicolas Tubilla <ryu_ken@...>
Hello:
[#54316] Fixnum assignment undefined??? Is it a bug, or blindness? — Charles Hixson <charleshixsn@...>
In the routine:
Charles Hixson <charleshixsn@earthlink.net> wrote:
William Djaja Tjokroaminata wrote:
[#54354] good link to read as we contemplate RAA, RAA.succ, et al — Pat Eyler <pate@...>
http://www.onlamp.com/pub/wlg/2225
Hi --
> Interesting. Simon (hi Simon!) is probably right that "Definitive
" JamesBritt" <james@jamesbritt.com> writes:
I missed the original mails that explained this.
Simon Cozens <simon@ermine.ox.ac.uk> writes:
On Wed, 30 Oct 2002 12:16:29 +0900, Jim Menard wrote:
[#54357] Re: net/http segfault — "michael libby" <x@...>
ts <decoux@moulon.inra.fr> wrote:
>>>>> "m" == michael libby <x@ichimunki.com> writes:
[#54359] Blogging RubyConf — why the lucky stiff <ruby-talk@...>
I'm wondering if anyone will be blogging the RubyConf? It's a rare opportunity to
[#54363] Strscan, mkmf and MacOS X — Raymond Blum <raymond@...>
Hi
[#54364] problem with recursive structure — Mark Probert <probertm@...>
[#54380] Dynamically executed methods in Ruby? — mirian@... (Mirian Crzig Lennox)
This is a little hard to explain, and I'm not sure if Ruby can
[#54387] Close Internet Explorer — "Bass" <miner@...>
Hi,
I only have a windows environment. Does anybody know how to install the
[#54412] bug in Fox or in Ruby? — Joel VanderWerf <vjoel@...>
[#54421] want to meet Microsoft .NET guy? — matz@... (Yukihiro Matsumoto)
Hi,
----- Original Message -----
[#54429] "multiple assignment in conditional" — "Gavin Sinclair" <gsinclair@...>
Rubies,
[#54440] THIS IS A SPAM MAIL — Shugo Maeda <shugo@...>
This is a test mail for the spam filter of ruby-talk ML.
[#54449] feature idea: custom literals — loats205@... (loats205)
wouldn't it be cool if you could define custom literal representations for your
loats205 wrote:
On Wed, 2002-10-30 at 11:41, Nikodemus Siivola wrote:
[#54478] DbTalk 0.71 — Dalibor Sramek <dali@...>
I would like to announce a new release of my Ruby project DbTalk.
[#54487] Problems installing and running IOWA — Radek Hnilica <Radek@...>
Hello
[#54495] Ruby and Large File sizes — Jim Freeze <jim@...>
Hi:
[#54528] Please help me modify this... — bobx@... (Bob)
This currently works:
[#54543] define_finalizer does NOT work — ahoward <ahoward@...>
[#54595] Is this the best start to ruby socket server for flash clients? — moonerent@... (Rick)
Hello,
[#54604] Readline Module and completion_proc — Pierre Baillet <oct@...>
Dear rubyists,
[#54626] Ruby at OSCon — Pat Eyler <pate@...>
And for my next trick, watch me pull a conference out of my hat ...
Re: Ruby.bah! (was Re: XMLParser, NQXML... and also RAA.succ)
> >> Ruby, on the other hand, has two going on three different > >> formats, if I'm understanding what Sean is saying correctly. > > Sadly yes... however there is a saving grace with rubydoc, it's > > standard is XML and the other utilities export XML... which means > > that anyone can write a stylesheet that'll convert rdoc-> rubydoc > > or rd-> rubydoc. These stylesheets will be included in the base > > rubydoc installation. > > In some ways, though, I still think that this is probably the wrong > approach. IMO, either rdoc or rd needs to die. Ideally, rdoc will > pick up the ability to parse rd comments cleanly (perhaps spitting > out warnings) so that there only needs to be one primary > documentation tool. Agreed, but I don't have any interest in what happens in the embedded documentation space. If something new comes along, great, I'll use that too. After rubynet and rubydoc have reached critical mass and I have free time to work on something else, I may spend some time flushing out an inline documentation format of my own that fits in nicely with rubydoc that isn't XML. XML's great for machines, but when it comes to writing stuff in emacs or any text editor, writing XML from scratch is the perfect way to develop carpal tunnel. See the ruby-doc@ mailing list for details about what I've quasi envisioned, however I need to support some kind of linking of variables, methods, and classes. After spending so much time in the libxml source, I actually kinda like gnome's doc format... granted it's a rip off of javadoc and wherever the inventive folks at Sun ripped it off from. > Okay ... so ... what's the point of rubydoc? IMO, rdoc is quite > sufficient to produce the necessary documentation for the code. Is > rubydoc intended to massage that documentation into a nicer format > that could, theoretically, look good in PDF? To encapsulate and provide a transformable, publishable (www, TeX, PDF, text, nroff), includable (I _REALLY_ want to be able to offer documentation sets/examples that are dynamically driven from the rubynet.org and rubydoc.org sites and also have static content. Think php.net + PostgreSQL's idocs + docbook + perldoc) and indexable (from the CLI: rubydoc [term/class]). Nothing anywhere in the programming world is coming close to offering that. I as a developer want that. Others likely do too. > Don't get me wrong -- I'm not overly enamoured of the default rdoc > template, but at the moment I'm just too lazy to change it for my > own purposes and (later) offer it as a replacement template. Good point, I'll make a not of that request and let you specify a different txt/nroff stylesheet in your ~/.rubynet/rubydoc.cfg. > I have to be honest and say that I don't *get* why rubydoc *as a > tool* is necessary. If you're going to make it an aggregator so that > the user can have the equivalent of a single interface like users of > the ActiveState Perl package do ... that's cool. Basically, yeah. > If you're going to make it a super-duper version of ri with Rimport, > even better! (See? I forgot another Ruby documentation tool.) But > if it's just going to be Yet Another Documentation Tool, I've got to > say that I don't see the point. Naw, that's why I'm incessant on standardizing around XML. Any of the Yet-Another-Ruby-Doc formats can be massaged into rubydoc's XML spec with a stylesheet. From there, any number of documents can be made/indexed. > IMO, rubydoc should be a shell and transformation agent on top of > rdoc, not a whole new documentation system. But that's just IMO. Bingo, that's exactly what it's going to do. > > :-/ Working on stuff by yourself and being in a perpetual state of > > over commitment and everywhere-all-at-once kinda bites when you're > > trying to design something "right" and aren't hacking it together. > > Help wanted/appreciated. > > That's not a criticism, Sean. However, I can't at the moment really > provide any assistance with the code side -- job searches tend to > take a lot of time, and I have my own coding projects that I'm > attacking[snip]. It's alright, I know how that goes. I have to talk fault in it moving slow since I'm doing this work outside of the limelight of -talk. I've actually completely disengaged from the -talk community and only read through this mailbox when I get a nudge from someone on IRC hinting that there's something worth checking out. > I have joined rubynet-devel, though, so I can possibly provide some > design commentary. I welcome the addition, there's a good crew of some 30+ lurkers now. Put enough of them on a list and someone's bound to chirp up with a patch every now and then. 8-) > >> It supports -- at least experimentally and I haven't been able to > >> get it to work yet -- automatic diagram creation. > > Speaking of, does ruby have a DOT interface? I've wanted to use > > this for class diagramming on rubynet but haven't looked into it. > > Look at rdoc; there's a dot/ directory in the distribution. I'm not > exactly sure the best way to use it -- part of the problem could be > that I use Ruby from Windows, and I don't have dot itself installed > (: As I said above, rdoc should be the documentation system for > Ruby; rubydoc should be a way of transforming rdoc output into ri > database information (a la Rimport), creating a unified API > reference for Ruby and all the modules installed on the user's > system, etc. That's the short term plan. Glad to know my ideas aren't existing in a total void. > >> else. Want to create PDFs instead of HTML files? Write the > >> appropriate generator and/or template. > > The joy of XSLT and flow objects. > > Certainly -- and this is probably what rubydoc should do. (Of > course, I've now tried rdoc's CHM -- Windows HTMLHelp -- output and > have had mixed results with it. It seems to ignore #:nodoc: > directives; I may look at that to provide a patch for Dave when he > gets back, like another patch that I've made to a patch that he made > in response to a patch that I gave him.) So long as rdoc does the right thing when it comes to generating XML, then the stylesheet should handle this correctly.... though I'm not a Win32 guy atm, but I'm doing an increasing amount of Win32 GUI clients in FOX so who knows, I'll likely transgress into the depths of MS hell again at some point in the not too distant future. > > I'm not a yaml lover, personally. Culturally I think YAML exists > > as a counter movement to Java/XML and XMLs tendency to get bundled > > with Java. I can't say as I disagree with the dislike of the > > Java/M$ developer sentiment, Sun hasn't done much in the way of > > innovative computing in a while and I wish would just curl up and > > flop. Tandem makes better hardware anyway. :) > > I think that your cultural analysis is correct. I still think that > YAML is a useful lightweight format. No disagreements there, but I just hacked out libxml which seems to do everything that I need it to at the moment... short of generating DTDs on the fly, but that'll come here sometime this week. :) > > Here's the dilly with supporting multiple files and formats: I > > don't know what your preference is. > > One format, one file. Period. Don't give me the option of multiple > formats and files to describe a single package. I picked YAML > because it appears to be close to the .rubynet_ format that you > specified. Perhaps as follows (note that I use '...' when there > could be other attributes or I'm eliding): Ooooh! [snipped the wonderful yaml example] > IMO, in a single file, this provides everything that you would have > in the multiple file form -- and it's easier to edit. XML would be > appropriate, too. There is no perfect format, IMHO. XML's good for machines and for transferring between automated processes. Yaml's good if you need to have a human touch down and edit the file and don't want to barrage him with a zillion characters that the eye has to parse through. Multiple plain text files, however, are shell friendly. I honestly see room for having all three as valid formats for describing a package. I actually wonder if I couldn't generate the formats for the plain text files and the YAML from the XML spec... hrm, that'd be an interesting exercise in code generation.... any XSLT/YAML buffs out there that'd want to take that on? > I'll re-present this on rubynet-devel with further commentary in a > couple of days, but I think that there are mistakes being made in > the design as expressed by the package information files. ! Excellent! I look forward to the discussion. > > Contrary to my sentiment about YAML, I'll likely support a YAML > > interface for configuring packages just because that's a format > > that some developers prefer. I personally favor having simple and > > small files each with a specific format. Makes it easier to > > manipulate/create the files with sed(1) and find(1). I'm a die > > hard UNIX guy at heart, what can I say. It showing? > > As I said before, one format and one file. Too many options or files > will make the project unmaintainable. If you keep the existing > dot-rubynet files, I can guarantee that I won't be packaging things > that way -- it's too much work for me, the maintainer. (Ideally, > even, you would have a cross-platform GUI- or TUI-based interface > for building and maintaining the file.) The dot files will get compiled into XML. From there, a GUI can operate on the XML. The dot files are being generated at the moment with some crude guesses so for me, it's actually really nice. $ rubynet --generate [edit dot files and delete false positives/add missing entries] $ rubynet --compile-module > > By the time the data hits the rubynet server, the data will be > > serialized into an XML file. The dot files are used only by an > > author for describing their package, not for use in the rubynet > > system. Once things hit the rubynet system, it's XML. Period. For > > those that are curious, binary data is MIME64 encoded in an > > element in the rubynet file. > > Blechhhh. base64 encoding is evil unless it's unavoidable. It adds > an unnecessary 30% or more to the size of the file. No arguments from me here, but do you know of another way to encode binary data in an XML file? I'd love to use something more efficient, but don't know of anything. Fortunately with the compression set at 9 the size drops quite dramatically as it seems there are enough patterns in the mime encoded file. I'll add support to compress files individually before they get encoded in the event that this pattern doesn't hold true. > It also seems that here, you're planning on mixing metadata and > content Correctomundo, that's exactly what I'm doing... and I'm being quasi-clever about it for several reasons. I'm trying to create a format that fullfills three purposes. 1) Is indexable. XML+XPath takes care of this. 2) Contains meta data for the module that way a skeleton module can be distributed instead of the full blown tarball. Think FreeBSD ports here. The reason for doing this is for ports conformity, and because I'd like to make this system attractive to commercial vendors who need to distribute modules and have restricted downloads. 3) Can be used as a ubiquitous format that stores all of the packaging and file content. I've got an idea in the back of my head for how to convert a tarball into a rubynet package, for example. As a user, I only want to have to download one thing. Think of this a JAR file on steroids, if you will. While I agree with your next point that it's a no-no, by and large, I do think that this is miles better than what Perl has and certainly better than the simple zip format that JAR files employ. > -- which I consider a major no-no when it comes to data > modeling. See #3 above. > Frankly, I think that this is a task for which XML is uniquely > UNSUITED. Sure, XPath helps here, but XML will *never* match the > power of a properly coded relational database for this sort of > problem space. Agreed... there's an element of usability though that can't be matched if you split things into two files. Hrm... maybe I should just concatenate a tarball with the rubynet skeleton file with a small contents that gives the version of rubynet needed and the sizes of the XML and package... hrm.... to be continued on devel@rubynet.org. :) -sc -- Sean Chittenden