[#136206] Re: ruby lib that will receive email — "Pe, Botp" <botp@...>
Florian Gross [mailto:flgr@ccan.de] wrote:
On Fri, Apr 01, 2005 at 09:45:33AM +0900, "Pea, Botp" wrote:
> I'd like one of these too, to go into a Unit testing framework for a mail
[#136217] Getting Ruby approved — Joe Van Dyk <joevandyk@...>
Hi,
ptkwt@aracnet.com (Phil Tomson) wrote:
Hi,
On Sat, 2 Apr 2005 21:52:23 +0900, you wrote:
[#136227] ebay searching — Joe Van Dyk <joevandyk@...>
Are there any Ruby libraries out there that will search ebay?
[#136233] how to simulate self-style delegation — "itsme213" <itsme213@...>
I have classes A and B.
[#136254] emerald 0.1 — Yukihiro Matsumoto <matz@...>
Hello,
Yukihiro Matsumoto wrote:
Hal Fulton Wrote:
Jamey Cribbs <cribbsj@oakwood.org> wrote:
On Apr 1, 2005 10:54 AM, Luc Heinrich <lucsky@mac.com> wrote:
[#136264] File.fnmatch and ** — Thomas Sondergaard <ts_news1@...>
Dir.glob('**/*') matches directories recursively, but
[#136302] Code Cleaning (#26) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
[#136329] Kernel.load() behaviour — Andrew Walrond <andrew@...>
I want to wrap a pile of classes, which are defined in their own files, inside
On Friday 01 April 2005 17:24, Robert Klemme wrote:
>
On Apr 1, 2005 11:48 AM, Aredridel <aredridel@gmail.com> wrote:
On Friday 01 April 2005 22:37, Brian Mitchell wrote:
On Apr 1, 2005 2:44 PM, Andrew Walrond <andrew@walrond.org> wrote:
On Friday 01 April 2005 23:49, Saynatkari wrote:
[#136358] Shiny balls with OpenGL — Ilmari Heikkinen <kig@...>
Hi, anyone done interesting things with ruby-opengl?
[#136370] what password obfuscation options are there in standard ruby on windows? — rpardee@...
Hey All,
[#136371] tk fails to work with TkVariable — Stefan Achatz <erazor@...>
Hello,
[#136374] private inner class — "John-Mason P. Shackelford" <john-mason@...>
In ruby is it possible to have a private innner class? Using private
[#136405] how to read output of shell command to variable? — sin kanti <sinkanti@...>
Hi,
[#136430] Two Questions about Hash Defaults — Pete Elmore <pete@...>
I have a couple of questions about hashes. The first is fairly simple:
[#136445] MySQL under latest one-click installer — "R. Mark Volkmann" <mark@...>
Can it really be this hard to access MySQL from Ruby running under Windows?
Hello R.,
[#136470] Handling Timeout::Error from TCPSocket — Pat Maddox <pergesu@...>
I'm writing a little method that just tries to open a tcp socket
Quoting pergesu@gmail.com, on Sat, Apr 02, 2005 at 08:05:15PM +0900:
I don't want to override the protocol's idea of a timeout - I'd like
Quoting pergesu@gmail.com, on Sun, Apr 03, 2005 at 02:03:51AM +0900:
In Java:
Quoting pergesu@gmail.com, on Sun, Apr 03, 2005 at 03:33:47AM +0900:
All I'm trying to do is see if a connection can be made or not, in a
Quoting pergesu@gmail.com, on Sun, Apr 03, 2005 at 05:19:36AM +0900:
Alright, basically this is what I want to do.
Pat Maddox wrote:
I'm going to be running this test every minute. If it takes two
Quoting pergesu@gmail.com, on Sun, Apr 03, 2005 at 06:51:09AM +0900:
[#136499] Best way to get latest ruby on OS X? — Dennis Roberts <denrober@...>
So I just got a mac mini and want to get the latest version of ruby.
[#136515] libxml and libxslt CVS — "Trans" <transfire@...>
Hi all,
[#136534] Embedding Ruby Interpretor in threaded C / C++ — Yogesh Sharma <ysharma@...>
Hi,
[#136553] MuraveyWeb 0.2 -- tons of new stuff (Ruby on Rails CMS with a live demo) — "Dmitry V. Sabanin" <sdmitry@...>
Hi all,
[#136580] : 2005 IORCC PC Voting is now OPEN! — iorcc@...
With great happiness we bring to you the 2005 IORCC entries:
[#136590] how do I find the name of the current user? — Sam Roberts <sroberts@...>
I'm thinking Etc.getlogin followed by Etc.getpwnam.gecos might be best
On 2005-04-03, Sam Roberts <sroberts@uniserve.com> wrote:
[#136606] Hamburg.rb meeting... — Stephan K舂per <Stephan.Kaemper@...>
Hi all,
> Wednesday, April 4th 2005
[#136630] - E04 - jamPersist Evaluation Case Applied to Ruby — Ilias Lazaridis <ilias@...>
[EVALUATION] - E03 - jamLang Evaluation Case Applied to Ruby
Ilias Lazaridis wrote:
Ilias Lazaridis wrote:
Kirk Haines wrote:
On Apr 8, 2005 8:09 AM, Ilias Lazaridis <ilias@lazaridis.com> wrote:
please avoid further off-topic comments.
Jacob Fugal wrote:
Glenn Parker wrote:
[#136633] Rant 0.3.2 — Stefan Lang <langstefan@...>
Rant is a flexible build tool written entirely in Ruby,
On Apr 3, 2005, at 10:40 AM, Stefan Lang wrote:
On Sunday 03 April 2005 19:23, Jamis Buck wrote:
Stefan Lang a 馗rit :
Lionel Thiry, April 4:
Nikolai Weibull a 馗rit :
On Sunday 03 April 2005 09:49 pm, Lionel Thiry wrote:
Jim Weirich a 馗rit :
On Tuesday 05 April 2005 07:44 pm, Lionel Thiry wrote:
Jim Weirich a 馗rit :
On Wednesday 06 April 2005 05:44 pm, Lionel Thiry wrote:
Jim Weirich a 馗rit :
[#136666] Ruby optimization - re-implement in compiled language? — Ant Sims <antsims9999@...>
[#136671] YARHT (Yet Another Rails Hosting Thread) — Shalev NessAiver <shalev@...>
I have seen many different people asking for free Rails hosting. As I
[#136685] Ruby rite (Ruby 2.0) vaporware or real? — Stephen Birch <sgbirch@...>
Matz's keynote topic at Rubyconf in which Ruby 2.0 was introduced was
Stephen Birch wrote:
Richard Cole wrote:
On Apr 4, 2005 2:32 PM, Saynatkari <ruby-ml@magical-cat.org> wrote:
[#136701] Nitro + Og 0.15.0, Localization, Parametrized mixins, Morphing, SQLServer — "George Moschovitis" <george.moschovitis@...>
Hello everyone,
Does it allow duck-typing?
[#136723] Ruby Weekly News 28th March - 3rd April 2005 — timsuth@... (Tim Sutherland)
Ruby Weekly News 28th March - 3rd April 2005
[#136740] Extension question — Joe Van Dyk <joevandyk@...>
Hi,
On Apr 4, 2005 8:34 AM, Charles Mills <cmills@freeshell.org> wrote:
[#136774] fed up with this newsgroup — "Seppuku" <fscker2000@...>
I am sorry, but are you people retards? Why do you feed the Ilias
Seppuku wrote:
Check this out! his post to c.l.python received 0 replies. That's
On Apr 5, 2005 4:49 PM, gene.tani@gmail.com <gene.tani@gmail.com> wrote:
Luke Graham wrote:
B. K. Oxley (binkley) wrote:
On Apr 5, 2005 10:04 AM, James Britt <james_b@neurogami.com> wrote:
Austin Ziegler wrote:
B. K. Oxley (binkley) wrote:
On Apr 5, 2005, at 6:18 AM, B. K. Oxley (binkley) wrote:
On Apr 5, 2005 8:18 PM, B. K. Oxley (binkley) <binkley@alumni.rice.edu> wrote:
On Apr 5, 2005 9:58 PM, Luke Graham <spoooq@gmail.com> wrote:
On Apr 6, 2005 12:18 PM, Bill Guindon <agorilla@gmail.com> wrote:
On Apr 5, 2005 10:32 PM, Luke Graham <spoooq@gmail.com> wrote:
On Apr 6, 2005 12:55 PM, Bill Guindon <agorilla@gmail.com> wrote:
On Apr 5, 2005 11:28 PM, Luke Graham <spoooq@gmail.com> wrote:
On Apr 6, 2005 1:47 PM, Bill Guindon <agorilla@gmail.com> wrote:
Luke Graham wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Gary Lowder wrote:
On Apr 6, 2005, at 12:27 AM, Hal Fulton wrote:
James Edward Gray II wrote:
On Apr 7, 2005 3:16 AM, Peter Reilly <peterreilly@apache.org> wrote:
Hi!
Shajith wrote:
assert_equal(soylent.green, people)
3.times {|t| places.detect {|place| Home === place }}
In message <c6afaed005040518582d2bca81@mail.gmail.com>, Luke Graham
[#136776] - need a simple IDE which lists methods and variables — Ilias Lazaridis <ilias@...>
I like to try ruby a little bit more.
Ilias Lazaridis <ilias@lazaridis.com> writes:
Ilias Lazaridis wrote:
Hello Rob,
Rob . wrote:
[#136777] Wee 0.8.0 — Michael Neumann <mneumann@...>
Hi,
[#136803] doubly linked list in Ruby? — "ed_davis2" <ed_davis2@...>
I've gone through a Ruby tutorial, and have been writing some
ed_davis2 wrote:
On Monday 04 April 2005 03:09 pm, Tim Hunter wrote:
Randy Kramer wrote:
On Apr 4, 2005 9:29 PM, Tim Hunter <sastph@sas.com> wrote:
[#136804] Wrote "Hookable" mixin, what now? — "Jan 'jast' Krueger" <usenet@...>
Hi everyone,
> An example of something that should be improved: there's a major annoyance
[#136818] Problem running Rails sample app from O'Reilly — "Chris" <newsbot@...>
On the "Getting Started With Rails" page on
[#136831] Garden RubyNuby Question on parameters in blocks vs. methods — "Trans" <transfire@...>
Noticed a new question on the RubyNuby page of the Garden Wiki.
I'm suprised that no one is offering an answer here, especially
> I'm suprised that no one is offering an answer here, especially
On Apr 6, 2005 4:11 AM, Daniel Amelang <daniel.amelang@gmail.com> wrote:
Daniel Amelang wrote:
[#136851] How Ruby is positioned regarding Enterprise Solutions? — Marco Campelo <marco.campelo@...>
Hello All,
In article <9d02191405040417265c5367c4@mail.gmail.com>,
[#136882] How to handle Iconv errors (newbie question) — Matthew Huggett <mhuggett@...>
Hi,
[#136898] - E03b - The Ruby Object Model — Ilias Lazaridis <ilias@...>
[EVALUATION] - E03 - jamLang Evaluation Case Applied to Ruby
On Apr 5, 2005 8:34 AM, Ilias Lazaridis <ilias@lazaridis.com> wrote:
>>>>> "A" == Austin Ziegler <halostatue@gmail.com> writes:
[#136922] pass a byte array to a web service — aastanti@...
Hello all,
Robert Klemme wrote:
Run a HTTP monitor in between the client and server.
Ok, I have used an HTTP monitor to check what's going on. The result is
[#136927] accessing gmail account via POP3 — ptkwt@... (Phil Tomson)
Has anyone written any Ruby code for accessing their gmail account that
[#136935] Re: Benchmarking whole programs — "Berger, Daniel" <Daniel.Berger@...>
> -----Original Message-----
[#136944] Utah Ruby Users Group — Jamis Buck <jamis@37signals.com>
Just a quick note to announce the formation of the Utah Ruby Users
[#136970] Boston Ruby Meetup — "kellan" <kellan@...>
Hi all,
Are they any rubyists in the Houston area interested in getting together?
On Wed, 6 Apr 2005, B. K. Oxley (binkley) wrote:
Depending on the day/time (in the process of moving), I might be
Belorion wrote:
[#136979] Ruby and Bioinformatics — ptkwt@... (Phil Tomson)
[#136983] reading/writing Excel formats (or CSV) — ptkwt@... (Phil Tomson)
> desc student1 student2 student3 student4
> I'm supposed to put together an Excel spreadsheet. I've always been the
On 5 Apr 2005, at 21:54, Phil Tomson wrote:
[#137002] why aren't declarations just syntactic sugar? — Lionel Thiry <lthiryidontwantspam@...>
Hello!
Lionel Thiry wrote:
On Wed, 6 Apr 2005, Saynatkari wrote:
Curt Sampson wrote:
[#137043] new! — Robert <robert@...>
dear all, i'm very new to the Ruby lang: could you suggest me a good web
[#137048] Re: new! — "Pe, Botp" <botp@...>
Robert [mailto:robert@none.com] wrote:
[#137059] Net::SMTP/mod_ruby SecurityError — Richard Turner <richard.turner@...>
Hi,
[#137071] extconf.rb and dyld problem — David Plans Casal <dpc@...>
hello people!
>hello people!
[#137085] Re: Regular expression mismatch ? — "Warren Brown" <warrenb@...>
Han,
On Apr 6, 2005 4:58 PM, Warren Brown <warrenb@timevision.com> wrote:
On Thu, Apr 07, 2005 at 03:47:15PM +0900, Han Holl wrote:
On Apr 7, 2005 10:05 AM, Brian Candler <B.Candler@pobox.com> wrote:
Hi --
On Apr 7, 2005 12:34 PM, David A. Black
Hi --
[#137096] Interpolating a string loaded from a text file — "John Elrick" <john.elrick@...>
Hoping you guys can help out here. Is there any way to interpolate a
[#137115] FXRuby for fox-toolkit-1.4.11? — Jim Freeze <jim@...>
Hi
On Apr 6, 2005 3:12 PM, Jim Freeze <jim@freeze.org> wrote:
Does your glass ball tell you how many lunches you need have in order to
[#137128] chopping up a music file — Matthew Margolis <mrmargolis@...>
I am working with a band right now and they want samples of all their
On Thu, 2005-04-07 at 07:55 +0900, Matthew Margolis wrote:
[#137144] RMagick question — Joe Van Dyk <joevandyk@...>
Hi,
Joe Van Dyk wrote:
Thanks for all the responses (check out www.jerrymahan.com for the result).
On Apr 11, 2005 2:58 PM, Joe Van Dyk <joevandyk@gmail.com> wrote:
[#137189] Code Cleaning (#26) — Ruby Quiz <james@...>
No takers for this idea, eh? We seem to like uglying up code better than
[#137202] In-depth schema details in ActiveRecord — Gavin Kistner <gavin@...>
A few days ago I posted a question on how to use ActiveRecord to
On Apr 7, 2005 9:41 AM, Gavin Kistner <gavin@refinery.com> wrote:
On Apr 7, 2005 9:41 AM, Gavin Kistner <gavin@refinery.com> wrote:
Jim Cain wrote:
[#137218] Re: In-depth schema details in ActiveRecord — "Kujawa, Greg" <Greg.Kujawa@...>
Agreed. I have used MySQL in the past for quick setups that required not
[#137225] Seven new VMs, all in a row — Peter Suk <peter.kwangjun.suk@...>
Hello everyone,
Hello Peter,
Hi Peter,
Peter Suk wrote:
On Apr 7, 2005, at 2:39 PM, Florian Growrote:
Hello Peter,
In article <20050407220145.GI23956@garnet.tc.umn.edu>,
In article <67a2229205040719147fec0f8a@mail.gmail.com>,
On Apr 8, 2005 12:19 AM, Phil Tomson <ptkwt@aracnet.com> wrote:
Hello Peter,
http://www.iam.unibe.ch/~ducasse/FreeBooks/CollectiveNBlueBook/oe-tour-sept19.pdf
Sorry, my last post was meant to be in reply to Lothar's request for a
Hello Avi,
> I'm not *building* a Ruby VM on top of a Smalltalk VM. The Smalltalk
Avi Bryant wrote:
Avi Bryant wrote:
Avi / Peter -- thanks for providing the feedback I was looking for.
[#137230] Accessing SVN through Ruby — Bob Aman <vacindak@...>
I want to code up a CMS of sorts in Ruby that uses Subversion as the
> Has anyone out there had better luck with the ruby svn bindings or
Hi,
> Try the following sequence:
You might want to take a look at the rscm library on rubyforge: http://rubyforge.org/projects/rscm/
On Apr 8, 2005 11:35 PM, Lee Marlow <lmarlow@yahoo.com> wrote:
> On Apr 8, 2005 10:37 PM, Kouhei Sutou <kou@cozmixng.org> wrote:
On 11 Apr 2005, at 13:53, Bob Aman wrote:
(Cross-posting to dev@subversion.tigris.org since at least part of
[#137249] continuations article — Joe Van Dyk <joevandyk@...>
I saw http://www.phubuh.org/Media/Writing/Continuations/ (an article
[#137256] help traversing and modifying hash key and value inplace — "Trans" <transfire@...>
Having a little trouble here. seems that I'm getting some errors trying
[#137279] "Rolling with Ruby" for Linux? — ptkwt@... (Phil Tomson)
I'm finally getting around to trying out Rails and I'm using Curt Hibbs'
[#137329] RubyForge at 600 projects and counting... — Richard Kilmer <rich@...>
Tom just activated the 600th project on RubyForge! That and 1,922
Richard Kilmer wrote:
On Apr 8, 2005 5:01 AM, Curt Hibbs <curt@hibbs.com> wrote:
Richard Lyman wrote:
[#137370] Re: Seven new VMs, all in a row — flaig@...
Yeah, I'm curious about that too... a couple of years ago I wrote a Python-2-native compiler but was very disappointed to find that it revved up things only 2x to 3x (to less than 1/10 the speed of C code), the matter obviously being that Python's way of object handling already consumed most of the CPU time. Obviously, the need for endless type checks, comparisons and conversions, not to mention memory allocation and deallocation, is a bottleneck, at least in Python -- and though I am not really familiar with the internals of the Ruby interpreter, I think that the problem will be pretty much the same. Also in Smalltalk. So there must really be some fundamental stroke of genius involved....
On Apr 8, 2005, at 4:41 AM, flaig@sanctacaris.net wrote:
On Apr 8, 2005, at 12:39 PM, Charles Mills wrote:
Peter Suk wrote:
On Apr 8, 2005, at 3:04 PM, Glenn Parker wrote:
Peter Suk wrote:
On Apr 8, 2005, at 8:40 PM, Glenn Parker wrote:
Hello Peter,
[#137408] Re: [ANN] Instiki 0.10.0 - On The Rails — James Britt <james_b@...>
Alexey Verkhovsky wrote:
On Apr 8, 2005 10:59 PM, Alexey Verkhovsky <alex@verk.info> wrote:
[#137452] Quick start to acessing Oracle` — Ross Parker <ross.parker@...>
On Sat, 9 Apr 2005 02:29:48 +0900, Jason Sweat wrote:
[#137459] Gem install fcgi — "Tony Targonski" <Tony.Targonski@...>
Gem installation of fcgi appears to be broken
Tony Targonski wrote:
There is no gem for the new fcgi release. Can anyone help out? Tom?
On Sat, Apr 09, 2005 at 05:04:13AM +0900, Tobias Luetke wrote:
Aredridel wrote:
Thursday wrote:
On Apr 8, 2005 11:59 AM, Tony Targonski <Tony.Targonski@quest.com> wrote:
[#137468] Knight's Travails (#27) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
[#137476] How should this really be coded in the Ruby style? — Glenn Smith <glenn.ruby@...>
I'm now in the lucky position of finding myself coding in Ruby all
[#137518] Net::HTTP problem with SAP (iView is not compatible...) — Jim Freeze <jim@...>
I am trying to scrape some info from a web page (local intranet),
[#137524] Interfacing with C executable — Joe Van Dyk <joevandyk@...>
Hi,
[#137529] Automated Source Code Analysis for C++ Ruby Projects (free!?!?) — Thursday <nospam@...>
It would be nice if Rubyforge or RAA would auto-analyze source code for
[#137553] Help configuring apache2 + mod_ruby :) from a newbie — "Andrew Backer" <awbacker@...>
Just getting started with apache, ruby, mod_ruby, and trying to do it
On Apr 8, 2005 8:24 PM, Andrew Backer <awbacker@gmail.com> wrote:
I added the "Options ExecCGI" to my mod_ruby.conf, and am still not
I grabbed a file called "RubyForApache" and installed it. There were
[#137558] Array#last_index — jzakiya@...
array.last returns the value of the last array element.
Jabari,
Hi --
David A. Black wrote:
[#137563] Rails and Madeleine — ptkwt@... (Phil Tomson)
Well, to be accurate it is a Rails app without Active Record. Due to
[#137568] Re: Welcome to our (ruby-talk ML) You are added automatically — "GK. Sezhian" <g_sezhian@...>
Hi all
[#137571] method search rule in 2.0? — David Garamond <lists@...6.isreserved.com>
I read:
Hi --
David A. Black a 馗rit :
[#137578] Rake 0.5.3 Release — Jim Weirich <jim@...>
= Rake 0.5.0 Released
[#137644] Rails Scripts Slow? — "HBTaylor" <hbtaylor@...>
I have just started looking at Ruby and Ruby on Rails, and have run
[#137665] Fico 0.1.0 — Urban Hafner <urban@...>
-----BEGIN PGP SIGNED MESSAGE-----
Urban Hafner wrote:
On Apr 10, 2005, at 3:11 PM, Florian Growrote:
I seek a way to save data into a flexible tree, this means into a tree
[#137671] fxirb 0.2.0 - Multiline Edit (and request for help) — Martin DeMello <martindemello@...>
available at http://rubyforge.org/projects/fxirb/
[#137683] Symbols... — Glenn Smith <glenn.ruby@...>
Nope, still not entirely sure I *get* symbols.
[#137691] Translating A Pattern of Data Into Equation, and ultimately code — Zach Dennis <zdennis@...>
I have the following table of data, and I am looking to create an
Zach Dennis <zdennis@mktec.com> wrote:
[#137700] cmd 0.7.0: Library for Line-Oriented Command Interpreters (initial release) — "Marcel Molina Jr." <marcel@...>
= Cmd 0.7.0 (initial release)
[#137711] OSX Tiger comes with Ruby 1.8.2! — Ezra Zygmuntowicz <ezra@...>
Hey there list-
[#137728] groovy-like xml selection — Luke Graham <spoooq@...>
Hi list,
[#137744] [ANN| Bayesian Classification for Ruby — "Lucas Carlson" <lucas@...>
I would like to announce a new module called Classifier for Ruby. It is
Lucas Carlson wrote:
On Apr 11, 2005, at 7:53 AM, Florian Growrote:
[#137759] Re: Seven new VMs, all in a row — flaig@...
I think the "wal-mart argument" is quite an important one. Apart from explicitly creating threads, it would be nice if the Ruby system could be taught to automatically recognize parallelizable code and optimally distribute it across a multiprocessor system -- implicitly. That would be a big advange for high-level programming in general! I do not know the state of the art in this, I only remember that the Atari/Inmos guys failed do do this in Occam, back in the 1980s. Do you think there is a serious chance to get such a thing working?
[#137805] will $ for global disapears in ruby2? — Lionel Thiry <lthiryidontwantspam@...>
Hello!
[#137812] gsub variables — "Steve V" <ruby@...>
Are the $1, $`, $&, etc... variables within a gsub block truely global, or
[#137815] rails use case — "ritchie" <ritchie@...>
Hi there, I'm new to rails, started today really, and am wondering how
[#137841] Factory design — Claus Spitzer <docboobenstein@...>
Greetings!
[#137887] A neat post on Rails & FastCGI... — Tom Copeland <tom@...>
...by a pretty savvy Java guy, Jon Tirsen:
[#137901] Ruby Rails Action Mailer not working with Windows XP SMTP server? — shane.sherman@...
I have been trying to get basic e-mail sending working with Action
Have you tried telneting to the server
Thanks, it actually turned out to be something very stupid. I ended up
[#137904] unable to reason — Daun Jaun <compsci.isi@...>
statArr=[]
[#137907] extensions on Windows — Steven Jenkins <steven.jenkins@...>
I could use some help from someone who knows Windows.
[#137918] Ruby/Odeum Inverted Index Library — "Zed A. Shaw" <zedshaw@...>
Hi,
[#137922] extension question: hiding block proc — Dave Lee <dave.lee.wilson@...>
Hi all,
[#137950] Re: extensions on Windows — "Kloubakov, Yura" <YKloubakov@...>
> -----Original Message-----
[#137954] ability to run finalizers at a given point of a program? — Guillaume Cottenceau <gcottenc@...>
Hi,
>>>>> "G" == Guillaume Cottenceau <gcottenc@gmail.com> writes:
What version of Ruby are you running? With your example I can see:
Guillaume Cottenceau <gcottenc@gmail.com> writes:
> So, I am getting the same result ts was getting.
On 13 Apr 2005, at 00:28, Guillaume Cottenceau wrote:
> > In other words, in my opinion there are cases where IO can be freed
[#137969] Threads in Rails — "Tony Targonski" <Tony.Targonski@...>
In my Rails application, I have a function perform some background
[#137998] Re: [Rails] NYC Meetup? — Matt Pelletier <pelletierm@...>
(i just joined the ruby-talk list and am forwarding this post since it's
[#138003] Good community — bertrandmuscle@...
I just want to point out how great the Ruby community is in attitude. I
Hi --
[#138011] Elapsed time -- tiny code snippet — Hal Fulton <hal9000@...>
Here's a poor man's profiler -- only good for finding the
[#138027] Ruby Java Bridge: Are there any? — Richard Cole <rcole@...>
Hi. Quick question. I've install a database like thingy (kowari) written
[#138035] Scope in Method Definitions — Curt Sampson <cjs@...>
[#138038] Meetup.com changes — Robby Russell <robby@...>
Just a FYI to all you meetup.com .rb people:
[#138080] Really quick question - How do I convert a string to a date — Glenn Smith <glenn.ruby@...>
I need a 'Date' object which is converted from a string value
Hi,
[#138097] On motivating a Ruby nubie — Sy <sy1235@...>
Hey all. I wanted to dive into a topic that's been on my mind for
On Apr 13, 2005, at 9:57 AM, Sy wrote:
James Edward Gray II <james@grayproductions.net> writes:
"James Edward Gray II" <james@grayproductions.net> answered:
On 4/13/05, Ara.T.Howard@noaa.gov <Ara.T.Howard@noaa.gov> wrote:
[#138107] Needle and Parameterized Services — Rob Lally <ruby@...>
Hi,
On Apr 13, 2005, at 11:08 AM, Rob Lally wrote:
Jamis Buck wrote:
On Apr 13, 2005, at 2:19 PM, Rob Lally wrote:
Rob Lally wrote:
[#138110] newbie question re: variable assignment — <Simon.Mullis@...>
Hello All,
[#138122] Re: newbie question re: variable assignment — <Simon.Mullis@...>
This is it... Many thanks.
[#138126] Fixnum playing cards — Douglas Livingstone <rampant@...>
I've been playing with ruby's playinc cards,and to make life easy my
[#138130] What's beyond Rails? — "James Toomey" <jamesvtoomey@...>
Somewhat off-topic rant: This isn't so much a dig at Rails but a
On 4/13/05, James Toomey <jamesvtoomey@yahoo.com> wrote:
The underlying issue is that HTTP was never designed to do what it is
Well, I guess I have a dissenting opinion:
[#138131] Problem Installing GTK+ / WindowsXP — Pafo007 <Pafo007@...>
Hello.
[#138151] Weaving Arrays — galizur@...
[#138195] self — Douglas Livingstone <rampant@...>
class MyClass
[#138196] assert_equal hates my CPU — "Phlip" <phlip_cpp@...>
Rubies:
[#138229] New Affiliate program 80% Commission — "Justin Harrison" <justin@...>
[#138238] EINTR Error Causing Failure in E-mail Sending Script — Ben Gribaudo <rubytalk@...>
Hello,
In article <425E7EA3.9080801@bengribaudo.com>,
Thank you for your thoughts, Tanaka. How would you suggest that I
[#138245] Ruby and Logo? — Brian Candler <B.Candler@...>
Anybody remember Logo, a teaching language from the 80's? Its big plus was
[#138254] class locals as class methods — "Trans" <transfire@...>
So I find myself once again creating some classes that have
[#138257] Whatever happened to RPA? — Carl Youngblood <carlwork@...>
I'm curious, does anyone know if Mauricio Fernandez' RPA-base module
[#138265] ruby-ldap on Windows — "Tim Morgan" <timmorgan.org@...>
Forgive me if this has already been answered (I can't find the answer
[#138273] when 1.6 != 1.6? -- newbie — Mel Bohince <feet@...>
Really enjoying Ruby so far, but now I'm confused. To help learn Ruby,
Mel Bohince wrote:
[#138288] RedCloth, BlueCloth... — Hal Fulton <hal9000@...>
...OldCloth, NewCloth? (Sorry, I went to a Dr. Seuss exhibit
On Fri, 15 Apr 2005 09:31:59 +0900, Hal Fulton wrote:
Hal Fulton wrote:
Florian Gro<florgro@gmail.com> writes:
[#138299] Is Ruby good for web applications? — "Unknown User" <me@...>
I am a Python and Ruby programmer and I'm thinking about learning PHP,
I tried a while back to learn how to program using Visual Basic 5, but I
Phoenix wrote:
[#138310] ettiquette question — Chris Pine <glyconis@...>
How do you spell ettiquette? No, no, that's not really my question...
Hi Chris,
OK...
[#138318] Bishop 0.3.0 - bayesian classifier for Ruby ported from Python — Matt Mower <matt.mower@...>
Hi folks,
On 4/15/05, Matt Mower <matt.mower@gmail.com> wrote:
Douglas Livingstone ha scritto:
[#138323] Practical considerations for licensing software written with dynamic/non-compiled languages/platforms — Matt Pelletier <pelletierm@...>
Hello all. I'm looking for feedback on the following:
Matt Pelletier, April 15:
See comments below.
Matt Pelletier, April 15:
Nikolai Weibull wrote:
Zach Dennis, April 16:
[#138328] Looking for a Ruby tutorial for Java programmer — "Kevin" <816168@...>
Hello everyone, I am new to here. I have been using Java for 5 years,
[#138377] — hal9000@...
RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby! (Revised 2005-4-14)
[#138390] Why specify module names redundantly in Modules? — "Chris" <newsbot@...>
<RubyNubyAlert>
[#138412] Re: Is Ruby good for web applications? — "Tony Targonski" <Tony.Targonski@...>
-----Original Message-----
I'm trying to write an interface to the Ruby regular expressions engine
On 15 Apr 2005, at 15:53, Dave Sims wrote:
On 4/16/05, Eric Hodel <drbrain@segment7.net> wrote:
On 16 Apr 2005, at 17:14, Austin Ziegler wrote:
[#138430] - E03c - The Ruby Object Model (Revised Documentation) — Ilias Lazaridis <ilias@...>
[EVALUATION] - E03b - The Ruby Object Model
Let it be noted that c.l.python has absolutely refused to respond to
lostboard2001@yahoo.com wrote:
> what has this to do with "false ruby language core documentation"?
Martin Ankerl wrote:
Ilias Lazaridis, April 18:
Nikolai Weibull wrote:
Ilias Lazaridis a 馗rit :
Lionel Thiry wrote:
On Monday 18 April 2005 11:34 pm, Ilias Lazaridis wrote:
Jim Weirich wrote:
Saynatkari wrote:
On Tuesday 19 April 2005 12:59 am, Ilias Lazaridis wrote:
Ilias Lazaridis wrote:
Ilias Lazaridis wrote:
Carlos wrote:
Ilias Lazaridis <ilias@lazaridis.com> writes:
Christian Neukirchen wrote:
Ilias Lazaridis wrote:
mark sparshatt wrote:
On Tuesday 19 April 2005 06:39 am, Ilias Lazaridis wrote:
Ilias Lazaridis a 馗rit :
Lionel Thiry wrote:
Ilias Lazaridis a 馗rit :
Ilias Lazaridis said the following on 4/19/2005 9:35 PM:
Mark Smith wrote:
On 4/20/05, Ilias Lazaridis <ilias@lazaridis.com> wrote:
Ilias:
Ilias Lazaridis <ilias@lazaridis.com> wrote:
Martin DeMello wrote:
Ilias Lazaridis wrote:
Ilias Lazaridis wrote:
On Apr 19, 2005, at 5:14 AM, Ilias Lazaridis wrote:
James Edward Gray II wrote:
> > I wish I didn't have to but you have a clearly incorrect arrow and
Ilias Lazaridis <ilias@lazaridis.com> wrote:
Martin DeMello wrote:
Ilias Lazaridis said the following on 4/19/2005 9:37 PM:
Let me see how closely I can predict Ilias's answer. Please note, this
[#138456] fxri 0.3.1 — Martin Ankerl <martin.ankerl@...>
I have just released fxri-0.3.1
Martin Ankerl wrote:
> When I pressed CTRL-DOWN in irb.
[#138476] — GUICHARD Pascal <pascal@...>
Hello,
On 4/16/05, GUICHARD Pascal <pascal@guichard.org> wrote:
Hello Simon,
On Apr 16, 2005, at 4:52 PM, Pascal GUICHARD wrote:
[#138487] RubyCocoa parameter conversion ? — "the.rubist" <the.rubist@...>
hi all
[#138502] All Quiet on the Western Front: Is Rails overshadowing Ruby? — "Trans" <transfire@...>
Perhaps I have a skewed perspective (it happens :-), but it seems as if
Ruby can't be a subset technology of Rails, simply because Rails is a
[#138522] Re: All Quiet on the Western Front: Is Rails overshadowing Ruby? — Ryan Leavengood <mrcode1234@...>
Jim Freeze <jim freeze.org> wrote:
Ryan Leavengood wrote:
James Britt <james_b@neurogami.com> writes:
>> Would Rails , for example, have been as successful if people had to
David Heinemeier Hansson <david@loudthinking.com> wrote:
On 4/17/05, Navindra Umanee <navindra@cs.mcgill.ca> wrote:
Chad Fowler wrote:
On Sunday 17 April 2005 11:58 am, Ryan Leavengood wrote:
Jim Weirich ha scritto:
On Sunday 17 April 2005 02:29 pm, gabriele renzi wrote:
> Actually, there is an important difference between require_gem and
> I think versioning is great, but maybe RubyGems went a little overboard
David Heinemeier Hansson <david@loudthinking.com> writes:
[#138537] Where is text-format? — Jim Freeze <jim@...>
Hi
[#138553] Madlibs (#28) — Ryan Leavengood <mrcode@...>
Here is my solution to the current quiz. While implementing this I
[#138559] Binary not executing using RubyGems — "Trans" <transfire@...>
I created a Ruby Gem for one of my projects. I managed to get
[#138560] Html Tag Generation — Karsten Meier <discussionruby@...>
Hello Ruby People
[#138578] Four Days on Rails: Errror: connection refused — "basi" <basiibarra@...>
Hello,
[#138579] Windows support for tar and bzip2 — "Trans" <transfire@...>
Does Windows' most common zip programs have support of tar and bzip2
[#138581] RGL and changing propety of vertices and edges — meruby@...
I have basic program using rgl library which creates dot file and
[#138594] ability to kill a Thread "immediately"? — Guillaume Cottenceau <gcottenc@...>
Hi,
[#138601] Ruby 1.8.3 preview1 — Thursday <nospam@...>
Matz mentioned a 1.8.3 preview release this month to developers, does
[#138634] A Compiler Quality Ruby Lexer in Ruby — Peter Suk <peter.kwangjun.suk@...>
Folks,
[#138639] Article: Seeing Metaclasses Clearly — why the lucky stiff <ruby-talk@...>
I've written a very nuts+bolts article on metaclasses (aka virtual
Hi --
David A. Black wrote:
Hi --
[Regarding the term "metaclass"]
Hi --
Hi --
Hi --
On Tuesday 19 April 2005 09:29 pm, David A. Black wrote:
Hi --
On 4/21/05, csaba <csaba.henk@gmail.com> wrote:
[Jim Weirich <jim@weirichhouse.org>, 2005-04-20 06.15 CEST]
Hi --
> > One possible explanation for this discrepancy is that the diagram is wrong.
>>>>> "C" == Chris Pine <glyconis@gmail.com> writes:
ts ha scritto:
>>>>> "g" == gabriele renzi <surrender_it@remove-yahoo.it> writes:
Mathieu Bouchard ha scritto:
Hi --
> I'm uneasy with the explanation that "instance_of? doesn't take into
Hi --
On 4/20/05, David A. Black <dblack@wobblini.net> wrote:
why the lucky stiff wrote:
why the lucky stiff wrote:
_why,
Ryan Leavengood <mrcode@netrox.net> wrote:
Hi --
On 4/21/05, David A. Black <dblack@wobblini.net> wrote:
[#138655] Modifying content in a file — Ghislain Mary <nospam@...>
Hi all,
[#138661] Ruby Weekly News 11th - 17th April 2005 — timsuth@... (Tim Sutherland)
http://www.rubyweeklynews.org/20050417.html
Here's your quote of the week from Jim Freeze:
Trans wrote:
[#138662] String<->float conversion headaches — pmak@...
I'm programming an application that saves its data in a MySQL
The corresponding column in the MySQL database is of type DECIMAL(7,2),
On 19/04/05, pmak@aaanime.net <pmak@aaanime.net> wrote:
[#138690] Facets 0.6.3 — Brian Buckley <briankbuckley@...>
Hello,
Hi Brian,
On 4/18/05, Brian Buckley <briankbuckley@gmail.com> wrote:
Ah. Thanks Chad. That was what I was starting to conclude myself.
On 4/18/05, Trans <transfire@gmail.com> wrote:
> Anyone who names a *file* with a question mark or an asterisk should
Trans wrote:
Thanks Binkley. I'm working on a solution now. So you're suggesting I
[#138715] object.["somepropertyOrmethod"] == object.somepropertyOrmethod ? — "falcon" <shahbazc@...>
Does Ruby allow javascript like invocation of methods (or access to
[#138723] emacs ruby-mode statement modifier indent problem? — Mike Shire <mshire@...>
Greetings,
On 4/18/05, Mike Shire <mshire@voicesignal.com> wrote:
[#138724] String.sub strangeness — Belorion <belorion@...>
Forgive me if my Monday fog is preventing me from seeing the simple
[#138732] How do I decode strings? — Dr Balwinder S Dheeman <bsd.SANSPAM@...>
Dear friends!
[#138748] Re: Facets 0.6.3 — "Ryan Leavengood" <mrcode@...>
B. K. Oxley (binkley) wrote:
Ryan Leavengood wrote:
[#138760] exclude min value in Range — Brian Buckley <briankbuckley@...>
Hello,
[#138768] Store erb block and alter scope of erb block eval? — "Steve V" <ruby@...>
I tried posting this in the Rails list, and didn't get any responses, so
On Apr 18, 2005, at 3:54 PM, Steve V wrote:
[#138788] Ruby getting in the lead — baalbek <rcs@...>
Check out this excellent book (I highly recommend it):
[#138793] Dynamic object construction — "John Lam" <jlam@...>
I'm trying to create a new object where the class of the object is
If class is a a class name (a String):
[#138805] - Tag for Ruby Advocacy Related Topics — Ilias Lazaridis <ilias@...>
may I ask the community to introduce a tag, e.g. "[ADVOC]" or "[ADVO]"
On 4/19/05, Ilias Lazaridis <ilias@lazaridis.com> wrote:
Austin Ziegler wrote:
>> Seriously, I don't see the value in such a tag, the way that [ANN]
Martin Ankerl wrote:
* On Apr 20 11:34, Ilias Lazaridis (ruby-talk@ruby-lang.org) wrote:
> may I ask the community to introduce a tag, e.g. "[ADVOC]" or "[ADVO]"
[#138869] iTunesTagger.rb 0.1 - a simple script to make use of the grouping field in iTunes — Scott Parkerson <scott.parkerson@...>
"What this thingy will do is allow you to treat the arbitrary
[#138891] Re: Obtaining Hal's "The Ruby Way" in the UK — Nuralanur@...
Dear Glenn,
* Nuralanur@aol.com <Nuralanur@aol.com> [0459 16:59]:
Dick Davies wrote:
On Apr 19, 2005, at 6:27 PM, Hal Fulton wrote:
James Edward Gray II wrote:
[#138913] ANN: RubyInline 3.2.1 Released — Ryan Davis <ryand-ruby@...>
RubyInline version 3.2.1 has been released!
[#138928] Rails 0.12.1: No major update without a bit of pain — David Heinemeier Hansson <david@...>
There's nothing like pushing a new major update in order to find bugs
[#138935] CGI->WEBrick? — "objectuser" <objectuser@...>
I have to work in a traditional (i.e., fork/exec) CGI environment. I
objectuser wrote:
[#138966] : 'Ignoring Lazaridis'-proposal — Saynatkari <ruby-ml@...>
How about everyone stops responding to Lazaridis?
On Apr 19, 2005, at 10:24 PM, Saynatkari wrote:
[#138970] Lookup, a.collect{|i|b[i]} — John Carter <john.carter@...>
# Rubyable email..
[#138979] - E03d - The Ruby Object Model (End Game) — Ilias Lazaridis <ilias@...>
[EVALUATION] - E03c - The Ruby Object Model (Revised Documentation)
> which is the term "metaclass"
On 4/19/05, Ilias Lazaridis <ilias@lazaridis.com> wrote:
Mark Hubbart wrote:
[Ilias Lazaridis <ilias@lazaridis.com>, 2005-04-20 11.24 CEST]
Carlos wrote:
[#139026] Re: Facets 0.6.3 — flaig@...
AFAIK, all kinds of brackets, i.e. (),[] and {} are fine on unixish file systems, as are "+", "-", ",", "." and ";" .
It used to be, way back when, that 2 (ascii) chars were disallowed in
On 4/20/05, Michael Campbell <michael.campbell@gmail.com> wrote:
> Legal doesn't mean it's a good idea.
[#139052] : Example from Pickaxe2 gives errors... (p. 31) — <Simon.Mullis@...>
Greeting all,
Hi --
[#139063] Another(!!) Newbie question — kyu <kyu@...>
Hi guys, i'm writing a simple irc bot to get to grips with what i've
[#139064] Linear complete variation of MatchData#to_a, possible? — "Trans" <transfire@...>
Hi--
Trans schrieb:
[#139074] No Rescue from RubyGem's require__ ? — "Trans" <transfire@...>
I have the latest version of RubyGems installed and I seem to be
[#139094] Newb CGI Question — Michael Buffington <michael.buffington@...>
So I thought I had CGI in Ruby figured out, but I'm stumped on the following:
> So I thought I had CGI in Ruby figured out, but I'm stumped on the
> require "cgi"
I have found that you need to write the header manually, despite what
This is really great - seeing Ruby errors definitely makes things more clear.
[#139117] Does Rublog support inline images or image links? — Jim Freeze <jim@...>
Hi
On 4/20/05, Jim Freeze <jim@freeze.org> wrote:
* Chad Fowler <chadfowler@gmail.com> [2005-04-21 09:46:18 +0900]:
[#139122] Conference Hotel/Venue info for RubyConf 2005 — "David A. Black" <dblack@...>
Dear Rubyists,
[#139154] Gem add_dependency failing — Matt Mower <matt.mower@...>
Hi,
[#139162] Installing RubyGems as non-root user on MacOS X — Jose Marques <noway@...>
I'm trying to install RubyGems on MacOS 10.3.9 in my home directory as a
[#139166] - E03e - The Ruby Object Model (Summary) — Ilias Lazaridis <ilias@...>
[EVALUATION] - E03d - The Ruby Object Model (End Game)
[Fair warning to those who plan on emailing me regarding this
Austin Ziegler wrote:
csaba wrote:
On 4/22/05, Ilias Lazaridis <ilias@lazaridis.com> wrote:
On Apr 21, 2005, at 7:39 AM, Ilias Lazaridis wrote:
James Edward Gray II wrote:
Henrik Horneber wrote:
> [...] - (even more hairsplitting)
Hi,
Yukihiro Matsumoto wrote:
Yukihiro Matsumoto wrote:
Hi,
Yukihiro Matsumoto wrote:
On 4/22/05, Ilias Lazaridis <ilias@lazaridis.com> wrote:
Lyndon Samson wrote:
On 4/22/05, Ilias Lazaridis <ilias@lazaridis.com> wrote:
Lyndon Samson wrote:
Hi --
Hi,
Hi --
Hi,
Ilias Lazaridis wrote:
On 4/21/05, Ilias Lazaridis <ilias@lazaridis.com> wrote:
Tanner Burson wrote:
Ilias Lazaridis wrote:
Ilias Lazaridis wrote:
> My final questions are basicly:
Ilias Lazaridis <ilias@lazaridis.com> wrote:
On 4/23/05, Luc Heinrich <lucsky@mac.com> wrote:
[#139175] accessor for Class Variable — Leonardo Francalanci <lfrancalanci@...>
I know it's a stupid question, but I can't find the answer...
Leonardo Francalanci ha scritto:
[#139194] Formal presentation proposals now being accepted for RubyConf 2005 — "David A. Black" <dblack@...>
Dear Rubyists,
David A. Black wrote:
[#139208] 3Cheers4David — "Trans" <transfire@...>
Three cheers for David A. Black. For all that he's given to the Ruby
[#139212] uninstalling earlier versions — Lionel Thiry <lthiryidontwantspam@...>
Hello!
[#139249] for .. in .. else? — Douglas Livingstone <rampant@...>
In my erb templates, I've got this pattern quite often:
Hi --
David A. Black wrote:
Ryan Leavengood wrote:
On Apr 21, 2005, at 5:46 PM, Hal Fulton wrote:
On 4/21/05, Hal Fulton <hal9000@hypermetrics.com> wrote:
On Apr 22, 2005, at 6:27 AM, Douglas Livingstone wrote:
[#139252] Managing complexity and untangling my thoughts — Hal Fulton <hal9000@...>
Sometimes I stare at the monitor and think: Is it too late
On Thursday 21 April 2005 05:57 pm, Hal Fulton wrote:
[#139276] Proxy Server troubles — Tanner Burson <tanner.burson@...>
I've been working on a proxy server implementation for a project idea
I gave it a quick run. I had to change
I am behind a proxy server at work, yet got this to work. I commented
[#139290] TIMTOWTDI letter permutation — Endy Tjahjono <endy_c@...>
Hello all,
[#139304] Clean way to dynamically expand string with "#{expression}"? — Taisuke Yamada <tyamadajp@...>
Hi.
[#139341] HighLine (#29) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
Hi,
On Apr 22, 2005, at 9:24 AM, Francis Hwang wrote:
James Edward Gray II wrote:
On Apr 22, 2005, at 10:56 AM, Ryan Leavengood wrote:
Francis Hwang wrote:
[#139346] Instiki, Webrick & ApacheBench? — PA <petite.abeille@...>
Hello,
[#139365] the Ruby Programming Shop — pat eyler <pat.eyler@...>
Announcing the Ruby Programming Shop (RPS)
On 04/22/2005 08:16 PM, pat eyler wrote:
[#139390] ruby tk: ruby 1.8.2 bug in TclTkIp with "exit 0" ... ? — Brett Williams <brett_williams@...>
I have a little wrapper around TclTkIp to do tcl interpreting with a
Hello.
H.Yamamoto wrote:
Hi,
Hello.
Hi,
From: Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
Hidetoshi NAGAI wrote:
From: H.Yamamoto <ocean@m2.ccsnet.ne.jp>
Hidetoshi NAGAI wrote:
Hi,
From: Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
[#139395] Nuby Question - How do you assign a function itself? — "Sam Kong" <sam.s.kong@...>
Hi, all!
[#139404] No English Forum — "Trans" <transfire@...>
Confirm, ruby-forum.org and rubymine.org both gone? If so then there is
[#139407] RUBY port to HPUX 64-bit PA-RISC 11.11 — jon.a.miller@...
-Can anyone direct me to a binary distribution of ruby
-I failed to state for verions 1.8.2.....
On Apr 22, 2005, at 1:24 PM, jon.a.miller@dfas.mil wrote:
Hi,
On Apr 23, 2005, at 6:30 PM, nobu.nokada@softhome.net wrote:
[#139411] boulder_denver.rb — "Ara.T.Howard" <Ara.T.Howard@...>
you know the drill - this is a call for boulder/denver rubyists to get
On Sat, 2005-04-23 at 04:44 +0900, Ara.T.Howard wrote:
Aredridel said the following on 04/23/05 08:41:
On Tue, 26 Apr 2005, Michael Garriss wrote:
>On Sat, 2005-04-23 at 04:44 +0900, Ara.T.Howard wrote:
On 4/25/05, Rick Nooner <rick@nooner.net> wrote:
[#139412] Re: Ilias is Crazy -- a plea — "Jon A. Lambert" <jlsysinc@...>
Ryan Davis wrote:
Jon A. Lambert wrote:
Florian Frank wrote:
<snip>
On 4/23/05, vruz <horacio.lopez@gmail.com> wrote:
On Apr 22, 2005, at 4:31 PM, Florian Frank wrote:
On Apr 22, 2005, at 6:43 PM, Francis Hwang wrote:
Peter Suk <peter.kwangjun.suk@mac.com> writes:
Peter Suk <peter.kwangjun.suk@mac.com> writes:
Florian Frank wrote:
[#139423] DRb Question — Joe Van Dyk <joevandyk@...>
I have an object that's available via DRb. The class makes available
[#139438] RoR has_and_belongs_to_many association — Esteban Manchado Vel痙quez <zoso@...>
Hi all,
[#139449] Question: Time efficiency of Array << — Peter Suk <peter.kwangjun.suk@...>
Forgive the newbie-ish question. I have been playing around with
On 22 Apr 2005, at 17:31, Peter Suk wrote:
On Sat, 23 Apr 2005, Eric Hodel wrote:
On Sat, 23 Apr 2005, Saynatkari wrote:
Excerpts from Ara.T.Howard@noaa.gov's mail of 22 Apr 2005 (EDT):
On Apr 22, 2005, at 11:02 PM, William Morgan wrote:
Excerpts from Peter Suk's mail of 23 Apr 2005 (EDT):
Hi all,
[#139477] Suggestion: Hash.remove — Andrew Walrond <andrew@...>
Something I often find useful is a version of Hash.delete which returns the
Andrew Walrond wrote:
On Saturday 23 April 2005 15:37, Florian Growrote:
Hi,
[#139481] Idea for Ruby Quiz - Su Doku solver — Lyndon Samson <lyndon.samson@...>
How the following look?
On 4/23/05, Lyndon Samson <lyndon.samson@gmail.com> wrote:
Douglas Livingstone <rampant@gmail.com> writes:
On 4/23/05, Christian Neukirchen <chneukirchen@gmail.com> wrote:
Bill Guindon <agorilla@gmail.com> writes:
Christian Neukirchen wrote:
[#139493] - E04 - Mr. Yukihiro Matsumoto (Ruby's Weakest Point) — Ilias Lazaridis <ilias@...>
[EVALUATION] - E03e - The Ruby Object Model (Summary)
Funny. I sometimes get frustrated with the lack of responses to some of
This response was written solely to make sure that no one that reads
Seppuku wrote:
Ilias Lazaridis wrote:
Ilias Lazaridis wrote:
Please let this thread just end.
[#139518] announcing RubyLexer 0.6.0 — "vikkous" <google@...>
At this time, I am pleased to announce the release of RubyLexer 0.6.0,
> How extendable is this? Would you be able to add new rules to it
> first let me say I think this is cool :)
Florian Groha scritto:
[#139540] Dealing with trolls:the age-old debate — ptkwt@... (Phil Tomson)
Given a troll's visit to the newsgroup (word on the street is that it's
Phil Tomson wrote:
Thursday, April 24:
now we're very close to asymptote: 8 sigmas of whatever going to be
the problem with ***** is/was, that he ain't a troll; "he has a point"
[#139575] Announcing Reg 0.4.0 — "vikkous" <google@...>
I would like to announce the first version, 0.4.0, of Reg, the Ruby
This looks great!
itsme213 said:
Hi --
[#139607] innaccurate/misleading portrayal of project on rubyforge — Thursday <nospam@...>
This gui toolkit comparison page (last edited August 2004) at
On 4/24/05, Thursday <nospam@nospam.nospam.nospam.nospam.org> wrote:
http://freeride.rubyforge.org/wiki/wiki.pl?GUIFrameworkProject/GUIComparison
[#139616] $KCODE reference documentation — dm1 <dmertz@...>
Hello, i know that one can use $KCODE to set the charset encoding, but do
Am Sonntag, 24. Apr 2005, 21:04:31 +0900 schrieb dm1:
[#139633] HighLine (#29) — Ryan Leavengood <mrcode@...>
Here is my solution for this quiz. Nothing too fancy really, but it does
Here's my solution.
# This solution provides a framework for handling user input at a higher level
[#139641] apache /fcgi: prevent starting of multiple fcgi processes — benny <listen@...>
hi,
[#139663] Folding editor for ruby code browsing — Andrew Walrond <andrew@...>
I need to fold the code so that I can get a handle on the overall structure;
* On Apr 25 6:46, Andrew Walrond (ruby-talk@ruby-lang.org) wrote:
On Sunday 24 April 2005 22:54, Thomas Kirchner wrote:
Andrew Walrond wrote:
On 4/24/05, Thomas Kirchner <lists@halffull.org> wrote:
Joe Van Dyk wrote:
On Monday 25 April 2005 19:23, kyu wrote:
On Sunday 24 April 2005 22:54, Thomas Kirchner wrote:
* On Apr 27 0:01, Andrew Walrond (ruby-talk@ruby-lang.org) wrote:
[#139673] Strange behavior with SimpleDelegator and its Idioclass — "Trans" <transfire@...>
Have a look at this. Run it as is, then unremark the comment section.
[Trans <transfire@gmail.com>, 2005-04-25 02.04 CEST]
[Carlos <angus@quovadis.com.ar>, 2005-04-25 04.06 CEST]
Perhaps I should point out that the strange thing about this is that
Trans schrieb:
Cranky! Thanks Cristoph! I was just about to take a look at that
[#139703] Ruby on the Smalltalk VM? — "Vincent Foley" <vfoley@...>
Hi all,
[#139706] [ANN| Classifier 1.2 with Bayesian and NEW LSI classification — "Lucas Carlson" <lucas@...>
You may remember that I announced the Bayesian classifier a couple of
[#139721] How are Ruby iterators implemented? — "Roshan James" <roshanj@...>
How are iterators implemented in Ruby?=20
[#139724] Array::new — Jamie Hodkinson <jamiehodkinson@...>
Just had something unexpected - is this the correct behaviour?
[#139742] thread question — Joe Van Dyk <joevandyk@...>
Every second, a function in the class that's being made available via
[#139753] irb question — Joe Van Dyk <joevandyk@...>
Hi,
[#139758] Get the Current Domain Name in Windows — "Brian Takita" <brian.takita@...>
Hello,
[#139763] Days in month — Dan Fitzpatrick <dan@...>
Is there a method of Date or Time that gives the number of days in a
[#139775] Arachno Ruby IDE 0.5.5 for Linux — Lothar Scholz <mailinglists@...>
Arachno Ruby IDE is an integrated development environment for the
Lothar Scholz wrote:
In article <1691724296.20050425205822@scriptolutions.com>,
Hello Jay,
On 4/25/2005 19:28, Lothar Scholz wrote:
[#139819] long conversion ... — Zach Dennis <zdennis@...>
I am reading in more binary data. This time I get 4 bytes with the
On Tue, 26 Apr 2005, Zach Dennis wrote:
[#139854] rdoc external include... — Jeff Rose <rosejn@...>
I'm working on a README file and I'm having trouble getting rdoc to do
[#139860] One-Click Ruby Installer 182-15 for Windows — Curt Hibbs <curt@...>
I had hope to simultaneously release installers
Hi Curt,
Curt Hibbs wrote:
Jon A. Lambert wrote:
Hi,
nobu.nokada@softhome.net wrote:
Hi,
nobu.nokada@softhome.net wrote:
On Tue, 26 Apr 2005 20:12:43 +0900, Curt Hibbs <curt@hibbs.com> wrote:
I see the same thing on my windows box. It seems that rubyw.exe is
Kent Sibilev wrote:
[#139890] ANN: A new scripting language Tao 0.9.0 beta released! — fu.limin.tao@... (Fu Limin)
Dear all,
Fu Limin wrote:
On Tue, 26 Apr 2005, Kenneth Downs wrote:
Hello Ara,
At Wed, 27 Apr 2005 00:44:30 +0900, Fu Limin wrote:
Josef 'Jupp' SCHUGT wrote:
Yes I also think text processing is a basic and indispensable feature
[#139916] Clearing StringIO — James Edward Gray II <james@...>
I'm working with StringIO to write some test code and it is behaving
[#139927] How to neatly handle multiple checkboxes with Rails — Edgardo Hames <ehames@...>
This weekend, I have a written my first Rails application to handle
On Apr 26, 2005, at 1:54 PM, Edgardo Hames wrote:
[#139930] Reporting Ruby Bugs — Michael Schonberg <mls83@...>
Where do I report Ruby bugs? I checked the FAQ for this news group,
[#139941] Is Ruby grammar context free? — Peter Suk <peter.kwangjun.suk@...>
Something that came up while discussing Ruby parsing brought this to my
[#139950] Ruby CVS and YARV — Daniel Amelang <daniel.amelang@...>
I've got a job for YARV, but it seems that I have to wait until ruby
Hi,
[#139954] Precompiling Ruby programs — "John Wells" <lists@...>
Guys,
[#139972] "Metaclass" Name Survey — "Trans" <transfire@...>
Hi--
Trans a 馗rit :
[#139974] Re: [OT] Re: Precompiling Ruby programs — "John Wells" <lists@...>
Ara.T.Howard@noaa.gov said:
[#139981] memory leak — Joe Van Dyk <joevandyk@...>
Got a memory leak in the following code.. not sure if DRb is necessary
eek. copy/paste borked.
On 4/26/05, Joe Van Dyk <joevandyk@gmail.com> wrote:
>>>>> "J" == Joe Van Dyk <joevandyk@gmail.com> writes:
On 4/27/05, ts <decoux@moulon.inra.fr> wrote:
[#139997] Opposite of id2name — "Adelle Hartley" <adelle@...>
Hi all.
[#140008] Re ANN: A new scripting language Tao 0.9.0 beta released! — fu.limin.tao@... (Fu Limin)
"Kenneth Downs" (knode.wants.this@see.sigblock) wrote:
On 4/28/05, Earl Grieda <eFGHgrieda789@bahooyahoo.com> wrote:
[#140011] vim-ruby broken? — Brian Schrer <ruby.brian@...>
Hello group,
Brian Schrer <ruby.brian@gmail.com> [2005-04-27 18:34]:
On 4/27/05, Tilman Sauerbeck <tilman@code-monkey.de> wrote:
On Wednesday 27 April 2005 20:15, Joe Van Dyk wrote:
On 27/04/05, Stefan Lang <langstefan@gmx.at> wrote:
Brian Schrer <ruby.brian@gmail.com> [2005-04-28 05:52]:
[#140014] Rails database access problem — David Corbin <dcorbin@...>
1) I've configured my "config/database.xml" adapter to point
[#140027] Comments Are More Important Than Code — Tim Hunter <sastph@...>
Even if this is not directly about Ruby, both Jeff Raskin and the
I actually sat down and read this artcile. I'm blown away by some of
Well, Barry. I can understand what you're saying, but....
James Britt said:
Dave Fayram wrote:
* James Britt <james_b@neurogami.com> [2005-04-28 07:33:00 +0900]:
* Dave Fayram <dfayram@gmail.com> [2005-04-28 08:19:29 +0900]:
* Jim Freeze <jim@freeze.org> [2005-04-28 08:42:16 +0900]:
I have a couple general questions about Ruby.
Jim Freeze wrote:
* Ryan Leavengood <mrcode@netrox.net> [2005-04-28 09:21:17 +0900]:
I'm wondering if there's a global variable or something that can tell
Go to http://ar.rubyonrails.com/classes/ActiveRecord/Base.html and just
James Britt wrote:
[#140033] Rails on JRuby? — "John Wells" <lists@...>
Guys,
[#140053] Rails Hosting — Andy Stone <xsltguru@...>
Hello all,
On 4/28/05, Andy Stone <xsltguru@gmail.com> wrote:
[#140058] node.h and nd_line — "B. K. Oxley (binkley)" <binkley@...>
I'm interested in adding more precise source location information to
[#140101] Shipping for Ruby — "Lucas Carlson" <lucas@...>
Shipping is a module that connects APIs for various shippers like UPS
[#140135] Rails: Multi-Column Primary Key for ActiveRecord — "Brian Takita" <brian.takita@...>
Hello,
[#140179] Scanning a String — "basi" <basiibarra@...>
Hello,
On 4/27/05, basi <basiibarra@yahoo.com> wrote:
[#140185] Rails + Amrita, Rails + XTemplate? — greg@... (Greg McIntyre)
Has anybody thought about putting Amrita/XTemplate support in Rails?
[#140187] Hash as Checklist — "basi" <basiibarra@...>
Hello,
[#140202] I need a formula parser — "Daniel Berger" <djberg96@...>
Hi all,
On 4/28/05, Daniel Berger <djberg96@hotmail.com> wrote:
[#140216] Ruby and IDE — "the_mindstorm" <the_mindstorm@...>
Hi!
Hello the_mindstorm,
We're not a craving bunch. Hacking in such a wonderful language is good
>-----Original Message-----
On 4/28/05, Alex the_mindstorm Popescu <the_mindstorm@evolva.ro> wrote:
On 4/28/05, Alex the_mindstorm Popescu <the_mindstorm@evolva.ro> wrote:
Alex the_mindstorm Popescu wrote:
Method auto-completion for the core Ruby types will be in the next
On Thursday 28 April 2005 03:25, the_mindstorm wrote:
Hello Ben,
> BG> Emacs and vi are astounding at editing text. I doubt there's
Aredridel wrote:
> One feature i find vi/nvi/vim/whatever is lacking is the ability to
On 4/28/05, tsuraan <tsuraan@xyons.net> wrote:
> Perhaps you mean something different, but wouldn't
kyu <kyu@console-pimps.org> writes:
everytime the vim vs emacs thread comes up i like to make these two
[#140239] irb command-line editing — Graham Nicholls <graham@...>
Hi. Can anyone tell me how to get vi-style command-line editing in irb,
[#140301] tulsa.rb — "Tim Morgan" <timmorgan.org@...>
We're looking for Tulsa Rubyists to create a Tulsa Ruby Brigade. This
[#140306] Deep copy? — Andrew Walrond <andrew@...>
Is there a deep copy function that I've missed somehow? (dup and clone are
[#140315] Debugger performance — "John Lam" <jlam@...>
Are there any tips for optimizing the perf of the ruby debugger?I use:
[#140334] stupid question — Joe Van Dyk <joevandyk@...>
How can I neatly iterate from 0 to some number (either pos or neg)
* Joe Van Dyk <joevandyk@gmail.com> [0417 22:17]:
[#140340] ruby static typing — caleb clausen <google@...>
Some time ago, I wrote up some ideas I had for a comprehensive static
Hi --
[#140366] Performance question: Rational — Richard Cole <rcole@...>
I've got a ruby program that's running quite slowly. I ran the profiler
[#140378] determining when inside 'class << self' — "Ara.T.Howard" <Ara.T.Howard@...>
Ara.T.Howard a 馗rit :
On 4/28/05, Ara.T.Howard <Ara.T.Howard@noaa.gov> wrote:
* Mark Hubbart <discordantus@gmail.com> [2005-04-30 16:35:16 +0900]:
Jim Freeze schrieb:
[#140383] Math::Infinity and Math::NaN — Martin DeMello <martindemello@...>
I think it'd be useful to define Infinity and NaN as constants (perhaps
[#140388] Inverting a regular expression? — "Harry Ohlsen" <Harry_Ohlsen@...>
A colleague of mine just asked me whether it was possible to invert an
[#140401] Error in profiler — Matt Mower <matt.mower@...>
Hi folks,
Hi.
Hi there,
[#140416] Re: Comments Are More Important Than Code — Lorenzo Jorquera <lorenzo_jorquera@...>
Hi,
[#140425] Barrel of Monkeys (#30) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
On 4/29/05, Ruby Quiz <james@grayproductions.net> wrote:
[#140441] HighLine 0.2.0 — James Edward Gray II <james@...>
HighLine 0.2.0 Released
[#140465] Creating arbitrary objects — Matthew Thill <mithill@...>
I've probably overlooked something, and hopefully someone can help me
On Apr 29, 2005, at 12:38 PM, Matthew Thill wrote:
[#140469] method_missing question — Joe Van Dyk <joevandyk@...>
Currently, I have a class that has a bunch of methods (that a GUI does
Why not just call @display.zoom(500)?
On 4/29/05, Rick Olson <technoweenie@gmail.com> wrote:
[#140484] Per-project RubyGem stats — Tom Copeland <tom@...>
Howdy -
On 4/29/05, Tom Copeland <tom@infoether.com> wrote:
[#140531] advice requested / attributes.rb — "Ara.T.Howard" <Ara.T.Howard@...>
[#140536] drb question — Joe Van Dyk <joevandyk@...>
class Player
[#140540] Building Ruby extensions on OS X Tiger — Richard Kilmer <rich@...>
Tony Arnold posted this on the Rails wiki:
Hi,
On 4/30/05, nobu.nokada@softhome.net <nobu.nokada@softhome.net> wrote:
[#140557] arg, metaclass bug found? — Lionel Thiry <lthiryidontwantspam@...>
Hello!
[#140606] IRB MacOS X Dashboard Widget — Gavin Kistner <gavin@...>
Sorry if I got anyone unduly excited - this isn't an announcement of
Ruby Weekly News 28th March - 3rd April 2005
Ruby Weekly News 28th March - 3rd April 2005
--------------------------------------------
Ruby Weekly News is a summary of the week's activity on the ruby-talk
mailing list / the comp.lang.ruby newsgroup, brought to you by
Tim Sutherland.
Articles and Announcements
--------------------------
* TRUG 3 April 2005 Meeting
Mike Stok announced that the Toronto Ruby User Group was having a
meeting on April 3, 2005. If this is the first you've heard of it,
sorry but you missed the meeting!
* Ruby Internship Request
Shalev NessAiver is looking for an internship over the summer,
preferably doing Ruby web programming. "My primary goal in seeking
this internship is to gain more experience. Specifically, I would like
to gain more experience in the area of web/interface design."
* Ruby RDF-Redland
Dominic Sisneros hasn't had much time lately to work on RDF-Redland (a
Ruby binding for the Redland Application Framework - related to the
"semantic web" idea). His job has meant he's travelling around, with a
Windows laptop, but he hasn't been able to build RDF-Redland on a
Windows system.
He plans to do more work on it, as soon as he can get it to compile.
Help wanted!
* IORCC 2005 entries
Vincent Foley noted that the IORCC 2005 entries have been put online.
IORCC is the International Obfuscated Ruby Coding Contest. Check out
the madness.
* 2005 IORCC PC Voting is now OPEN!
Todd Nathan announced that the People's Choice voting for the IORCC
was open. Anyone may vote on the entries they think are best
(according to the guidelines).
* Translation into spanish of Ruby Quiz
James Edward Gray II shared the news that Imobach Gonz疝ez Sosa will
be translating each week's Ruby Quiz into Spanish.
* libxml and libxslt CVS
Trans adopted the libxml2 and libxslt libraries, which appeared to be
abandoned by the previous maintainer. They're now part of the
XML:Tools project.
* Hamburg.rb meeting...
Stephan K舂per announced that Hamburg (in Germany) now has a Ruby User
Group. The first meeting is on April 6, 2005.
Quote of the Week
-----------------
I'm going to be lazy and give it to the entire "emerald 0.1" thread.
Threads
-------
Interesting threads this week included...
Ruby performance question
-------------------------
Jaypee benchmarked the following code on a 1GHz G4 and on dual 2GHz G5s,
both with the same version of Ruby and 1GB RAM.
class Integer
def factorial
(1..self).inject(1) { |f, n| f * n }
end
end
puts 100000.factorial
It was only 33% faster in the dual G5 system.
James Edward Gray II pointed out that Ruby was only using one CPU in the
dual system. Even if the code was changed to use Threads, Ruby would still
only use one CPU because Ruby uses its own user-land thread system.
Even so, with one 2GHz G5, the second system should be over twice as fast
as the first. (Shalev NessAiver reported that the G5 has a much faster bus
and memory speed than the G4.)
No further explanation was forthcoming.
SOAP Server WSDL generation
---------------------------
Patrick Hurley had successfully set up a Ruby client and server for SOAP.
(A protocol for remote procedure calls - web services.)
In both cases he had to tell the SOAP library which methods the interface
should provide. "Using ruby soap, can the server "auto discover" the
methods in a particular class and expose them?"
A second question was as to whether a Ruby SOAP server could generate a
WSDL file.
There was no response to the first question. For the second, Leon Breedt
brought up Rail's ActionWebService. It does WSDL generation but does need
annotations to declare the types of method parameters and return values.
Modifying boolean values
------------------------
Farrel Lifson wondered whether it was possible to make an object behave
like true or false. (With the aim to create a different type of boolean
whose #to_s method returns "0" or "1".)
Florian Gross explained that in Ruby, nil and false are "false", and every
other object is "true".
So it's easy to make an object behave like true (you don't need to do
anything), however it is not possible to have one which behaves like
false. Understanding why requires some knowledge of how the Ruby
interpreter works.
Every Ruby object is represented by a VALUE, which is an unsigned long.
Some VALUEs correspond to addresses, while others (like nil and false) are
"immediate" objects.
Boolean truth is evaluated in the interpreter via the RTEST macro, which
simply checks if the VALUE is either the nil or false special constant.
Christoph referred to a patch he wrote three years ago which added a
"false flag" to objects, allowing users to define their own boolean values
without sacrificing performance.
attr :<symbol>?
---------------
Luke Renn had seen code like "attr :foo" when using ActiveRecord. He wanted
to know what the name for them was, and how he could write his own things
like attr. Were they just class methods?
John Wilger confirmed that attr is indeed simply a class method. "In Ruby
(unlike many other languages) the code that defines a class is much more
than just a "definition". The code between "class Foo ... end" is executed
just like any other part of your program."
James Britt and Florian Gross posted bits of code that define new methods
like attr, and there was some discussion of the differences between their
implementations. (eval vs define_method.)
Please tell me what this means? self.<method> in a class
--------------------------------------------------------
Glenn Smith asked what def self.foo meant in the following code:
class Test
def foo
end
def Test.foo
end
def self.foo
end
end
David Corbin explained that it was redefining Test.foo.
David A. Black added that in general, anytime you write "def obj.method"
you are adding a singleton method to obj. In the above example, self in the
class definition corresponds to the class, i.e. Test. So "def self.foo"
was defining a singleton method of Test. Brian Candler pointed to a
tutorial on singleton methods.
Robert Klemme noted that the reason why it's better to write self.foo
instead of Test.foo is that it allows you to change the name of the class
in the future without having to modify the method declarations.
zip a directory, unzip a zip file
---------------------------------
itsme213 wanted to write Ruby code that zips up a directory, and can then
unzip it.
Stefan Lang suggested the archive-tar-minitar library, and Thomas
Sondergaard mentioned his own library, rubyzip.
An example of zipping up some directories using rubyzip:
Zip::ZipFile::open("all.zip", true) { |zf|
Dir['{test,lib}/**/*'].each { |f| zf.add(f, f) }
}
Getting process status
----------------------
Joe Van Dyk had a process id, and wanted to get a Process::Status object
for it. The goal was to be able to check whether the process was still
running.
Leon Breedt said that you can check this via Process#kill(0, pid).
SNIPPET: YamlToHtml.rb
----------------------
Phlip wrote some code to convert YAML lists into HTML tables.
"The goal of the goals is to allow a Wiki-style web site convert YAML into
simple tables, essentially the way some Wikis convert
|nebulous|specifications| into tables."
"But is the world ready for "YASTL Ain't a Structured Transformation
Language" yet?"
Last Chance 2005 IORCC Entries
------------------------------
Todd Nathan warned that your last chance for entering the 2005
International Obfuscated Ruby Coding Contest (IORCC) was nearing. (You
missed it!)
Phil Tomson remarked on the number of sponsors and prizes the IORCC had
managed to get, and wondered whether we could run a IERCC ("International
Elegant Ruby Code contest") or BRICC ("Beautiful Ruby International Code
Contest").
Todd said that this is already being worked on.
PDF Writer UTF-8 Support
------------------------
Brian Schrer was having difficulting getting PDF::Writer to work with
his UTF-8 text.
The library's author, Austin Ziegler, explained that this wasn't an area
PDF::Writer had addressed yet, but there is a workaround that involves
some effort.
Poor efficency of Ruby...
--------------------------
JZ ran a Rails application as a CGI and found performance was poor. David
Heinemeier Hansson explained that he should use FastCGI instead.
The reason why PHP performs reasonably under CGI and Rails does not is
that Rails does quite a bit of initialisation - for example reflecting
over database tables to set up the ORM (Object-Relational Mapper). If you
use CGI, Rails has to perform this initialisation for every single
request.
With FastCGI, it is done just once.
ActiveState Ruby 1.8.2
----------------------
Thursday asked if anyone knew whether ActiveState were interested in doing
work on Ruby. They currently have "distributions" and support for Perl,
Python and Tcl.
Pat Eyler spoke to them at OSCON last year. They would like their Komodo
IDE to support debugging in Ruby, but don't currently have in-house Ruby
expertise.
ruby-dev summary 25781-25961
----------------------------
Kazuo Saito posted the summary of the Japanese list ruby-dev.
It said that Matz brought up the idea for changing the way method search
occurs. David A. Black clarified the comments with an example:
class C
def process
util # will always call C#util, even if overridden
self.util # will call subclass's #util, if present
end
def util
end
end
Currently, util and self.util both do the same thing - they will call the
subclass' method if one exists.
ruby lib that will receive email
--------------------------------
Pe, Botp asked whether there were Ruby libraries for receiving email.
Florian Gross said that Net::POP and Net::IMAP from Ruby's standard
library could be used here, and Shalev NessAiver said that ActionMailer
from Rails was recently extended to deal with retrieving mail.
Pe clarified that they wanted e.g. an IMAP server written in Ruby, not a
client. Aredridel had previously thought of using the EXIM mail server
design in creating a Ruby mail server.
Glenn Parker nodded, "It sounds like a fun project to me, too. It might
also be fun to have pure (or mostly pure) Ruby servers for LDAP, DNS, FTP,
NIS, SSH, telnet, syslog, crontab, NFS..."
Open letter to anyone developing a Ruby IDE
-------------------------------------------
Adelle Hartley had some ideas for adding a heuristic to do "intellisense"
or "autocomplete" in Ruby IDEs.
There was discussion around existing solutions used in IDEs. Rob reminded
the group of a solution he came up with that has been discussed previously
in Ruby Weekly News. It's still a cool idea, so is worth repeating:
"For completion I infer the possible classes of a variable, based on what
methods have already been called on it. Then I provide a popup of the
combined set of methods available for those classes, i.e. if it quacks
like a duck, it will probably waddle like one two."
Another technique is to rely on actually executing code before method
information is available. One way to achieve this is through running unit
tests on the code.
Code Cleaning
-------------
James Edward Gray II posted this week's Ruby Quiz.
I'm always very vocal about how Ruby Quiz isn't interested in golf and
obfuscation. It's my own private fight for clean code.
To be fair though, you can really learn a lot from practices like golf
and obfuscation. It'll teach you a surprising number of details about
the inner workings of your language of choice. Still principals are
principals and if I bend, word will quickly get out that I've given up
the fight. Can't allow that!
Here's my compromise.
This week's challenge is to utterly clean some famous examples of
compressed Ruby code. Refactor the code until it's as readable as
possible, whatever that means to you.
MySQL under latest one-click installer
--------------------------------------
R. Mark Volkmann was finding it difficult to getting Ruby on Windows to
work with MySQL. Lothar Scholz suggested he use the pure-Ruby MySQL client
library, rather than trying to install the one that wraps the C library.
James Britt posted instructions for how to do this, and the original
poster managed to get everything working.
look-behind regexp ?
--------------------
Shajith asked if there were plans to support "look-behind" in Ruby's
regular expression engine.
Matz said that the engine used in Ruby 1.9 (Oniguruma) already supports
this.
There was discussion as to why a new engine was written, rather than using
e.g. Perl's engine. Matz gave one reason; Perl's only supports UTF-8 while
Oniguruma works with "UTF-8, UTF-16, ISO-8859-*, EUC-JP, Shift_JIS, and
lot more".
Best way to get latest ruby on OS X?
------------------------------------
Dennis Roberts wanted to know the best way of getting the latest stable
Ruby release on MacOS X. Darwinports seemed to be the answer.
emerald 0.1
-----------
Matz wrote:
"I'm pleased to announce you the first public release of emerald at
http://rubyurl.com/b5JtE
Emerald is an object oriented language with constraints and logic
features, inspired from prolog, Oz, CSP and Hyper/J.
I started this as an hack since ruby is becoming less fun. It will not
be as good as ruby, but please try it out while we wait for Rite."
Hal Fulton responded, "Very nice... but will it scale?"
Tom Copeland:
"With this language, Ruby is fin-ished.
Now all we can do is flounder about.
I feel gill-ty for recommending Ruby now.
Emerald will be fast; if anyone can tuna language, it's Matz."
The puns just got worse from there ;-)
PS: Matz posted his message on April 1st.
Active Record and different field names
---------------------------------------
JZ was using ActiveRecord with Rails, but had tables that didn't use id
for their primary keys. How do you tell ActiveRecord which field it should
use?
David Heinemeier Hansson said that set_primary_key should be used in this
case.
Getting Ruby approved
---------------------
Joe Van Dyk was "trying to get Ruby added to one of the "supported" OSS
tools at Boeing". Jim Freeze posted what he'd learnt from his (successful)
attempt to introduce Ruby to a company he was working at.
There were almost 50 articles in the thread, with many people contributing
their ideas.
Ruby Weekly News 21st - 27th March 2005
---------------------------------------
Yes, a thread starting with last week's Ruby Weekly News. Be thankful that
it isn't this week's! (A time machine written in Ruby?)
Last week's Quote of the Week was Matz announcing that the YARV virtual
machine would be merged into the main Ruby implementation this year.
After a few days with no comment, Tim Sutherland tried to stir up a
reaction with "I'm surprised no-one has commented on this yet... I was
expecting a chorus of "wow!"s."
Nikolai Weibull said "wow!", and also questioned how YARV relates to Rite
and Ruby 1.9. (Rite was intended to be "Ruby done Right", a complete
rewrite of the Ruby interpreter to get a faster implementation. The
language would also change with Rite. The language changes are being
implemented in Ruby 1.9, without the better implementation.)
Matz explained, "Since YARV engine would achieve what I wanted by complete
rewrite, I'd call YARV merged 1.9 as Rite."
There were comments on the possible benefits and disadvantages of merging
YARV.
Shiny balls with OpenGL
-----------------------
This thread provides some examples of OpenGL graphics implemented in Ruby.
New Releases
------------
* RubyGems 0.8.10
Jim Weirich announced a bug-fix release of RubyGems. An issue where it
could become confused between different versions of the same library
has been addressed.
* KirbyBase 2.0
Jamey Cribbs released a new major version of KirbyBase, a small
database management system that stores its data in plain-text files.
The API has been changed to be more "Rubyish". (For example, using
blocks.) Jamey also thanked Hal Fulton for feedback on the previous
release.
* Ruby-GetText-Package-0.8.1
Masao Mutoh updated the Ruby-GetText library. This provides Native
Language Support (text in multiple languages etc.) and is based on GNU
gettext. Bugs have been fixed and a new translation, pt_BR, has been
added by Joao Pedrosa.
* FastCST 0.6.5
Zed A. Shaw added a "whole whack" of features to his FastCST version
control tool. There is now better safety and security, as well as
merge features. The repository layout format has been changed, meaning
that this release cannot be used with repositories created in earlier
versions. Zed believes this will be the last such change for a while.
* Production Log Analyzer 1.1.0
Eric Hodel made the first public release of the Production Log
Analyzer. It is used to analyse the logs of a web application, to
determine which pages are taking up a lot of resources.
* color-tools 1.0.0
Austin Ziegler was pleased to announce the first release of
color-tools. It provides support for the RGB and CMYK colour models,
with "148 named RGB colours that are commonly supported and used in
HTML, colour manipulation operations, and a monochromatic contrasting
palette generator."
It will be used in future PDF::Writer releases.
* QtRuby 1.0.8/Korundum 3.4.0/KDevelop 3.2.0
Richard Dale let it be known that there were new QtRuby, Korundum and
KDevelop releases. The first two are Ruby bindings for the Qt and KDE
APIs, while the latter is an IDE. Bugs were fixed in the bindings.
KDevelop includes Ruby support for features like creating GUIs
graphically, debugging and a class browser.
* FireRuby 0.2.1
Peter Wood fixed some bugs in FireRuby, a binding for the FireBird
RDBMS.
* Amrita 1.0.2 + XML + amrita_id fix
Aredridel posted a patch to allow Amrita 1.0.2 to work with REXML.
(New users should use Amrita2 instead.)
* RMagick 1.7.4 released
Timothy Hunter released a new version of RMagick to enable it to work
with the latest ImageMagick release (6.2.1). "RMagick is an interface
to the ImageMagick and GraphicsMagick image processing libraries.
Supports more than 80 image formats, including GIF, JPEG, PNG.
Includes 2D drawing API."
* MuraveyWeb 0.2-tons of new stuff
Dmitry V. Sabanin added many new features to MuraveyWeb, a CMS
(Content Management System) written with Ruby on Rails. New features
include document revision management and a staging area for files.
* MiniRubyWiki 1.0.0
Phlip announced an important milestone in MiniRubyWiki development:
version 1.0.0. This is a Wiki implementation with "the most advanced
emergent features available in wikidom. You can import raw text or
html into wiki pages, execute commands to populate wiki pages, and you
ran run, organize, and annotate thousands of pages of test resources."
* SimpleXML for you
Aleksi ported the PHP SimpleXML library to Ruby. James Britt suggested
looking at the XmlSimple library, which is based on Perl's
XML::Simple.