[#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,
-----BEGIN PGP SIGNED MESSAGE-----
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,
[#136411] Synchronous but different iterators — Belorion <belorion@...>
(somewhat contrived example:) Say I have 2 different data structures
[#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:
[#136601] Multiple users rails hosting — Aquila <braempje@...>
After some searching I discovered a unix machine where I can run Rails.
[#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:
Kirk Haines wrote:
On Apr 8, 2005 8:09 AM, Ilias Lazaridis <ilias@lazaridis.com> wrote:
Jacob Fugal wrote:
Glenn Parker wrote:
please avoid further off-topic comments.
Ilias Lazaridis 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:
Joe Van Dyk 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:
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 }}
B. K. Oxley (binkley) wrote:
On Apr 5, 2005 10:04 AM, James Britt <james_b@neurogami.com> wrote:
On Apr 5, 2005, at 9:16 AM, Austin Ziegler wrote:
Austin Ziegler wrote:
B. K. Oxley (binkley) wrote:
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
[#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)
> I'm supposed to put together an Excel spreadsheet. I've always been the
> desc student1 student2 student3 student4
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,
Peter Suk wrote:
On Apr 7, 2005, at 2:39 PM, Florian Growrote:
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
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
> Has anyone out there had better luck with the ruby svn bindings or
Hi,
> Try the following sequence:
[#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
Tobias Luetke wrote:
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
[#137996] Re: [Rails] NYC Meetup? — pat eyler <pat.eyler@...>
On Apr 12, 2005 3:40 PM, Matt Pelletier <pelletierm@eastmedia.net> wrote:
[#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
[#138097] On motivating a Ruby nubie — Sy <sy1235@...>
Hey all. I wanted to dive into a topic that's been on my mind for
"James Edward Gray II" <james@grayproductions.net> answered:
On 4/13/05, Ara.T.Howard@noaa.gov <Ara.T.Howard@noaa.gov> wrote:
On Apr 13, 2005, at 9:57 AM, Sy wrote:
James Edward Gray II <james@grayproductions.net> writes:
[#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@...>
[#138232] Knight's Travails (#27) — Ruby Quiz <james@...>
One neat aspect of doing a simple problem now and then is checking out the
[#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
Mark Hubbart wrote:
[#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,
On 4/14/05, Unknown User <me@privacy.net> wrote:
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...
OK...
Hi Chris,
[#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,
[#138346] Madlibs (#28) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
[#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
Ilias Lazaridis 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 Lazaridis wrote:
Carlos wrote:
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
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:
>> I don't understand.
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:
On Tuesday 19 April 2005 12:59 am, Ilias Lazaridis wrote:
Saynatkari 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
[#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> writes:
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:
> Actually, there is an important difference between require_gem and
> I think versioning is great, but maybe RubyGems went a little overboard
Jim Weirich ha scritto:
On Sunday 17 April 2005 02:29 pm, gabriele renzi wrote:
[#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
On 4/18/05, Alexey Verkhovsky <alex@verk.info> wrote:
[#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,
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:
[#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)
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:
Hi,
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 --
[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:
Ilias Lazaridis wrote:
On 4/21/05, Ilias Lazaridis <ilias@lazaridis.com> wrote:
Tanner Burson 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 am behind a proxy server at work, yet got this to work. I commented
I gave it a quick run. I had to change
[#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
All of you are responsible for feeding this troll. You were ALL warned
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 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:
Andrew Walrond 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?
[#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:
[#139871] ruby postgres problems — will <will@...>
I have some problems with dbi which could be down to a problem
[#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:
Yes I also think text processing is a basic and indispensable feature
Josef 'Jupp' SCHUGT wrote:
[#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--
[#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
Well, Barry. I can understand what you're saying, but....
Go to http://ar.rubyonrails.com/classes/ActiveRecord/Base.html and just
I actually sat down and read this artcile. I'm blown away by some of
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]:
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,
[#140142] Newbie question: Simple Ruby Date Question — "mattscape" <matthias.luebken@...>
Hi everyone
[#140179] Scanning a String — "basi" <basiibarra@...>
Hello,
[#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!
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
tony summerfelt wrote:
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
[#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
[#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:
[#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.
[#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:
[#140546] KDE 'applets' in Ruby? — ptkwt@... (Phil Tomson)
[#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 4th - 10th April 2005
http://www.rubyweeklynews.org/20050410.html
Ruby Weekly News 4th - 10th 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
--------------------------
* RubyForge at 600 projects and counting...
Richard Kilmer announced that Tom Copeland had just activated the
600th project on RubyForge, after only a year and a half of service.
"We also want to thank our mirrors for handling the true brunt of the
load."
Tom also separately posted a "big thank you" to those providing file
mirrors, including a new one from Evan Webb.
* Slashdot: Ruby On Rails Showdown with Java Spring/Hibernate
Joao Pedrosa saw an article on slashdot comparing the Ruby on Rails
web application framework with Java's Spring/Hibernate.
It was written by Justin Gehtland, the author of
"Better, Faster, Lighter Java" as well as
"Spring: A Developer's Notebook".
He ported a Spring/Hibernate application he'd written to Rails, and
concluded that the Rails solution used less code, much less
configuration, and ran faster. (Justin felt that the better
performance was due to Rails doing good caching.)
Justin: "To me, the eye-opening revelation isn't "Rails is faster than
Java/Spring/Hibernate". It's "Rails can be very fast.""
Ruby Users Groups
-----------------
* Chicago Area Ruby Group Meetup with DHH
John W. Long declared that the "Chicago Area Ruby Group would like to
extend a warm invitation to Ruby developers everywhere to a meetup
with David Heinemeier Hansson on Saturday, April 23rd." Please RSVP.
* seattle.rb hackfest 2005 planning list now online
Ryan Davis announced a mailing list for the seattle.rb group to plan
their upcoming "hackfest".
* Utah Ruby User Group
Jamis Buck announced the Utah Ruby User Group.
* Montreal.rb ?
Mathieu Bouchard asked if anyone else is interested in setting up a
Ruby User Group in Montr饌l, Canada.
* Boston Ruby Meetup
This thread invited interest in Boston and Houston groups.
Quote of the Week
-----------------
Marco Campelo asked "How Ruby is positioned regarding Enterprise
Solutions?"
Jay Levitt responded,
"If you're looking for global enterprise solutions to integrate
distributed systems, at the end of the day, Ruby has the momentum to
leverage the dynamic potential of synergies between your skillsets and
its core competencies on Internet time. Achieving best-of-breed,
mission-critical componentization utilizing standards-compliant
scalability, it provides an adaptable, standards-based framework to add
value via a fast-track, result-driven development process.
I hope that helps answer your question."
Threads
-------
Interesting threads this week included:
Is there any library that can easily manipulate Bitmap (bmp) file?
------------------------------------------------------------------
sin kanti wanted to turn a bmp image into a 60ラ40 pixel black-and-white
picture, whose bits would then be stored in an array for processing.
Timothy Hunter pointed out RMagick, a Ruby library that wraps ImageMagick.
Knight's Travails (#27)
-----------------------
Jason Bailey rode out this week's Ruby Quiz.
Given an 8ラ8 chessboard, write a program that takes a starting position of
a knight, and desired ending position. Additional arguments can be passed
to specify positions the knight is forbidden to land on.
Determine a shortest path from the start to end (if there is one).
method search rule in 2.0?
--------------------------
This topic was mentioned last week, but there has been much discussion
since. Matz has suggested that the way method search works could be
changed in Ruby 2.0.
In imaginary future Ruby, the following code would work as described in
the comments
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, both util and self.util would call the subclass' util if self
corresponded to a subclass.
A problem with the existing behaviour is that accidental overlap of method
names can easily occur.
(The "brittle base class problem" is a phrase used by some developers to
describe one such problem. It happens when a new version of a library is
released which adds a method. If a user of the library had earlier created
a subclass that happened to define a method of the same name, their code
may stop working when they upgrade the library.)
The wiki page Ruby2.0MethodSearchRuleEnglish gives the following example
of two classes that define util methods which are meant to be unrelated.
class C
def process
# ...
util
end
def util
# ...
end
end
class CC < C
def util
# ...
end
end
CC.new.process
Currently process calls CC#util when it was intended to use C#util.
David Garamond began a thread saying he was "feeling disturbed about this
new Ruby2 behaviour". Isn't the current behaviour "what people expect in
OO?"
Peter C. Verhage thought that an alternative change would be to make
private methods only exist in the class in which they were defined. It
would then be possible for C and CC to have different util methods
co-existing peacefully so long as they were private.
David A. Black argued that the default behaviour should not change - "the
case where you don't want overriding should be the one that requires
something extra". He suggested requiring the programmer to write C#util to
force C's version of util to be called. ("Yes, everybody, I do know that
this is comment syntax and would require a parser change".)
Csaba Henk said that C#util could be done in today's Ruby with
C.instance_method(:util).bind(self).call.
"It's sooo long that you can't help remembering the occasion if you use
it.
And I don't remember doing it more that one or two times. That is, my
experience suggests that it's not a particularly frequent pattern."
Trans thought this topic was related to some work he had been doing in the
AOP (Aspect-Oriented Programming) world. "My solution was to have another
scoping mechinism akin to public, private, protected, called "local". It
differs in that methods defined in the local scope are always called
locally in the context of that module, but not in the context of any
other."
Seven new VMs, all in a row
---------------------------
Peter Suk announced a project to write a Ruby implementation using a
Smalltalk Virtual Machine (VM).
"Ruby and Smalltalk are very similar under the covers, so Smalltalk VMs
are a very good match for the language."
Not only would this provide fast execution of Ruby, but also features like
a powerful debugger and a meta-level that would allow you to easily change
Ruby semantics.
R. Mark Volkmann said it would be "really cool" if Peter would do this
using the Sqeak VM (a Free / Open Source Smalltalk VM). Peter Suk agreed
that it would be good, except that he needs the Namespaces Smallktalk
feature in order to implement Ruby features like modules. Squeak does not
(yet) support Namespaces. "The VMs I am targeting first are commercial
ones, but they have free versions/licenses."
Avi Bryant thought that the Squeak VM would have no problem supporting
Namespaces - it's an "image-level thing, not a VM-level thing".
Later on, Peter pointed out that Smalltalk VMs typically have very little
that is Smalltalk specific. The language-specific portions are handled by
a different layer, which would be replaced with a layer for Ruby.
He also wrote, "A way I can help Pure-OO development is to vastly increase
the power of the Ruby community by giving it access to the great
technology developed for Smalltalk."
why aren't declarations just syntactic sugar?
---------------------------------------------
Lionel Thiry asked why
class MyClass
...
end
didn't just get translated into
MyClass = Class.new do
...
end
Bill Kelly said that one problem was that the block form doesn't fit
nicely with "re-opening" the class. (For example, when you add a method to
an existing class.)
nobu added that the class Foo definition hides the outer scope, for
example
x = 1
class MyClass
p x # => Name Error
end
The above code would work if the class is created using the block form,
but that may not be desirable.
Accessing SVN through Ruby
--------------------------
Bob Aman wanted to write a kind of CMS (Content Management System) that
uses the Subversion version-control tool as a backend.
"However, the only simple interface to Subversion I seem to have available
to me is to call out to the Subversion command line client, which is
rather less than optimal."
He found Ruby bindings that were created using SWIG, but couldn't figure
out how to get them going. (SWIG is a tool that makes it easy to wrap C
and C++ libraries from a number of languages, including Ruby.)
Kouhei Sutou noted that the INSTALL file for the bindings includes
instructions on building them on Windows, the platform Bob was using.
Forcing FCGI headers
--------------------
Tony Targonski had written a Rails application. One of the pages did a lot
of work and took several minutes to complete. FastCGI timed out after 30
seconds and didn't return anything to the client. What to do?
David Heinemeier Hansson said that one solution was to increase the
FastCGI timeout. "The default is a meager 30 seconds. Way too low for a
bunch of applications, including Basecamp. We use 600 seconds (to allow
for file uploads which are shuttled on to the users on FTP server)."
"Alternatively, you can have your action trigger an external service of
some sorts that complete the computation asynchronously. Then you could
have some other way of alerting the users, like using Ajax".
Quick start to acessing Oracle
------------------------------
Ross Parker was looking at moving from Perl to Ruby and wanted to quickly
get Ruby talking to his Oracle database. "Can anyone direct me to a quick
start resource for accessing Oracle with Ruby?"
Jason Sweat suggested the OCI8 library, and Ross was able to successfully
use this with DBI. (DBI is an abstraction layer which provides a uniform
interface for accessing different database systems.)
There is also a library called Ruby9i for use with newer versions of
Oracle.
My threading concern.
---------------------
Aaron Rustad asked "When two theads enter a method that can change a value
of an instance variable, does the possiblity exist that one thread's
changes will clobber the other's?"
Kirk Haines explained that yes, this possibility does exist, just like in
other languages that use threads.
"If there is a section of code that should only be accessed in a serial
fashion, control that access with a Mutex", e.g.
m = Mutex.new
m.synchronize do
@foo.update
@bar.count += 1
end
"Ruby provides a rich set of support beyond mutexes for dealing with
threading issues, should you need them."
Aaron's question came up because he was developing a Rails web application
and noticed that Rails was handling requests with a method that has access
to instance variables of ApplicationController ("session, request,
params").
Nicholas Seckar said that there was no problem in this case, since Rails
uses a new ApplicationController instance for each request.
Detecting thread exit immediately
---------------------------------
Martin DeMello was busy developing his fxirb application (a GUI wrapper
around IRB), and had some code that started a Thread whenever it needed to
launch an IRB session. How could he tell as soon as the Thread had ended?
"Is there any way I can have FXIrb pass in `self' to the thread so that it
can call methods on it?"
He later reported that the helpful people in the #ruby-lang IRC channel
had provided him with the solution,
@irb = Thread.new(self) {
....
self.quit_method
}
Ruby/DL - assigning to global variables?
----------------------------------------
Andrew had code like
module Foo
extend DL::Importable
dlload 'libquux.so'
@@bar = symbol 'bar'
end
... "where `bar' is a variable in libquux. How do I assign a value to
bar?"
Takaaki Tateishi explained that "@@bar is considered as a pointer to a
value. If its type is int, you can assign an integer value as follows."
IntValue = struct ["int value"]
obj = IntValue.new(@@bar)
obj.value = 1
Interfacing with C executable
-----------------------------
Joe Van Dyk had a C program that was part of a complex system which uses
shared memory for communication.
Currently he was using message queues for communication between the C
program and Ruby, but this was cumbersome because he had to do too much
work every time he added a new data type.
Aredridel suggested using his ruby-packstruct library, which "lets you
define binary-accurate structures in Ruby, similar to but independent of
ruby/dl", "and see if you can't do the shared memory interface yourself".
(Note: There are Ruby libraries that let you access both mmap and System V
shared memory.
See the shared memory example thread for an example using SystemVIPC.)
New Releases
------------
* Fico 0.1.0
Urban Hafner announced the first version of Fico, a Ruby
implementation of the board game Havannah. The aim of Fico is to
develop a good AI.
Edgardo Hames mentioned that the game's inventor has offered 1000
Euros to anyone who can write a program that beats him at least 10% of
the time.
The thread discussed the idea of Havannah being the topic of a future
Ruby Quiz.
* cmd 0.7.0: Library for Line-Oriented Command Interpreters
Marcel Molina Jr. was "very pleased to announce" the initial release
of Cmd. Cmd is a library for building line-oriented command
interpreters, inspired by the Python library of the same name.
* fxirb 0.2.0 - Multiline Edit (and request for help) Martin DeMello
added proper multi-line editing to fxirb, a GUI wrapper around IRB.
He also requested some help in implementing gets support - he doesn't
know enough of either IRB or FOX to know what needs to be done.
* Bayesian Classification for Ruby
Lucas Carlson announced a new library called Classifier. You train it
on input text (`this text is interesting', `this text is
uninteresting'), and then ask it to classify new text as interesting
or uninteresting.
* RForum 0.1
Andreas Schwarz introduced the first beta of RForum, a web forum built
with Ruby on Rails. It is developed by Andreas and Alexey Verkhovsky.
It will be used for Ruby Forum when it's ready.
* Rake 0.5.3
Jim Weirich released a new version of the Rake build tool. FileLists
have had many improvements. "In particular, operations on FileLists
that return a new collection (e.g. collect, reject) will now return a
FileList rather than an array."
There were a number of other changes.
* Shallow Parser for t-SQL
Shashank Date let out an alpha version of a library that parses the
t-SQL procedural language (used in Microsoft SQL server).
* Nitro + Og 0.15.0, Localization, Parametrized mixins, Morphing,
SQLServer
George Moschovitis announced new versions of Nitro and Og. Nitro is a
web application framework and Og is an object-relational mapper.
"A great release. Many cool new features and tons of subtle
improvements. We also welcome a new core developer, Anastastios
Koutoumanos, who's first contribution is the new SqlServer adapter."
Localisation has been enhanced. "Parameterised mixins" are another
interesting new feature. Scaffolding was also improved.
* Wee 0.8.0
Michael Neumann updated the Wee web application framework. Highlights
include Ajax support (live updates) and a FastCGI adaptor.
* r43
Pat Eyler uploaded a pre-alpha release of r43 - a library that
implements the 43things API.
* Syck 0.54-typing compatibility, improved output
why the lucky stiff improved the development branch of Syck, Ruby's
YAML parser, by making it more compatible with the stable version.
* Simple scene graph engine in OpenGL
Ilmari Heikkinen put together a scene graph engine using ruby-opengl,
glut and ruby-imlib2.
* Iotaz 0.1.0
Peter Wood gave out the initial release of Iotaz, an object-relational
mapper that initially only works with the Firebird relational database
management system. (Using the FireRuby client library.)