[#144157] Interesting discovery... — Austin Ziegler <halostatue@...>
I had a user report a slowdown in PDF::Writer. I'm pretty certain I
On Wed, 1 Jun 2005, Austin Ziegler wrote:
On 5/31/05, Ara.T.Howard <Ara.T.Howard@noaa.gov> wrote:
On Wed, 1 Jun 2005, Austin Ziegler wrote:
Ara.T.Howard@noaa.gov wrote:
[#144158] tk image problem — Charles Hixson <charleshixsn@...>
When I attempt to read in xpm files created by the Gimp, I get
[#144164] TinyUrl class — "Vincent Foley" <vfoley@...>
Hi everyone,
Vincent Foley wrote:
[#144186] Re: array of object insert polices — "Pe, Botp" <botp@...>
dave [mailto:dave.m@email.it] wrote:
dave wrote:
dave wrote:
[#144206] Implementing a Read-Only array — Gavin Kistner <gavin@...>
Right up front, let me say that I realize that I can't prevent
Gavin Kistner wrote:
[#144208] OT: Looking for embeddable WYSIWYG HTML editor — "delirious" <Simon.Vandemoortele@...>
Dear all,
"delirious" <Simon.Vandemoortele@gmail.com> inquired:
[#144223] Document identification — "M. Eteum" <meteum@...>
Dear Ruby Guru:
[#144224] Method Chaining Issues — "aartist" <aartist@...>
try this:
This is a FAQ, though no page on the RubyGarden wiki seems to address
Phrogz wrote:
On 6/2/05, Nikolai Weibull
Gyoung-Yoon Noh wrote:
Phrogz wrote:
Sam Goldman wrote:
>> Some people think that "bang" methods shouldn't exist at all!
[#144230] ternary operator confusion — Belorion <belorion@...>
I don't know if this is "improper" use of the ternary operator, but I
true ? a.push(1) : a.push(2)
On Thu, Jun 02, 2005 at 01:40:23AM +0900, Phrogz wrote:
--- "Marcel Molina Jr." <marcel@vernix.org> wrote:
On 6/1/05, Eric Mahurin <eric_mahurin@yahoo.com> wrote:
On Jun 1, 2005, at 3:47 PM, Austin Ziegler wrote:
[#144253] Installing ruby on rails locally — "g_u_s" <gus_literatura@...>
Hi, everyone, I want to know how I do to install ruby on rails locally,
[#144274] help, I can't compile an extension on windows — Lionel Thiry <lthiryidontwantspam@...>
Hello!
Lionel Thiry wrote:
Daniel Berger a 馗rit :
[#144275] The WIPO Intellectual Property Forum - defend your right to Ruby. — John Carter <reNfOacStPoArMedE@...>
Here is an opportunity to fight the new Imperialism.
[#144290] librend 0.0.1 — Ilmari Heikkinen <kig@...>
Here's something I've been hacking on for the past two months, an OpenGL
[#144310] internal iterators in ruby — Navya Amerineni <navyaamerineni@...>
Hi,
[#144350] How to use open uri or net/http class — sujeet kumar <sujeetkr@...>
Hi
[#144362] Google Summer of Code: status of Ruby Central — "David A. Black" <dblack@...>
Hi --
[#144379] Ruby equiv of Perltidy? — <RubyLANG@...>
Hello All,
[#144390] requiring files — Joe Van Dyk <joevandyk@...>
Hi,
[#144405] Nuby problem w/CSV, tab-delimited files & embedded double-quotes — rpardee@...
Hey All,
[#144436] Google Summer of Code update — "David A. Black" <dblack@...>
Hi --
[#144444] Re: internal iterators in ruby — "Geert Fannes" <Geert.Fannes@...>
So, if I understand well, the problem with iterating over different
[#144448] AllInOneRuby 0.2.3 — Erik Veenstra <pan@...>
[#144452] Whiteout (#34) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
> 3. When "whiteout" is required, the original code must be executed with
[#144453] RubyScript2Exe and GUI toolkits — Erik Veenstra <pan@...>
[#144458] Failure: test_verify(OpenSSL::TestX509Store) — "James B. Byrne" <ByrneJB@...>
I built ruby-1.8.2 stable from source (ruby-lang.org) on a CentOS4
[#144465] newby question on validation — Matteo Corti <corti@...>
Hi,
[#144468] erb/apache problem — "HAL 9000" <hal9000@...>
Hi, all. Posting from work via Google.
On Sat, Jun 04, 2005 at 01:50:24AM +0900, HAL 9000 wrote:
[#144480] method_missing and assignment — Patrick Gundlach <clr5.10.randomuser@...>
Hi,
[#144487] Building a business case for Ruby — Joe Van Dyk <joevandyk@...>
Hi,
On Friday 03 June 2005 16:33, Joe Van Dyk wrote:
You could, er, load ruby as a python extension...
[#144494] Teaching Ruby — Joe Van Dyk <joevandyk@...>
Somewhat related to the other thread I just started. In order to get
[#144535] ruby-dev summary 26128-26222 — Minero Aoki <aamine@...>
Hi all,
[#144557] Calling a procedure with dinamyc name — Marcelo Paniagua <paniagua@...>
Hi there!
[#144565] RDoc: bug or limitation? — "Vincent Foley" <vfoley@...>
I think I found a bug in RDoc, although this could be a limitation, I'm
[#144579] Package, a future replacement for setup.rb and mkmf.rb — Christian Neukirchen <chneukirchen@...>
* Christian Neukirchen <chneukirchen@gmail.com> [2005-06-05 07:59:15 +0900]:
Jim Freeze <jim@freeze.org> writes:
On 6/4/05, Christian Neukirchen <chneukirchen@gmail.com> wrote:
Austin Ziegler <halostatue@gmail.com> writes:
Christian Neukirchen ha scritto:
gabriele renzi <surrender_it@remove-yahoo.it> writes:
Christian Neukirchen ha scritto:
[#144610] Creating objects from strings. — Bill <ruby@...>
Hi,
Bill wrote:
[#144614] unbinding a Proc? — Eric Mahurin <eric_mahurin@...>
This is mostly a curiosity thing...
[#144658] Rails/ActiveRecord Nuby question. — Harold Hausman <hhausman@...>
I am kindof assuming that this is something of a newbie question as
[#144666] A Ruby script to add email disclaimers — Johann Spies <jspies@...>
A few years after my first contact with ruby (and not using it) I am
[#144672] newbie read.scan (?) question — "Bruce D'Arcus" <bdarcus.lists@...>
Hi,
article is a stream and you try to read it twice, this doesn't work like
One followup.
Hi,
[#144682] How to call a class method when (i.e. in the moment of) inheriting from a class/defining a descendant? — Thomas <sanobast-2005a@...>
Hi,
[#144691] making a duck — Eric Mahurin <eric_mahurin@...>
Regarding duck-typing... Is there an easy way make a "duck"?
Eric Mahurin ha scritto:
Eric Mahurin wrote:
Hi,
--- nobu.nokada@softhome.net wrote:
Hi,
Eric Mahurin wrote:
[#144694] A little Quiz — "Dominik Bathon" <dbatml@...>
First of all, this is no attempt to rival with James' nice Ruby Quiz ;-)
[#144706] 'gets' has been hijacked — Pete Elmore <pete@...>
I was working with a simple script, that unexpectedly broke. The
[#144723] Stats comp.lang.ruby (last 7 days) — Balwinder Singh Dheeman <bsd.SANSPAM@...>
Stats comp.lang.ruby (last 7 days)
[#144724] Saving YAML data — Nigel Wilkinson <nigel@...>
Hi
[#144735] Re: Help getting RMagick working — Timothy Hunter <cyclists@...>
pjhyett@gmail.com wrote:
[#144742] Could Ruby-doc be better? -- Proposal for a better system. — Andrew Thompson <vagabond@...>
<Sorry for the crosspost, but I thought I might as well try to reach as
Andrew Thompson wrote:
So, basically the consensus is that Rdoc is in need of some work,
[#144782] DRb Method_mising respond_to? — "curtis.schofield@..." <curtis.schofield@...>
[#144816] Ruby version ot TEA (Tiny Encryption Alogrithm)? — James Britt <james_b@...>
Does anyone know of a pure-Ruby lib that implements the Tiny Encryption
[#144837] I cannot get rescue to work — Xeno Campanoli <xeno@...>
The example on page 108 of pickaxe gives me the following syntax error, for
[#144853] Test-Driven Development in GUIs — Joe Van Dyk <joevandyk@...>
Hi,
On 6/7/05, Joe Van Dyk <joevandyk@gmail.com> wrote:
[#144867] ruby-wish@ruby-lang.org mailing list — dave <dave.m@...>
Austin Ziegler wrote:
On 6/8/05, dave <dave.m@email.it> wrote:
On Jun 8, 2005, at 8:25 AM, Austin Ziegler wrote:
On 6/8/05, dave <dave.m@email.it> wrote:
On Thu, Jun 09, 2005 at 05:30:13AM +0900, dave wrote:
[#144876] Memory leak? — Nathan Smith <nsmith5@...>
Hello,
[#144879] StringMatrix — Gavin Kistner <gavin@...>
(This isn't a library I plan on maintaining, but ANN felt like the
[#144890] RubyStuff: The Ruby Shop for Ruby Programmers — James Britt <james_b@...>
Announcing the formal grand opening of Ruby Stuff: The Ruby Shop for
On Thu, Jun 09, 2005 at 12:50:52AM +0900, James Britt wrote:
Michal 'hramrach' Suchanek wrote:
Hal Fulton wrote:
Hey James,
I know CafePress is easy, but the shirts look generic, the quality is
On 6/8/05, James Britt <james_b@neurogami.com> wrote:
[#144923] Newb math question — brian <brian@...>
Can someone tell me why this code:
[#144956] Whiteout (#34) — Ruby Quiz <james@...>
Does this library have any practical value? Probably not. It's been suggested
[#144966] python/ruby benchmark. — "\"</script>" <groleo@...>
I took a look at
"</script> ha scritto:
Hello gabriele,
Java is an order of magnitude faster than Ruby. The development of a
Hello Kent,
Lothar Scholz said:
On 6/10/05, Ryan Leavengood <mrcode@netrox.net> wrote:
Gavri Fernandez said:
On Fri, 10 Jun 2005, Ryan Leavengood wrote:
As Gabriele mentionned, they implement a lot of stuff that is done in C
Vincent Foley wrote:
On 6/10/05, Isaac Gouy <igouy@yahoo.com> wrote:
On Jun 10, 2005, at 1:02 PM, Austin Ziegler wrote:
I've run through this thread and i am finally writting this because i am in a way astonished.
In article <9e7db91105061106485b68d629@mail.gmail.com>,
Phil Tomson wrote:
On 6/12/05, Steven Jenkins <steven.jenkins@ieee.org> wrote:
#: the mind was *winged* after Austin Ziegler said on 6/12/2005 5:53 PM :#
Austin Ziegler wrote:
On 6/12/05, Steven Jenkins <steven.jenkins@ieee.org> wrote:
Austin Ziegler wrote:
On 6/12/05, Steven Jenkins <steven.jenkins@ieee.org> wrote:
Austin Ziegler wrote:
In this essay I'm going to attempt, one final time, to demonstrate
On Wed, Jun 15, 2005 at 01:55:58PM +0900, Steven Jenkins wrote:
On 6/15/05, Ralph PJPizza Siegler <pjpizza@rsiegler.org> wrote:
[#144973] How to take password from user — sujeet kumar <sujeetkr@...>
Hi
On Jun 9, 2005, at 11:19 AM, sujeet kumar wrote:
On Fri, 10 Jun 2005, James Edward Gray II wrote:
[#144985] Getting a method object directly from a module — "Daniel Berger" <djberg96@...>
Hi all,
[#144991] http://sciruby.codeforpeople.com/ — "Ara.T.Howard" <Ara.T.Howard@...>
[#145000] RDoc —
Hi, I have a question. When I compiled ruby-1.8.2
On 09 Jun 2005, at 13:55, Jesffffas Antonio Sfffe1nchez A. wrote:
But for example it run rdoc --op -html-docs inside
Xeno Campanoli <xeno@eskimo.com> writes:
a slow loris with poison elbows wrote:
[#145011] gnu readline ruby vs. perl — Wybo Dekker <wybo@...>
I'm translating a Perl script into Ruby, but can't reproduce a readline
Hi,
Quoting nobuyoshi nakada <nobuyoshi.nakada@ge.com>:
[#145026] Re: [Rails] Ajax on Rails — Curt Hibbs <curt@...>
Robby Russell wrote:
> http://rubyurl.com/OddwR
Also dead:
On 6/10/05, Douglas Livingstone <rampant@gmail.com> wrote:
Could you replace it with a 404 page then? Atleast it won't look like
[#145031] framework of Ruby/Tk + VNC — Hidetoshi NAGAI <nagai@...>
Hi,
[#145032] newbieQ: new array from old array w regex — "Charles L. Snyder" <csnyder1@...>
Hi,
[#145045] Re: howto write rtf directly? — Nuralanur@...
Dear Thomas and Brian,
[#145049] duck-typing allows deeper polymorphism — Eric Mahurin <eric_mahurin@...>
I've seen many posts on what duck-typing is, that Ruby doesn't
On Fri, 10 Jun 2005, Eric Mahurin wrote:
[#145053] Chess Variants (I) (#35) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
On Jun 10, 2005, at 7:07 AM, Ruby Quiz wrote:
[#145079] Ruby/LDAP on Windows — "gregarican" <greg.kujawa@...>
Here is a message I sent to the maintainer of this particular project.
[#145085] Is there a Ruby equivilant to Python's exec_file? — Wayne Pierce <shalofin@...>
I'm working on a white-box security auditing framework, which is
[#145125] Regex help — Ezra Zygmuntowicz <ezra@...>
Hey there list
[#145132] Please help me get "Ajax on Rails" Slashdotted — Curt Hibbs <curt@...>
To those of you who've read my "Ajax on Rails" article at:
[#145135] blocks, scope/context confusion — "Corey" <corey_s@...>
Hi,
[#145146] (newb) installing rails — "luke" <lduncalfe@...>
[#145166] Only if the object exists — Gavin Kistner <gavin@...>
If I write code like this:
[#145175] how to extract url's from html source of google search result — sujeet kumar <sujeetkr@...>
hi
[#145177] Behavior of $* in String subclasses — Jamis Buck <jamis@37signals.com>
Here's an interesting snafu I ran into today:
[#145181] Regular expression problem — sujeet kumar <sujeetkr@...>
hi
[#145221] gem can't install rails? — Robo <robo@...>
I had a real old version of Rails, so I wanted to upgrade it.
[#145238] finding Hash subsets based on key value — "ee" <erik.eide@...>
Hi
James Edward Gray II <james@grayproductions.net> wrote:
....gonna launch a computerized weather balloon, of couse!
mark wrote:
[#145263] Re: python/ruby benchmark(don't shoot the messenger) — Nuralanur@...
Hello,
[#145264] [ANN] BoilerPlate 0.1.0 -- An application skeleton for Ruby on Rails — Michael Schuerig <michael@...>
[#145285] encryption using ruby? — "Nick Hayworth" <chipped_up@...>
Hi all
[#145288] ruby module for subversion? — Steve Kelem <s_kelem@...>
Is there a module for ruby that will give access to subversion functions?
[#145291] Chip Multi-threading and the future — Stephen Kellett <snail@...>
Hi Folks,
[#145302] Re: python/ruby benchmark(don't shoot the messenger) — Nuralanur@...
Tanner Burson wrote:
[#145304] PDF::Writer 1.0 (version 1.0.1) — Austin Ziegler <halostatue@...>
= PDF::Writer
On 6/13/05, Austin Ziegler <halostatue@gmail.com> wrote:
No love from PDF::Writer on Mac OS X 10.4.1. I hope to get this fixed
On 6/14/05, Jason Foreman <threeve.org@gmail.com> wrote:
On Jun 14, 2005, at 5:11 PM, Austin Ziegler wrote:
On 6/14/05, Jamis Buck <jamis@37signals.com> wrote:
On 6/14/05, Austin Ziegler <halostatue@gmail.com> wrote:
On Jun 14, 2005, at 9:06 PM, Jason Foreman wrote:
Jamis Buck <jamis@37signals.com> writes:
[#145306] Book: Agile Web Development with Rails — Stephen Kellett <snail@...>
Hi Folks,
[#145325] Speed concerns, rudeness, and narrow-minded excuses — Matt Pattison <matchbo@...>
I've been a little ashamed to be a part of the Ruby community reading
Matt Pattison wrote:
[#145339] survey: what editor do you use to hack ruby? — Lowell Kirsh <lkirsh@...>
I've been having a tough time getting emacs set up properly with ruby
2005/6/14, Lowell Kirsh <lkirsh@cs.ubc.ca>:
As a follow-up on the other people mentioning (g)vim: I think it should
Lowell Kirsh wrote:
On Jun 15, 2005, at 8:25 AM, Nikolai Weibull wrote:
James Edward Gray II <james@grayproductions.net> writes:
[#145372] vim question — "jeem" <jeem.hughes@...>
The survey thread reminded me that I wanted to ask this:
[#145373] Deploying on Textdrive — Bruno Bornsztein <bruno.bornsztein@...>
I've got an application working nicely on my localhost, and I'm
[#145390] Ruby and recursion (Ackermann benchmark) — ptkwt@... (Phil Tomson)
On 6/14/05, Phil Tomson <ptkwt@aracnet.com> wrote:
Austin Ziegler <halostatue@gmail.com> writes:
Christian Neukirchen <chneukirchen@gmail.com> writes:
[#145429] PDF::Writer Angle Issues — Austin Ziegler <halostatue@...>
Well, things have just gotten ... interesting. In response to a
On Wed, 15 Jun 2005, Austin Ziegler wrote:
[#145434] Limiting the CPU time of program started via SYSTEM() — Garance A Drosehn <drosihn@...>
Let's say I have a ruby script which calls system() to run some
[#145456] Problem to make Xtemplate parse my XHTML — "simonced" <simonced@...>
hi everyone,
I'll look better to Amrita documentation.
[#145465] code optimpization: delete_if, each, send. — dave <dave.m@...>
[#145487] Chess Variants (I) (#35) — Jim Menard <jimm@...>
My hacked-together solution, based on Bangkok (http://bangkok.rubyforge.org),
On Jun 15, 2005, at 8:54 AM, Jim Menard wrote:
James Edward Gray II wrote:
[#145531] Article on Ruby/Rails — Tom Copeland <tom@...>
Hi all -
[#145537] Regex help — Ezra Zygmuntowicz <ezra@...>
Hello list!
[#145546] Funniest Thing Evar! — Nikolai Weibull <mailing-lists.ruby-talk@...>
% python
[#145551] ruby openssl ? — "Bill Kelly" <billk@...>
Hi,
[#145574] stubborn program using readline — Wybo Dekker <wybo@...>
Hi,
On 6/16/05, Wybo Dekker <wybo@servalys.nl> wrote:
[#145575] OpenVMS woes — Renald Buter <buter@...>
Hello,
[#145582] Chess Variants (I) (#35) — Ruby Quiz <james@...>
As Gavin Kistner pointed out, this quiz was too much work. There's nothing that
[#145586] How to make a browser in Ruby Tk — sujeet kumar <sujeetkr@...>
Hi
From: sujeet kumar <sujeetkr@gmail.com>
When I run Ruby's source archive ("ext/tk/sample/tkextlib/tkHTML/hv.rb").
From: sujeet kumar <sujeetkr@gmail.com>
Hi,
From: sujeet kumar <sujeetkr@gmail.com>
Hi
From: sujeet kumar <sujeetkr@gmail.com>
Hi,
[#145603] Good Ruby Cross-platform GUI toolkit — jhouchin@... (Jimmie Houchin)
I've seen this pop up a couple of times while reading c.l.r.
[#145607] hash of hashes by default — Belorion <belorion@...>
I want a Hash of Hashes. Furthermore, I want it so that if a key for
[#145624] Backing up files and database better in Ant or Ruby? — "vike84" <mhust6@...>
I am looking to write some basic scripts to back-up various files and
[#145636] Super-scalar Optimizations — "Phrogz" <gavin@...>
I was looking over the shoulder of a C++ coworker yesterday, when he
Devin Mullins wrote:
On Jun 17, 2005, at 6:40 AM, Robert Klemme wrote:
[#145652] LinuxTag 2005 — Tanaka Akira <akr@...17n.org>
I'll go to LinuxTag 2005 next week.
[#145670] Nitro + Og 0.19.0: Og reloaded part2! — "George Moschovitis" <george.moschovitis@...>
Hello everyone,
On Fri, 17 Jun 2005, George Moschovitis wrote:
> > experimental In-Memory/Filesystem adapter.
[#145677] Truth maintenance system in Ruby — "itsme213" <itsme213@...>
Anyone know of any kind of truth-maintenance system implemented in Ruby (or,
Sorry, I should have elaborated. It is an AI/logic/rule-based system that
On Jun 17, 2005, at 11:20 AM, itsme213 wrote:
[#145683] Multitasking server? — mrt@...
Disclaimer: Ruby newbie here.
mrt@thomaszone.com wrote:
[#145684] ruby-vim line number — tsuraan <tsuraan@...>
This might be more appropriate on a vim list, but I'll give it a go here...
[#145704] Simple Check Box Question — "Matt Koidin" <mkoidin@...>
I'm new to ruby and rails and I have a simple question that is driving
It's the third parameter to the call you're making, a boolean. False is
I tried that and it doesn't work (again, I might be misinterpreting the
I solved the problem --
[#145718] gemserver for rubyforge projects — Eric Mahurin <eric_mahurin@...>
Anybody else think it would be nice if we had a gemserver
[#145720] Frameless RDoc template ('technology preview') — ES <ruby-ml@...>
Hi!
On 17 Jun 2005, at 12:59, ES wrote:
ES wrote:
On Saturday 18 June 2005 00:28, John W. Long wrote:
Ben Giddings wrote:
[#145730] What's the correspond method of PERL's DESTROY in ruby — "Yi Zhang" <yzhang@...>
Hello
[#145733] Confusion about gems and non-gems working together. — Lloyd Zusman <ljz@...>
Ever since I started installing packages via the gems mechanism, I have
[#145737] Why do arrays work this way? — Nigel Wilkinson <nigel@...>
Hi folks
[#145764] ruby on rails problem — "Ken Fettig" <kenfettig@...>
Hello, I have a Ruby on Rails question. I have used a layout in a
[#145779] Newbe questions... — "Chuck Brotman" <brotman@...>
In Ruby Is there a prefered (or otherwise elegant) way to do an inner &
[#145787] Syntax 1.0.0 — Jamis Buck <jamis@37signals.com>
INTRODUCING SYNTAX 1.0! IT'S EXPLOSIVE! IT'LL MAKE A REAL PROGRAMMER
[#145790] GC.disable not working? — Eric Mahurin <eric_mahurin@...>
From what I can tell, GC.disable doesn't work. I'm wanting to
Hi,
>>>>> "E" == Eric Mahurin <eric_mahurin@yahoo.com> writes:
Hello all,
dave wrote:
[#145823] Anybody using Ruby 1.6.x? — Timothy Hunter <cyclists@...>
With Ruby 1.8.3 on the horizon, should I continue to support building
[#145830] preventing instantiation — "R. Mark Volkmann" <mark@...>
What is the recommended way in Ruby to prevent other classes from creating
On 6/19/05, R. Mark Volkmann <mark@ociweb.com> wrote:
Quoting Gavri Fernandez <gavri.fernandez@gmail.com>:
R. Mark Volkmann wrote:
[#145846] irb without history? — Daniel Sche <uval@...>
Hello NG,
Take a look at:
well, I dont want to maintain history through the sessions
[#145862] trouble with sqlite-ruby — Lowell Kirsh <lkirsh@...>
I'm having trouble getting bind parameters to work. I'm getting errors
[#145870] Iterate with condition — G畸or SEBESTYノN <segabor@...>
Hi,
[#145879] x==1 vs 1==x — Gavin Kistner <gavin@...>
I'm against _premature_ optimization in theory, but believe that a
>>>>> "G" == Gavin Kistner <gavin@refinery.com> writes:
On Jun 20, 2005, at 7:23 AM, ts wrote:
On 6/20/05, Gavin Kistner <gavin@refinery.com> wrote:
Jason Foreman wrote:
[#145911] ruby9i dead? — rubyhacker@...
Is Ruby9i still an active project? I sent email to the owner
[#145941] Congrats to why_ — James Britt <james_b@...>
I don't recall seeing this mentioned here before, and I just read a post
[#145943] Chess Variants (II) (#36) — James Edward Gray II <james@...>
I don't want to spoil all the fun, in case anyone is still attempting
James Edward Gray II wrote:
On Jun 20, 2005, at 3:56 PM, Jim Menard wrote:
James Edward Gray II wrote:
Jim Van Fleet wrote:
On Jun 20, 2005, at 6:14 PM, Glenn Parker wrote:
[#145977] Ruby/REXML vs XSLT — John Carter <john.carter@...>
I'm just looking at 5000 lines of the gnarliest XSLT that generates
[#145987] Confusing code behavior in Rails — "szymon.rozga" <szymon.rozga@...>
I have a class in /project_dir/lib called Failure. Failure has one
[#145994] RMagick and RubyGems — Robert Mannl <ro@...>
Hi!
[#146003] Ruby and Java — Wayne Pierce <shalofin@...>
I have a vendor product with Java APIs that I need to write against
[#146023] HTML parsing as good as Perls. — TLOlczyk <olczyk2002@...>
First let me be very clear. I hate the language that Larry "should be
[#146038] 1. Ruby result: 101 seconds , 2. Java result:9.8 seconds, 3. Perl result:62 seconds — Michael Tan <mtan1232000@...>
Just new to Ruby since last week, running my same functional program on the windows XP(Pentium M1.5G), the Ruby version is 10 times slower than the Java version. The program is to find the prime numbers like 2, 3,5, 7, 11, 13... Are there setup issues? or it is normal?
Michael Tan wrote:
* Florian Frank <flori@nixe.ping.de> [2005-06-22 05:40:14 +0900]:
Jim Freeze said:
Ryan Leavengood wrote:
Glenn Parker said:
Ryan Leavengood wrote:
On 6/21/05, Glenn Parker <glenn.parker@comcast.net> wrote:
Florian Frank wrote:
Hey,
Keith Fahlgren wrote:
On Wed, 22 Jun 2005, Michael Tan wrote:
How about using a better algorithm than Eratosthenes sieve invented
Here's a version that skips even numbers:
[#146040] tk canvas question — Joe Van Dyk <joevandyk@...>
Hi,
On 6/21/05, Joe Van Dyk <joevandyk@gmail.com> wrote:
On 6/21/05, Joe Van Dyk <joevandyk@gmail.com> wrote:
From: Joe Van Dyk <joevandyk@gmail.com>
[#146064] rubyscript2exe — Joe Van Dyk <joevandyk@...>
Hi,
Joe Van Dyk said:
[#146074] Histogram-type Data — "Charles L. Snyder" <csnyder1@...>
Hi,
[#146087] Runtime vs Development — gwtmp01@...
On Wed, 2005-06-22 at 12:06 +0900, gwtmp01@mac.com wrote:
Matthew Berg said:
[#146123] traits-0.3.0 — "Ara.T.Howard" <Ara.T.Howard@...>
On Wed, Jun 22, 2005 at 09:18:13PM +0900, Ara.T.Howard wrote:
[#146143] How I can find out on which platform I am running (32/64 bits)? — "Joachim Just" <joachim.just@...>
[#146144] Newbee: recursively converting LF to CRLF and vice versa — Elliott <e.hmlhml@...>
Hello,
[#146169] spidering a website to build a sitemap — Bill Guindon <agorilla@...>
I need to spider a site and build a sitemap for it. I've looked
Bill Guindon said:
I have a site mapping tool I'm working on which does not yet read
i noticed webfetcher in RPAbase, haven't had a chance to play with it:
On 6/29/05, Gene Tani <gene.tani@gmail.com> wrote:
I was looking for somehting to trap 404-type errors, kind of like
[#146178] traits-0.4.0 - the coffee release — "Ara.T.Howard" <Ara.T.Howard@...>
Ara.T.Howard wrote:
On Thu, 23 Jun 2005, James Britt wrote:
On Thu, Jun 23, 2005 at 08:31:35AM +0900, Ara.T.Howard wrote:
Hello,
btw,
On Thu, 23 Jun 2005, George Moschovitis wrote:
[#146206] PostgreSQL Inserted OID — nexus <nexus@...>
Does anyone know how to get the inserted OID following an insert
[#146233] RMagick on Win — pavel.s.sokolov@...
Hi
[#146243] Packaging dillema — Joe Van Dyk <joevandyk@...>
Hi,
[#146248] Dead gateway detection — balcer <balcersk@...>
Is there some way to detect if gateway is dead?
[#146257] /dev/tty in windows — Wybo Dekker <wybo@...>
under linux I use
[#146263] Eclipse Weird Console Error — "Seago" <seagoj@...>
I'm not sure if anyone else is experiencing this. It's pretty much the
[#146296] ICFP 2005 Programming Contest — "Ryan Leavengood" <mrcode@...>
http://icfpc.plt-scheme.org/index.html
[#146325] REXML libraries and parsing issues — BA <lists@...>
First off, let me say right up front that I am a newbie wrt Ruby.
BA wrote:
[#146326] freeride debugger issue — "Chuck Brotman" <brotman@...>
I've been trying out Freeride and when I try to run my program using the
[#146327] Problems with Typo — Hal Fulton <hal9000@...>
Hi, all...
[#146328] string to Class object — "R. Mark Volkmann" <mark@...>
How can I create a Class object from a String that contains the name of a class?
On 6/23/05, R. Mark Volkmann <mark@ociweb.com> wrote:
Austin Ziegler wrote:
[#146349] FixedPt-0.0.1 — ptkwt@... (Phil Tomson)
[#146364] FastCGI: handling the caching of ruby scripts. — Jonas Hartmann <Mail@...>
FastCGIs idea of caching scripts on first startup is a great thing but:
[#146379] FSDB, Apache, FastCGI - ERROR: FSDB::Database::DirIsImmutableError — Jonas Hartmann <Mail@...>
when I run a script [1] from the command line, it works. it asks for
[#146380] Application-0.6.0 — Jim Freeze <jim@...>
CommandLine - Application and OptionParser
Great work, Jim! Looks like very quick way to get started on
* Eric Mahurin <eric_mahurin@yahoo.com> [2005-06-25 04:41:16 +0900]:
On Friday 24 June 2005 04:04 pm, Jim Freeze wrote:
Jim Freeze <jim@freeze.org> wrote:
* Levin Alexander <levin@grundeis.net> [2005-06-25 13:53:17 +0900]:
[#146391] ASP.NET vs Ruby on Rails — Stephen Kellett <snail@...>
HI Folks,
Hi Stephen,
Having written tens of thousands of lines of code in ASP.NET for
On 6/28/05, xmlblog@gmail.com <xmlblog@gmail.com> wrote:
[#146418] launching process and keeping track of pid — Joe Van Dyk <joevandyk@...>
Hi,
[#146419] Best way to parse/update HTML file? — "Bucco" <buc2@...>
Sorry for the newbie question. I am trying to find the best metod for
Bucco wrote:
[#146421] Text::Format 1.0.0 — Austin Ziegler <halostatue@...>
I am pleased to finally announce the release of Text::Format 1.0.0.
[#146425] speeding up Process.detach frequency — Joe Van Dyk <joevandyk@...>
Is there any way to speed up Process.detach? The ri documentation for
Hi,
Hi,
[#146437] optparse bug? — Joel VanderWerf <vjoel@...>
Hi,
[#146444] Defining a method vs aliasing it — leon breedt <bitserf@...>
Hi,
[#146452] Hash hidden in hash with default object — "Marcel Molina Jr." <marcel@...>
I observed this odd behavior when setting a hash to have as its default
[#146474] RubyGems Issue — Patrick Fernie <patrick.fernie@...>
Hi list,
[#146483] I saw the beauty of Ruby Re: 1. Ruby result: 101 seconds , 2. Java result:9.8 seconds, 3. Perl result:62 seconds — Michael Tan <mtan1232000@...>
Michael Tan wrote:
On 6/25/05, Florian Frank <flori@nixe.ping.de> wrote:
Joe Van Dyk wrote:
I think this shows the speed of my computer more than anything else:
For comparison, the port of your code to (less than elegant) C#.
Brad Wilson wrote:
On 6/26/05, Florian Gro<florgro@gmail.com> wrote:
My algorithmic ramblings gone unheard ... for performance language
[#146491] What do you want to see in a Sparklines Library? — Daniel Nugent <nugend@...>
This is sort of an interest gauging/feature request poll.
See what's already been done before you get too far.
Yup, seen the stuff on RedHanded, I was planning on writing a little
One thing that would make sparklines a lot more universally accessible to=
I'm doing that right now actually, I just want to add the ability to
Well... what does it do right now?
[#146508] RubyNuby Q: Howto Ri — Meino Christian Cramer <Meino.Cramer@...>
Hi,
[#146518] grouping/sorting [newbie question] — bdarcus@...
I'm trying to do something fairly simple that I understand how to do in
bdarcus@gmail.com wrote:
[#146535] newbie scope question — "Charles L. Snyder" <csnyder1@...>
Hi,
[#146536] Error using Net::SSH — "Amit Chitre" <amitchitre@...>
>From WinXP, I'm trying (for the first time) to connect to remote
On Jun 26, 2005, at 4:20 PM, Amit Chitre wrote:
[#146554] Caching eval() for reuse to gain performance ? — "Neville Burnell" <Neville.Burnell@...>
Hi,
[#146560] PDF::Writer Boggles — Brian McCallister <brianm@...>
Neither Austin nor myself has been able to diagnose this one.
[#146562] RCM - A Ruby Configuration Management System — Michael Neumann <mneumann@...>
Hi all,
Hi Everyone,
Zed A. Shaw wrote:
On Wed, 2005-06-29 at 05:42 +0900, Michael Neumann wrote:
Zed A. Shaw wrote:
[#146568] pythonchallenge level5 and pickle — Michael Tan <mtan1232000@...>
hi,what is Ruby's equivalent module of the Python
[#146569] Ruby 1.8.3 preview1 Build Error on AIX 5.2 — "Philippe Lucas" <philippe.lucas@...>
Hello,
[#146573] redirecting STDOUT — Joe Van Dyk <joevandyk@...>
Why doesn't this work?
[#146580] Adding a header to a SOAP request — David Teare <dteare@...>
Hi all,
[#146617] bit/byte operations — Meino Christian Cramer <Meino.Cramer@...>
Hi,
[#146630] yield does not take a block — Daniel Brockman <daniel@...>
Under ruby 1.9.0 (2005-06-23) [i386-linux], irb 0.9.5(05/04/13),
Yukihiro Matsumoto <matz@ruby-lang.org> writes:
Hi,
Eric Mahurin said:
* Ryan Leavengood <mrcode@netrox.net> [2005-06-29 05:49:45 +0900]:
In article <20050628215637.45029.qmail@web41129.mail.yahoo.com>, Eric
--- Jeremy Henty <jeremy@chaos.org.uk> wrote:
Eric Mahurin wrote:
Eric Mahurin wrote:
Eric Mahurin wrote:
[#146647] Problem in binding IWidget combobox to event — "Markus Liebelt" <markus.liebelt@...>
Hello all together,
[#146648] Ask for help about Regexp — Eric Luo <eric.wenbl@...>
Hi ,
[#146673] mkmf and oracle problem - not detecting header files — Daniel Berger <Daniel.Berger@...>
Hi all,
Have you set your ORACLE_HOME environment variable to the directory
[#146676] Rails: Seeing Apache Page instead of the Congratulations Page — "Jenjhiz" <jenjhiz@...>
Hello,
[#146677] SciTE — Jonas Galvez <jonasgalvez@...>
Can anyone share or point me to a decent syntax highlighting file for
[#146700] Anything in new Eclipse for Rubyists? — "jfry" <jeff.fry@...>
Hey there, I know that a number of folks on the list use Eclipse as
I tried multiple times to install the ruby plugin for eclipse 3.1. It's
Nope! I couldn't get it to work either...
On Tue, 28 Jun 2005 19:36:25 -0400, Amarison wrote:
JZ wrote:
[#146709] running unit tests in graphical mode — Joe Van Dyk <joevandyk@...>
Hi,
Joe Van Dyk ha scritto:
On 6/29/05, gabriele renzi <surrender_it@remove-yahoo.it> wrote:
Quoting Joe Van Dyk <joevandyk@gmail.com>:
[#146731] Qt 4.0 ruby bindings? — Ezra Zygmuntowicz <ezra@...>
I just noticed that Qt 4.0 has been released. http://
[#146745] heretix-user ML? — jm <jeffm@...>
Is the mailing list currently operational?
[#146751] Smart(er) platform detection — Matt Mower <matt.mower@...>
Hi folks,
[#146761] Re: Smart(er) platform detection — "Berger, Daniel" <Daniel.Berger@...>
> -----Original Message-----
[#146766] regex and gsub quest — "Charles L. Snyder" <csnyder1@...>
Hi
[#146773] Programmers Contest: Fit pictures on a page — hicinbothem@...
GLOSSY: The Summer Programmer Of The Month Contest is underway!
On Wednesday 29 June 2005 10:30 am, hicinbothem@ems.att.com wrote:
marcus baker wrote:
Karl, I think you are (incorrectly) assuming that all the pictures have
[#146776] Patch to delegate.rb — christophe.poucet@...
Hello,
[#146791] Agile Development with Ruby on Rails — "Jenjhiz" <jenjhiz@...>
Hello,
On 6/29/05, Jenjhiz <jenjhiz@yahoo.com> wrote:
Joe Van Dyk wrote:
[#146815] shift vs. slice!(0) and others — Eric Mahurin <eric_mahurin@...>
I just did some benchmarking of various ways to insert/delete
Eric Mahurin wrote:
Nikolai Weibull wrote:
[#146820] Tk text widget and tk_textCut — Nigel Wilkinson <nigel@...>
Hi folks
[#146854] Can you use Erb outside of Apache? — "Kyle Heon" <kheon@...>
I hope this doesn't sound like an odd question but as I'm learning Ruby I'm
Nevermind. I figured it out.
[#146885] code coverage tools — Pierre Gambarotto <pierre.gambarotto@...>
I want to know if my unit tests are really testing all of my code.
[#146892] win32ole object creation failure — "Axel" <anieden@...>
Hello, Rubyists!
[#146897] Time.parse unavailable — Karol Hosiawa <hosiawak@...>
Hello,
[#146920] debugger issue — pat eyler <pat.eyler@...>
I'm running into an unexpected issue with the debugger, and I'm hoping someone
[#146929] Escape sequences for unicode chars? — Michael Schuerig <michael@...>
[#146933] Rails day results are in — Carl Woodward <cjwoodward@...>
Hi everyone,
[#146934] stupid TCP — Joe Van Dyk <joevandyk@...>
require 'socket'
Ruby Weekly News 30th May - 5th June 2005
http://www.rubyweeklynews.org/20050605.html
Ruby Weekly News 30th May - 5th June 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
--------------------------
RubyGems and the FreeBSD ports tree
-----------------------------------
Jonathan Weiss is working on integrating RubyGems with the FreeBSD
ports tree. He requests testers.
Stats comp.lang.ruby
--------------------
Balwinder Singh Dheeman posted the weekly statistics for
comp.lang.ruby. 70% of the posts came from the ruby-talk mailing list
(which is bi-mirrored with the newsgroup).
Tom Copeland followed up with a [graph] showing the number of users
added to [RubyForge] each month.
Google Summer of Code update
----------------------------
David A. Black announced that "Unfortunately, it's official that the
Google Summer of Code program is not accepting any more sponsoring
organizations, so Ruby Central will not be able to serve in that
capacity."
See also the threads [Google pays students to develop open source]
and [Google Summer of Code: status of Ruby Central].
As Phil Tomson noted, Google publically announced the program and
opened the application process on the 31st of May. The deadline for
applications was the next day: June 1st.
Possible training classes for Ruby programming and for Ruby on Rails
--------------------------------------------------------------------
Curt Hibbs: "Later this year, there could be a commercial offering of
training classes for both the Ruby Programming Language and also for
Ruby on Rails. I'm not directly involved with this, but I's like to do
what ever I can to help make sure it happens."
He requests those interested to contact him via his blog so he can
guage the level of support.
Gambit Codefest
---------------
Greg Brown (with James Edward Gray II) announced "We are currently in
Day 2 of a 9 day codefest to complete the Gambit gaming library which
won a RubyCentral grant this year. I created a [livejournal account]
to keep everyone up to date on the latest news from the codefest."
He also linked to the CVS repository, "which is being updated just as
fast as we can write the stuff."
RubyGems HackFest Weekend #1 is complete!
-----------------------------------------
In other fest've news, Ryan Davis announced that the first weekend of
the RubyGems HackFest was complete.
"We started our RubyGems Hackfest Saturday, with a turnout of 6
people. Five were regulars from Seattle.rb, and we even got someone up
from Portland!"
A "package listing command extension" was added, and .gemrc now
supports .cvsrc-style command option specifications. RubyGems was
changed to no longer require Date and lots of unit tests were written.
require_gem is around two times faster than before.
Ruby User Groups
----------------
Omaha Ruby User's Group
-----------------------
Blaine Buxton announced the second meeting of the Omaha Ruby User's
Group, held on June 6 2005 at the Eagle Run Shopping Center.
June 5 Toronto Ruby User Group meeting
--------------------------------------
Mike Stok foretold that the Toronto Ruby User Group would have their
monthly meeting on Sunday June 5th at Sushi Rock.
Austin.rb - aka ARCTAN
----------------------
Jim Freeze greeted "fellow Austinites and Texans", announcing ARCTAN's
weekly Ruby lunch at Chez Zee. It is "this Thursday at 11:20".
Reminder: Hamburg.rb meeting tonight
------------------------------------
Stephan K舂per reminded those in Hamburg, Germany to come to the
Hamburg.rb meeting on June 1st.
Quote of the Week
-----------------
The thread [Ruby-VTK-0.2.0]:
Seiya Nishizawa:
| Ruby-VTK is a ruby wrapper of VTK (The Visualization
| Tollkit: http://public.kitware.com/VTK/).
Brian Schrer:
| Very good thing and the timing is perfekt! I'll go
| ahead and investigate it right away. How did you know I'd need this
| today ;)
Seiya:
| Yes, I can use telepathy to get your thinking :-)
|
| I developed it, but I don't test it much. You have to sacrifice
| yourself for debuging. Thank you!!
Josef `Jupp' SCHUGT noticed the "Tollkit", and gave dictionary definitions
of "toll and "tool":
| I send this message to the list because not only Seiya Nishizawa may
| benefit from this:" ... "As a rule of thumb, two identical vowels
| mean a long vovel - this is pretty much the same in Japanese.
Lyle Johnson:
| What is a "vovel"?
Mark Probert:
| I think that it is a little creature, much like a shrew,
| that spends much of its time seaching for food, its favourite being
| worms, that spend much of their lives a little underground.
| The vovel hunts for its prey by placing its long flat nose nose in
| into the ground and then flicking back strongly with its head."
Joel VanderWerf:
| "Ok, I'm beginning to appreciate the lore of the
| "vovel", but what is a "nose nose"?
|
| Oh, well, as long as it "flicks like a vovel", it doesn't really
| matter how the nose is implemented, does it?"
Link of the Week
----------------
TrimJunction: http://www.trimpath.com/project/wiki/TrimJunction
by Steve Yen.
It's a ("< 10%" completed) clone of Ruby on Rails, written in a mixture of
client and server-side Javascript.
Unlike Rails (and other web application frameworks) TrimJunction will be
designed around "offline, occasionally connected databases". It will do as
much on the client as possible and only synchronise with the server when
it needs to.
(Validation, for example, is done first on the client, and only on the
server when you synchronise.)
"The Junction project will be exploring this effect to see if lightweight
disconnected web applications and re-synchronizing data on reconnect are
possible."
Steve's blog at http://www.trimpath.com/blog/ also contains a number of
interesting ideas about Javascript.
(Thanks to Martin DeMello for suggesting this link.)
Threads
-------
Interesting threads included ...
Whiteout (#34)
--------------
James Edward Gray II wrote this week's [Ruby Quiz].
"Perl programmers have all the fun. They have an entire section of the
CPAN devoted to their playing around. The ACME modules are all fun little
toys that have interesting if rarely very useful effects."
The quiz is to port ACME::Bleach to Ruby. It is used to translate programs
into whitespace (with an initial require 'whitespace' line so that they
are still executable).
Package, a future replacement for setup.rb and mkmf.rb
------------------------------------------------------
Christian Neukirchen started thinking about whether the Ruby build and
install scripts mkmf.rb and setup.rb could be improved.
"I have looked into how other languages install source and compile
extensions, and the library I liked best so far is Python's distutils."
An example distutils setup script:
----
from distutils.core import setup
setup (name = "Distutils",
version = "0.1.1",
description = "Python Module Distribution Utilities",
author = "Greg Ward",
author_email = "g...@python.net",
url = "http://www.python.org/sigs/distutils-sig/",
packages = ['distutils', 'distutils.command'])
----
Christian intends to write a Ruby equivalent of distutils, calling it
"Package".
"But now, I'll ask you: Are you satisfied with the way installing Ruby
extensions and libraries works? Do you think there is a place for Package?
Do you have further improvements or can provide alternative ideas?"
Austin Ziegler noted that if Package was going to deal with binary
extensions then it "absolutely *must* work perfectly well on Windows. It
has to work better than setup.rb, and setup.rb works mostly well for that.
Gems, much less so."
Christian added, "Package will try to provide a more clean (no icky
globals, for example) API for the things mkmf.rb does. I think I'll start
with a recent mkmf.rb and refactor it heavily."
ruby-dev summary 26128-26222
----------------------------
Minero Aoki posted the latest English summary of the Japanese list
ruby-dev.
It included the release of Ruby 1.8.3 preview1, issues with hashing
Hashes, and a suggestion by WATANABE Hirofumi that ropt be bundled with
Ruby and preferred over optparse.rb since the latter is too hard to use.
The latter statement induced Aredridel to say that he thought it was
actually the optparse library that had the easier API - "ropt looks more
difficult, even if it is more succinct."
Eric Hodel said that optparse requires too much typing for a program that
only needs a few options, however `a slow loris with poison elbows' posted
the following example to counter:
----
require 'optparse'
require 'ostruct'
opt = OpenStruct.new
p = OptionParser.new {|p|
p.on('-c C') {|o| opt.color = o}
p.on('-i I', Integer) {|o| opt.int = o}
}.parse!
puts "color is: #{opt.color} (#{opt.color.class})"
puts "integer is: #{opt.int} (#{opt.int.class})"
----
RubyScript2Exe and GUI toolkits
-------------------------------
Erik Veenstra began, "I know that some of you use RubyScript2Exe in
combination with a GUI toolkit, like TK, FXRuby, WxRuby, RubyWebDialogs
and others."
"Since I can't test all combinations of RubyScript2Exe, OS-versions,
Ruby-versions and toolkits, I need your help to build a list of success
stories, failures and tweaks."
There were several replies, including one from Jamey Cribbs; "I have used
RubyScript2Exe in several FXRuby applications. The latest and biggest is
an I.T. Infrastructure Management System, which is a FXRuby app going
against an Oracle database. Using RubyScript2Exe, I can create one
executable that is a little over 2MB in size."
Calling a procedure with dinamyc name
-------------------------------------
Marcelo Paniagua had the code table.client_id (arising from his use of the
KirbyBase embedded database management system). How do you use such an
interface when the fieldname is dynamic? (Stored in a String.)
Francis Hwang enlightened:
----
field = 'client_id'
client_id = table.send field
----
Building a business case for Ruby
---------------------------------
Joe Van Dyk attempted to introduced Ruby at work and was told
| XXXX already has Product Standards for Python and Perl as
| Scripting/Dynamic languages. And for Java as a full programming
| language.
|
| Ruby offer nothing significant not found in these XXXXX Standard
| languages, and an addition language just adds variation.
Joe: "Boo, I say! Boo!"
What could Joe say to convince them to allow Ruby?
There were replies giving some of the advantages (and differences) of Ruby
relative to Python and Perl, but also some discussion on the benefits of
additional languages in general.
James Britt wrote:
| Boo, perhaps, but try turning this around. Suppose Ruby, not Python,
| were already on The List, and someone comes to you to make a case for
| adding Python.
|
| What do want to hear to convince you? What are you tossing back when
| told of Zope, or Twister, or the extensive Python XML tools, or the
| amount of documentation, or how it's a great beginners' language, or
| whatever Pythonistas think makes a compelling case?
To Joe's request for "Examples of existing Ruby usages in large scale
applications", Ben Giddings pointed to the [RealWorldRuby] page on the
RubyGarden wiki, and added "I think the NASA and NOAA stuff are some of
the best sources for real world, large-scale stuff. I'm sure Ara will tell
you more about what he's doing."
Lothar Scholz: "You can add BMW here. Sorry if i tell you more i must
shoot you."
Dan Fitzpatrick:
| We build large applications for "huge companies that [fly] really big
| expensive things". We switched to Ruby in January of this year and have
| not looked back since. Ruby is an excellent platform for large-scale
| application development in my opinion because of the excellent namespace
| system, speed of development, code maintainability, and speed of
| execution. Our Ruby system currently services over 200 airlines (all 10
| of the top 10), 800 aircraft part manufacturers and repair facilities,
| and more than a thousand part suppliers. We deliver data on 350,000,000
| inventory items and 2 million repair capabilities to 8,000 users.
The last word goes to Ben, who said
| More tools can be a better thing (until your toolbelt gets so heavy
| that it pulls your pants down and starts showing butt-crack).
Interesting discovery...
------------------------
Austin Ziegler ran Shugo Maeda's new profiler over PDF::Writer with a
sample PDF, and found that about 3% of the time was in Kernel.respond_to?;
there were twenty million such calls. Almost all of these were arising
from Marshal.dump.
Austin's guessed that Marshal was using respond_to? to check whether
custom dumpers were defined.
This led people to discuss two methods for checking whether a method
exists; respond_to? or calling it and rescuing NoMethodError.
It was felt that whichever performed better would depend on whether the
method `usually existed' or `usually did not exist'.
Eric Hodel said that in any case, the NoMethodError technique was
incorrect:
----
class C
def a; Object.no_such_method; end
end
----
The NoMethodError would falsely conclude that C#a does not exist.
(On the other hand, respond_to? can also be incorrect because of
method_missing.)
ternary operator confusion
--------------------------
Belorion didn't understand why 'true ? a.push 1 : a.push 2'
was a syntax error.
Phrogz said that 'true ? a.push(1) : a.push(2)' works.
This led to a discussion over the merits of Ruby having optional
parentheses for method calls.
Eric Mahurin thought that the `(' and `)' should be mandatory. "Why do
people feel the need to drop the ()? I didn't like it in Perl and I don't
like it in Ruby. Do people just want something that is kind of like shell
syntax?"
ES said that "uniform access" was one reason - it allows you to write
foo.bar instead of foo.bar() or foo.get_bar() - without alluding to
whether bar points `directly' to an instance variable or does something
more.
Charles Hixson said that this could have been achieved by making the
parentheses optional only when there were zero parameters.
Austin Ziegler gave another reason "I use it in PDF::Writer because it
makes certain parts feel more like a DSL (domain specific language) than a
program."
Hal Fulton said "Personally I like poetry mode in many cases (not all)."
He asked if Eric would want to have to write code like the following:
----
attr_reader(:foo)
loop() { puts "I'm an infinite loop!" }
raise(AnException)
throw(:something)
exit()
----
Ruby in C#
----------
PD: "I am currently working on a project in C# which requires the use of a
Ruby interpreter. I also need to extend Ruby to interact with some methods
built into the host application. So I want to know if all this is possible
and if so, how would I go about doing it?"
Between them, Mark Hubbart and James Britt listed the options, two of
which were bridges between the Ruby and .NET worlds and one which is an
experimental Ruby interpreter written in C#.
Ruby/Odeum vs. Lucene: Part 2
-----------------------------
Zed A. Shaw updated his performance analysis of full-text search engines,
comparing Ruby/Odeum and Lucene.
"The gist of the analysis is that Ruby/Odeum is slower than Lucene, but
uses a lot less memory."
New Releases
------------
eric3 3.7.0
-----------
Detlev Offenbach enhanced Eric3, an IDE for Ruby and Python.
New features include a Ruby class browser, support for generating KDE
UIs, a debugger and syntax highlighting for Ruby.
AllInOneRuby 0.2.3
------------------
Erik Veenstra released AllInOneRuby 0.2.3. This tool is a
"just-in-time and temporary installation of Ruby" - a compressed
executable for Windows, Linux or MacOS X that includes the Ruby
interpreter and runtime libraries.
RubyScript2Exe 0.3.5
--------------------
Erik Veenstra also updated a related project - RubyScript2Exe. This
one transforms a Ruby application into a standalone, compressed
executable for Windows, Linux or MacOS X that bundles your code
alongside the Ruby interpreter and runtime libraries.
RubyWebDialogs 0.2.0
--------------------
Erik Veenstra put out the latest version of RubyWebDialogs, a way of
implementing a "graphical user interface" using an API that underneath
uses HTML and an internal web server. Your web browser is then the
frontend for the application.
ShortURL 0.2.0
--------------
Vincent Foley slipped out ShortURL 0.2.0 then 0.3.0. ShortURL is a
library that uses the URL shortening services rubyurl and tinyurl.
See also his initial announcement [TinyUrl class] and follow-up
[ShortURL 0.0.1].
newsstats 1.1.2 (pre-release) is released
-----------------------------------------
Dr Balwinder S Dheeman released a pre-release (!) of newsstats, a tool
for computing weekly statistics for a newsgroup.
librend 0.0.1
-------------
Ilmari Heikkinen introduced "an OpenGL scenegraph engine written
mostly in Ruby with some critical sections inlined in C."
"Librend is a simple scenegraph engine on top of OpenGL, SDL, Imlib2,
GLEW and Cairo that aims to make it quick and easy to write apps that
mix 2D, 3D and vector graphics."
There was a lot of interest in the project.
parseargs-0.0.0
---------------
Ara.T.Howard released the initial version of parseargs, "a library
that faciltates the parsing of arguments and keywords from method
paramters, setting of default values, validation, contraints via class
based or duck based typing, and coercion/convincing to type/ducktype
when possible."
Observing the version number, Hal Fulton quipped "Hmm, I think I used
a prior version of it... ;)"
Joel VanderWerf:
| Was that 0.0.0.0, or 0.0.0.0.0? ;)
|
| Ruby folks are so conservative in version numbering that it
| wouldn't be surprising to see negative versions...
| "Your library looks nice, but I'm not going to use use it until
| it goes positive."
RubyLexer 0.6.2
---------------
Caleb Clausen announced version 0.6.2 of RubyLexer, "a hyper-correct
stand-alone lexer of Ruby in Ruby."
Bugs were fixed and error handling improved. Input can now come from a
String. Performance enhancements were also added.
tree-0.1
--------
dave released a dRb-based application for KDE that allows you to share
YAML data over a secure network. He plans to use the experience of
creating this application to write a QtRuby tutorial.
Ruby-VTK-0.2.0
--------------
Seiya Nishizawa issued Ruby-VTK-0.2.0, a wrapper for the VTK
Visualization Toolkit, "an open source, freely available software
system for 3D computer graphics, image processing, and visualization."
See also Quote of the Week.
Nitro + Og 0.18.1
-----------------
George Moschovitis released new versions of Nitro and Og. Nitro is a
web application framework, while Og is an object-relational mapper.
Support for WEBrick was improved. Thread safe mode was "added again"
in Og. Error reporting was improved and template overloading added.
Plus more...
Ruby/GLEW 0.0.1
---------------
Ilmari Heikkinen announced the first public release of Ruby/GLEW with
a "yah!"
"Ruby/GLEW provides bindings for the OpenGL Extension Wrangler
Library", "making it possible to use OpenGL extensions like shaders
and rectangular textures from Ruby."
Imlib2-Ruby 0.5.1
-----------------
Paul Duncan fixed a memory leak and improved error reporting in
Imlib2-Ruby.
"Imlib2 is a fast image rendering library used by the Enlightenment
window manager and the Feh image viewer".
Rubilicious 0.1.5
-----------------
Paul also released the latest bindings for the social bookmarking site
del.icio.us, Rubilicious.
Numerous bugs were fixed, plus support was added for tag bundles and
custom HTTP User-Agent strings.
Elsewhere he wrote "You have no idea how confusing it was on my poor
fingers and brain to release one program with a version of 0.5.1, then
immediately release a different program with a version of 0.1.5."