[#48779] Ruby jobs — Phlip <phlip_cpp@...>
Rubies:
On Sun, 2002-09-01 at 08:18, Phlip wrote:
[#48820] Time to retire st_* and replace it with Judy? — doug@... (Doug Baskins)
After a posting I did yesterday, I decided to take a closer look
[#48825] another german book is coming.. — Markus Jais <mjais@...>
hello
[#48852] ruby-dev summary 18070-18110 — TAKAHASHI Masayoshi <maki@...>
Hi all,
[#48856] Idea: Ruby Object Persistence Service — Gabriel Emerson <gemerson@...>
I was just thinking last night of working on a TCP/IP server which would
[#48886] cgi redirect — Tom Robinson <tom@...>
in perl, this is easy:
In Ruby, you can always add the method you want to CGI dynamically:
[#48890] Ruby Segfault: Marshaling large objects — Tom Payne <twp20@...>
Hi All --
[#48892] OT: Just browsing... — Albert Wagner <alwagner@...>
This is really just Sort-of_Off_Topic. I am currently in a state of
[#48905] Class variables and inheritance — Philipp Meier <meier@...>
Hallo rubyers,
[#48917] New list: ruby-modules - for module developers... — Sean Chittenden <sean@...>
Howdy folks. I've put together a new list for ruby developers at
>
[#48978] option remember —
Hi,
Dave Thomas <Dave@PragmaticProgrammer.com> wrote in message news:<m2u1l69bl6.fsf@zip.local.thomases.com>...
[#49011] Is It Possible to Create Block from within C? — William Djaja Tjokroaminata <billtj@...>
Hi,
[#49018] Ruby, Java, et. al. — Michael Campbell <michael_s_campbell@...>
> Ruby won't get a chance to compete with Java... because java will
[#49039] rpkg questions — patrick-may@... (Patrick May)
first of all, rpkg == mana from heaven!!!
[#49042] Options for optimizing a large Ruby system — sera@... (Francis Hwang)
Hi everybody:
sera@fhwang.net (Francis Hwang) writes:
[#49045] Breaking from 'case' — Wejn <lists+rubytalk@...>
Hi,
[#49107] RE: suggestions to the Ruby community — "Berger, Daniel" <djberge@...>
I've been following the documentation discussion with some interest. Some
"Gavin Sinclair" <gsinclair@soyabean.com.au> writes:
-----BEGIN PGP SIGNED MESSAGE-----
[#49118] Stibbsian — "john%johnknight.com@..." <john%johnknight.com@...>
[#49200] Re: Ruby 10'th most popular ICFP contest language — "David Douthitt" <DDouthitt@...>
This is interesting! If you take this as a rough grade of popularity and use of languages - it's a surprise to me to see Caml and Haskell up on top and Smalltalk and Forth on the bottom... (instead of the opposite).
[#49205] Sort Question — "Firestone, Mark - Technical Support" <mark.firestone@...>
I don't understand something (so what else is new) again... lets say I have
[#49235] How to have a conversation with popen — Phlip <phlip_cpp@...>
Rubies:
[#49279] cgi.rb replacing "0x0a" symbols with "0x0d 0x0a" ? — RayZ <rayz@...>
Hi!
[#49286] segault of interpeter —
Hi,
[#49294] OS-independent build of ruby — "reckless" <reckless2k@...>
Hi,
Woah, you want an executable - binary format - that is OS independent?
In article <alali7$cth$01$1@news.t-online.com>,
JRuby exists ...
Austin Ziegler wrote:
Anders Bengtsson <ndrsbngtssn@yahoo.se> writes:
Hi,
On Sun, 08 Sep 2002 02:36:35 +0000, Austin Ziegler wrote:
On Mon, 9 Sep 2002 01:49:16 +0900, Jan Arne Petersen wrote:
Austin Ziegler wrote:
On Sun, 8 Sep 2002 11:52:15 +0900, Christian Szegedy wrote:
[#49297] Larry Wall's comments on Ruby — ptkwt@...1.aracnet.com (Phil Tomson)
http://interviews.slashdot.org/article.pl?sid=02/09/06/1343222&mode=thread&tid=145
[#49301] Re: Larry Wall's comments on Ruby — Andrew Hunt <andy@...>
Andrew Hunt wrote:
Patrick May (patrick-may@monmouth.com) wrote:
On Sat, 7 Sep 2002 14:21:22 +0900, Reimer Behrends wrote:
Austin:
----- Original Message -----
On Sun, 8 Sep 2002 12:50:25 +0900, Hal E. Fulton wrote:
Matt Gushee wrote:
[#49322] Re: Larry Wall's comments on Ruby — Andrew Hunt <andy@...>
Kent Starr says:
[#49323] Re: Larry Wall's comments on Ruby — Andrew Hunt <andy@...>
Denys Usynin observes:
[#49325] Re: Larry Wall's comments on Ruby — Andrew Hunt <andy@...>
Denys Usynin goes on to say:
[#49327] RE: Larry Wall's comments on Ruby — Andrew Hunt <andy@...>
Drew Mills points out:
> But this is all beside the point -- Larry's off the mark
On Sat, Sep 07, 2002 at 05:09:37AM +0900, Michael Campbell wrote:
> On Sat, Sep 07, 2002 at 05:09:37AM +0900, Michael Campbell wrote:
In article <NFBBKBEMGLGCIPPFGHOLKELGCKAA.michael_s_campbell@yahoo.com>,
[#49328] Re: Larry Wall's comments on Ruby — Andrew Hunt <andy@...>
Bill glows:
[#49333] Re: Larry Wall's comments on Ruby — Andrew Hunt <andy@...>
>yeah and as I said, depending on your background , Ruby is just as full
Andrew Hunt (andy@toolshed.com) wrote:
> -----Original Message-----
[#49367] SciTE/VIM Syntax highlighting — "Jim Bartlett" <jimbart@...>
I am learning Ruby via "Programming Ruby: A Pragmatic Programmer's Guide".
[#49434] Regular expression question — "Rich Kilmer" <rich@...>
As I don't have my copy of Mastering Regular Expressions at home, and
[#49469] 1.7.3 net library crud — Tom Sawyer <transami@...>
after insurmountable problems with Ruby 1.7.3's TCP classes, i decided
[#49519] Equivalent of pascal's keypressed ? — Philip Mateescu <pmateescu@...>
Hi,
[#49543] getting the IP address of the local machine — Tom Sawyer <transami@...>
does anyone know how to get the IP address of the machine a ruby script
[#49551] HOWTO create Ruby bindings for a library — Giuseppe Bilotta <bilotta78@...>
Hello,
[#49555] Ruby-gtk, Gtk::Text question — Jacek Podkanski <jacekpodkanski@...>
Hi,
[#49556] ruby-dev summary 18111-18212 — Takaaki Tateishi <ttate@...>
Hello,
On Mon, Sep 09, 2002 at 09:05:49PM +0900, Takaaki Tateishi wrote:
Hi,
On Tue, Sep 10, 2002 at 09:17:39AM +0900, Yukihiro Matsumoto wrote:
Hi,
On Wed, Sep 11, 2002 at 12:22:58AM +0900, Yukihiro Matsumoto wrote:
[#49562] Reading in Hex numbers. — khabibiuf@... (Khurram)
Hi all,
[#49586] scopes — "Kontra, Gergely" <kgergely@...>
Hi!
[#49618] RubyConf 2002 — "Hal E. Fulton" <hal9000@...>
I can't resist the urge to hype this a little.
"Hal E. Fulton" <hal9000@hypermetrics.com> writes:
> Hmm...perhaps next year it should be on the East coast? :)
" JamesBritt" <james@jamesbritt.com> writes:
[#49627] Re: Larry Wall's comments on Ruby — "Marcin 'Qrczak' Kowalczyk" <qrczak@...>
Mon, 9 Sep 2002 14:26:37 +0900, Wirianto Djunaidi <ryo_saeba_009@yahoo.com> pisze:
"Yukihiro Matsumoto" wrote
>
----- Original Message -----
----- Original Message -----
Christoph wrote:
Hi,
Hi,
"Yukihiro Matsumoto" wrote in
At 10:48 PM +0900 9/11/02, Gavin Sinclair wrote:
[#49700] Refactoring Ruby — Steve Tuckner <STUCKNER@...>
Hi all,
[#49707] Re: Larry Wall's comments on Ruby — David.Stagner@...
I think Gavin is right... we don't "add" strings, we concatenate them.
Agreed. Until now, I still mistakenly use the "." operator from time to
[#49715] Bug in Ruby Ext to C or it is me ? — weilljc@... (JCW)
Compile this, link it with ruby lib, execute with a small
[#49758] Multi-level sort idiom? — Brett Williams <brett_williams@...>
Let's say I have an array, each element of which is a 2-dimensional array
[#49766] RubyInline 1.0.4 Released! (fwd) — Pat Eyler <pate@...>
Woohoo! another cool new toy to play with!
I'm having a few problems running RubyInline on a Sun:
Hi,
Hi,
>
[#49768] UDPSocket bug? — Danny van Bruggen <danny@...>
Hello all,
On Wed, Sep 11, 2002 at 04:04:50AM +0900, Danny van Bruggen wrote:
On Wed, Sep 11, 2002 at 05:37:40AM +0900, Paul Brannan wrote:
[#49787] call for commentary: review of Ruby for a magazine (long, sorry!) — Rick Wayne <fewayne@...>
hello again folks,
Aha, someone caught my post. Yes, I love Ruby very much, but I should
William Djaja Tjokroaminata <billtj@z.glue.umd.edu> writes:
Rick Wayne <fewayne@facstaff.wisc.edu> wrote:
On Wed, Sep 25, 2002 at 04:41:29AM +0900, William Djaja Tjokroaminata wrote:
[#49809] Re: RubyInline 1.0.4 Released! (fwd) — Ryan Davis <ryand@...>
On 2002-09-10T17:15:25, Pat Eyler wrote:
[#49812] Re: RubyInline 1.0.4 Released! (fwd) — Ryan Davis <ryand@...>
On 2002-09-10T17:52:14, Pat Eyler wrote:
[#49830] marshalling objects to the fox registry — Joel VanderWerf <vjoel@...>
[#49849] private variables — ts <decoux@...>
Well, will these localized/private variables make it into the next Ruby
Hi --
>>>>> "d" == dblack <dblack@candle.superlink.net> writes:
"ts" wrote in
Wait, wait, wait... I think someone should really have defined what
[#49873] using REXML for XML document creation — Ian Macdonald <ian@...>
Hi,
On Thu, Sep 12, 2002 at 12:59:42AM +0900, Ian Macdonald wrote:
On Thu 12 Sep 2002 at 01:45:01 +0900, Matt Gushee wrote:
[#49874] RE: Full Screen Editor — "Firestone, Mark - Technical Support" <mark.firestone@...>
Ah, but I want to connect this to the Ruby BBS program that I wrote, so that
[#49886] Proxy Server — Alan Chen <alan@...>
I've been playing around with a project that's a proxy and cache
[#49931] Missing includes with 1.6 install on win32? — "Paul E.C. Melis" <paul@...>
Hi,
[#49938] RE: RubyInline 1.0.4 Released! (fwd) — "Henderson, Michael D" <michael.d.henderson@...>
Assume that the executable is in /home/foo/bar/boof and I have write
[#49978] Upper/lowercase shared lib name problem. — Farrel Lifson <flifson@...>
Hi all,
[#49988] not grasping the method overloading/multi-dispatch thing — dblack@...
Hello --
dblack@candle.superlink.net writes:
In article <3D80AD8D.27388.FBF0F18@localhost>,
On Thursday 12 September 2002 01:40 pm, Phil Tomson wrote:
About a year ago there was a thread on method overloading based on
On Fri, Sep 13, 2002 at 05:41:20AM +0900, Rich Kilmer wrote:
In article <20020912151951.T25425@atdesk.com>,
Hi --
----- Original Message -----
In Phil's example, it seems like "meth" is testing the argument's
On Thursday 12 September 2002 03:40 pm, Tim.Hunter@sas.com wrote:
[#50027] interesting Perl Journal move — Pat Eyler <pate@...>
The Perl Journal is being reborn yet again. This time, it will be an
On Fri, Sep 13, 2002 at 01:44:18AM +0900, Pat Eyler wrote:
On Thu, 2002-09-12 at 13:14, Jim Freeze wrote:
> agreed! unless perl journal is willing to alter it name to Script
Jim Freeze <jim@freeze.org> writes:
[#50033] General ?s about a couple of Ruby features — Matt Gushee <mgushee@...>
Hi, Folks--
[#50105] Disabling exceptions - thoughts? — Daniel Berger <djberge@...>
Hi all,
[#50120] Re: not grasping the method overloading/multi-dispatch thing — patrick-may@... (Patrick May)
Dale Martenson <dmartenson@multitech.com> wrote in message news:<20C86D2620F6D411A199009005DC0102016D1830@exchange serve.multitech.prv>...
Philipp Meier <meier@meisterbohne.de> wrote in message news:<20020913101910.GC17997@o-matic.net>...
[#50143] Why can't ruby be used from a (native) thread other than the main one? — Lorien Dunn <loriend@...>
Hello,
[#50172] DbTalk 0.7 — Dalibor Sramek <dali@...>
I would like to announce a new release of my Ruby project DbTalk.
[#50180] float precision — Daniel Bretoi <lists@...>
Sorry if this has been answered before.
[#50199] Dump each method called to stdout? — "Chris Morris" <chrismo@...>
I've got a script that loops through a bunch of stuff and somewhere in the
[#50224] MVC and OO Design? — jcb@... (MetalOne)
The Model View Controller Architecture has always had me a bit
[#50254] Time#+ and usec — mike.pub@... (Michael Witrant)
Hello,
[#50255] Bug in RubyInline 1.0.5 — "Shashank Date" <ADATE@...>
The following code fragment does not compile, using ruby 1.7.2 (2002-07-02)
[#50257] Getting Python and Ruby to Talk to Each Other — shunting@... (Sam Hunting)
A clueless Ruby newbie seeks help...
In article <7c40e468.0209141347.4d338e56@posting.google.com>,
[#50285] Ruby bcc32 on win32 — "Shashank Date" <ADATE@...>
I am trying to compile ruby 1.7.3 using borland's bcc32 on win32.
[#50288] ruby HTTP redirect? — 1lluminate <1lluminate@...>
Hi,
[#50295] RubyConf registration open for two more weeks — dblack@...
Hi --
[#50296] Requiring multiple libraries — Bruce Williams <bruce@...>
Is there a stylistic and/or technical reason that the ability to require
[#50298] camelCaseTo_ruby_case.rb ?? — Thomas Sdergaard <tsondergaard@...>
Hi,
Hello --
In article <20020916033549.GD8112@panoptic.com>,
On 2002.09.16, Phil Tomson <ptkwt@shell1.aracnet.com> wrote:
[#50311] Syntax errors with webrick 1.2. head of cvs with Div — "Booth, Peter" <Peter.Booth@...>
I downloaded and installed drb,erb,div,webrick
[#50369] Why are parser tools rarely used in ruby? — "MikkelFJ" <mikkelfj-anti-spam@...>
Why is it that all the ruby source I find in the Ruby (windows) distribution
On Tue, Sep 17, 2002 at 12:31:15AM +0900, MikkelFJ wrote:
In article <3d87a236$0$64151$edfadb0f@dspool01.news.tele.dk>,
[#50374] Dependency "trees" - suggestions? — Massimiliano Mirra <list@...>
I'm struggling with building dependency "trees" for rpkg. What
On Tue, Sep 17, 2002 at 12:52:49AM +0900, Massimiliano Mirra wrote:
On Tue, Sep 17, 2002 at 01:37:33AM +0900, Paul Brannan wrote:
[#50390] Is Ruby Array#shift/unshift Efficient? — William Djaja Tjokroaminata <billtj@...>
Hi,
[#50403] comments and continuing strings on the next line — Paul Brannan <pbrannan@...>
I have a tendency to write:
Hi,
On Tue, Sep 17, 2002 at 10:33:35PM +0900, William Djaja Tjokroaminata wrote:
[#50407] back tick equivalent — "CHENG, WEI CHI (LNG)" <WEICHI.CHENG@...>
Just install ruby last Friday and tried to find the back tick equivalent as
[#50449] RE: ruby HTTP redirect? — "SHULTZ,BARRY (HP-Israel,ex1)" <barry_shultz@...>
Hi,
[#50451] Java vs. Perl vs. ... — " JamesBritt" <james@...>
The "Use Perl" website (use.perl.org) has a small entry commenting on a Java
[#50466] Qt vs. FOX vs. ? (was Help on installing ruby-qt on windowsXP) — "Volkmann, Mark" <Mark.Volkmann@...>
> -----Original Message-----
[#50515] Are there any O'Reilly Ruby books on the horizon? — gmnotyet@... (J Hall)
Dear Ruby Users,
[#50525] Matz, if you're reading, please scan this email — ser@... (Sean Russell)
I've found a problem with the Ruby interpreter, wherein the
> I've found a problem with the Ruby interpreter, wherein the
>>>>> "S" == Sean Chittenden <sean@chittenden.org> writes:
> S> In the unit tests for libxml, I think I've pushed things to SEGV land
>>>>> "S" == Sean Chittenden <sean@chittenden.org> writes:
> >>>>> "S" == Sean Chittenden <sean@chittenden.org> writes:
>>>>> "S" == Sean Chittenden <sean@chittenden.org> writes:
> S> :-/ You could be right, but, the IO context is created when reading
>>>>> "S" == Sean Chittenden <sean@chittenden.org> writes:
> S> Good catch, I fixed this in the CVS version, however this is a
>>>>> "S" == Sean Chittenden <sean@chittenden.org> writes:
[ I've had this email open for two day strait now, I should probably
>>>>> "S" == Sean Chittenden <sean@chittenden.org> writes:
[#50532] Code coverage in Ruby? — "Hal E. Fulton" <hal9000@...>
Has anybody worked on a method for determining
[#50561] Picking arbitrary elements from an array — "James F.Hranicky" <jfh@...>
Anyone like the idea of being able to pick arbitrary elements from
>>>>> "J" == James F Hranicky <jfh@cise.ufl.edu> writes:
On Wed, 18 Sep 2002 23:04:02 +0900
[#50579] How to Efficiently Calculate the Pattern of Zeros and Ones? — William Djaja Tjokroaminata <billtj@...>
Hi,
[#50580] How best to use exceptions? — Robert McGovern <tarasis@...>
Hi, I am currently writting a module for reading id3 v1, v1.1 & v2.x
[#50600] self-loading scripts (at Ruby's startup time) — Overnight <NOSPAM_jazz_x@..._NOSPAM>
Do they exist? I'm afraid they don't, or at least I couldnt' find any
[#50602] Semi-OT: Web issues — "Hal E. Fulton" <hal9000@...>
There's a disturbing absence of Ruby code
----- Original Message -----
[#50606] Python the new Lisp, what about Ruby then? — web2ed@... (Edward Wilson)
I've been reading that Python is the new lisp.
come on! python the new lisp? what's that suppose to mean? nothing
> ruby though just may gain as great a heritage as lisp due to its highly
[#50636] RubyInline 1.0.6 Released — Ryan Davis <ryand@...>
RubyInline 1.0.6 has been released!
[#50640] Business Objects — "Matthew, Graeme" <Graeme.Matthew@...>
I have been searching the www for some examples on how programmers have
[#50652] Is better to subclass or to add methods to an existing class? — Vincent Foley <vinfoley@...>
I was discussing with a (Python) friend last night. I told him that one
[#50667] select and select — dblack@...
Hello --
Is there a general concensus as to the best tool/format for documenting Ruby
At Sat, 21 Sep 2002 22:15:09 +0900,
GOTO Kentaro <gotoken@notwork.org> writes:
At Mon, 23 Sep 2002 13:13:56 +0900,
Hi,
At Mon, 23 Sep 2002 16:17:58 +0900,
GOTO Kentaro <gotoken@notwork.org> writes:
Hi,
Hi --
Tom Sawyer wrote:
Yukihiro Matsumoto wrote:
Hi,
Hi --
I really like the feel of 'pick' with arrays.
Hi --
Hi --
[#50683] visual ruby — "Kontra, Gergely" <kgergely@...>
I just want to find the Visual Ruby project, and find this page:
[#50685] subclassing Integer — John Tromp <tromp@...>
I'm writing a state space search program where each state can be consisely
[#50729] ruby/tcltk reentrancy bug — Jakub Travnik <j.travnik@...>
Hello,
[#50732] don't understand cause of `sysread': Bad file descriptor (Errno::EBADF) — Robert McGovern <tarasis@...>
Was writting a script to poll an audiotron (www.audiotron.net) and
[#50762] Thoughts on improving usage of Regexp#match — "Hal E. Fulton" <hal9000@...>
Please feel free to point out obvious things
[#50780] loving the look of Ruby code — dblack@...
Hi --
[#50820] wxWindows for Ruby Again — "Park Heesob" <phasis@...>
[#50825] RFC: Need a better caller(n) - real reflection for call stack wanted — Ryan Davis <ryand@...>
RubyInline has the following extension to Object:
[#50838] Questions regarding: Mnemonic and Object Prevalence — Oliver Beddows <oliver-b@...>
Hello,
I have tried Mnemonic a couple of months ago. It seems very promising,
Erik Terpstra <erik@solidcode.net> writes:
[#50848] Extconf problem. — Christian Szegedy <szegedy@...>
I have a minor problem with mkmf (ruby 1.6.7) and gmake.
[#50850] Checking hash key's and values, with case insensitivity — khabibiuf@... (Khurram)
Hey all,
On 2002.09.20, Khurram <khabibiuf@hotmail.com> wrote:
----- Original Message -----
[#50857] Regexp question (newbie) — Johann Spies <jspies@...>
After playing a little bit with Ruby 3 years ago, I am trying to learn
[#50867] Speed up suggestions — Tomas Brixi <tomas_brixi@...>
Hello,
[#50878] String interpolation at will? — "Hal E. Fulton" <hal9000@...>
Maybe I'm overlooking something obvious,
Maybe this is too dangerous but
[#50925] Inverse of id2name? — Philip Mak <mfraser@...>
If I have a variable set to :test, I can convert that to "test" by calling
[#50931] self as method argument revisited — dblack@...
Hello --
[#50934] The problem with run-time type checking — Philip Mak <mfraser@...>
One problem that I find crops up in Ruby, but doesn't really happen in
[#50936] Avoiding busy waiting — Harry Ohlsen <harryo@...>
I have a situation where I'd like to set up a queue that's filled by one
[#50937] caller lies, or Method#id is wrong, or both — Ryan Davis <ryand-ruby@...>
So, caller lies. I suspect this is true no matter what. It may also be
[#50948] Re: The problem with run-time type checking — Philip Mak <mfraser@...>
Dossy wrote:
[#50953] Getting a directory tree — "Hal E. Fulton" <hal9000@...>
Hi, all...
[#50958] are functions/methods "first class objects"? — David Garamond <davegaramond@...>
sorry this is a bit philosophical, but i just wonder whether ruby can be
Christoph wrote:
Hello Christian,
[#50962] RE: [ANN] RubyInline 1.0.7 Released — "Pe, Botp" <botp@...>
Hi sir Ryan,
[#50972] Re: Speed up suggestions — Tomas Brixi <tomas_brixi@...>
Thanks all for speedup tips.
In my experience, Python is faster than Ruby. I made a small script to
On Mon, Sep 23, 2002 at 11:44:30PM +0900, Vincent Foley wrote:
[#51017] embedding ruby inside an application? — Basile STARYNKEVITCH <basile+NO@...+starynkevitch.net.invalid>
Is it easy to embed ruby inside an application?
[#51027] File.lib bug? — Overnight <NOSPAM_jazz_x@..._NOSPAM>
Hello!
[#51046] Regexp: How to Find Legitimate Tokens? — William Djaja Tjokroaminata <billtj@...>
Hi,
At 11:44 PM 9/23/2002 +0900, Bill wrote:
[#51056] another easy one... — Mark Probert <probertm@...>
On Tue, Sep 24, 2002 at 01:09:45AM +0900, Mark Probert wrote:
[#51090] Using Ruby with other languages — Tapio Kelloniemi <spam07@...>
Hi all
[#51156] adding overload to ruby — "Bulat Ziganshin" <bulatz@...>
Hello all and especially Matz,
Hello Justin,
>>>>> "B" == Bulat Ziganshin <bulatz@integ.ru> writes:
Why not designing a new language with a mix of typed variable and untyped
Well, I would like the idea of optional typing in one instance...to
Hi, great, I have someone with the same interest. My idea is simple:
Hello Justin,
>>>>> "B" == Bulat Ziganshin <bulatz@integ.ru> writes:
Hello ts,
>>>>> "B" == Bulat Ziganshin <bulatz@integ.ru> writes:
Hello ts,
Hi --
Hello dblack,
Hi --
Hi All,
Hi Dave,
Hello Justin,
Hello Nikodemus,
Hi,
Hi,
Hello William,
Hi,
Hello Yukihiro,
Hi,
Hello Yukihiro,
On Mon, Sep 30, 2002 at 10:02:36PM +0900, Bulat Ziganshin wrote:
Hello Mauricio,
On Tue, Oct 01, 2002 at 01:34:22PM +0900, Bulat Ziganshin wrote:
Hello Mauricio,
On Thu, Oct 03, 2002 at 02:00:24PM +0900, Bulat Ziganshin wrote:
Hello Mauricio,
>>>>> "B" == Bulat Ziganshin <bulatz@integ.ru> writes:
Hello ts,
>>>>> "B" == Bulat Ziganshin <bulatz@integ.ru> writes:
Hi --
Oh yes, in fact, this is one of our selling points, right? We show the
Hi --
Did you have a look at http://merd.net :
----- Original Message -----
Hello Christian,
"Bulat Ziganshin" <bulatz@integ.ru> writes:
Hello --
----- Original Message -----
-----BEGIN PGP SIGNED MESSAGE-----
Hello bbense+comp,
Hi,
Hello Yukihiro,
-----BEGIN PGP SIGNED MESSAGE-----
On Fri, Sep 27, 2002 at 05:16:38AM +0900, bbense+comp.lang.ruby.Sep.26.02@telemark.stanford.edu wrote:
Hello bbense+comp,
On Fri, Sep 27, 2002 at 03:04:56PM +0900, Bulat Ziganshin wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hi,
[#51175] My script showing Python speed vs. Ruby (long, includes code) — bobx@... (Bob)
OS = Windows XP
[#51183] Why "and and or" Have Different Association from "&& and ||"? — William Djaja Tjokroaminata <billtj@...>
Hi,
[#51185] Object-Oriented struct Model in C — William Djaja Tjokroaminata <billtj@...>
Hi,
Hi Paul,
Hi,
On Wed, Sep 25, 2002 at 01:01:13AM +0900, William Djaja Tjokroaminata wrote:
[#51230] RE: Regular expression object question — "Berger, Daniel" <djberge@...>
> Hi,
[#51315] http/net — Manfred Hansen <manfred@...>
Hi,
>>>>> "M" == Manfred Hansen <manfred@toppoint.de> writes:
On Thu, Sep 26, 2002 at 01:05:53AM +0900, ts wrote:
On Thu, Sep 26, 2002 at 03:20:19AM +0900, Jim Freeze wrote:
At Thu, 26 Sep 2002 04:10:34 +0900,
[#51322] Is There a Formal List on What "Surprises" in Ruby? — William Djaja Tjokroaminata <billtj@...>
Hi,
[#51349] getting all classes within a module ?? — Markus Jais <info@...>
hello
[#51389] Is Ruby's grammar LL(k)? — Mauricio =?unknown-8bit?Q?Fern=E1ndez?= <batsman.geo@...>
Hi,
[#51421] object attributes list — ajksharma@... (ajksharma)
HI,
[#51444] Ruby/Tk or mod_ruby or what ?? — GBanschbach@...
Dear All,
>>>>> "William" == William Djaja Tjokroaminata <billtj@z.glue.umd.edu> writes:
[#51459] Ruby program design question ( Pattern or AntiPattern ?) — <bbense+comp.lang.ruby.Sep.26.02@...>
-----BEGIN PGP SIGNED MESSAGE-----
[#51486] Ruby - common pitfalls? — Rudolf Polzer <AntiATField_adsgohere@...>
Is there a list of common pitfalls beginners in this language should
Scripsit ille William Djaja Tjokroaminata <billtj@y.glue.umd.edu>:
When documenting or discussing ruby code, where did the "#" notation
[#51495] hash missing value — "MikkelFJ" <mikkelfj-anti-spam@...>
Wouldn't it be useful with a missing value in hash tables so you avoid the
[#51504] Bye all — "Matthew, Graeme" <Graeme.Matthew@...>
[#51528] String gsub last '/\\%[0-8a-fA-F][0-8a-fA-F]/ match does not sub — "Robert Linder" <robert_linder_2000@...>
Ruby Versions:
[#51530] Where Is Method Call Precedence? — William Djaja Tjokroaminata <billtj@...>
Hi,
Hi,
Hi Bulat,
On Mon, Sep 30, 2002 at 10:36:41PM +0900, William Djaja Tjokroaminata wrote:
Hi Bulat,
[#51586] Design patterns for communication protocols? — coma_killen@...
Hi,
On 9/27/02 6:27 AM, "coma_killen@fastmail.fm" <coma_killen@fastmail.fm>
> Have you considered BEEP? It's an IETF standard for designing application
[#51639] RE: REXML namespace support — "Volkmann, Mark" <Mark.Volkmann@...>
In my case I'm given a string which is a namespace prefix and I want to
On 9/27/02 11:18 AM, "Volkmann, Mark" <Mark.Volkmann@AGEDWARDS.com> wrote:
On Mon, Sep 30, 2002 at 11:08:15PM +0900, Bob Hutchison wrote:
[#51640] method called on terminated object — Ariff Abdullah <skywizard@...>
[#51666] Visual C++ and RUBY — Bernhard Glueck <bernhard@...>
Hi there!
[#51767] python <=> ruby — Christian Szegedy <szegedy@...>
FYI, I found this while googling:
[#51768] Method <=> Proc — Christian Szegedy <szegedy@...>
Hi,
[#51775] alias versus method_missing — Lyle Johnson <lyle@...>
All,
Lyle Johnson wrote:
[#51809] thoughts on typelessness — dblack@...
Hi --
On Sun, Sep 29, 2002 at 12:09:32PM +0900, dblack@candle.superlink.net wrote:
Gavin Sinclair wrote:
Chris Gehlker wrote:
Hi Dave,
William Djaja Tjokroaminata <billtj@y.glue.umd.edu> writes:
At Wed, 2 Oct 2002 01:37:46 +0900,
On Wed, Oct 02, 2002 at 02:11:24AM +0900, GOTO Kentaro wrote:
At Wed, 2 Oct 2002 02:31:39 +0900,
On Wed, Oct 02, 2002 at 02:43:22AM +0900, GOTO Kentaro wrote:
At Wed, 2 Oct 2002 03:54:25 +0900,
On Wed, Oct 02, 2002 at 04:25:29AM +0900, GOTO Kentaro wrote:
Hi Dave,
----- Original Message -----
Hi,
William Djaja Tjokroaminata <billtj@y.glue.umd.edu> writes:
Hi Matz,
Hi,
Hi David,
Hi,
Hi Alan,
[#51818] announce@ == less email (FAQ item?) — Ryan Davis <ryand-ruby@...>
ZenTest and ZenWeb were just released. I announced these to several
Ryan Davis wrote:
Hi Hal,
Hello William,
> >> I *do* like to keep the discussion of changing Ruby down to less
[#51819] Embedding Ruby in Mac OS X 10.2 — "Rod Schmidt" <rschmidt@...>
It appears that libruby, ruby.h, etc. doesn't come with Jaguar. Anyone have
[#51886] idea for a much needed application — rsrchstr@... (mike henley)
I remember a while ago reading about tim burners-lee and how his
[#51935] idris1000@golfemail.com — "IDRIS" <idrial@...>
Date:September 30,2002.
[#51947] Get to know my external IP adress from Ruby? — coma_killen@...
Hi,
[#51974] Things That Newcomers to Ruby Should Know — William Djaja Tjokroaminata <billtj@...>
Things That Newcomers to Ruby Should Know
Thanks, Gabriele. I will try to incorporate your input. The "0 is
>> - the ||= operator exists :-)
Hi,
Hi --
nobu.nokada@softhome.net wrote:
[#52000] Friedl goes Ruby — "MikkelFJ" <mikkelfj-anti-spam@...>
Re: thoughts on typelessness
Good words, David. My responses are interleaved below. ----- Original Message ----- From: <dblack@candle.superlink.net> > Hi -- > > The on-going discussion of explicit typing and Ruby has whetted my > appetite for traveling further into the typeless universe :-) But > mainly, it's got me trying to think fairly deeply and precisely into > the question of why this notion keeps coming back, in spite of its > fairly manifest (and, I think, pretty universally acknowledged) > extrinsicness to Ruby. These comments, then, pertain to typelessness, > and to the question of why some people's embrace of the Ruby model is > equivocal. (They're not specific to the 'R' initiative, though > obviously that's been at the center of recent debate.) Some people feel safer with explicit types. There are good subjective reasons for this: - computing should be explicit - you need greater rigidity as projects get large - most people have a backgound in explicit typing, and those languages have explicit types for good reason In university, one of the core things I learned in first-year computer science was "abstract data types" - learning to understand and implement lists, trees, hashes, etc. This is obviously important to know, and it implies the importance of strong types, and knowing what you're dealing with. > There's a scene in Buster Keaton's film "Sherlock, Jr." where Keaton > is on an out-of-control motorcycle, about to come to a huge gap > between two stretches of elevated road -- i.e., he's about to plummet. > But two trucks come along on the road underneath, from opposite > directions, and converge for just an instant in precisely such a way > that Keaton can glide across their tops and onto the road on the other > side of the gap. A second earlier or a second later, he would indeed > have plummeted -- but for just that instant, the necessary components > were in place. > > Ruby objects remind me of that scene. They are what they are at a > given moment, whether or not that's what they were or what they will > be. And in their momentary permutations and capabilities, they can do > some very powerful things. And they can just miss the trucks, plummet to the road below, break their arms and legs, and then get run over by the truck. Then they get sent to hell instead of heaven because some SOB redefined their finalizer. Building projects that even potentially rely on trucks coming together can be described in the following ways: creative, interesting, risky, irresponsible, crazy, brilliant. > All of this is so enthralling to me that I'm always surprised when > people advocate explicit typing (in one form or another) for Ruby. It > seems that, in spite of everything (including the existence of other > languages for those made queasy by typelessness), a number of Ruby > users are more drawn to type-based programming than away from it. I > wonder why this is. The fundamental reason I hear most often is the desire to weed out bugs at compile-time, not run-time. This will be argued by many on the list, myself included, as something of a fallacy. However, these arguments tend to rely on the primacy of unit testing, rather than proving correct designs. There is nothing necessarily right ot wrong about this, but it is inconsistent with what we learnt, and came to agree with, at university. (I don't know what unis teach nowadays.) Most of us, at some point, have to ask whether Ruby really concurs with what we think is "right". I'd be interested to know if and how you traversed these crossroads, David. One thing's for sure: "dynamic programming" leaves a lot of risk at run-time. It is a matter of continuing debate how much of this risk can be ameliorated. As I've said before, Ruby is an experiment, like non-Euclidean geometry. Dave Thomas exhorts those with queasy stomachs to try writing seriously large Ruby applications and seeing if their fears materialise. Ruby introduces (to my radar, at least - I'm sure Smalltalkers will disagree) a new paradigm for programming. As this gains greater acceptance, traditional academics will have to focus some research efforts on it. By the looks of it, Ruby can ride the wave of interest in XP, and maybe benefot from research into that, but that's only have the story. Until such research is carried out, and time allowed for the flow-on effects (articles, education, ...) we are bound to have the same debates time and again. Every day, someone new is having to ask themselves whether and how to embrace a "typeless" language. I'd like to see, as a crystallisation of discussions on this list, a document prepared outlining the costs and benefits of Ruvy programming. Something to make very interesting reading for Java programmers. Of course, I'm not putting my hand up, and do not have the necessary experience anyway. > I don't have a particular or conclusive answer, just some thoughts. > Mainly these have to do with Ruby methods and syntax, rather than > other factors (like whether managers will accept a dynamically typed > language). > > One possible factor, I think, is the #type method. As I mentioned on > IRC this evening, I sometimes wish Ruby didn't have it. It's harder > to make the argument that objects don't have types, when the objects > themselves willingly tell you their types.... :-) And I might add > #is_a? and #kind_of? to the list. Maybe they're necessary for > reflection. It's interesting to try to program without them. You should try to program without them, but it may not always be impossible or undesirable. (To suggest this is surely to place yourself near a far end of the spectrum in this debate, David.) I think types will always be important in computer programming. Anyone care to disagree? The problem we have in Ruby is how to define them. They're so hard to pin down. Ruby still has cookie-cutters (classes), but both the cookie-cutters and the resulting cookies can grow new arms and new legs, meaning that neither of them is wholly suitable for defining something as significant and universal as a "type". You put it best, Davis when you said that a Ruby object is what it is. However, in practical programming (remember that? ;) it is sometimes important to know what you're dealing with. It is somethimes desirable to allow a method to act on either an Array or Hash or String or ..., and exhibit sensible but different behaviour based on this. The writer of the method thus assumes: - you will not overly distort the class Array, String, ... - you will not overly distort objects of said classes - you will want to use objects of these classes rather than objects of some other class that is vaguely similar to an Array, for instance These assumptions generally hold true for the important built-in classes like Array and String. They will start to break down when you define and distort your own objects. Therefore, a blurry line can be drawn where such code as "case x when Array ..." etc. starts to become poor programming. > Another thing people often point to that might deter people from > learning a truly type-unchecked programming style is the wordiness of > the most often-mentioned alternative, the "respond_to?" test: > > thing.action if thing.respond_to?(action) > > This has the look and feel of duplicate, workaround code. Whereas > this: > > raise ArgumentError unless obj.is_a?(Thing) > > doesn't, and neither does this: > > case obj > when /String/ .... > when /Array/ .... > > (And of course this: > > def meth(String s) > > wouldn't either :-) > > So one problem might be that while the focus is on what an object will > respond to, the #respond_to? test itself is by no means the most > concise or elegant available idiom. This means that testing for type > offers a path of less resistance -- so people take it. The price of liberty is eternal vigilance. This applies to Ruby programming (and especially design) as much as it does walking alone at night in large American cities. People have to decide what balance they want to achieve between order and chaos in Ruby programs, and then they have to enforce it. (This is the heart of the typeless debate.) Asking an object if it responds to :xyz is deeply unsatisfying. Even if it does, you have no idea what that method will do. The English language is full of homonyms, so Ruby objects have the potential to be as well. Therefore, querying the class of an object not only is the path of least resistance, it gives you more assurance of what you're actually dealing with. It may be a blunt instrument, and one may have reservations about using it, but in some situations its all we have. Raising ArgumentError is a way to ensure that you get a sensible error message. A common complaint is that unwelcome objects make their way deep into methods before their identity is finally uncovered by dint of not responding to a method. If you are somehow undure of your code, it's better to find this out sooner rather than later. Also, consider this. If you do raise ArgumentError because an object is the "wrong" "type", and later find this is unnecessarily restraining you, you can liberalise the method later. The point is, you'll easily find out. If you'd been liberal in the first place, you may have suffered a cryptic error. In Ruby, it's easy to build walls and break them down as needed. > (Of course, in looking at behavior in Ruby as fundamentally per-object > and dynamic, testing with #respond_to? isn't conclusive anyway, since > the response in question may or may not be what one wants. But it's > on the right path, because it's addressing the present of the object, > not its past.) > > You can also do this: > > begin > a.meth > rescue NameError > ... > > I've done that, for instance, in my dbdbd (database definer) program. > It uses 1-originating array notation to index columns, but can also > use field-names. So the reader method for the sort_key (for example) > is: > > def sort_key > @sort_key - 1 > rescue NameError > @sort_key > end > > which I think looks better than: > > def sort_key > if @sort_key.respond_to?(:-) > @sort_key - 1 > else > @sort_key > end > end > > or any of the many variants of that. But the rescue version is > relatively slow. It does look better. But what if the object responds to :- but doesn't do what you want. If you're lucky, your program wil break cleanly. Otherwise, you'll end up with funny indexing of critical data committed to a file. I'm only playing devil's advocate here. > There's also been talk of a sort of conditional method call, where the > call would only happen if the object responds to the method. The > problem with that is: what happens if it fails? You can't just return > nil or false, since those might be what the successful method call > would have returned. > > I don't have any conclusive, ummm, conclusions to draw. Just > wondering what people think of all of this. There was talk briefly of > the idea of multi-dispatch and method signatures on respond_to? > criteria, rather than type. Maybe that's a way to bring that more > accessibly and concisely into the syntax. (Though I'm not sure > exactly what that way would consist of, syntactially.) I don't support the method dispatch stuff, and side with you on most aspects of this issue. To me, the dispatch stuff is too wordy for to little return. I'm not passionate in opposition to it, though; it could be useful, but it could change the language somehow, and cause people to write lots of ugly code. > > David > > -- > David Alan Black | Register for RubyConf 2002! Gavin