[#154556] Ruby and WSH How? — "Andres M. Hidalgo" <ahidalgo@...>
Any ideas or links to Ruby and WSH(Windows Scripting Host)?
[#154577] Code Sharing - Units (abandoned child) — Gavin Kistner <gavin@...>
Last night I was sleepily trying to calculate the sustained transfer
[#154582] how to read binary file with char 0x1A — hsun <sunh11373@...>
Hi,
[#154598] implementing the "each" method for own classes — Philipp Huber <huber.philipp@...>
hello!
Philipp Huber wrote:
actually i did test it with a queue filled with a few elements. as you
[#154620] Word Chains (#44) — Ruby Quiz <james@...>
Gavin Kistner asked that I try timing the quiz solutions this week. I did
Ruby Quiz wrote:
On Sep 1, 2005, at 11:43 AM, Simon Krer wrote:
[#154637] Email classes — tsuraan <tsuraan@...>
Has anyone written email parsing classes similar to those found in the
[#154642] palindrome finder — Josh Charles <josh.charles@...>
I've been working on this piece of code and it's starting to drive me
[#154659] Builder Question — Keith Fahlgren <keith@...>
Hey,
[#154704] Ruby compilers (for DSP processors and alike) — Bart Masschelein <bart.masschelein@...>
Hi guys,
[#154721] Hamburg.rb in September — Stephan K舂per <Stephan.Kaemper@...>
Hi all,
[#154731] MUD Client (#45) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
[#154732] rpc (not xml-rpc) — Vladimir Konrad <bouncer@...>
is rpc possible with ruby?
[#154733] Ruby-specific performance heuristics? — Hugh Sasse <hgs@...>
I've been doing some stuff with CSV recently, having data in one
On Fri, 2 Sep 2005, Hugh Sasse wrote:
[#154773] MouseHole 1.1 -- rose-colored spectacles for the Web — why the lucky stiff <ruby-talk@...>
MouseHole 1.1 is out. If you're unfamiliar with it, that's okay because
[#154775] Idiomatic conversion of yielding block to array — David Brady <ruby_talk@...>
So I have a function that generates like 300 lines of text and I want to
David Brady <ruby_talk@shinybit.com> wrote:
Levin Alexander wrote:
Simon Krer wrote:
On 9/3/05, Simon Krer <SimonKroeger@gmx.de> wrote:
Levin Alexander wrote:
On 9/2/05, Simon Krer <SimonKroeger@gmx.de> wrote:
Good heavens, no! Neither of those are thread safe. Criminy!
Jacob Fugal wrote:
On 9/2/05, Simon Krer <SimonKroeger@gmx.de> wrote:
[#154825] gmailer-0.0.8 released — "Park Heesob" <phasis@...>
GMailer 0.0.8 Released
[#154833] Lexical Casts with Ruby — kingruedi@... (Rüdiger Sonderfeld)
Hello,
On Sun, Sep 04, 2005 at 12:16:26AM +0900, R??diger Sonderfeld wrote:
--- Paul Brannan <pbrannan@atdesk.com> wrote:
[#154843] Newbie Q: Self-Testing Ruby Files (Double Assignment to Constants) — "ded" <ded-google@...>
I like to make class files self-testing and can do so with the
[#154853] How to get REXML to return items in order?? — "ted" <tedPLEASE-NO-SPAM-95050@...>
Hi,
[#154861] Kerberos module for ruby? — snacktime <snacktime@...>
Is there a kerberos module anywhere for ruby? I wasn't able to find anythin=
[#154868] Idea about Test::Unit — gabriele renzi <surrender_it@...>
Hi gurus and nubys,
I've gotten tired of this verbosity myself and have started playing
"Trans" <transfire@gmail.com> writes:
[#154872] windows shell — Gaston Garcia <gaston.garcia@...>
Is there anyone here that uses Windows XP and uses a windows shell=20
Gaston Garcia <gaston.garcia@gmail.com> wrote:
Robert Klemme ha scritto:
On 9/4/05, Robert Klemme <bob.news@gmx.net> wrote:
On Sep 4, 2005, at 6:29 PM, Austin Ziegler wrote:
Austin Ziegler wrote:
On 9/5/05, Charles Plager <cplager+news@physics.ucla.edu> wrote:
Austin Ziegler wrote:
[#154874] params v.s. @params in rails? — "Barry" <rubyrails@...>
Both work in my controller class, so I am wondering what's the
Hi --
Not really. In this particular case, params is simply an accessor
[#154915] Making my Regex less greedy? — "luke" <l.d.u.n.c.a.l.f.e@... (dot)>
[#154920] Help me clean up this method — "Vincent Foley" <vfoley@...>
Hello guys,
On Mon, 5 Sep 2005, Vincent Foley wrote:
On Fri, 23 Sep 2005, Daniel Berger wrote:
Hi,
On Fri, 23 Sep 2005 nobu.nokada@softhome.net wrote:
Hi,
[#154954] Encoding hell — Damphyr <damphyr@...>
OK, I am officially frustrated/lost/bewildered (take your pick) with all
On Mon, 2005-09-05 at 22:34 +0900, Damphyr wrote:
Joshua Haberman <joshua@reverberate.org> writes:
[#154997] Change Binding of a Proc — "Trans" <transfire@...>
Is there any way to change the binding of a proc? I'm defining a proc
Trans schrieb:
[#155018] Rake 0.6.0 Released — Jim Weirich <jim@...>
= Rake 0.6.0 Released
Jim Weirich wrote:
On Tuesday 06 September 2005 12:00 am, Joel VanderWerf wrote:
Jim Weirich wrote:
On Tuesday 06 September 2005 01:21 am, Joel VanderWerf wrote:
Jim Weirich wrote:
On Tuesday 06 September 2005 11:39 pm, Joel VanderWerf wrote:
On Tue, 6 Sep 2005 09:44:43 +0900, Jim Weirich <jim@weirichhouse.org>
[#155020] Efficient Object Reconstruction? — Austin Ziegler <halostatue@...>
I have a problem, and it's been bugging me for a while, so I thought
[#155032] ZIP: Writing binary file fails — Dmytro Bablinyuk <dmytro.bablinyuk@...>
Hi,
[#155043] Poetry Jam 05: A Ruby Octet — Devin Mullins <twifkak@...>
A sleepless night reading way too many blogposts (and a bit high off my
Cute... but do they run?
Trans wrote:
On 9/6/05, Trans <transfire@gmail.com> wrote:
[#155045] Newbie Mixed Bag — doconnel@... (doc)
Excuse this mixed bag but to me they all come under the heading "help me
On 9/6/05, doc <doconnel@gmail.com> wrote:
[#155064] Sorted arrays — <ruby@...64.com>
I'm a relative newcomer to Ruby. Most of my experience is in Delphi. And in Delphi one of the most commonly-used classes is TStringList, which is sort of analogous to ruby's Array (Delphi also has dynamic arrays and static arrays). TStringList has a property called Sorted, which if set to True makes it possible to insert strings into the list and have it maintain them as a sorted list (without having to re-sort it each time). Then you can use the IndexOf method (or the Find method) to do a binary search on the list, so you can quickly find the element you're looking for. My question is whether Ruby has anything like this. It seems like one could create a descendant of Array that does this.
ruby@danb64.com wrote:
On Wed, 7 Sep 2005, ruby@danb64.com wrote:
On Wed, 7 Sep 2005, Hugh Sasse wrote:
[#155077] Ruby Debugging Article at IBM Developerworks — pat eyler <pat.eyler@...>
http://www-128.ibm.com/developerworks/edu/os-dw-os-distruby-i.html
[#155079] ruby style blocks in java — Martin Ankerl <martin.ankerl@...>
Is there a nice way to implement Ruby-style blocks in Java? I have to
[#155085] Install failure on Mac OS X v10.4.2 — Dan Hinz <dhinz@...>
Upgraded to Mac OS X v10.4.2 and Xtools v2.0 over the weekend.
[#155117] Simple RSS for Ruby — "Lucas Carlson" <lucas@...>
I have just released a new library for Ruby:
[#155120] Units for Ruby — "Lucas Carlson" <lucas@...>
I have also created a new library to add units to numbers in Ruby:
On 9/6/05, Lucas Carlson <lucas@rufy.com> wrote:
Lucas Carlson wrote:
[#155127] Rio 0.3.4 — "rio4ruby" <rio4ruby@...>
New and Improved -- Rio 0.3.4
rio4ruby wrote:
Do people seriously like all these examples in the announcement? I really think this kind of information belongs on a web page showing you how to use it.
Lloyd Zusman wrote:
[#155146] Class constant methods — Bret Pettichord <bret@...>
In several cases, i find myself wanting to create constants for a set of
[#155147] Harp? — "curtis" <curtis.edmond@...>
Just wanted to ask a real quick basic noob question, in some posts I
[#155156] memoize — horndude77@...
Is there any good memoize library out there? A quick look for one
[#155180] Embedding Ruby into C — Dennis Schridde <devurandom@...>
Hi!
[#155181] Need help finding decent IDE/development environment for Windows — "Paul Dix" <paulcdix@...>
I've just started playing around with ruby on rails and by association,
On 9/7/05, Paul Dix <paulcdix@gmail.com> wrote:
Paul Dix wrote:
On 9/7/05, graham <fghfghfh@homr.vom> wrote:
> You could ask them why they need all that IDE stuff for developing in Ruby.
On Thu, Sep 08, 2005 at 02:36:29AM +0900, graham wrote:
Edward Faulkner wrote:
On Sep 7, 2005, at 6:56 PM, graham wrote:
I have to say, I agree that part of what makes Ruby special is that itdoesn't need an IDE to be efficient (*cough* *cough*, Java!). Ipersonally use JEdit for my Ruby work (well, learning it at least),and while I'd love something with more autocomplete abilities andbetter syntax checking, that's it. Btw, that's neat about NOAA usingRuby!
graham wrote on 9/7/2005 7:56 PM:
[#155214] unsubscribe — smg <smgilbert@...>
unsubscribe
[#155230] weird result when updating an array element — Nelson Owen <nowen@...55.com>
Given the code below, only one element in @ver should be changed,
[#155236] Ruby Conference Hotel — Matt Lawrence <matt@...>
ACK! The hotel is sold out. Any suggestions?
[#155239] FileTest.directory?( x ) weird behavior — Josh Charles <josh.charles@...>
I have a bit of code I'm working on where I need to seperate the
[#155240] acgi-0.0.0 — "Ara.T.Howard" <Ara.T.Howard@...>
[#155245] RubyGems Statistics — James Edward Gray II <james@...>
I'm giving a Ruby introduction speech at the local university this
[#155271] soap4r and ASP.NET problems — Pete Elmore <pete@...>
Hello,
I had some problems with soap4r and asp.net too. Try the latest
[#155272] sharing memory in ruby — "Ara.T.Howard" <Ara.T.Howard@...>
[#155274] myriad/event comment (was RE: [ANN] Rio 0.3.4) — Pe, Botp <botp@...>
Zed A. Shaw [mailto:zedshaw@zedshaw.com] wrote:
[#155291] Re: Need help finding decent IDE/development environment for Windows — Pe, Botp <botp@...>
jussij@zeusedit.com [mailto:jussij@zeusedit.com] wrote:
[#155303] The Laziest Variable in the Whooole World — Daniel Nugent <nugend@...>
Hello fellow Rubyists,
[#155308] Problem with popen on windows — "Kroeger Simon (ext)" <simon.kroeger.ext@...>
Hi all,
Kroeger Simon (ext) wrote:
I second this and have battled it numerous times. Finally, I've just given=
I just found a fix that works for me.. I hope this helps someone else out...
[#155314] KirbyBase 2.3 beta 1 — Jamey Cribbs <cribbsj@...>
I would like to announce the first beta of version 2.3 of KirbyBase, a
[#155318] Banging head against the wall.. — "Graham" <gandalfmeister@...>
Quick question: I just need another set of eyes on this as I cannot see
[#155327] general performance question — Brian Le Roy <brian@...>
I'm running top and when I run my app - I see the user CPU utilitization
Brian Le Roy wrote:
I am doing some database queries using the MySQL-Ruby library, not DBI.
[#155364] KirbyBase — rubyhacker@...
I'm posting from work, but will try to follow up in more
It sounds interesting to me. Ask Jamey.
Jamey Cribbs wrote:
rubyhacker@gmail.com wrote:
On Monday 12 September 2005 04:11 pm, Jamey Cribbs wrote:
Randy Kramer wrote:
On Monday 12 September 2005 17:06, rubyhacker@gmail.com wrote:
Kevin Brown wrote:
rubyhacker@gmail.com wrote:
Logan Capaldo wrote:
On 9/14/05, Jamey Cribbs <cribbsj@oakwood.org> wrote:
On 9/14/05, Logan Capaldo <logancapaldo@gmail.com> wrote:
[#155365] File.mtime <=> DateTime.strptime() — Hugh Sasse <hgs@...>
I'm trying to compare how new a file is with the header obtained
On Fri, 9 Sep 2005, Hugh Sasse wrote:
[#155369] compiling ruby on red hat linux — "Philip J. Mikal" <philip_mikal@...>
Hi,
On Fri, 9 Sep 2005, Philip J. Mikal wrote:
Thanks for the suggestion, but same results as before:
[#155372] RGSS — Dirk Meijer <hawkman.gelooft@...>
hello everyone,
[#155386] Rails and Code Tables — "rmmcgr" <richard.mcgrath@...>
Hi,
[#155400] Why? Blocks — Julian Leviston <julian@...>
Why can I not do this:
[#155408] implode function? — Julian Leviston <julian@...>
Is there are similar thing to the PHP version of implode in ruby?
[#155411] Optimizing a single slow method — "Glenn M. Lewis" <noSpam@...>
Hi!
On 08 Sep 2005, at 20:46, Glenn M. Lewis wrote:
On Sat, 10 Sep 2005, Eric Hodel wrote:
Thanks a bunch, Hugh and Eric! The combination of your
On Sat, 10 Sep 2005, Glenn M. Lewis wrote:
Great news!
On Sat, 10 Sep 2005, Glenn M. Lewis wrote:
On 9/12/05, Hugh Sasse <hgs@dmu.ac.uk> wrote:
Glenn M. Lewis <noSpam@noSpam.com> wrote:
[#155418] 'which' command for Ruby (like csh which?) — Dan Bikle <dan.bikle@...>
Hi,
[#155441] NDiff (#46) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
It would seem useful to be produce a file of numerical differences
[#155464] quick print type debugging — Eric Mahurin <eric_mahurin@...>
Anybody think something like this would be useful?
require 'dev-utils/debug' # http://dev-utils.rubyforge.org
Eric Mahurin wrote:
[#155480] method_added for class methods — Caio Chassot <k@...2studio.com>
Hi all,
class X
[#155487] Dynamic method execution problem — "joe.yakich@..." <joe.yakich@...>
All,
[#155507] Using Ruby as a preprocessor for another language — debbie@...
I have the misfortune of being stuck programming in a very bad
[#155512] Kudos! — Austin Ziegler <halostatue@...>
I want to offer my heartfelt thanks and kudos to the developers of two
[#155530] Win32 gem for RMagick 1.9.1 — Timothy Hunter <cyclists@...>
Hot on the heels of the latest RMagick update, Kaspar Schiess has
Hello Nick,
On 9/13/05, Kaspar Schiess <eule@space.ch> wrote:
On 9/13/05, Nicholas Van Weerdenburg <vanweerd@gmail.com> wrote:
[#155537] RCR to modify #puts and #print inside ERB — Gavin Kistner <gavin@...>
Proposed RCR:
Hi --
In article <49958C10-DAD0-4E7C-B9AB-44C6D314A637@refinery.com>,
Hi --
On 9/10/05, David A. Black <dblack@wobblini.net> wrote:
[#155552] Mmap crash when appending — Guillaume Marcais <guslist@...>
[gus@hibernatus Bifurcation]$ cat mmap-abort.rb
[#155564] I cannot figure out how to set my signature on thunderbird... — Xeno Campanoli <xeno@...>
I actually had it working with thunderbird on SuSE, but the "signature"
[#155567] Better Random benchmark - need help with profiling — "Martin Jansson" <martialis@...>
[#155591] confused by nested functions — Navindra Umanee <navindra@...>
Hi,
Navindra Umanee wrote:
Hi --
Yo --
[#155594] Getting "Require" to work, using the Poignant Guide to Ruby — "Ian FalsePositives" <Ian.Irving@...>
In a (doomed?) attempt to actual understand ruby (with my almost 20
Many Thanks for the replys. Problem resolved! by
[#155601] r4 - the simplest ruby pre-processor — "Ara.T.Howard" <Ara.T.Howard@...>
"Ara.T.Howard" <Ara.T.Howard@noaa.gov> writes:
Hi,
Bob Hutchison wrote:
[#155621] newbie mysteries — "Tom Cloyd" <tomcloyd@...>
Good morning!
On 9/11/05, Tom Cloyd <tomcloyd@bestmindhealth.com> wrote:
i've actually got the same problem,
As Nicholas said, this does sound like a path problem. Typing "path" at a
[#155626] When an Array is not — Michael Schuerig <michael@...>
[#155632] gem & require -> returns false? — "itsme213" <itsme213@...>
When requiring a gem with
In article <IJXUe.3397$S26.923@tornado.texas.rr.com>,
[#155638] The Early Demise of Myriad (Thanks To Ruby Threads) — "Zed A. Shaw" <zedshaw@...>
Hi Everyone,
Zed A. Shaw wrote:
"Zed A. Shaw" <zedshaw@zedshaw.com> writes:
On Mon, 12 Sep 2005, Christian Neukirchen wrote:
[#155659] Array#[]= — Daniel Schierbeck <daniel.schierbeck@...>
I'm writing a class representing a coordinate system, and I want to be
Daniel Schierbeck wrote:
[#155674] IO like object — Simon Krer <SimonKroeger@...>
Hi List,
[#155705] new RCRs — Eric Mahurin <eric_mahurin@...>
I just wrote up several RCR's that I've been thinking about for
[#155708] how to well-qualify the 2-inherited methods at their collision point — "SHIGETOMI, Takuhiko" <tshiget1@...>
dear guys,
[#155735] website screen scraping with Mechanize or Rubyful Soup — "Dan Kohn" <dan@...>
I'm trying to get some website screen scraping working, but I'm
Dan Kohn wrote:
My ultimate goal is to create a series of screen scrapers that are able
[#155782] NDiff (#46) — Jim Freeze <jim@...>
Uhm, where are the solutions?
[#155796] Install Ruby under Windows — "Odud" <pete.barlow@...>
Sorry if I'm missing something here but I can't get the links to the
On Monday 12 September 2005 21:36, Odud wrote:
Sorry, Stefan I get the same error - I'm using Firefox but tried with
[#155823] BEGIN and END vs. blocks — "leonardo.pires@..." <leonardo.pires@...>
I know that { ... } and do ... end have differente precedente. But,
[#155828] Adventures in html decoding. — Morgan <taria@...>
From the "If you want it done right, do it yourself... maybe"
On 9/12/05, Morgan <taria@the-arc.net> wrote:
"William James" wrote:
On 9/12/05, Morgan <taria@the-arc.net> wrote:
[#155847] Choosing an open source license — "debbie@..." <debbie@...>
I'm working on a server program and I'm trying to decide which open
On 12 Sep 2005, at 18:41, debbie@theanimaro.com wrote:
On Monday 12 September 2005 19:50, Eric Hodel wrote:
> But when you really think about it, the POINT of free software is to
See http://www.gnu.org/licenses/gpl-faq.html#UnreleasedMods
Patrick Chanezon wrote:
On 9/13/05, Christophe Grandsire <christophe.grandsire@free.fr> wrote:
[#155863] Quick question. — Kevin Brown <blargity@...>
Alright, I feel like an absolute idiot, but the question is simple, and 30
Kevin Brown <blargity@gmail.com> wrote:
[#155866] Re: Quick question. — "Daniel Sheppard" <daniels@...>
Something like:
[#155872] Some suggestions — "christophe.poucet@..." <christophe.poucet@...>
Dear,
[#155908] hash and "==" — Brian Buckley <briankbuckley@...>
Hello all,
[#155922] find executables on windows — "Ara.T.Howard" <Ara.T.Howard@...>
[#155941] yet another simple command-line option parser — Eric Mahurin <eric_mahurin@...>
I just put in a good example for:
That's pretty interesting Eric, to grab the type off the default.
Thanks for the input Jim. Comments below. I'm also putting
On 9/13/05, Eric Mahurin <eric_mahurin@yahoo.com> wrote:
--- Jim Freeze <jim@freeze.org> wrote:
[#155948] Help finding a leak — awertyui@...
I'm having trouble finding out why my program leaks like the titanic.
[#155949] Sets, uniqueness not unique. — Hugh Sasse <hgs@...>
I have been splitting a comma separated values file, and putting
On Wed, 14 Sep 2005, Hugh Sasse wrote:
Hi --
On Wed, 14 Sep 2005, David A. Black wrote:
[#155969] dual pipes? — "Trans" <transfire@...>
Is there a way to fork a seperate ruby process (i.e. a clean
[#155970] Surprising Regexp Behavior — James Edward Gray II <james@...>
I keep running into some surprising points with Ruby's Regexp engine
[#155988] Re: Surprising Regexp Behavior — "Berger, Daniel" <Daniel.Berger@...>
[#155992] Launch directory in Rake — Jim Freeze <jim@...>
Hi
On Tuesday 13 September 2005 03:48 pm, Jim Freeze wrote:
Thanks Jim
On 9/14/05, Jim Freeze <jim@freeze.org> wrote:
Jim Weirich wrote:
[#156015] Where did ruby go? — Josh Charles <josh.charles@...>
I just did a clean install of Suse 9.3 and was pleased to see that it
[#156026] tcl/tk translate — Ed Redman <redman@...>
I am still fairly new to ruby/tk
[#156030] cgi/session.rb — "Ara.T.Howard" <Ara.T.Howard@...>
Hi,
On Wed, 14 Sep 2005, Yukihiro Matsumoto wrote:
Hi,
On Wed, 14 Sep 2005, Yukihiro Matsumoto wrote:
[#156031] strings and regex's — "jdm" <xyz@...>
I'm parsing some html and have a table-driven state machine that configures
[#156053] ruby and aop — Alexandru Popescu <the.mindstorm.mailinglist@...>
Hi!
Alexandru Popescu <the.mindstorm.mailinglist@gmail.com> writes:
[#156059] Re: Win Pipes and IO — "Kroeger Simon (ext)" <simon.kroeger.ext@...>
[#156065] TkDialog question — Stephen Kellett <snail@...>
Hi Folks.
[#156068] REXML screen scraping questions — "Dan Kohn" <dan@...>
My goal here is to take an HTML table and convert it into an array of
[#156070] extend question — Sebastian Pad<pado@...>
Hello everybody,
[#156093] Quick and dirty word wrapping. — Erik Terpstra <erik@...>
In case anyone needs it,
On Sep 14, 2005, at 9:26 AM, Erik Terpstra wrote:
[#156111] Ternary operator request — Robert Mannl <mannl@...>
Hi!
[#156155] Re: Quick and dirty word wrapping. — David Tran <email55555@...>
> "Kroeger Simon (ext)" <simon.kroeger.ext siemens.com> wrote:
On Sep 14, 2005, at 4:04 PM, David Tran wrote:
[#156157] RMagick + ImageMagick issues on OSX — Joe Van Dyk <joevandyk@...>
Hi,
[#156172] ruby-dev suumary 26862-26956 — Masayoshi Takahashi <maki@...>
Hi all,
[#156174] Referencing Methods Dynamically? — x1 <caldridge@...>
Very Basic Example: (notice the <! part !>)
[#156189] Get to the Point: Ruby and Rails Presentation Slides — "John W. Long" <ng@...>
Hi,
John W. Long wrote:
Bil Kleb wrote:
[#156191] defining a method relative to a module's nesting — "Trans" <transfire@...>
[#156201] typo in jamis.rb? — Joel VanderWerf <vjoel@...>
[#156202] Bug in Ruby 1.8.2 'mkmf.rb' ? — "Glenn M. Lewis" <noSpam@...>
Hi all!
[#156203] World's 1st Hamster-Powered Mud Server! (in Ruby) — "Jon A. Lambert" <jlsysinc@...>
[ANN] World's 1st Hamster-Powered Mud Server! (in Ruby)
[#156209] acgi-0.1.0 — "Ara.T.Howard" <Ara.T.Howard@...>
[#156216] Zero to Rails — Ryan Davis <ryand-ruby@...>
From absolutely nothing to a running rails app in under two minutes.
[#156230] you can't get in trouble with your boss for picking C# — "Phlip" <phlipcpp@...>
Rubies:
C# is The Devil, capital "T" capital "D," plain and simple. There is
John wrote:
klancaster1957 wrote:
On 9/15/05, Phlip <phlipcpp@yahoo.com> wrote:
On 9/15/05, Josh Charles <josh.charles@gmail.com> wrote:
On 9/15/05, Joe Van Dyk <joevandyk@gmail.com> wrote:
Hello Josh,
> JC> Very interesting. But you'll still need C ;) I'm interested to know
Hey all,
ToRA wrote:
Florian Growrote:
Remember when Java was the new guy in town (ca. 1995)? "It's too slow, too=
Hello ToRA,
[#156248] Math: sum and faculty — Daniel Schierbeck <daniel.schierbeck@...>
I hereby propose two additions to Ruby. Please come with some comments
Daniel Schierbeck wrote:
HaPK wrote:
[#156298] A big project — mike.novecento@...
Hi everybody,
[#156299] MS Access — "Steve" <sdouglas949@...>
I'm considering learning Ruby. I have no programming experience yet. I was
Steve wrote:
On 9/15/05, Phlip <phlipcpp@yahoo.com> wrote:
Sean Armstrong wrote:
Does anyone know how to install the Ruby MySQL module on a Windows platform=
Sean,I needed to compile/install mysql (running ./configure--without-server) from source to get the required developmentlibraries under Cygwin. (then I moved the newly-created clientbinaries out of the way so I could use the Win32-native mysqlbinaries.) After that, it worked like a charm. *Do not compile theCygwin-ized mysql client with "--with-openssl"* I don't know why, butthe gem refused to install if I did. Good luck, and let me know if yourun into any issues. Overall, developing on Cygwin for Ruby/Rails isquite nice.
Let me make sure I got this right:
It still refuses to find the lib and include directories even if I use the=
Sean,I'm going to try to explain *exactly* what I did, and hopefully you'llsee something you forgot to do.1. Download mysql-essential-4.1.14-win32.msi from mysql.org and install it.2. Download mysql-4.1.13.tar.gz from mysql.org3. Extract the above, and run "./configure -C --without-server" (the-C enables config caching, I use it because the ./configure scriptruns very slowly under Cygwin. Optional, of course)4. Run "make && make install"5. Run "gem install mysql"6. Go make cool rails apps!
Well you have got me the closest so far. I had to go back and manually=20
[#156317] Re: [rrt_ruby]Ruby and RoseRT — "Berger, Daniel" <Daniel.Berger@...>
> -----Original Message-----
Berger, Daniel wrote:
Hi,
Hi,
[#156323] Error using soap/wsdlDriver — "matt.hulse@..." <matt.hulse@...>
I am attempting to use ruby to connect to a webservice. I am able to
[#156378] bug in require? — "Ara.T.Howard" <Ara.T.Howard@...>
[ahoward@localhost ~]$ cat a.rb
On Fri, Sep 16, 2005 at 07:14:21PM +0900, Han Holl wrote:
Yes, that's answering where it happens.
[#156420] Ruby Jobs Site (#47) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
[#156440] Re: Job site — toy <toy@...>
Wow, that really is weird.
[#156444] Hash table questions — EdUarDo <eduardo.yanezNOSPAM@...>
Hi all,
On Sep 16, 2005, at 10:11 AM, EdUarDo wrote:
>> @position.post = :DC
On Sep 16, 2005, at 10:26 AM, EdUarDo wrote:
>> is this correct? Do I need to do .to_s to retrieve data from hash?
> Key is a symbol, but it doesn't work if I not call to_s
[#156458] MissingSourceFile in <controller not set>#<action not set> - No such file to load -- /config/routes.rb — Seth Rasmussen <seths.mailing.lists@...>
I encountered this error last nite in the early stages of a new Rails=20
Bueller?
[#156460] MySQL, Ruby, DBI connetc problem...help please — Sean Armstrong <phinsxiii@...>
I currently have the MySQL binary for Windows installed. I have ruby under=
[#156480] Some interesting criticisms of rails — David Balick <davidbalick@...>
may be found in the podcast
> In a nutshell, they say that Rails starts to get less appropriate for apps
Bob Hutchison wrote:
Zed A. Shaw <zedshaw@zedshaw.com> wrote:
On Saturday 17 September 2005 05:51 am, Robert Klemme wrote:
On Sat, September 17, 2005 4:15 pm, Randy Kramer said:
Well, I first heard of the dining philosophers in the Java tutorial
[#156486] sending EOF portably — "Ara.T.Howard" <Ara.T.Howard@...>
[#156493] IO#clearerr — "Ara.T.Howard" <Ara.T.Howard@...>
In article <Pine.LNX.4.62.0509161558490.31195@harp.ngdc.noaa.gov>,
[#156500] More MySQL-Ruby Frustrations! — Sean Armstrong <phinsxiii@...>
Ok, now I tried to install the stupid mysql module on Mac OS X. Same
On Sep 16, 2005, at 5:58 PM, Sean Armstrong wrote:
Well, that got me a make file. However, make ccrapped out with the
[#156548] installing rubygems under Linux — Mark Volkmann <r.mark.volkmann@...>
I've recently started using Ruby under Linux as opposed to Windows. I
[#156562] $SAFE >= 2 — Mark Volkmann <r.mark.volkmann@...>
When $SAFE is >= 2 then code can't be loaded from "globally writable locations".
[#156576] Rinda documentation — Mark Volkmann <r.mark.volkmann@...>
Documentation on Rinda seems hard to come by, at least in English.
[#156581] StringScanner question — "Jon A. Lambert" <jlsysinc@...>
Dear Ruby,
Jon A. Lambert wrote:
[#156585] RType-0.2 — oxy@... (Yuichi Yoshida)
Hi. I've released RType 0.2 today.
On 9/17/05, Yuichi Yoshida <oxy@kmc.gr.jp> wrote:
> Excellent! It seems to work for me. This is very interesting.
[#156617] Handling multiple processes on Windows — "Gregory Brown" <gregory.t.brown@...>
I started up a ruby group at my university and this weeks 'challenge'
[#156624] Language recommendations from ruby persons.... — "Greg Lorriman" <bogus@...>
Dear sirs and madames,
On 9/18/05, Greg Lorriman <bogus@bogus.com> wrote:
On Sep 18, 2005, at 11:32 PM, Kev Jackson wrote:
[#156653] Re: Language recommendations from ruby persons.... — "Neville Burnell" <Neville.Burnell@...>
I've been watching 'Factor' for sometime, but I havent used it yet ...
Neville Burnell wrote:
On 9/23/05, Florian Gro<florgro@gmail.com> wrote:
[#156661] FuseFS-0.1 — Greg Millam <ruby-talk@...>
Howdy -
[#156662] Capcha in ruby — Federico <pix@...>
Hello,
On 9/19/05, Federico <pix@yahoo.it> wrote:
But they stop the average spambot, which is what they're for I think.
I have seen the case where a subscriber is asked to solve a simple
Austin Ziegler <halostatue@gmail.com> writes:
[#156677] Yet another blog... — Hal Fulton <hal9000@...>
Hi, all.
[#156680] Metaprogramming problem — Clifford Heath <no@...>
I'm trying to define s.t. like attr_accessor, but one that takes
[#156704] Considering learning Ruby on Rails — "dspohn" <dspohn@...>
I have spent most of my career using PHP, Perl, C# and VB .NET for web
I could tell you how great I think Ruby and Rails both are, and the
[#156708] help with tricky proc/binding issue — "Ara.T.Howard" <Ara.T.Howard@...>
Hi,
[#156743] The Ruby troll [was: Looking for...] — Gunnar Hjalmarsson <noreply@...>
David H. Adler wrote:
["Followup-To:" header set to comp.lang.perl.misc.]
Tim Hammerquist wrote:
Aside from your the preposterous nature of your proposition (that clr
Ara.T.Howard wrote:
[#156749] ruby idiom for python's for/else while/else — Gergely Kontra <kgergely@...>
Hi!
Excerpts from Gergely Kontra's mail of 19 Sep 2005 (CDT):
[#156778] Re: MockFS 0.1.2 — "Daniel Sheppard" <daniels@...>
Except for the fact that you can pretend you're talking to the entirety
On 20/09/05, Daniel Sheppard <daniels@pronto.com.au> wrote:
[#156796] Dissident 0.1, a Ruby dependency injection container — Christian Neukirchen <chneukirchen@...>
Hello,
On Tue, September 20, 2005 8:22 am, Christian Neukirchen said:
"Jason Voegele" <jason@jvoegele.com> writes:
This is a little OT, but every-time dependency injection comes up I
Logan Capaldo wrote:
Piergiuliano Bossi wrote:
Piergiuliano Bossi <p_bossi_AGAINST_SPAM@tiscali.it> writes:
[#156821] Interesting class — "christophe.poucet@..." <christophe.poucet@...>
Dear,
[#156825] ruby && XSL-FO ? — Benedikt Heinen <ruby@...>
[#156828] Reading the ruby source — Robbie Carlton <robbie.carlton@...>
Hi.
[#156831] windows help/pipes/thread — "Ara.T.Howard" <Ara.T.Howard@...>
A possible suggestion:
On Wed, 21 Sep 2005, christophe.poucet@gmail.com wrote:
[#156844] Archno Ruby — Josh Charles <josh.charles@...>
I've been using this editor, and so far it's pretty nice, if a bit
#: Josh Charles changed the world a bit at a time by saying on 9/20/2005 10:00 PM :#
Ok, was that documented somewhere, but I looked all over the place to
#: Josh Charles changed the world a bit at a time by saying on 9/20/2005 10:56 PM :#
On 9/20/05, Alexandru Popescu <the.mindstorm.mailinglist@gmail.com> wrote:
[#156866] Places for a programmer to live? — Devin Mullins <twifkak@...>
While we seem to be rife with OT threads, I thought I'd throw in an OT
Wooaahh now. You want to stay away from Seattle. Really. Complete
Devin Mullins wrote:
Robbie Carlton wrote:
[#156867] b = i if i = a doesn't work? — "Trans" <transfire@...>
Recently I was suprised by the behavior of "start = lambda { start }".
[#156886] signals handlers and threads — "Ara.T.Howard" <Ara.T.Howard@...>
[#156903] Ruby 1.8.3 Issues — James Edward Gray II <james@...>
I just recompiled Ruby and I'm seeing a lot of issues already.
[#156912] Re: Welcome to our (ruby-talk ML) You are added automatically — Stewart Chen <stewartchen@...>
hello ruby programmers !
[#156920] Problem with constants — "Kroeger Simon (ext)" <simon.kroeger.ext@...>
Kroeger Simon (ext) wrote:
[#156923] modifying hash — Bil Kleb <Bil.Kleb@...>
I've got a mental block on refactoring the following,
[#156933] Hello, I am a newbie to ruby. — could ildg <could.net@...>
I want learn a script language.
On Sep 21, 2005, at 6:23 AM, could ildg wrote:
[#156946] Continuation - where does it continue — michelemendel@...
Why does the following code print the line "doing other stuff" twice?
[#156973] Set#== ain't.. — Gary Shea <shea@...>
While writing an acceptance test, I needed to compare two sets of sets
[#156982] What to do with the snippets of code you always use? — Damphyr <damphyr@...>
I have a question on maintaining code.
On Thu, 22 Sep 2005, Damphyr wrote:
[#157000] Usage 0.0.2 - Yet another command line option processor — stevetuckner <stevetuckner@...>
What is Usage?
[#157005] Large Ruby Apps ? — "Warren Seltzer" <warrens@...>
I am coming to Ruby having used the usual list of scripting and C* languages. Since Ruby
Very useful discussion that highlights quite few misconceptions.
I agree that some sort of static analysis would allow Ruby codes to more
On 9/30/05, Leonardo Eloy <leonardo.eloy@gmail.com> wrote:
On 10/2/05, Eivind Eklund <eeklund@gmail.com> wrote:
Hello Matt,
On 9/21/05, Warren Seltzer <warrens@actcom.net.il> wrote:
[#157007] Re: Large Ruby Apps ? — "Berger, Daniel" <Daniel.Berger@...>
> -----Original Message-----
Ara.T.Howard wrote:
[#157044] Widget toolkits - layout methodolgy — Logan Capaldo <logancapaldo@...>
Hello all, I got a few questions and ideas I want to throw out there.
On Wednesday 21 September 2005 20:18, Logan Capaldo wrote:
[#157051] hi, i'm new. plus one question — travis laduke <wrong@...>
I've been forced to work on some php lately and found myself
[#157054] Rich User-interface.. — "Erland" <Erland.Erikson@...>
Hi All,
[#157061] Re: [ANN] FuseFS-0.3 — Brian Palmer <ruby@...>
I've been discussing with Greg ways to make FuseFS cross-platform
[#157063] Visual IDEs?? — "Erland" <Erland.Erikson@...>
HI,
[#157080] A question about Intelligent Systems and using Ruby — Daniel Lewis <danieljohnlewis@...>
Yesterday (21/09/2005) I sent an email to Dave Thomas (author of
I'm interested in this as well, but for a different reason. I'm
On Thu, 22 Sep 2005, Daniel Lewis wrote:
[#157101] Instantiating a subclass of NilClass. — "Trans" <transfire@...>
I've subclasses NilClass, but don't know how to instantiate it. Any
Trans <transfire@gmail.com> wrote:
Hi,
[#157128] Net::Netrc request for comments — Bob Showalter <Bob_Showalter@...>
Hi,
[#157140] gui's for ruby? — Dirk Meijer <hawkman.gelooft@...>
hello all,
[#157171] Outputting custom YAML types in 1.8.3 — Aaron Schrab <aaron@...>
I just upgraded my main development box (Debian unstable) to the new
[#157182] Inspect, looking in from the outside — "Trans" <transfire@...>
Hi--
[#157189] "The class that it is mixed in to..." — John Carter <john.carter@...>
Ok, so I'm documenting a Mixin.
Excerpts from John Carter's mail of 22 Sep 2005 (CDT):
Hi --
On Friday 23 September 2005 08:58 am, David A. Black wrote:
Excerpts from Randy Kramer's mail of 23 Sep 2005 (CDT):
[#157203] class methods — Mark Volkmann <r.mark.volkmann@...>
I thought this would be easy, so it's embarassing to ask.
Class is an Object too, so
[#157222] RDE 1.0.0 released — sakazuki <qzs01353@...>
Hi.
Very nice!
[#157224] Trapping TaskManager's kill process on win32 — "gga" <ggarra@...>
Is there a way to trap the killing of a ruby windows process killed
[#157226] memory measurements — Eric Mahurin <eric_mahurin@...>
In ruby, is there a portable way to measure memory usage? Any
In message <20050923031500.82696.qmail@web36108.mail.mud.yahoo.com>,
[#157263] Re: [ANN] RDE 1.0.0 released — "Kroeger Simon (ext)" <simon.kroeger.ext@...>
[#157268] Math Captcha (#48) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
[#157294] Why is this not a syntax error? — Jamey Cribbs <cribbsj@...>
Switching back and forth between Python and Ruby bit me in the butt
[#157299] On accidental unsubscribe messages — "Berger, Daniel" <Daniel.Berger@...>
Hi all,
Berger, Daniel wrote:
Patrick Fernie <patrick.fernie@gmail.com> wrote:
It's an old university account that I'm no longer allowed to send mail
As long as you have access to something the likes of sendmail (plenty of
[#157320] net/ftp works manually, fails via cron — Daniel Berger <Daniel.Berger@...>
Hi all,
[#157348] Tracer question — Bart Masschelein <bart.masschelein@...>
Hello all,
[#157360] Re: Large scale sites? Anyone? Anyone? — snacktime <snacktime@...>
On 9/23/05, SEan Wolfe <nospam@nowhere.com> wrote:
[#157365] Creating directories — Joe Van Dyk <joevandyk@...>
There seem to have been a bunch of filesystem-related releases
On Sat, 24 Sep 2005, Joe Van Dyk wrote:
[#157382] REXML Question — "mike leonard" <mikeleonard@...>
I'm looking at REXML as a possible alternative to some things I've been
[#157400] "once" methods — Steven Arnold <stevena@...>
Hi,
[#157401] OpenClass — raymond medeiros <zenlinux@...>
it seemed like a good idea at the time but honestly, hindsight being 20/20 =
[#157420] self.puts? — Derek Chesterfield <dez@...>
I am trying to convince myself that Ruby is fully OO [I'm not
[#157442] cannot convert Float into String — "Nick" <glenn.brutyn@...>
i am making a pdf file, retrieving an product for the db and print the price
[#157443] image in pdf — "Nick" <glenn.brutyn@...>
i do this and he cant find it
[#157458] Concerning Marshalling — "christophe.poucet@..." <christophe.poucet@...>
Hello,
[#157463] Re: swiggery — Steven Jenkins <steven.jenkins@...>
Martin DeMello wrote:
[#157467] MD5 function — sandhya mittal <sandhya1205@...>
Can anyone tell how to implement MD5 function(NOT algorithm) in Ruby.I just want to hex MD5 a string.It would be of great help.
[#157470] Mixin of class methods? — Michael Roth <mroth@...>
Hello all,
[#157474] Python doesn't have one of these — Steven Jenkins <steven.jenkins@...>
http://geonames.usgs.gov/pls/gnis/MapServer?f_name=Ruby%20Canyon%20Debris%20Basin&f_state=CA&f_latlong=340952N1175952W&server=TIGER
I hate to be the bearer of bad news, but...
[#157514] allow Open3.popen3 to set $? based on grandchild status rather than child status — "Andrew S. Townley" <andrew.townley@...>
[#157520] Relative speed of Ruby vs Java for a large compiled app like Freenet — seekingleverage@...
I'm wondering if anyone could shed some light on whether or not it
seekingleverage@gmail.com schrieb:
Andreas Schwarz schrieb:
Excerpts from seekingleverage@gmail.com's mail of 25 Sep 2005 (CDT):
William Morgan wrote:
Martin, perhaps you could collect this stuff and put it into your wiki
Isaac Gouy wrote:
On 9/26/05, Isaac Gouy <igouy@yahoo.com> wrote:
[#157540] String#ggsub — Gavin Kistner <gavin@...>
I occasionally find myself with gsub regexp that either eat too much,
Oh better:
[#157558] My dependency-injection library — Nikolai Weibull <mailing-lists.ruby-talk@...>
OK. So Ruby has enough dependency-injection/inversion-of-control
Nikolai Weibull <mailing-lists.ruby-talk@rawuncut.elitemail.org> writes:
[#157565] Rinda frustration — Mark Volkmann <r.mark.volkmann@...>
I'm trying to determine what the methods "move" and "notify" do in the
On Mon, Sep 26, 2005 at 09:49:41AM +0900, Mark Volkmann wrote:
On 9/26/05, Rick Nooner <rick@nooner.net> wrote:
On Tue, Sep 27, 2005 at 04:32:58AM +0900, Mark Volkmann wrote:
On 9/26/05, Rick Nooner <rick@nooner.net> wrote:
[#157569] Overloading — Ben <benbelly@...>
I'm a C++ programmer learning Ruby. I would like to make a class that
On Mon, Sep 26, 2005 at 10:38:16AM +0900, Ben wrote:
[#157576] Is there a hash-like class that maintains insertion order — Bob Hutchison <hutch@...>
Hi,
On Mon, 26 Sep 2005, Bob Hutchison wrote:
[#157580] Ruby and CLR interactions — John Lam <drjflam@...>
While building my Ruby <-> CLR shim, I came across a nasty issue with
[#157585] How each class splats — "Trans" <transfire@...>
First I'll just ask it there's a way to do this WITHOUT redefining
Devin Mullins wrote:
[#157587] noob question — Dirk Meijer <hawkman.gelooft@...>
this may be a stupid question, and i might have even overlooked it in the
[#157604] Re: [ANN] RDE 1.0.0 released — "Kroeger Simon (ext)" <simon.kroeger.ext@...>
Hi Sakazuki,
[#157623] A big thank you to Robby Russell... — Tom Copeland <tom@...>
...for providing another RubyForge mirror via his company, PlanetArgon.
On Sep 26, 2005, at 7:25 AM, Tom Copeland wrote:
On Tue, 2005-09-27 at 12:43 +0900, Gavin Kistner wrote:
whats the process for becomming a mirror?
On Tuesday 27 September 2005 10:24 am, Sam Mayes wrote:
On Wed, 2005-09-28 at 01:38 +0900, Kirk Haines wrote:
On Tue, 2005-09-27 at 12:46 -0400, Tom Copeland wrote:
Did you consider using bittorrent ?
[#157625] Linux install of 1.8.2 — Mark Volkmann <r.mark.volkmann@...>
I've installed Ruby 1.8.2 from source under Fedora Core Linux. It
>>>>> "M" == Mark Volkmann <r.mark.volkmann@gmail.com> writes:
On 9/26/05, ts <decoux@moulon.inra.fr> wrote:
>>>>> "M" == Mark Volkmann <r.mark.volkmann@gmail.com> writes:
[#157648] Rapid GUI Development with QtRuby — Dave Thomas <dave@...>
I hope y'all don't mind a short announcement, but it seemed relevant.
Dave Thomas wrote:
[#157652] random testing with Test::Unit — Eric Mahurin <eric_mahurin@...>
Does anybody else do random testing on their ruby code besides
[#157654] Ruby Threads 101 — Ben <benbelly@...>
I am leading a peer-learning group that is using "Programming Ruby" to
[#157658] Time interval — Daniel Berger <Daniel.Berger@...>
Hi all,
Daniel Berger wrote:
On Sep 27, 2005, at 2:51 AM, Robert Klemme wrote:
[#157662] Truncating Floats — Keith Fahlgren <keith@...>
Hi,
[#157671] Re: Outlook calendar — "Walter" <Walter@...>
... [snip] ...
Walter wrote:
[#157696] General programming strategy — "Yannick Turgeon" <vendredi5h@...>
Hello all,
[#157697] Embedded Ruby and Tag Libs — Adam Van Den Hoven <mail@...>
Hey guys,
On 9/26/05, Adam Van Den Hoven <mail@adamvandenhoven.com> wrote:
Austin.
On Sep 26, 2005, at 4:25 PM, Adam Van Den Hoven wrote:
[#157706] ruby-gnome2 querying of installed library versions — Joe Van Dyk <joevandyk@...>
Hi,
[#157717] Is there an issue with a library extending Object? — Bob Hutchison <hutch@...>
Hi,
On Tue, 27 Sep 2005, Bob Hutchison wrote:
[#157722] Molecular visualization in Ruby? — ptkwt@... (Phil Tomson)
Anyone created any kind of molecular visualization software in Ruby?
[#157732] ShortURL 0.7.0 — "Vincent Foley" <vfoley@...>
After a lot of procrastination, I have released ShortURL 0.7.0. I
You know, I am running out of ideas for ShortURL. I admit that it's
Vincent Foley wrote:
[#157746] Fwd: Lisp macros — Joe Van Dyk <joevandyk@...>
Whoops, this belongs on ruby-talk... Sorry.
Joe Van Dyk wrote:
On 9/26/05, James Britt <james_b@neurogami.com> wrote:
On 9/27/05, Jim Freeze <jim@freeze.org> wrote:
On 9/27/05, Ben <benbelly@gmail.com> wrote:
On 9/27/05, Jim Freeze <jim@freeze.org> wrote:
The big thing Lisp has that Ruby can't do is code-as-data. I wish I
[#157782] how to cancel the 'extend' which once has done — "SHIGETOMI, Takuhiko" <tshiget1@...>
dear guys,
[#157791] changing permissions in windows XP using ruby!! — "kraf001" <ihaveblackout@...>
Hi guys,
[#157807] How do I (really) encrypt a string in ruby? — Michal Suchanek <hramrach@...>
Hello
Hello,
Hello
-----BEGIN PGP SIGNED MESSAGE-----
[#157837] Ruby on Rails Agile role — grant.bodie@...
Hi
[#157854] Class and Iterator Design Question — Jim Freeze <jim@...>
This may be a silly design question, but I always balk at
Wow, thanks for all the responses.
Hi --
On 9/27/05, David A. Black <dblack@wobblini.net> wrote:
Jim Freeze wrote:
On Sep 28, 2005, at 5:10 AM, Florian Frank wrote:
James Edward Gray II ha scritto:
[#157856] Object private methods — Paolino <paolo_veronelli@...>
Hello
Paolino wrote:
[#157869] Wierd behaviour with Date — Damphyr <damphyr@...>
Tell me where does everything get mixed-up
[#157902] 101, Was: Ruby Threads 101 — Brian Schrer <ruby.brian@...>
> [snip question]
[#157913] Trouble building 64-bit Ruby 1.8.3 on Solaris 10/AMD64 — Tony Arcieri <bascule@...>
Hello, I'm attempting to build an AMD64 native Ruby interpreter on top
Hi,
On 9/27/05, nobuyoshi nakada <nobuyoshi.nakada@ge.com> wrote:
Hi,
[#157947] Dynamically generating classes? — Jonas Galvez <jonasgalvez@...>
Hi,
Jonas Galvez wrote:
On 9/27/05, Jonas Galvez <jonasgalvez@gmail.com> wrote:
[#157956] How do you read ruby source code? — brian-usenet@...
Hi, I'm a Java developer who is checking out Ruby on Rails. I'm
[#157964] raising exceptions across DRb and XMLRPC — Joe Van Dyk <joevandyk@...>
My architecture looks something like this. Please excuse the pitiful
Joe Van Dyk wrote:
[#157980] Gems undermine unit testing — Bret Pettichord <bret@...>
I put the following line at the top of each of my unit tests for Watir:
[#158004] class variables — "v.nainar" <vnainar@...>
Hello!
[#158037] Even more WIN32OLE_EVENT — Fredrik Jagenheim <jagenheim@...>
Hi,
When I've used PeekMessage/GetMessage like functions, I've called them
[#158041] creating independent lambdas in loops — Michael Roth <mroth@...>
Hello all,
[#158051] Re: creating independent lambdas in loops — "Kroeger Simon (ext)" <simon.kroeger.ext@...>
--- "Kroeger Simon (ext)" <simon.kroeger.ext@siemens.com>
On Sep 28, 2005, at 7:47 AM, Eric Mahurin wrote:
--- Gavin Kistner <gavin@refinery.com> wrote:
--- Eric Mahurin <eric_mahurin@yahoo.com> wrote:
Hi --
--- "David A. Black" <dblack@wobblini.net> wrote:
Hi --
Ara.T.Howard <Ara.T.Howard@noaa.gov> wrote:
--- Martin DeMello <martindemello@yahoo.com> wrote:
On Thu, 29 Sep 2005, Eric Mahurin wrote:
--- "Ara.T.Howard" <Ara.T.Howard@noaa.gov> wrote:
[#158073] "Updating gem source index" hanging? — "itsme213" <itsme213@...>
Just curious ... the last few times (this morning) this update did not
[#158095] Class Methods and derivation — Damphyr <damphyr@...>
I do something like the following
[#158106] rake 0.6 - thank you — "itsme213" <itsme213@...>
Rake 0.5 included a whole bunch of FileUtils stuff into Object, which made
[#158121] Python to Ruby: Two puzzlements... — "Elf M. Sternberg" <elf@...>
I'm afraid that I'm coming from Python, a B&D language where I'm used to
James Edward Gray II <james@grayproductions.net> writes:
Actually everything you do in ruby has a receiving object reference
oops, that should have been
On Sep 28, 2005, at 7:15 PM, Jeff Wood wrote:
[#158132] With a Ruby Yell: more, more more! — "Robert Klemme" <bob.news@...>
Glad to know you guys don't mind our nuby ruby posts! Actually, one of
[#158138] MouseHole 1.2 -- rose-colored spectacles for the Web — why the lucky stiff <ruby-talk@...>
MouseHole is a scriptable web proxy. Alter the Web with Ruby. Host
[#158157] IBM vs. Microsoft vs. ... Ruby? — "itsme213" <itsme213@...>
More "Enterprise Scale" talk over here, with a strong leaning towards
Hi,
On Sep 29, 2005, at 6:21 PM, bonefry wrote:
On Fri, Sep 30, 2005 at 08:26:14AM +0900, James Edward Gray II wrote:
How about:
Kev Jackson wrote:
bonefry you sure throw a lot of opinion around, but you always forget
ArachnoRuby works fine as a Ruby "IDE". There isn't really an IDE for Rails
[#158159] where to look for API win32/registry — Alexandru Popescu <the.mindstorm.mailinglist@...>
Hi!
[#158209] Re: slurp a file into an array without newlines — "Kroeger Simon (ext)" <simon.kroeger.ext@...>
[#158210] wxRuby problem on Ubuntu — RaW <raw73@...>
Hello,
I have Ubuntu-hoary and have Ruby 1.8 installed (with WxRuby), I have
Daniel Lewis napisaa):
Oh yes, I just remembered. Do you have WxWidgets installed as well asWxRuby? - You need WxWidgets 2.4 (It will not work with 2.5). You canget it from the apt-get / Synaptic Package Manager.
[#158221] Concerning persistency techniques — "Christophe Poucet" <christophe.poucet@...>
Hello,
[#158224] Win32API question — "PWR" <pw_richards@...>
I am trying to use Ruby's Win32API interface to access the windows file
[#158244] Backslashes — Han Holl <han.holl@...>
Hi,
[#158256] Would you like to use Ruby? — grant.bodie@...
OK So its me the recruiter again.
[#158258] In your opinion.... — Daniel Lewis <danieljohnlewis@...>
In your opinion(s)....
Daniel Lewis wrote:
> Too lazy to do your own research? It happens ;-). For a starter, check
Christophe Grandsire wrote:
Devin Mullins <twifkak@comcast.net> wrote:
Daniel Lewis <danieljohnlewis@gmail.com> wrote:
In article <3q7gddFdii3nU1@individual.net>, bob.news@gmx.net says...
[#158266] REXML to extract only values from XML? — "christopher.mcmahon@..." <christopher.mcmahon@...>
[#158288] rubyzip problem with local header magic — Robert Evans <robert.evans@...>
Hi,
[#158293] Net::SFTP: open_handle => null string — Louis J Scoras <louis.j.scoras@...>
Does anyone know off the top of their head why the 'open_handle' method
No, it is correct. open_handle returns an opaque value that
On 9/29/05, Jamis Buck <jamis@37signals.com> wrote:
[#158311] rush 0.1.bandicoot: object-oriented shell goodness (rationed for your health)! — The rush folks <rush-ruby-ml@...>
= rush-0.1.bandicoot
This looks fun!
Guillaume Marcais wrote:
On Thursday 29 September 2005 15:47, The rush folks wrote:
> On Thursday 29 September 2005 15:47, The rush folks wrote:
[#158315] QT 4 Binding — =?ISO-8859-15?Q?Daniel_V=F6lkerts?= <daniel@...>
Hello!
[#158327] Operator Overloading << — "matt.hulse@..." <matt.hulse@...>
Is there a way to overload '<<' in the Array class?
Austin Ziegler wrote:
On 9/30/05, Robert Klemme <bob.news@gmx.net> wrote:
On 9/30/05, Bob Hutchison <hutch@recursive.ca> wrote:
[#158339] creating hard links for Directories. — "kraf001" <ihaveblackout@...>
well as we all know the File class in ruby has the method link which
[#158349] Threading Performance? — Jeff McNeil <jeff@...>
Greetings.
On Fri, Sep 30, 2005 at 12:20:07PM +0900, Jeff McNeil wrote:
[#158369] ruby gsub! problem — Kev Jackson <kevin.jackson@...>
Hi all,
Another gsub/regex problem
On Sep 30, 2005, at 2:49 AM, Kev Jackson wrote:
[#158389] Rake, Rant, A-A-P — alan@...
I'd like to start working with C++ again. What's held me back is not
[#158400] Lisp Game (#49) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
[#158412] SQLite / Ruby on Windows? — david@...
Does anyone have an install-by-copy version of the SQLite Ruby binding at hand?
On 9/30/05, david@vallner.net <david@vallner.net> wrote:
VGhlcmUgYXJlIHRocmVlIHBoYXNlczoKCiMxIC0gQ29sbGVjdCB1bmRlcnBhbnRzCiMyIC0gPz8K
Hello,
[#158433] Apache 2 & global variables question — Pascal Meunier <pmeunier@...>
In Ruby under Apache 2 threads, is a global variable global to all instances
Or is it that Ruby 1.8.2 isn't compatible with Apache 2?
On Sat, 1 Oct 2005, Pascal Meunier wrote:
[#158460] Ruby licence... — netspam@...
I understand that the distribution of Ruby is under the GPL.
The Ruby License and the License of Ruby are two different things.
On Saturday 01 October 2005 20:51, Gregory Brown wrote:
Kevin Brown <blargity@gmail.com> writes:
On Sunday 02 October 2005 10:56, Christian Neukirchen wrote:
Kevin Brown <blargity@gmail.com> writes:
On Sunday 02 October 2005 12:45, Christian Neukirchen wrote:
[#158492] suggested changes for ruby libraries — "jdm" <xyz@...>
These are all relative to version 1.8.1.
[#158497] Interest in Boost::Ruby — Alan Gutierrez <alan-ruby-talk@...>
I'd like to build a CSS renderer in modern C++ as an enthusist's
On 9/30/05, Alan Gutierrez <alan-ruby-talk@engrm.com> wrote:
On 9/30/05, Alan Gutierrez <alan-ruby-talk@engrm.com> wrote:
* Austin Ziegler <halostatue@gmail.com> [2005-09-30 21:41]:
Ruby Weekly News 5th - 11th September 2005
http://www.rubyweeklynews.org/20050911.html
Ruby Weekly News 5th - 11th September 2005
------------------------------------------
Ruby Weekly News is a summary of the week's activity on the ruby-talk
mailing list / comp.lang.ruby newsgroup, brought to you this week by
Tim Sutherland and Christophe Grandsire.
Articles and Announcements
--------------------------
* Ruby Debugging Article at IBM Developerworks
----------------------------------------------
Time for [Debugging Ruby programs 101], thanks to Pat Eyler's latest
IBM developerWorks article.
Florian Gronoted the omission of ruby-breakpoint, a library that
allows you to stop at any point in your program and attach irb.
* Registration is CLOSING SOON for RubyConf 2005!
-------------------------------------------------
David A. Black: "Registration will be open until September 16, OR
until we reach 190 *paid* registrations, whichever comes first." [/].
| Thanks for bearing with us as we go through the process of
| organizing a conference that is literally three times the size of
| last year's event. We want to accomodate everyone, consistent with
| the physical constraints of the space and the need to have definite
| numbers in place in a timely manner.
"If you have pre-registered for RubyConf, you still must register.
Pre-registration != registration." [/]
* dtrace + ruby super profiling?
--------------------------------
Joe Van Dyk reported on an article by Bryan Cantrill about using
DTrace to get profiling information on Ruby applications.
(Thanks to a patch by Rich Lowe's to allow this.)
User Group News
---------------
* Boston.rb Goes Live!
----------------------
Chris Lambert announced the very first meeting of Boston.rb, on
Tuesday, September 13.
Quote of the Week
-----------------
* Poetry Jam 05: A Ruby Octet
-----------------------------
Devin Mullins:
########
$the_love_you.display \
do not let it end
__END__
#requires a file called 'dark and stormy night', obviously
1.times do
open 'dark and stormy night' { |story|
story.read.display
} #the
end
__END__
for once in 'my life'... 'I' do
not know if the pain
will end
__END__
#Ask the Oracle:
/to port this code to Java will not/.require 'time'
#=> false
__END__
for nicat in'' \
do it.with.a.
fri end
__END__
#I call this, 'Happy Ending'
<<please.display
affection
please
__END__
#!`env ruby` -W0
fork { there is no fork } unless
unless:what?
oh...yeah unless this is the end.to_a {
Wachowski trilogy }
__END__
#5/7/5, and => true
$capitalism.
is_a? $system_that_promotes.
class { separation }
#_THE_#
__END__
########
Threads
-------
Standalone application...
-------------------------
Charles, using MacOS X and Linux, wanted to know whether it is possible to
make a `standalone' Ruby application - a single executable that includes
not only his application but also the Ruby interpreter and any other
libraries used.
Erik Veenstra plugged his rubyscript2exe, which is used to do exactly
this, and also works on Windows.
`nobody' added that exerb does the same, but only works on Windows; and
asked why the executable resulting from exerb can be compressed with UPX,
but the one from rubyscript2exe can't.
The reason is a mystery, hwoever Erik pointed out that rubyscript2exe does
its own compression, so it doesn't matter.
Other options include Erik's tar2rubyscript, which converts a Ruby
application into a single .rb file, but does not include the interpreter.
Forrest Chang: "I wanna give Erik a plug. I've been succesfully using the
bottom 2 apps to make standalone ruby apps for one of my projects. Very
handy."
Damphyr: "By the way the documentation on rubyscript2exe is breathtaking.
WOW!"
Qt, Ruby, and Windows
---------------------
Gregarican asked about the status of Ruby's Qt bindings on Windows.
| I have a project I've almost completed running on a Linux-based PDA
| based on Qt 2.x and was trying to get it ported over to my Windows
| clients as well.
He found binaries against Ruby 1.6, but wanted to use 1.8.
Richard Dale said that he and Caleb Tennis were working on the QtRuby Qt4
interface, but need someone to do the Windows port.
It looks like Ruby/Qt2 supports Windows, but you may need to build it from
source. (Using msys/mingw, Microsoft Visual Studio, or Microsoft's
freeware compiler.)
WIN32OLE doesn't seem to support UTF-8.
---------------------------------------
Bret Pettichord said that Win32OLE didn't appear to have support for UTF-8
or other character sets.
| I would like to access international text from Excel and Explorer using
| WIN32OLE. But whenever i do this in Ruby, i get "????". (This code works
| fine for English).
nobu responded, saying that the version included in Ruby 1.8.3 has a
codepage attribute for this purpose.
Why? Blocks
-----------
Julian Leviston asked why he couldn't do this:
########
c = [1,2,3,4,5,6,6,7,8,10]
b = {|aVal| aVal / 5 == 0}
d = c.select(b)
########
Jamis Buck pointed out that he actually could, using a Proc object:
########
b = Proc.new {|aVal| aVal / 5 == 0}
d = c.select(&b)
########
This led to a discussion about the meaning of the ampersand operator & in
this case (which simply tells Ruby that the parameter is to take the place
of the block, rather than simply be a Proc argument to the method), of
which the most interesting comment was the comparison of the star and
ampersand operators by Brian Schrer:
| A star packs and unpacks arrays, while the ampersand packs and unpacks
| code.
And gave the following example to illustrate his point:
########
$ cat star-ampersand.rb
def another_method(a, b, c)
yield(:a=>a, :b => b, :c => c)
end
def take_block(*args, &block)
another_method(*args, &block)
end
take_block(1,2,3) do | hash | p hash end
$ ruby star-ampersand.rb
{:b=>2, :c=>3, :a=>1}
########
Julian was so overwhelmed by the amount and clarity of the replies that he
gave everyone {BIG VIRTUAL HUGS}.
Detecting a hung/stalled child process
--------------------------------------
Chris sought to launch an external process (with `foo`), "but then kill
that process some time later if it has not completed."
Joel VanderWerf said that timeout was the way to go.
RubyGems Statistics
-------------------
James Edward Gray II, setting forth to give an introduction to Ruby at his
local university, asked for some RubyGems statistics.
Jim Menard motioned at the gems.rubyforge.org stats page, which "lists all
of the gems and the number of downloads for each."
Kudos!
------
Austin Ziegler offered his "heartfelt thanks and kudos to the developers
of two projects": Aslak Hellesoy for MetaProject and Park Heesob for
GMailer.
MetaProject provides APIs for project hosting servers, issue trackers and
SCMs (Source Control Management), as well as a `quick-release' mechanism
for Rubyforge and others.
GMailer is an API for Google's GMail.
Austin is using the two projects to (almost) automate the release of new
versions of PDF::Writer.
katrina images generated with ruby
----------------------------------
Ara.T.Howard demonstrated efficient image generation under Ruby with
pictures of the Katrina hurricane.
The narray and mmap libraries were used.
RCR to modify #puts and #print inside ERB
-----------------------------------------
In case you didn't know, if you are using the ERb templating system and
suddenly feel like writing puts(foo), you should instead use _erbout <<
foo.
This allows you to add text to the output from within a <% ... %>, for
those cases where it's inconvenient to do <%= foo %>.
Another nice feature involves lines that begin with %. (Feature not [yet?]
available in Rails.)
In this case, the entire line is treated as though it is wrapped in <% and
%>, but looks much cleaner if you have several lines of code embedded.
Kerberos module for ruby?
-------------------------
snacktime: "Is there a kerberos module anywhere for ruby? I wasn't able to
find anything after searching around so thought I would ask here."
The answer appeared to be "no".
(A worthwhile project lurks.)
Python supported for client side scripting in Mozilla.
------------------------------------------------------
In future Mozilla-based browsers, you will be able to write XUL
applications and extensions in Python, as well as Javascript.
Erik Terpstra: "Would love to be able to do that with Ruby one day."
Ruby Conference Hotel
---------------------
"ACK! The hotel is sold out. Any suggestions?" - Matt Lawrence.
David A. Black noted that they'd had "false alarms" in the past where the
Hotel said they were sold out, but weren't, however it doesn't seem to be
the case this time.
He posted a Google Maps link showing other Hotels in the area, plus the
RubyConfRoomShares page on rubygarden.org.
James Edward Gray II added "as a helpful tip, not a complaint",
| It was out of handicap accessible rooms long before this too. I checked
| probably a month ago. It sounded to me like that hotel had very few
| rooms that didn't involve traversing stairs to reach. That might be a
| point conference organizers want to consider in the future.
How to view the rdocs for gems?
-------------------------------
Lloyd Zusman asked how to view the rdocs documentation for Gems he'd
installed.
Running gem_server, then browsing to http://localhost:8808/ was the answer
given by Austin Ziegler and Ken Kunz.
Webrick streaming bodies
-------------------------
Phlip was happily using WEBrick to serve HTTP data via:
########
def do_GET(req, res)
res["content-type"] = "text/plain"
res.body = "Hello, world.\n"
end
########
The above works well when there is only a small amount of data returned,
but for larger amounts it would be nice to have WEBrick stream the data to
the client so it can display it incrementally.
Yuuzou GOTOU said that res.body can take an IO object, not just a String.
He added, "If the content-length header field is present, HTTPResponse
will read specified length data from the IO."
The following example could be used by Phlip to serve a large string:
########
require 'stringio'
def do_GET(req, res)
res["content-type"] = "text/plain"
res.chunked = true if res.keep_alive?
res.body = StringIO.new(@a_large_string)
end
########
Harp?
-----
curtis:
| Just wanted to ask a real quick basic noob question, in some posts I see
| "harp:" being referenced, what exactly is that? Thanks.
According to `Irish boy' at [thebackpacker.net],
| Right along side Guiness, Harp Lager is tops. For St. Paddy's Day, I
| emptied a 12-pack while watching Irish documentaries. I couldn't think
| of another beer (besides Guiness) to accompany St. Paddy's Day
| celebration.
North Americans beware: `Pat Liston' warns that your Harp is now brewed in
Canada, not Ireland, and tastes completely different.
Now it seems that Ara.T.Howard has such a fondness of Harp that it is the
hostname of one of his machines, and subsequently is included whenever he
pastes code from a shell prompt. There ends the mystery.
NDiff (#46)
-----------
Bill Kleb posted this week's Ruby Quiz, the results of which will be used
by NASA for testing aerothermodynamic simulation software.
The problem is to write a version of diff that compares files numerically,
allowing you to set a threshold beyond which two numbers are considered
different.
Jim Freeze posted some code to handle command-line parsing for the program
(using the CommandLine library), so that participants can focus on the
important part of the quiz.
soap4r and ASP.NET problems
---------------------------
See also [Interop problem after update from 1.5.3 to 1.5.4].
Pete Elmore's was struggling to get Ruby and .NET to talk together via
SOAP, with the following error appearing when he tried calling a .NET SOAP
method from Ruby:
| SOAP::FaultError: Server was unable to process request. -> Validating
| User Name: the submitted user name contains forbidden characters: null
| string
His investigations revealed that soap4r 1.5.4 (as used in Ruby 1.8.3) was
doing funny things with namespaces. Downgrading to soap4r 1.5.3 (from Ruby
1.8.2) fixed the problem.
New Releases
------------
KirbyBase 2.3 beta 1
--------------------
Jamey Cribbs announced beta 1 of KirbyBase 2.3, "a small, pure-Ruby
database management system that stores it's data in plain-text files."
A number of significant enhancements were made, including the ability to
define one-to-one and one-to-many relationships between tables, as well as
virtual fields and retrieving `crosstab' results.
Arachno Ruby 0.6 for Windows
----------------------------
Lothar Scholz was happy to announce version 0.6 of the (30-day trial
available) Windows version of Arachno Ruby IDE.
Bugs were fixed, and integration was added with RubyGems and rdoc/ri.
0.6.1 was subsequently released.
RMagick 1.9.1
-------------
Timothy Hunter's RMagick 1.9.1 hit the streets, primarily fixing bugs, but
also adding a much faster version of Image#import_pixels.
| RMagick is an interface to the ImageMagick (www.imagemagick.org) and
| GraphicsMagick (www.graphicsmagick.org) image processing libraries. It
| supports more than 90 image formats, including GIF, JPEG, and PNG.
| RMagick now includes RVG, a high-level 2D drawing API based on SVG. The
| package includes comprehensive HTML documentation.
acgi-0.0.0
----------
Ara.T.Howard's assiduous acgi fought its way to release.
A drop-in replacement for Ruby's standard cgi library, it works more like
FastCGI, but without requiring Apache or lighttpd.
Unlike cgi, this provides persistence, speed, session affinity and more -
all in 91 lines of Ruby code (plus a tiny amount of C).
Units for Ruby
--------------
Coming up from Lucas Carlson is units, a library for converting between
units. (Shock.)
Par exemple,
########
require 'units/standard'
1.lb.to_ounces # => 16.0
require 'units/currency'
1.euro.usd # => 1.2545
########
Guillaume Marcais wrote a script to grab unit conversion constants from
Google, and Lucas released version 1.0.1 to fix some errors this revealed.
Simple RSS for Ruby
-------------------
Lucas Carlson introduced Simple RSS, "a simple, flexible, extensible, and
liberal RSS and Atom reader for Ruby. It is designed to be backwards
compatible with the standard RSS parser, but will never do RSS
generation."
The API is similar to Ruby's built-in RSS parser/generator, however Simple
RSS also handles Atom, and feeds which are not valid XML.
gmailer 0.0.9
-------------
GMailer now at version 0.0.9, says developer Park Heesob. Provides
interface to Google Mail it does.
GMailer can fetch mails, save attachements, get cotact lists, invite
someone or send message with file attachments. It provides edit methods
for labels, preferece settings, starring and archiving message.
Rio 0.3.4
---------
Christopher Kleckner set out the "new and improved" Rio, "a Ruby I/O
convenience class wrapping much of the functionality of IO, File and Dir."
Example:
########
# Copy a plain file, gzipping it
rio('afile.gz').gzip < rio('afile')
########
James Britt responded:
| I also want to say that your announcement, with all the examples, as
| well as those by Ara T. Howard (see his Traits release announcements),
| are exemplary.
Zed A. Shaw asked whether people really liked having the examples in the
announcement email, rather than just on a webpage, to which several people
said "yes!"
Win32 gem for RMagick 1.9.1
---------------------------
See also ANN: RMagick 1.9.1 win32 binary.
Timothy Hunter declareareared:
| Hot on the heels of the latest RMagick update, Kaspar Schiess has
| uploaded a Win32 gem for RMagick 1.9.1. This gem includes ImageMagick
| 6.2.3 as well as brand-new support for the JPEG2000 format. Thanks,
| Kaspar!
(RMagick is an interface to the ImageMagick and GraphicsMagick image
processing libraries.)
Gambit 0.1.1
------------
| Let the games begin!
|
| This marks the first official release of Ruby's web gaming framework,
| Gambit. Gambit was started in May of 2005 as a codefest project between
| James Edward Gray II and Greg Brown.
Ruby/Event 0.4.2 w/ Correct Scriptable Telnet
---------------------------------------------
Zed A. Shaw released a new version of Ruby/Event, his bindings for
libevent.
"It has nothing to do with calendars and is about doing multiplexed I/O
efficiently so that you can write fast as hell clients and servers."
However, see [The Early Demise of Myriad] for some (inherent?) problems
Zed discovered between Ruby's threads and libevent.