[#80747] questions about embedding ruby — Basile STARYNKEVITCH <basile-news@...>
Dear All,
[#80753] Newbie question re: 'net' — "dhtapp" <dhtapp@...>
Hi,
[#80759] Bug in mmap or ruby with ruby-1.8.0 — han.holl@... (Han Holl)
Searching for a non-existing string in a mmapped region produces a segfault.
[#80776] prerelease of Guis-1.3pre1 (a GTK widget server) for Ruby — Basile STARYNKEVITCH <basile@...>
Dear All,
>>>>> "Richard" == Richard Zidlicky <rz@linux-m68k.org> writes:
[#80801] Email with attachments? — "Shashank Date" <sdate@...>
I have searched RAA and ruby-talk (esp. [40428]) and I have
[#80824] copy-on-write in Ruby — oleg dashevskii <be9-ml@...9.ru>
Hello,
[#80829] warning: toplevel constant XX referenced by YY::XX — thomass@... (Thomas)
Is there a way to turn the warning in subj. into an error?
[#80847] Read/Writing to the same file — Thomas Adam <thomas_adam16@...>
Hi All,
[#80849] Simple question(s) — Michael Campbell <michael_s_campbell@...>
(I think...)
--- Michael Campbell <michael_s_campbell@yahoo.com> wrote: > (I think...)
[#80870] show me the ruby way — nord ehacedod <nordehacedod@...>
This works, but there must be a more natural way to do
ts <decoux@moulon.inra.fr> wrote in message news:<200309021525.h82FPkM17085@moulon.inra.fr>...
alan,
[#80873] RDoc: how to turn off automatic linking for a word? — leikind@... (Yuri Leikind)
Hello all,
On Wed, Sep 03, 2003 at 12:32:23AM +0900, Yuri Leikind wrote:
On Wed, 3 Sep 2003, Dave Thomas wrote:
On Thu, 4 Sep 2003 04:45:15 +0900, Dave Thomas wrote:
[#80874] what's wrong with REBOL? — mnhenley@... (Mike Henley)
I first came across rebol a while ago; it seemed interesting but then
[#80899] BigDecimal Bugs — oinkoink+unet@... (Bret Jolly)
I can't get BigDecimal to generate a -Infinity,
[#80926] PRIVATE!!!!! — "MRS EKI OMORODION" <ekiomor670@...>
MRS. EKI OMORODION
[#80928] Re: OOP flavours - was Python vs. Ruby — David Naseby <david.naseby@...>
>From: james_b [mailto:james_b@neurogami.com]
[#80939] Segmentation fault when using FXRuby on 1.8.0 — Ruby Ruby <ruby4lover@...>
I am trying to run a simple FXRuby sample program from
[#80949] Re: Possible to make compound if statements... — Kurt Euler <keuler@...>
Thanks Hal. Question: What do you mean by use ||? Could you give an example? (I'm new to Ruby and programming.)
Kurt Euler wrote:
On Wed, 3 Sep 2003 13:54:45 +0900, Hal Fulton <hal9000@hypermetrics.com>
Hi,
nobu.nokada@softhome.net wrote:
[#80955] Re: Possible to make compound if statements... — Kurt Euler <keuler@...>
Hal: Thanks for your long response. While reading it I was thinking to myself that this guy should write a book on Ruby. Then I realized your name was familiar and found you on Amazon.
Kurt Euler wrote:
On Wed, 2003-09-03 at 11:27, Hal Fulton wrote:
[#80959] exerb, bruby and ruby 1.8.0 — oleg dashevskii <be9-ml@...9.ru>
Hello,
[#80961] holub and OOP flavors — "Joe Cheng" <code@...>
Just want to surface this link to everyone involved in the (rather large)
[#80964] how to get the output of commands which contain backslashes? — Tobias Reif <tobiasreif@...>
Hi
Hello,
[#81014] unknown node type 0 — Hal Fulton <hal9000@...>
Hello, all.
In article <3F561D89.5030101@hypermetrics.com>,
>>>>> "M" == Mike Stok <mike@ratdog.stok.co.uk> writes:
[#81028] webrick and ruby — ahoward <ahoward@...>
In article <Pine.LNX.4.53.0309031650350.16626@eli.fsl.noaa.gov>,
On Wed, 3 Sep 2003, Phil Tomson wrote:
ahoward (ahoward@fsl.noaa.gov) wrote:
> i'm thinking that a fastcgi enabled webrick, coupled with an object
[#81057] WEBrick and mod_ruby performance — quixoticsycophant@... (Jeff Mitchell)
I've been scoping out ruby for an upcoming server project.
You can try 'esehttpd'
kwatch wrote:
On Wed, 10 Sep 2003, Michael Garriss wrote:
ahoward wrote:
[#81065] Re: webrick and ruby — David Naseby <david.naseby@...>
>From: ptkwt@aracnet.com [mailto:ptkwt@aracnet.com]
[#81075] Unit Tests and Encapsulation — Scott Thompson <easco@...>
This may be off-topic in a Ruby list, although I have noticed that a
Most of the time, if you're having trouble unit-testing a class, that
> Most of the time, if you're having trouble unit-testing a class, that
[#81081] Multiple gsub statements in one line possible? — Kurt Euler <keuler@...>
All-
[#81106] Tanaka Akira's PrettyPrint usage? Are there any examples? — ejb@... (Ed Baker)
I'm interested in using the prettyprint module available from RAA.
[#81152] how to get the list of all classes? — Tobias Reif <tobiasreif@...>
Hi
Apparently, Tobias Reif recently wrote:
[#81167] Difference between .. and ... in boolean ranges — Oliver Dain <odain2@...>
I'm a bit confused by some Ruby behavior I'm seeing with ranges. As I
[#81183] Ruby license makes it unuseable ! ! — Default User <vcharlie@...>
Is anyone working on either:
[#81201] Re: Ruby license makes it unuseable ! ! [troll alert] — Lothar Scholz <mailinglists@...>
Hello ibotty,
On Fri, Sep 05, 2003 at 06:48:13PM +0900, Lothar Scholz wrote:
il Sat, 6 Sep 2003 02:10:38 +0900, Michael Campbell
[#81208] Winapp without console window — Dalibor Sramek <dali@...>
Hi.
[#81234] Correction: "religious" — Daniel Carrera <dcarrera@...>
It has come to my attention that the word religious can, indeed, be
Hello Daniel,
[#81239] rcalc 2.0 (Ruby Calculator) — "Josef 'Jupp' Schugt" <jupp@...>
Saluton!
Saluton!
Josef 'Jupp' Schugt wrote:
I tried installing this with the usual:
[#81246] 2 questions about TkVariable and ruby/tk — Ferenc Engard <ferenc@...>
Hi all!
[#81249] sleep command in iterators (silly n00b toy question) — Thomas Yager-Madden <tym@...>
So, still busy just getting introduced to this ruby business. For
[#81263] Hash-ish and Arrays and Duplicates — Meino Christian Cramer <Meino.Cramer@...>
Hi,
Meino Christian Cramer <Meino.Cramer@gmx.de> skrev den Sat, 6 Sep 2003
Robert Feldt <feldt@ce.chalmers.se> skrev den Sat, 6 Sep 2003 17:26:38
[#81284] proposal for a named parameter prefix — quixoticsycophant@... (Jeff Mitchell)
def foo(*array)
[#81305] initializing a servlet in WEBRick — Xavier Noria <fxn@...>
I am writing a web application where all the requests are served by the
[#81310] Ruby-GNOME2-0.7.0 — Masao Mutoh <mutoh@...>
Hi,
[#81325] Ruby 1.8 reference? — Ferenc Engard <ferenc@...>
Hi all,
[#81328] Virtual hosting with WEBrick? — Robert Feldt <feldt@...>
Hi,
[#81330] gnome2 and Gtk::TreeModel — Aredridel <aredridel@...>
Is anyone out there using Gtk::TreeModel in a ruby app, and have some
[#81334] Ruby 1.8.0 .pkg/installer for OS X? — Il疣 Terrell <ilant@...>
Can someone tell me if there's a package for Ruby 1.8.0 installer for
Actually...I tried (as did Matz delivery-date wise) to get 1.8 into
> As for a .pkg...there is a RubyForge project to build an installer for
[#81345] ANN: MetaTags 1.0 — Ryan Pavlik <rpav@...>
MetaTags 1.0
Ryan Pavlik wrote:
On Mon, 8 Sep 2003 21:58:17 +0900
On Monday 08 September 2003 06:58 am, Tobias Peters wrote:
On Tue, 9 Sep 2003, why the lucky stiff wrote:
Hi --
On Monday 08 September 2003 12:08 pm, dblack@superlink.net wrote:
why the lucky stiff wrote:
Hi,
On Monday, September 8, 2003, at 11:59 PM, Dave Thomas wrote:
On Monday, September 8, 2003, at 11:59 PM, Dave Thomas wrote:
Richard Kilmer wrote:
> Hi,
On Tue, 9 Sep 2003 01:19:36 +0900
Aredridel wrote:
[#81348] Re: Ruby-dl problem: calling func with param — "J.Hawkesworth" <J.Hawkesworth@...>
Hello Robert,
J.Hawkesworth <J.Hawkesworth@talis.com> skrev den Mon, 8 Sep 2003 19:31:26 +0900:
[#81353] File, relative path handling. — Hugh Sasse Staff Elec Eng <hgs@...>
Before I attempt to re-invent this wheel:
[#81374] problem with Module#append_features — Ferenc Engard <ferenc@...>
Hi all,
Hello,
[#81376] Reference documentation for Ruby 1.8.0 — David Heinemeier Hansson <david@...>
I've been using the RubyRef extraction from the PickAxe book while
[#81382] Re: tcltklib not built with Ruby 1.8 — "Weirich, James" <James.Weirich@...>
> At Mon, 8 Sep 2003 07:11:31 +0900,
Hi,
[#81405] Emulate perls local — Karsten Meier <discussion@...>
Hello Ruby Fans,
[#81406] Ideas worth stealing? — james_b <james_b@...>
There's a link on Sean McGrath's web log [0] (well worth reading) to a
[#81419] "Moved Temporarily"? — Il疣 Terrell <ilant@...>
When trying to run the following code from "Programming Ruby" I get an
[#81435] IO#clone and 1.6 -> 1.8 question — dblack@...
Hi --
[#81469] Need a ruby approach — Fredrik Jagenheim <fredde@...>
Hi,
[#81503] Memory consumption of Ruby/mod_ruby combo on Apache — David Heinemeier Hansson <david@...>
I'm seeing memory consumption in the area of 30-35mb per Apache process
David Heinemeier Hansson wrote:
On Tue, 2003-09-09 at 10:35, mgarriss wrote:
> Also, what other modules are you loading? Are there some that you can
On Tue, 2003-09-09 at 10:50, David Heinemeier Hansson wrote:
> I don't think so - I think all the modules are loaded when Apache is
[#81515] Diaria 0.1.1 simple weblog / news posting tool — Austin King <shout@...>
Hi,
Austin King wrote:
Thanks for the feedback Hal,
[#81535] using a filter inside Ruby — Eric Schwartz <emschwar@...>
I've the contents of a raw log file in memory, and a program that will
On Tue, 09 Sep 2003 14:11:19 -0600
>> This points up my major frustration with Ruby-- I had to completely
[#81538] Subclassing self — gruby@... (John)
X-No-archive: yes
[#81570] RubyConf Registration is Open! — Chad Fowler <chad@...>
We are pleased to announce that registration for the 3rd International
[#81575] RDoc templates... — Greg McIntyre <greg@...>
Yesterday I tried to write a new RDoc template which did the following:
[#81587] Fwd: Calling fun taking struct and not pointer to struct? — Robert Feldt <feldt@...>
Related to the recent thread about nested structs
Robert Feldt [mailto:feldt@ce.chalmers.se] wrote:
Nathaniel Talbott <nathaniel@NOSPAMtalbott.ws> skrev den Wed, 10 Sep 2003 22:42:24 +0900:
Robert Feldt [mailto:feldt@ce.chalmers.se] wrote:
Nathaniel Talbott <nathaniel@NOSPAMtalbott.ws> skrev den Thu, 11 Sep 2003 00:06:18 +0900:
Robert Feldt [mailto:feldt@ce.chalmers.se] wrote:
On Thu, 11 Sep 2003 01:05:07 +0900, "Nathaniel Talbott"
Tim Hunter [mailto:Tim.Hunter@sas.com] wrote:
Tim Hunter [mailto:Tim.Hunter@sas.com] wrote:
[#81589] Extract methods in a class to mixin? — Florian Frank <flori@...>
Hello all,
>>>>> "F" == Florian Frank <flori@nixe.ping.de> writes:
[#81605] windows line termination — Chris Morris <chrismo@...>
Why does Ruby translate \n -> \r\n automagically when writing to/from
[#81612] What *are* variables? Which are nil now? — Hugh Sasse Staff Elec Eng <hgs@...>
Reading about reflection, ObjectSpace will give you the objects in
> raise "@b1 is nil" if @b1.nil
On Thu, 11 Sep 2003, Robert Klemme wrote:
>>>>> "H" == Hugh Sasse Staff Elec Eng <hgs@dmu.ac.uk> writes:
On Thursday, September 11, 2003, 4:00:10 AM, Hugh wrote:
On Thu, 11 Sep 2003, Gavin Sinclair wrote:
[#81623] Chasing a garbage collection bug — "Thomas Sondergaard" <thomas@...>
I just discovered that I have a GC related bug, or that is to say it doesn't
[#81634] stdout in embedded ruby in win32 — thierry wilmot <wilmot@...>
I have just finished to convert my ruby embedded app from static ruby
[#81689] How are global methods defined? — Jason Creighton <androflux@...>
Hi,
[#81693] Nested struct alignment summarized — Robert Feldt <feldt@...>
Hi,
On Thu, Sep 11, 2003 at 04:07:14PM +0900, Robert Feldt wrote:
[#81720] An article on using Ruby to drive a Java hourly build... — Tom Copeland <tom@...>
...is on the O'Reilly web site here:
[#81755] Passing an Object Class from a method to a caller — "RLMuller" <RLMuller@...>
Hi All,
[#81758] Correctly handling the deprecation of rb_enable_super — "Nathaniel Talbott" <nathaniel@...>
I'm using a library (ruby-odbc 0.99 to be exact) that calls
[#81784] Global object instance? —
I'm thinking, why do we have globals at all? I wonder if it would be
[#81830] Mthod redefinition — Meino Christian Cramer <Meino.Cramer@...>
Hi,
Hello,
[#81838] Radical 0.7 — Idan Sofer <idan@...>
-----BEGIN PGP SIGNED MESSAGE-----
[#81840] Re: Dir.foreach not with patterns? — "Weirich, James" <James.Weirich@...>
I like the Dir[] form (or its "glob" alternative). I used to write
On Thu, 18 Sep 2003 15:59:25 +0100
> Could you post your Filescan class?
>>>>> "A" == Alan Davies <NOSPAMcs96and@yahoo.co.ukNOSPAM> writes:
ts wrote:
>>>>> "A" == Alan Davies <NOSPAMcs96and@yahoo.co.ukNOSPAM> writes:
ts wrote:
>>>>> "A" == Alan Davies <NOSPAMcs96and@yahoo.co.ukNOSPAM> writes:
[#81845] Re: Ruby in Systems Administration — "Berger, Daniel" <djberge@...>
> -----Original Message-----
[#81849] HTML generation — Philip Mak <pmak@...>
Is there a list of all the different ways of outputting HTML in Ruby
There's amrita. A great concept, but I'm not too fond of the implementation.
On Saturday, September 13, 2003, 10:45:10 AM, David wrote:
[#81859] String#start_with? / #end_with? — Philip Mak <pmak@...>
Is there a built-in method in Ruby for checking whether a string starts
On Sat, 13 Sep 2003 06:07:24 +0900
[#81868] order of evaluation for method arguments — Michael Garriss <mgarriss@...>
Is this code guaranteed to always work this way:
[#81871] Duck Typing — Jim Weirich <jweirich@...>
In the Method Redefinition thread, this explanation of Duck Typing is
Hi --
On Fri, 2003-09-12 at 21:29, dblack@superlink.net wrote:
From: dblack@superlink.net
Meino Christian Cramer wrote:
Ryan Pavlik <rpav@mephle.com> wrote:
[#81929] actual debian ruby packages are unuseable with tk — Ferenc Engard <ferenc@...>
Dear debian ruby package maintainers,
On Sun, Sep 14, 2003 at 04:01:17AM +0900, Ferenc Engard wrote:
[#81941] Debugging garbage collection — elbows@... (Nathan Weston)
I have a Ruby program that seems to be leaking memory -- in the sense
[#81945] Ruby Object Model bothering me — "Kurt M. Dresner" <kdresner@...>
Ok, so I did
[#81946] Ruby/.NET bridge R3 — Benjamin Schroeder <benschroeder@...>
Hi everyone,
[#81947] problem with RubyDotNet r3 evaluator .rbw — gabriele renzi <surrender_it@...1.vip.ukl.yahoo.com>
I just downloaded R.D.N. r3 and I've got a little problem.
[#81960] Dot versus double-colon — Hal Fulton <hal9000@...>
OK, I've been thinking (always dangerous after 11 pm).
Hal Fulton wrote:
On Sunday, September 14, 2003, 3:04:40 PM, Hal wrote:
Gavin Sinclair wrote:
On Sun, Sep 14, 2003 at 04:13:04PM +0900, Hal Fulton wrote:
[#82012] performance and style advice requested — Alex Martelli <aleaxit@...>
I'm trying to learn some Ruby, so I want to write some Ruby code, starting
Some style advice:
Ben Giddings wrote:
On Tue, 16 Sep 2003 02:07:53 +0900, Alex Martelli wrote:
* Austin Ziegler <austin@halostatue.ca> [Sep, 15 2003 21:40]:
In article <bk40gc$ooij8$5@ID-52924.news.uni-berlin.de>,
Dave Brown <dagbrown@LART.ca> skrev den Tue, 16 Sep 2003 02:48:04 +0900:
Dave Brown <dagbrown@lart.ca> wrote:
* Martin DeMello <martindemello@yahoo.com> [Sep, 15 2003 23:10]:
Hal Fulton <hal9000@hypermetrics.com> :
Alex Martelli <aleaxit@yahoo.com> skrev den Mon, 15 Sep 2003 01:44:09 +0900:
[#82017] my mod_ruby doesn't like my eruby — Daniel Cremer <vivo_sengodo@...>
Hi,
Daniel Cremer <vivo_sengodo@yahoo.co.uk> writes:
Yeah I saw that not requiring the appropriate module
[#82029] Linguistics 0.02 — Michael Granger <ged@...>
Hi fellow Rubyists,
What url location should be used to obtain the required "readline.rb" module?
Michael Granger wrote:
On Mon, 2003-09-15 at 15:11, Michael Garriss wrote:
[#82039] urgent transaction. — "Dagarsh W.Kings" <dargarsh_kiigz@...>
ATTN:CEO,
[#82041] ruby-dev summary 21366-21380 — Kazuo Saito <ksaito@...>
Hello,
[#82051] game programming — "PILU" <piluxmail@...>
hi,where can I find documentation for ruby game programming!
[#82056] Test::Unit -- multiple errors in test method ??? — Johan Holmberg <holmberg@...>
On Monday 15 September 2003 08:08, Johan Holmberg wrote:
[#82105] opengl on windows — "PILU" <piluxmail@...>
hi,how to install on windows the module for opengl!
[#82118] Euruko 2003 Videos available at ruby-doc.org — "jbritt@..." <jbritt@...>
Euruko 2003 Videos available at ruby-doc.org
[#82119] Re: performance and style advice requested — "Weirich, James" <James.Weirich@...>
> IMHO rather:
* Michael Campbell <michael_s_campbell@yahoo.com> [Sep, 15 2003 23:20]:
[#82153] Re: [ANN] Euruko 2003 Videos available at ruby-doc.org — "Robert McGovern" <robertm@...>
>>> jbritt@ruby....... 09/15/03 10:09pm >>>
[#82166] scrambler one-liner — Xavier Noria <fxn@...>
I just came across this interesting article at Slashdot that explains that
This is hilarious, because a friend and I just had (over lunch) a race
On Tuesday 16 September 2003 20:07, Kurt M. Dresner wrote:
On Tue, 16 Sep 2003 19:04:53 GMT
> ....but I don't know what evil effects having the comparison be
[#82206] #{} and \" don't like each other — Peter <Peter.Vanbroekhoven@...>
From the Programming Ruby book:
Peter wrote:
> As you may have already discovered, the following gives the expected
Hi,
[#82261] saving and reading array of associative array — yvon.thoravallist@... (Yvon Thoraval)
i'm looking for examples of saving to file and reading back an array of
[#82289] news gateway problem? — Austin Ziegler <austin@...>
I've been getting a number of threads lately that appear to have originated
[#82331] Re: scrambler one-liner — "Weirich, James" <James.Weirich@...>
> > ....but I don't know what evil effects having the comparison be
[#82372] Euruko Videos will be temporarily unavailable — "jbritt@..." <jbritt@...>
I need to verfiy some bandwidth cap software, but alos need to go out of
[#82377] Installing ruby extensions — "Thomas Sondergaard" <thomas@...>
I'm using mkmf to generate a makefile for my ruby extension, but my
[#82397] going over two interators — Michael Garriss <mgarriss@...>
I often find that I need to go over two enumerables in parallel. I have
[#82405] Thread safety: Serializing access to ruby interpreter- again — "Thomas Sondergaard" <thomas@...>
I recently asked about this and got answers, but here I go again:
[#82419] wiki reccomendations — ahoward <ahoward@...>
> any votes/reccomendations for best ruby wiki? i'm leaning towards
On Thu, 18 Sep 2003 15:53:12 +0900, ahoward wrote:
[#82424] Why IO#readlines does'nt accept a Regexp? — gabriele renzi <surrender_it@...1.vip.ukl.yahoo.com>
as in the subject, I just noticed that readlines just accepts a string
[#82427] GUI for MacOS X? — Nigel Gilbert <n.gilbert@...>
Apologies if this is a FAQ, but I have been googling for a long time,
Hi,
Laurent Sansonetti wrote:
[#82448] closing stderr — Michael Garriss <mgarriss@...>
I would like to prevent some output that is going to stderr during a
On Fri, Sep 19, 2003 at 12:49:43AM +0900, Michael Garriss wrote:
[#82452] File.expand_path and ~ on windows — Alan Davies <NOSPAMcs96and@...>
From the pickaxe book...
On Thu, 18 Sep 2003 17:16:00 +0100, Alan Davies wrote:
[#82465] rubyfilter@raa: Wrong URLs — "Josef 'Jupp' Schugt" <jupp@...>
Saluton!
[#82466] madeleine + transaction::simple — ahoward <ahoward@...>
[#82482] Re: Embedded Ruby in a MSVC++ project? — "Lee Fisher" <leefi@...>
| I'm working on a project in MS Visual C++, unfortunately the code is
[#82510] Re: How to do windows applications ? — "Robert Klemme" <bob.news@...>
[#82515] PostgreSQL, Ruby, FX Ruby and Windows XP — Szymon Drejewicz <drejewic@...>
Is it possible to connect to PostgreSQL database using Ruby under
On Friday, September 19, 2003, 9:57:32 PM, Szymon wrote:
--- Gavin Sinclair <gsinclair@soyabean.com.au> wrote: > On Friday,
[#82516] Viruses — Peter <Peter.Vanbroekhoven@...>
I'm getting incredibly many virus warnings because of mails I get from
Peter wrote:
[#82532] Re: Viruses — "Gavri Savio Fernandez" <Gavri_F@...>
I have the same problem too (getting all those virus warnings)
On Fri, 19 Sep 2003, Gavri Savio Fernandez wrote:
> So anyone who has that page in their cache is potentially a vector, as
Peter <Peter.Vanbroekhoven@cs.kuleuven.ac.be> skrev den Fri, 19 Sep 2003 23:48:53 +0900:
[#82547] fork not available? — walter@...
I am running windows 2000 using the PragProgs install.
On Sat, 20 Sep 2003 01:50:32 +0900, walter@mwsewall.com wrote:
[#82560] Defining constants in global scope — "Thomas Sondergaard" <thomas@...>
irb(main):001:0> module AModule
[#82561] Trouble with binary files? — <agemoagemo@...>
I'm trying to write a program that will read a binary
agemoagemo@yahoo.com wrote:
<agemoagemo@yahoo.com> graced us by uttering:
Tim Hammerquist wrote:
Hal Fulton wrote:
Steven Jenkins wrote:
[#82575] Article on oreilly.net on how to build Unix tools with Ruby — Xavier <NOSPAM@...>
Thought you'd like to know about this article
On Sat, Sep 20, 2003 at 06:00:21AM +0900, Xavier wrote:
On Wednesday, September 24, 2003, 2:33:01 AM, Paul wrote:
* Gavin Sinclair <gsinclair@soyabean.com.au> [2003-09-23 17:16]:
> On Sat, Sep 20, 2003 at 06:00:21AM +0900, Xavier wrote:
David Garamond wrote:
[#82589] POP3Filter for SoBig.F Virus: — Austin Ziegler <austin@...>
Here's an updated version of the Ruby pop3filter that was written. This
I've made more updates. Rather than just putting them here, I've created a
On Sat, 20 Sep 2003 10:14:39 +0900, Austin Ziegler wrote:
On Saturday, September 20, 2003, 9:03:18 PM, Shashank wrote:
On Sat, 20 Sep 2003 22:15:40 +0900, Gavin Sinclair wrote:
On Sat, 20 Sep 2003 23:52:39 +0900, Austin Ziegler <austin@halostatue.ca>
On Saturday 20 September 2003 18:56, Jose Quesada wrote:
On Sun, 21 Sep 2003 02:07:44 +0900, Xavier Noria wrote:
This whole worm thing brings up a question:
On Monday, September 22, 2003, 8:02:37 PM, Dave wrote:
On Monday, September 22, 2003, at 12:35 PM, Dave Thomas wrote:
[#82646] Operator overloading — Meino Christian Cramer <Meino.Cramer@...>
Hi,
[#82661] Performance: Ruby vs Java — lalit_pant@... (Lalit Pant)
I'm a newcomer to Ruby, and thought I would write a little
[#82662] Making my own output stream — "Mark J. Reed" <markjreed@...>
This is probably a dumb question, but:
[#82668] Stupid RDoc question — elbows@... (Nathan Weston)
How do I create a link to the documentation of a specific method in a
Nope, that doesn't do it either.
Nathan Weston wrote:
[#82680] New Books on Ruby, in English. An enquiry. — Alec Ross <alec@...>
Hi,
[#82700] TimeoutError in Net::HTTP get and post — Carl Youngblood <carl@...>
I'm trying to rescue a TimeoutError in Net::HTTP's get and post methods,
Was this just a stupid question or does nobody know the answer? Or
[#82715] Ruby package for Linux — Jim Freeze <jim@...>
Ok, I know nothing about linux packages.
--- Jim Freeze <jim@freeze.org> wrote: > Ok, I know nothing about linux
On Tuesday, 23 September 2003 at 1:49:04 +0900, Thomas Adam wrote:
--- Jim Freeze <jim@freeze.org> wrote: > On Tuesday, 23 September 2003 at
Jim Freeze <jim@freeze.org> writes:
[#82718] Webrick & CGI programs on WinXP — Austin Ziegler <austin@...>
I'm attempting to get ruwiki running under WEBrick on Windows XP. It's not
Austin Ziegler (austin@halostatue.ca) wrote:
In message <20030922180520.GE63282@segment7.net>,
After merging Eric's and gotoyuzo's patches, the script runs ... but
[#82729] Martin Fowler and Ruby — "Weirich, James" <James.Weirich@...>
Here's an interesting link...
Weirich, James (James.Weirich@FMR.COM) wrote:
[#82753] ssl bad write retry — Chris Morris <chrismo@...>
I've got a Ruby script that uploads a file to another Ruby cgi script.
[#82792] ruby-dev summary 21381-21402 — Masayoshi Takahashi <maki@...>
Hello all,
[#82806] Is Rockit abandoned? — leikind@... (Yuri Leikind)
Hello all,
Yuri Leikind <leikind@mova.org> skrev den Tue, 23 Sep 2003 22:33:42 +0900:
[#82832] upper to lower first letter of a word — yvon.thoravallist@... (Yvon Thoraval)
Recently, i get a vintage list (more than 500 items) with poor typo, for
On Tue, Sep 23, 2003 at 06:29:58PM +0200, Yvon Thoraval wrote:
Yvon Thoraval <yvon.thoravallist@-SUPPRIMEZ-free.fr.invalid> wrote:
I would appreciate it if someone could give me the regexp that it would
[#82850] specifying file encoding — yvon.thoravallist@... (Yvon Thoraval)
[#82884] When threads block — Hans Fugal <fugalh@...>
It's difficult to do any serious multi-threaded network programming when
On Tue, 23 Sep 2003 18:45:40 -0600, Hans Fugal wrote:
Hi,
[#82918] Setting "variable" global variable ? — Johan Holmberg <holmberg@...>
def global_variable_set(name, val)
On Thu, Sep 25, 2003 at 01:37:59AM +0900, Dan Doel wrote:
[#82937] exerb problem - dll not found — "Berger, Daniel" <djberge@...>
Hi all,
[#82948] Which racc? — Jim Freeze <jim@...>
I see that racc is in the distro of Ruby 1.8.0.
[#82956] Win32 graphics library — "Joe Cheng" <code@...>
Hi Rubyists,
[#82964] Re: Prove internet package for Microsoft Internet Explorer — "Anthony Neville" <anthony.neville@...>
[#82973] Re: formatting ruby code in html — "Weirich, James" <James.Weirich@...>
> Is there a similar function in Ruby to the
If someone has the skill and interest, I think a port or adaptation of
[#83002] TCPSocket.gethostbyname difficulties — "Nathaniel Talbott" <nathaniel@...>
I'm trying to use TCPSocket.gethostbyname to verify that a given domain
> I can browse to either of those hosts, so what's different about them? Any
Peter [mailto:Peter.Vanbroekhoven@cs.kuleuven.ac.be] wrote:
>>>>> "N" == Nathaniel Talbott <nathaniel@NOSPAMtalbott.ws> writes:
ts [mailto:decoux@moulon.inra.fr] wrote:
>>>>> "N" == Nathaniel Talbott <nathaniel@NOSPAMtalbott.ws> writes:
ts [mailto:decoux@moulon.inra.fr] wrote:
>>>>> "N" == Nathaniel Talbott <nathaniel@NOSPAMtalbott.ws> writes:
ts [mailto:decoux@moulon.inra.fr] wrote:
>>>>> "N" == Nathaniel Talbott <nathaniel@NOSPAMtalbott.ws> writes:
ts [mailto:decoux@moulon.inra.fr] wrote:
Hi,
Yukihiro Matsumoto wrote:
Hi,
> Hmm, might be Win32 specific problem. Does stopping reverse lookup
Hi,
> Thank you for the important information. So there's something
[#83011] Adding, removing and redefining features at runtime — "Thomas Sondergaard" <thomas@...>
I am working on an article on the subject of implementing dynamically typed
Gavin Sinclair <gsinclair@soyabean.com.au> wrote:
On Sat, 27 Sep 2003 00:05:48 +0900, Martin DeMello wrote:
On Saturday, September 27, 2003, 2:10:42 AM, Austin wrote:
[#83043] finding ruby.h / problem with rbconfig (LoadError) — Oliver Obst <fruit@...>
Hi all,
[#83049] Focusing more on Ruby ... Windows ver? — Ron Jeffries <ronjeffries@...>
OK, after this C# book is over, I'll be getting back into Ruby more. It's more
[#83072] windows help! — "Ara.T.Howard" <ahoward@...>
[#83084] How abouta standard 'doc' directory? — Gavin Sinclair <gsinclair@...>
-talk,
On Saturday, 27 September 2003 at 9:35:00 +0900, Gavin Sinclair wrote:
On Saturday, September 27, 2003, 10:46:16 AM, Jim wrote:
[#83094] Re: RubyDotNet r4 and namespaces — "John R. Pierce" <john@...>
On Sat, 27 Sep 2003 10:44:00 +0900, James Britt wrote:
[#83105] Fwd: FW: Porting Suggestions: Lucene to Ruby; Perl Text::Balanced — Erik Hatcher <erik@...>
I was alerted about me being mentioned on ruby-talk, as I was not
Erik Hatcher wrote:
* Hal Fulton <hal9000@hypermetrics.com> [0901 18:01]:
[#83140] Thoughts on yield — nolan_d@... (Nolan J. Darilek)
I've begun working on a music-related ruby project, and recently I've
[#83151] Re: Unit-Testing HTTP header output — "Barry Shultz" <barry_sh@...>
Hi,
[#83183] Two problems creating a C++ extension to Ruby — matthew.miller@... (Matthew Miller)
Hello,
[#83203] Ruby Newbie's Question: Sockets - searching for equivalent to a perl programme — Johannes Steigerwald <johannes.steigerwald@...>
Hi all,
[#83206] Stop Immigration — "Vanguard News Network " <vanguardnn@...>
Stop Immigration
I cant believe it. Political SPAM!!!!!!!! WTF does this guy think he is
Well if makes you feel any better, my fiance is about to graduate with a
[#83207] The Uncertainty Principle Is Untenable — "ada" <ada_adams@...>
please reply to hdgbyi@public.guangzhou.gd.cn
[#83223] Article on ARTIMA — Peter Hickman <peter@...>
There is the start of a series of articles on ARTIMA with Matz.
From the talkback:
[#83256] Re: Spam and Trolls — Mark Wilson <mwilson13@...>
This is the only post I intend making on this topic. I respectfully
[#83268] fastcgi permission error — Carl Youngblood <carl@...>
Hello, I'm trying to set up ruby-fastcgi on redhat 9. Everything seems
On Tue, 30 Sep 2003, Carl Youngblood wrote:
[#83293] Array and hash iteration questions — Ben Giddings <bg-rubytalk@...>
I have a CSV file and I'm trying to do a few things with it. Essentially
[#83310] Making == symmetric? — elbows@... (Nathan Weston)
It has always bothered me that == is not symmetric in ruby:
Those more knowledgeable than me should correct what I've written below
Mark Wilson <mwilson13@cox.net> wrote in message news:<3AA52722-F3B5-11D7-951C-000393876156@cox.net>...
Nathan Weston wrote:
Re: OOP flavours - was Python vs. Ruby (long long long)
This has been a great thread. Lots of interesting concepts have been
argued and many interesting points of view have been shown. It's
taking me a while to absorb it and I'm nowhere close to being
finished. I'm attaching to Ryan's post as I found it especially
thought-provoking.
Ryan Pavlik <rpav@mephle.com> writes:
> Actually this isn't a very good example. This whole argument about
> "print should be a member of an object" is demonstrably inelegant and
> wrong, for a number of reasons (some of which have been noted already):
>
> * The action of "printing" presupposes a few things:
>
> - A device to print on
> - A format in which to print
> - Content to print
>
> * A String specifies no device on which to print
>
> * A String provides content and, to some extent, format
>
> * The physical act of printing is device-dependent, and thus in
> OOP should be encaspulated within the device representation object
One of the tough spots I've bumped into, and which has been touched in
this thread, too, is the difference (sometimes dissonance) between a
model that is easy to understand and a model that is easy to
develop/maintain/extend easily, or in other words an intuitive model
and a good working model.
The former seems to be about how much the model is close to
real world experience and common sense, the latter about how much it
follows certain practices and ways that programming experience has
shown to be effective (i.e. to enable to develop/maintain/extend
easily).
The dissonance lies in the unsurprising fact that an intuitive model
and a good working model don't necessarily coincide. (Yeah, you are
authorized to think `truism' here. ;-))
Sometimes a very natural model is a very uncomfortable one. The
example has been pointed out of drawing something on a sheet of paper,
with various combinations and orders of `pen', `paper', `ink',
`figure', and as many suggestions as to who does the `drawing' and
therefore who shall be the receiver of the message and who shall be
the parameter.
What surprised me lies in what was *not* suggested: that it is a
painter who might know how to do the drawing, rather than a pen or a
sheet of paper. Now allow yourself to be a little surprised as well,
if you will, before reading on. :-)
Thinking from a real world perspective, it would seem only natural
that a painter knew his tools, had access to them and could use them.
Thinking from a programming perspective, though, this smells of
passive data and procedural thinking (which isn't necessarily bad).
Yes, I'm thinking exactly about the memory area that stands for the
sheet of paper and the procedure lighting up some bits here and there
to simulate a trace of ink.
Yet, still thinking from a programming perspective but this time
wearing our Object Oriented Wizard's clothes, it suddenly becomes
natural to think of pen, paper and ink as living and active things.
Wizard says to pen: `Pen, fly to the sheet of paper and draw!' and the
pen does so. Or, to get back to the string and printing device
example, wizard says to string: `String, lay thyself on the device
surface!' or `Device, receive this string and make it appear on your
surface!'.
Interestingly, much was discussed about the proper combination of pen,
paper, ink and figure, but it seemed somewhat more quietly accepted
that it is a device that does the printing of a string. The paper was
perceived passive, the device active.
But the device acts no more than the paper, and no more than the pen
or string; it's the painter that moves the pen and draws the figure on
the paper, and it's the device *driver* that moves the virtual pen and
draws the virtual figure on the device's virtual paper.
The `why' of our tendency to consider some things passive and some
things active would lots of thinking in itself. Who knows, maybe it's
just that, as technology goes on, we're surrounded more and more by
reacting and acting objects, and it makes sense to assign this
property even to those things who were not born with such initiative,
when their representations live somewhere inside the most active of
real objects, the computer. [1]
Or it might just be that, doing so, some things work better, and we're
back to the dissonance between easy to understand vs. good working
systems. And/or to an unsettling question: `In a world where we speak
to pens and they fly and write, do we really want to stay attached to
models resembling real world? How many excellent and exciting models
have we chosen to not explore and discover just because they appear so
little natural and real world?'
[1] It was only when re-reading that sentence that I noticed `...those
things *who* were...''
> * Undesired coupling: If you store outside data or define outside
> actions, you will end up in a situation where your methods
> require outside context which isn't there:
>
> w = World.new
> sp = Sphere.new(w, 0, 0, 5) # Bad coupling, the location and
> # world should not matter here
>
> : # elsewhere
>
> sp = Sphere.new(??.., 5) # We might not have a World here,
> # we just want a sphere
>
> sp.circumference # Outside information not relavent
> # to the sphere itself
>
>
> # Someone else implements it like this:
>
> w = World.new
> sp = Sphere.new(5)
>
> w.add(sp, 0, 0) # Good, no coupling
>
> :
>
> sp = Sphere.new(5) # No ties to worry about
> sp.circumference
This was what most caught my attention, because in the meanwhile I was
working with GTK and teaching AWT on one side (where you do things
like window.add(widget) rather than Widget.new(window)) and was toying
with a little LOGO implementation in C/Ruby (where I had done
something like g = Graphics.new; t = Tortoise.new(g)).
From a real world (sort of) perspective on the model: are coordinates
a property of an object or not? That's a good question, and I'm
terribly envious the certainty of your answer, Ryan. :-)
Michael Benedikt, architect, wrote about the dimensionality of
Cyberspace [2] and about intrinsic and extrinsic dimensions of
entities in a -- real or perceived -- space. Intrinsic dimensions are
e.g. color, texture, temperature, etc. Extrinsic dimensions are x, y,
z. As an operative definition of extrinsic vs. intrinsic, I assume
that in a moving object extrinsic dimensions change while intrinsic
dimensions stay the same, because ext-rinsic dimensions depend on a
relation with an ext-ernal context.
(Now of course this is limited; intrinsic dimensions are measured on
some scale and once you take that as the external context, you've
turned intrinsic into extrinsic. But my head is exploding already.)
Now the question: who owns/knows the values of extrinsic dimensions?
Is it the responsibility of the space to know where every sphere it
contains is placed, or is it the responsibility of each sphere to know
where it is, while the space's only job is to contain them?
That's a natural question to hear from a programmer, but then again,
from a real world perspective I don't think it's the right the
question.
Because, of course, it's us observers that realize the relation
between a context and the things it contains. And coordinates in the
space is precisely a matter of relation among entities, something that
is `in between' the space and the sphere, rather than `of' the space
or `of' the sphere. Just like the act of drawing is what lies between
a pen and a sheet of paper, not really belonging to either, maybe only
belonging to the painter's mind or hand. (Attempt at a martial arts
or Japanese oriented joke: Hey, somebody please invent ma-oriented
programming! :-))
It's this kind of concepts that I find difficult to model in an
object-oriented world, rather than in a procedural world (can I say
observer-oriented world? Einstein has been insistently knocking
behind my left ear since I've started talking about space and
dimensions. ;-)).
And this leads me to...
The programmer's perspective on the model. Because in the end we
build programs based not (only) on the rules and concepts that seem
most natural, but on the rules and concepts that work best.
For example: in a CAD we will often want to know the coordinates of
the sphere according to a default coordinate reference (world
coordinates). When we have this setting:
> # Someone else implements it like this:
>
> w = World.new
> sp = Sphere.new(5)
>
> w.add(sp, 0, 0) # Good, no coupling
How would one get to know the coordinates of sp? He would have to
travel (iterate) the world along the `contained objects' dimension
looking for the coordinates structure that refers to `sp', maybe
something like:
coords = world.object_coordinates.find {|id, x, y, z| sp.id == id}
(And note that `id' is kind of an extrinsic dimension related to
another context -- memory -- here held in the object, not in the
context!)
On the other hand, querying `sp' about its coordinates is trivial if
extrinsic dimensions are stored in `sp' itself:
print sp.x
print sp.y
print sp.z
This is more convenient. But now the sphere is coupled to a specific
context, and we cannot extend the context (for example introducing a
fourth dimension) without making the contained objects aware of it.
Which I suppose is one of the consequences Ryan was getting at.
The sphere also spits out data that are not collected from its own
point of view, instead from that of an external observer, which could
be counted as one more (albeit subtler) break of encapsulation.
[2] _Cyberspace - First Steps_, Massachusetts Institute of Technology,
1991
> These get even worse as you start trying to tie objects and methods with
> less relation together, like String and IO. Would you consider a
> String#display function that takes a GraphicsDevice? A GD and
> coordinates? colors? fonts? transformations? Things get out of hand
> quickly. What if you're working with multiple interfaces? String#print
> is an identical concept, except it's merely displaying on an inferior
> rendering device. And it won't work for ncurses, or without a console.
> Could you use mixin to abstract #print to different devices? Yes.
> Could you abstract the formatting complexities? Maybe. Can you
> ensure the concept of printing even makes sense at the target? No.
Somehow, the content has to arrive on the rendering device. Somehow,
the device must know additional data about the representation of the
content (I don't say that this additional data `must arrive' because
the rendering device might as well make them up based on its own
reasoning.)
Now, the string is just content. How does it get to the device?
Since we have accepted that objects can be active when it makes things
work better (ok, *I* have accepted that ;-)), I see nothing wrong
with:
s = "Hello, world!"
s.transmit_to(io_device)
....provided that there is some agreed convention that says that
io_devices get content through a well defined interface like:
class IODevice
def receive_content(content)
...
end
end
....so that String#transmit_to knows how to transfer itself to the
IODevice. The requirement of String to know this interface is the
consequence of making it so intelligent that there must not be an
outside painter or observer that picks the letters up and carries them
to an io_device, thereby knowing both the string and io_device.
What I see something wrong with, and again what I think Ryan was
getting at in the post and in the quote above specifically, is when
string knows more than its content, i.e. knows that additional data
needed for representing a string on a device; data which, yet, is
device-dependent.
So rather than String#display_to or String#print_to, a more balanced
(less prone to abuses or consequences) way to let the string have some
initiative and yet not stomp on others' objects feet could be:
s = "Hello, World!"
s.transmit_to(io_device)
io_device.set_color('blue')
io_device.set_cursor(100, 70)
io_device.print_content
Or just:
s = "Hello, World!"
s.transmit_to(io_device)
Which reads: IO device listens to the data space and is willing to
display the data that requests it, but at a time and in a way
depending on its policies, not the data's.
So io_device decides whether to automatically assign a presentation to
the content and display it right away, or wait until someone provides
presentation data, or schedule its presentation at regular intervals
in another thread, and so on. Which, come to think about it, it's
just what could already be happening with SomeObject#display, if the
method name didn't make us assume a communication of content *and* a
subsequent presentation, but just a communication of content.
> Anyhow, this message is getting far too long, so that's all.
I can sense people regretting the same thought didn't come to my mind
sooner. O:-)
Massimiliano