[#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]:
Re: KirbyBase
rubyhacker@gmail.com wrote:
>As I said, I'm an Object Guy and Jamey is a Database Guy. What does
>that mean?
>
>
>
Sometimes it means we are like the "Odd Couple". Hey, which one of us
is Felix?
>I was working on an app and using KirbyBase. Because of the work Jamey
>had done recently, creating objects from the database records was much
>easier.
>
>But I noticed something. My fields were all simple types. (After all,
>that's how databases work.) But I was taking my smaller objects and
>using them to build bigger objects. In most cases, I was storing a key
>into another table. So I would look up a record, and four of its fields
>
>would actually be keys into other tables. I'd then look up those four.
>I'd then embed my four little objects inside an object corresponding to
>
>the original row.
>
>I had a feeling that I was doing too much work, that some of this could
>
>be done for me.
>
>My thoughts were like this: OK, we have primitive types such as integer
>
>and string. From OOP, I have a habit of thinking of classes as abstract
>
>types (see Bertrand Meyer -- I think).
>
>So if I want an object to have a member which is (e.g.) a Person, why
>can't I treat Person just like String and Integer?
>
>In Ruby, we don't think of variables or attributes as being typed. I
>make an exception in the case of retrieving objects from databases,
>because I am very used to the idea of fields having types. (Although
>someday I will comment on that also.)
>
>After all, even in Ruby, we often think to ourselves, "This member
>will be a string" -- although if we are not careful, we might assign
>any other thing to it. But I won't go off on too much of a tangent
>here.
>
>So here I am. I'm thinking: Treat simple types (simple fields) the way
>we already do. We store a type for each field. Let's store the complex
>types the same way... but in the actual table, just store a key into
>another table.
>
>That requires the table name and key field name to be specified
>somehow,
>of course. My take: Let's get slightly railsy and assume the class name
>
>lowercased is the table name (e.g. Person => person.tbl). That means we
>
>
>
Only problem with assuming this is that if the person table does not
have a custom record class defined (default is a Struct), this won't
work. I'll show you an example from my beta below to show you how I
ended up working it.
>only have to specify the field name explicitly (and I've been thinking
>of a way to eliminate that also, by optionally establishing a known
>"key field" for a table).
>
>
Hal, I considered this, but, again, putting on my "Database Guy" hat, I
thought, "What if there is more than one table that wants to link into
this table? And what if this other table wants to use a different "key
field" to perform that link?"
>I was thinking "composite objects." I was thinking "embedding simpler
>objects inside more complex ones." I was thinking "this is how I can
>easily and transparently marshal my objects."
>
>When I mentioned this to Jamey, he said in effect, "Oh, you want one-
>to-one links between database tables." That's Mr. Database talking to
>Mr. Object. He was quite right, of course, but it confused me to think
>that way.
>
>It was as if my mechanic said, "Oh, you're trying to use this
>solenoid/starter assembly to initiate sequential explosions inside your
>
>cylinders with the aid of these spark plugs." To which I would say,
>"Uh, I just want to start my car." (As it happens, I really don't know
>much about cars or engines. That's a hardware problem.)
>
>So Mr. Database says, "Let's implement one-to-many also." (And he may
>have done others also, I don't have a KB install in front of me.)
>
>
Hal, I don't know if you have had a chance to take a look at the beta
yet, but I basically tried to implement a uniform way to specify
one-to-one links, one-to-many links, and calculated fields in the
create_table method.
>And my reaction is, well, OK, fine. But first of all, I don't
>personally
>see a need for it. (Of course, I might discover a need next week.)
>
>Second of all, I am not sure what analogy that would have in object
>terms. I suppose it would in effect be embedding an array where all the
>
>objects are objects derived from the rows of the child class. This
>bothers me a *little* because all the elements of the array would be
>of the same type. If you ever assign something else to that array,
>you'll
>get an error when you try to insert.
>
>
As a "Database Guy", I have a hard time understanding why this is a big
issue. First of all, we aren't really "embedding" an array into the
linked field. This field simply holds a reference to a KBResultSet
instance, which is just a sub-classed Array with some extra attributes.
In fact, the result of every #select in KirbyBase is an instance of
KBResultSet. So, if you are link the Order.detail_items field to the
Order_Items table, the Order.detail_items field for a particular Order
record is going to hold a KBResultSet (i.e. Array) of all records from
the Order_Items table that belong to that Order table.
>Well, there's already some clash between Ruby and the database concept,
>
>because db fields have types, and attributes (as variables) don't have
>types. But this seemed like going a step farther to me -- heightening
>the clash by creating an array that has to be homogeneous, like a
>Pascal array.
>
>
>
But that array is holding table records, just like the result of any
#select. If you object to this array being a KBResultSet instance, it
would seem like you would object to the fact that the select method also
returns a KBResultSet.
>Third of all, if you start to have "one-to-one" and "one-to-many" links
>
>and such, you start having to distinguish between them. This makes
>table
>instantiation, even in the default case, just a tiny bit more
>difficult.
>It's creeping complexity. It's very small, but it adds up (and
>sometimes
>multiplies if you're not careful, the way probabilities multiply).
>
>
True, but the flip side is, if you don't allow for specifying different
types of links, you paint yourself into a corner down the road *if* you
decide to add additional link types.
>See, there is a sort of "conservation of complexity" in any system. If
>I knew more information theory, I could express it better.
>
>If I write a C program in 600 lines, I can probably write it in Ruby
>in 100 lines. Where did the complexity go? It left my program and went
>into the interpreter. That is where it belongs -- under the hood.
>Information hiding is how humans manage complexity. The concept of the
>black box is a greater human invention than the discovery of fire or
>the wheel.
>
>
>
I agree completely. My first couple of attempts at adding more
complexity to KirbyBase did not honor this concept. I had the user
having to type too much code to tell KirbyBase how to define links,
calculated fields, etc. Hal and I went back and forth, but I finally
"got" what he was saying about this.
>Now, suppose I specify a table with KirbyBase that has two simple
>fields,
>an integer and a string. We do it something like this (I probably am
>forgetting the method name):
>
> create_table(:mytablename,
> :alpha, :Integer,
> :beta, :String)
>
>Fine and dandy, nice and simple.
>
>Now suppose we add another field -- I'll abandon the Greek alphabet and
>
>call it "boss" which will be a Person object.
>
>In an absolutely perfect world, this would be "just another type." The
>software would read my mind and do exactly the right thing, and all I
>would type is:
>
> create_table(:mytablename,
> :alpha, :Integer,
> :beta, :String,
> :boss, :Person)
>
>But this leaves some unanswered questions. Here are the questions and
>my
>answers -- pardon me for personifying the database software:
>
> 1. "What table will I get this 'person' stuff from?" (Just derive the
>
> table name from the class name.)
>
>
What if they did not designate a class for the table, but let it default
to Struct?
> 2. "What field in the child table will I use as a key?" (Hmm, maybe
>I'll
> have to tell you this one. It might be cool to be able to
>designate a
> key field, though.)
>
>
See my comments on key fields above.
> 3. "What type is that key field?" (Given the name, you can find it in
>the
> child table's information.)
>
>
True, but what if they have not created the Person table yet? How does
KirbyBase find the type? If I have KirbyBase wait till runtime to find
the type from the child table, now I have to have KirbyBase open the
child table everytime it wants to get the type for the boss field, like,
for example, when it needs to check that the user is entering the proper
field type during a #insert.
> 4. "What if Person itself is another complex object?" (Relax, just
>apply
> the same algorithm recursively. Worst that can happen is there is
> cyclic data, you'll go into an infinite loop, and I'll have to
>kill you.)
>
>
Ok, so how did I solve this problem. Well, I tried to find a solution
that was as simple for the user as possible, but left enough room for
further expansion and for the unforseen (see my comments on "key" fields
above). So, here is how you would specify the link between the :boss
field and the :person table in the beta:
create_table(:mytablename,
:alpha, :Integer,
:beta, :String,
:boss, { :DataType => :String, :Link => [:person, :person_id] })
This simply says, make a link between the value found in the boss field
to the person_id field in the person table. It specifies the field type
for boss (:String) and it tells which field to link to (:person_id)
within the :person table, therefore we don't have to specify a key field
in the :person table. It's a little more work, but, imo, not much, and
you only have to do this once, when you create the table. After that,
KirbyBase handles everything for you automatically.
>Now, Jamey's first attempt at this had me writing code in the
>MYtablename#kb_create method, calling a method named one_to_one_link or
>some
>such. It felt very manual to me, like I was hotwiring my car.
>
>
>
True. What seemed like a good idea at the time, because I felt like it
gave total control of the "guts" to the user, turned out to be too
cumbersome for the user. Hal finally got me to see this.
>"What's the big deal?" says the mechanic. "All you do is, you grab
>these two
>wires, not these two, and touch them together for a little while, not
>too long,
>and..." And I reply: "I don't want to reach for the wires and grab
>them, I
>don't want to memorize the colors, I don't want to estimate the time
>interval,
>and I don't want to see wires dangling. Keep that under the hood."
>
>In one iteration, perhaps not the present one, a one-to-many
>relationship was
>stored inside its parent object as a KBResultSet. Ugly to me. If we
>must have
>one-to-many, let it be just an array. I don't want my choice of
>database to
>intrude into my objects any more than necessary. Given the right glue,
>*any*
>database should be usable for my objects. KirbyBase is implementing
>this glue
>pretty well so far, INSIDE the db software where it belongs.
>
>In the one-to-one case (present iteration), the type information is
>specified
>as an array. This was my suggestion, and in general I like it. But it
>is too
>complex. We may not reach the ideal shown above, but let's strive
>toward it.
>
>
Again, Hal may not have yet seen the examples in the beta of the new
version yet. If you take a look at the example directory in the beta
distribution, I have tried to give a good example of one-to-one links
(link_test directory), one-to-many links (link_many_test directory),
calculated fields (calculated_test directory), etc.
Of course, Hal may look at those examples and still not like them. I'm
interested in hearing his feedback, and everyone else's feedback on the
beta. I've tried to strike a good balance between ease of use for the
user and allowing for future functionality, but I'm sure when people
look at the beta examples, they are going to have lots of great ideas
for improvement.
>When I have Jamey's email in front of me, I'll tell you exactly what I
>mean.
>
>I was also disturbed a little to see that the class had to inherit from
>a KB
>class (I forget which one). It's hard to articulate why this bothers
>me. It's
>one more thing to remember, one more thing to do, and it's not a
>totally clean
>separation.
>
>
I think I did away with this in the beta. You are right, that wasn't a
good idea.
>Also, a word or two about the kb_create method (called automatically
>when a row
>is retrieved, to turn it into an object). In a perfect world, we should
>
>"normally" not have to define one at all. I'm thinking of ways to make
>it
>usually unnecessary. (In the case of "calculated fields," this might be
>the
>very best place to put them, however.)
>
>
Yep. My implementation in the beta means you don't have to use the
kb_create method to specify link fields, calculated fields, or any of
the new functionality. You can specify it all as arguments to the
create_table method.
>Hope this helps clarify things a little.
>
>And I'm glad to see this discussion happening in public, just in case I
>give
>Jamey some really stupid advice. :) I'd hate to persuade him into a bad
>design.
>
>
>
I'm glad this discussion went public also. Prior to this, Hal was my
only feedback person for the new features and I think I was badgering
him to death. :-)
Well, if anyone is still reading this far, thanks!
Jamey