[#356204] MacRuby 0.5 — Laurent Sansonetti <laurent.sansonetti@...>
Hi,
[#356209] Workaround for "conflict" between ARGV and gets? — RichardOnRails <RichardDummyMailbox58407@...>
gets looks to ARGV, if populated, for its source of data. That is its
[#356217] manufacturing methods — Matthew Pounsett <matt@...>
Hi there.
[#356230] Creating Arrays Through a Loop — Squawk Boxed <vikramjam@...>
I was wondering if it was possible to create a series of arrays through
[#356245] Adding keys to a hash in a loop — Jack Bauer <realmadrid2727@...>
Hi all,
On 01.02.2010 18:35, Jack Bauer wrote:
Robert Klemme wrote:
[#356259] TK: Get the "usable" screensize"? — Axel <a99.googlegroups.a99@...>
[#356263] Module children — Camille Roux <roux.camille@...>
Hello,
[#356282] Errno::ENOENT: No such file or directory - --readline — "Michael R." <randallsata@...>
I cannot find a resolution to this problem and figured someone here
[#356286] Re: ruby and ralis failed — James Nathan <badlands_2004@...>
I had just found out that ruby and rails failed me as a programmer, because=
On Mon, Feb 1, 2010 at 9:39 PM, James Nathan <badlands_2004@yahoo.com>wrote:
it just do not work and Iam not happy with it.
James Nathan wrote:
[#356289] Is readline really broken in MacOS Snow Leopard!?!?! — TomTom III <b3082088@...>
It seems that readline (and hence gets) is broken in Ruby 1.8.7, on Mac
[#356298] Where are my ruby gems located? Why don't executables such as spec work? — Kristian Mandrup <kmandrup@...>
I'm on Mac OSX Snow Leopard, running Ruby 1.9.1
[#356304] Ruby Threads From C — Mido Peace <mido.peace@...>
Hi,
[#356306] UTF8 hell — Xavier No謖le <xavier.noelle@...>
Hello,
> I fetch rows from an UTF8 database and try to work with the string. To
2010/2/2 David Palm <dvdplm@gmail.com>:
2010/2/2 Xavier No=EBlle <xavier.noelle@gmail.com>:
2010/2/2 Robert Klemme <shortcutter@googlemail.com>:
[#356317] Why Ruby? — Jim Maher <jdmaher@...>
I've asked several friends and associates (application developers) what
What languages do you already know?
I'm more of application developer and hacker than professional
On 2010-02-06, Brian Candler <b.candler@pobox.com> wrote:
Seebs wrote:
Brian Candler wrote:
2010/2/8 Marnen Laibow-Koser <marnen@marnen.org>:
[#356323] RUBYLIB and shared libraries — Alpha Blue <jdezenzio@...>
Hi everyone,
[#356349] Writing to database row based on column name with FasterCSV. — John Mcleod <john.mcleod@...>
Hello all,
On Feb 2, 2010, at 1:22 PM, John Mcleod wrote:
Thanks James for the reply.
[#356354] Parsing text with while loop. — Felix Feelx <feelx@...>
I am parsing a csv file and I am unable to end my loop as I want it.
Felix Feelx wrote:
I edited your code and just changed a couple lines: http://pastie.org/807473
[#356364] load issue with roo — Reid Thompson <reid.thompson@...>
could someone point me in the direction of a solution to this error?
On Tue, Feb 2, 2010 at 4:26 PM, Reid Thompson <reid.thompson@ateb.com> wrote:
[#356389] Hi, Ruby Programmers, Is this possible. — Dot Smidt <bairioth@...>
Hello, everyone. Today I picked up Ubuntu User magazine, and I happened
[#356402] Referencing a method in a module — Charles Roper <reachme@...>
Say I have the following:
Foo#bar is usually used for instance methods, Foo.bar for class
[#356416] Ruby game server (concurrency and speed) — Artūras Šlajus <x11@...>
Hello there,
2010/2/3 Art=C5=ABras =C5=A0lajus <x11@arturaz.net>:
El Mi=C3=A9rcoles, 3 de Febrero de 2010, Jonathan Nielsen escribi=C3=B3:
[#356433] Hashes versus Arrays — Jerome David Sallinger <imran.nazir@...>
Hello,
People may be over-complicating things a bit.
Thank you David Masover, an explanation and a patronising comment, what
[#356435] Dynamic Class Instance? — Kale Davis <kale.davis@...>
I am creating a Ruby script that basically:
[#356439] rdoc_osx_dictionary 1.2.0 Released — Ryan Davis <ryand-ruby@...>
rdoc_osx_dictionary version 1.2.0 has been released!
[#356441] Name that DDL! — Walton Hoops <walton@...>
Hi all,
[#356443] Chapter 7 - Sorting Arrays without .sort — Vegard Sandengen <vladwow91@...>
Greetings,
[#356451] Error: uninitialized constant Mysql::Protocol::UNIXSocket — Shahab Qadeer <shahab_qadeer@...>
/!\ FAILSAFE /!\ Wed Feb 03 23:02:50 +0500 2010
Can someone faced this error before. I have just configured the
[#356456] mysql gem: better native extension error than this? — Tony Arcieri <tony@...>
uninitialized constant MysqlCompat::MysqlRes
[#356459] hooking subscript operations in a hash — Ralph Shnelvar <ralphs@...32.com>
In order to help debug something, I'd like to hook the hash subscript operation.
On Wed, Feb 3, 2010 at 9:38 PM, Ralph Shnelvar <ralphs@dos32.com> wrote:
RD> On Wed, Feb 3, 2010 at 9:38 PM, Ralph Shnelvar <ralphs@dos32.com> wrote:
On 2/3/2010 8:11 PM, Ralph Shnelvar wrote:
Wednesday, February 3, 2010, 8:53:49 PM, you wrote:
On Thu, Feb 4, 2010 at 8:41 AM, Ralph Shnelvar <ralphs@dos32.com> wrote:
Hello,
[#356460] ruby-serialport with Ruby 1.9 error — Tim Ngua <techrock1@...>
I'm a newbie programmer and I've been trying to communicate with an
On Feb 4, 3:40=A0am, Tim Ngua <techro...@yahoo.co.uk> wrote:
Luis Lavena wrote:
There is a 1.9 version of this gem on github, I'm not sure why searching
[#356480] ruby-serial port installation on windows — Ashikali Ashikali <ashikali.m@...>
[#356483] Where is the magic? — Ilya Lopatkin <uriel@...>
I'm learning Ruby and have found some interesting behaviour which I
[#356489] Some noob questions — John Ydil <john.gendrot@...>
Hello Ruby friends!
On 02/04/2010 11:58 AM, John Ydil wrote:
Robert Klemme wrote:
On 05.02.2010 00:10, Albert Schlef wrote:
Robert Klemme wrote:
On 02/05/2010 12:50 PM, Albert Schlef wrote:
Robert Klemme wrote:
On 02/05/2010 02:01 PM, Albert Schlef wrote:
Robert Klemme wrote:
2010/2/8 Aldric Giacomoni <aldric@trevoke.net>:
Hi, me again...
John Ydil wrote:
2010/2/11 Aldric Giacomoni <aldric@trevoke.net>:
Robert Klemme wrote:
2010/2/11 John Ydil <john.gendrot@cnsi.fr>:
Robert Klemme wrote:
2010/2/12 John Ydil <john.gendrot@cnsi.fr>:
Robert Klemme wrote:
[#356493] win32API problem running ocra in linux — Max Williams <toastkid.williams@...>
hi all.
On Thu, Feb 4, 2010 at 12:26 PM, Max Williams
[#356495] methodhash 0.5 released — Fredrik Johansson <fredjoha@...>
I created a small "lab tool" that makes life easier for me. It's
[#356520] ANN: Ruby 1.8.6 pl398 released — Kirk Haines <wyhaines@...>
Ruby 1.8.6 pl398 has been released. This release includes fixes for
[#356527] Re: What about Limelight? — Roger Pack <rogerpack2005@...>
> looking into GUIs, I came across LimeLight, an API for JRuby. I tried
Roger Pack wrote:
James Britt wrote:
[#356531] Finding duplicate records before creating using FasterCSV — John Mcleod <john.mcleod@...>
Hello all,
On Feb 4, 2010, at 1:15 PM, John Mcleod wrote:
[#356532] embedding ruby — Josep Pujol <pujol_josep@...>
Hello,
[#356547] Send a SOAP request to a url that requires basic authenticat — Chris Gunnels <rfsllc@...>
Hey all,
[#356550] Re: What about Limelight? — Micah Martin <micahmartin@...>
A good friend brought this thread to my attention. Limelight has been
[#356563] Can Ruby Do This? — Mr Bubb <jcabraham@...>
In Perl, you can create a hash of arbitrary depth like so:
Mr Bubb wrote:
Well, in my job (bioinformatics), I only use code like this about a
Mr Bubb wrote:
[#356580] Using Rspec for features and specs under Autotest — Sean DeNigris <sean@...>
Hi list,
[#356591] when should one use "and" and "or" — botp <botpena@...>
Hi All,
[#356599] ruby is not rails — Ruby Newbee <rubynewbee@...>
GNU was more popular due to the combination with Linux.
[#356600] Problems with RubyGems on a Debian machine — Greg Chambers <gregory.w.chambers@...>
I wasn't quite sure if I should of posted this in the Ruby forum or the
On Feb 5, 9:38=A0am, Greg Chambers <gregory.w.chamb...@gmail.com> wrote:
[#356639] ANN: Ruby 1.8.6 pl399 released — Kirk Haines <wyhaines@...>
Ruby 1.8.6 pl399 has been released. This release fixes a problem that
[#356653] JRuby rake not working! — tuti plain <hypermeister@...>
Hello all,
[#356661] weird action of 'nokogiri' library on Snow Leopard — junyoung <juneng603@...>
cut the introduction.. here is my situation on the snow leopard.
[#356662] Fastest way to iterate over a range in steps — Aaron Gifford <astounding@...>
What's the fastest way to iterate over a range in variable increments?
On 02/05/2010 07:36 PM, Aaron Gifford wrote:
On 02/05/2010 09:19 PM, Intransition wrote:
[#356663] function lookup in ruby — Cnm Cnm <opti900@...>
Hi all,
[#356672] envjs rubygem 0.1.1 — Steven Parkes <smparkes@...>
envjs rubygem version 0.1.1 has been released!=20
[#356685] Google AI Challenge at U of Waterloo — Forthminder <mentifex@...>
Contest runs from 4 February to 26 February 2010.
[#356688] OS X/Snow Leo - Specify custom executable location for build/install for 1.9 — Joe Wangkauf <tmo1138@...>
Been searching via Google but nothing immediately pops up.
[#356697] Can ruby do a repeated Reboot test script — Ham Baba <hamid_rasoulian@...>
Just want to write a ruby script that reboots the computer for 10
Ham Baba <hamid_rasoulian@yahoo.com> wrote:
[#356704] wxFormBuilder for wxRuby question — tuti plain <hypermeister@...>
Hi all,
[#356716] match/scan does not return multiple matches — Michal Suchanek <hramrach@...>
Hello
Michal Suchanek wrote:
On 02/06/2010 07:57 PM, Ralf Mueller wrote:
Robert Klemme wrote:
On 9 February 2010 11:49, Ralf Mueller <ralf.mueller@zmaw.de> wrote:
Michal Suchanek wrote:
[#356744] Honest opinion needed... — Schala Zeal <schalaalexiazeal@...>
I've been trying to find a scripting language to integrate into a game
Limiting the use of dynamic features of ruby will lead to better
Schala Zeal wrote:
On Sun, Feb 7, 2010 at 4:29 AM, Schala Zeal <schalaalexiazeal@gmail.com>wrote:
On Mon, Feb 8, 2010 at 3:33 PM, Tony Arcieri <tony@medioh.com> wrote:
[#356749] Monkeybars dead? — =?ISO-8859-15?Q?Daniel_V=F6lkerts?= <dv@...>
Hi,
[#356753] DNote 1.1.2 — Intransition <transfire@...>
DNote v1.1.2
[#356756] same character show different code in two machine — Ryan Smith <sunraise2005@...>
one chinese character show different code in two different machine.
Ryan Smith wrote:
Are the two machines getting the text from the same source?
[#356769] C embed assistance — Schala Zeal <schalaalexiazeal@...>
I was wondering if there was a site with reliable documentation covering
Schala Zeal wrote:
You know... I was considering right now about using C# instead of C/C++.
[#356772] Rescue Block does not work — Ben Vishny <bvishny@...>
Hi all,
El Domingo, 7 de Febrero de 2010, Ben Vishny escribi=C3=B3:
I単aki Baz Castillo wrote:
[#356791] confused about the superclass — Ruby Newbee <rubynewbee@...>
Hello,
[#356792] Why no ++ and --? — Sonja Elen Kisa <sonja@...>
"foo += 1" somehow seems less elegant or pretty as "foo++".
Sonja Elen Kisa wrote:
On 2010-02-08, Sonja Elen Kisa <sonja@kisa.ca> wrote:
On Sun, Feb 7, 2010 at 7:15 PM, Sonja Elen Kisa <sonja@kisa.ca> wrote:
They just plain don't mean the same thing:
[#356802] Gateway down? — Robert Klemme <shortcutter@...>
Hi,
[#356812] String constant reference to another class instance variable — Mikkel Kroman <mk@...>
Hello.
Thanks for both your answer, but what I want to achieve is something
[#356839] Documentation conventions — Marvin Gülker <sutniuq@...>
Hi there,
[#356860] Recursive mkdir — Greg Willits <lists@...>
So, I was surprised to find out that Dir.mkdir will not create all
[#356861] Ruby-based equivalent to SCons? — Nick Sabalausky <hmcfryxhbmyac@...>
First of all, I'd like to point out that while the "What does this Ruby
[#356882] "Code must be Chunkable" — Intransition <transfire@...>
I watched Part 1 of this great lecture, and I just had to share:
Thomas Sawyer wrote:
On Feb 9, 11:40 am, Brian Candler <b.cand...@pobox.com> wrote:
Thomas Sawyer wrote:
Michel Demazure wrote:
Thomas Sawyer wrote:
Hi James,
Thomas Sawyer wrote:
Brian Candler wrote:
On 2/12/10, J=F6rg W Mittag <JoergWMittag+Ruby@googlemail.com> wrote:
On Feb 15, 4:24=A0am, Caleb Clausen <vikk...@gmail.com> wrote:
J旦rg W Mittag wrote:
J旦rg W Mittag wrote:
[#356885] Working directory for external commands — Duckz King_duckz <king_duckz@...>
Hello everyone, I've been searching on google for a while now but I
[#356886] Looking for external program invocations — markhobley@... (Mark Hobley)
I have some open source software packages that were written in Ruby by a third
[#356903] It's a Bird, it's a plane, no! umm, it's Super Boid? — thunk <gmkoller@...>
Hey Guys,
thunk wrote:
[#356915] Mixin module with class variables and class methods — John Lane <ruby-forum@...>
Hello,
John Lane wrote:
Brian Candler wrote:
John Lane wrote:
[#356919] Ruby 'C' Extensions and Unicode — Praveen <praveendevarao@...>
Hi,
[#356933] Recommendations for a PostgreSQL driver for Ruby that supports bytea types correctly? — CyclingGuy <ericthecyclist@...>
Can anyone recommend a PostgreSQL driver for Ruby that supports
[#356944] Need Code to Create Directory Picking Dialog Box — Alex DeCaria <alex.decaria@...>
I have a Ruby program and want to be able to pick a directory using a
I figured out how to do it easily using FXRuby. The code snippet below
[#356950] algorithm to truncate date to beginning of week? — Chuck Remes <cremes.devlist@...>
I need to be able to take any date after Jan 1, 1980 and truncate it to the nearest week.
[#356976] Here's a filtered file/dir copy, FWIW. — Nick Sabalausky <hmcfryxhbmyac@...>
I had a need to do a filtered directory-tree copy, but didn't see
Turns out there's a bug in that, but I can't figure out why...
Ryan Davis wrote:
[#356988] Shared memory creation in ruby — ranjan sri <infibit@...>
Hi,
[#356989] Reg : Auto select Drop down list — "Pradheep R.b" <pradheep.rb@...>
Hi I need a help on auto select drp down list. For example , ihave three
[#357000] Using Ruby /DL to invoke function in windows dll — di vi <infibit@...>
Hi,
di vi wrote:
Albert Schlef wrote:
[#357001] How to change stdin separator (perl vs ruby) — "Sak .." <sak@...>
I have to process very very big text files and not line per line, I have
[#357021] difference between [] and Array[] — artbot <am@...>
hi,
[#357023] ruby cross-platform File.basename — bwv549 <jtprince@...>
What is the best idiom for generating a cross-platform basename?
[#357030] Exit method? — Charlie Ca <artemisc360@...>
Hello World,
Charlie Ca wrote:
On Wed, Feb 10, 2010 at 5:53 PM, Marnen Laibow-Koser <marnen@marnen.org> wr=
Eric Christopherson wrote:
[#357050] Test script — Antoine Makhassak <twaynz@...>
Hello,
Antoine Makhassak wrote:
I have used Test:Unit and the assert_equal function, but I am just able
[#357052] Need help with Code (Input Functionality) — Michael Brodeur <mikejoebro@...>
When I run the following code:
On 2010-02-11, Michael Brodeur <mikejoebro@yahoo.com> wrote:
[#357065] Global rescue - DRY (don't repeat yourself) — Jan Roslind <jan@...>
I am trying to implement report to a bug management system in rails.
Hi,
Raveendran .P wrote:
On Thu, 11 Feb 2010 16:27:02 +0900
Martin Boese wrote:
On Thu, 11 Feb 2010 17:18:26 +0900
Sorry - my fault - I should have included a running demo:
[#357075] Newbee question. Runtime classloading — Sergey Sheypak <serega.sheypak@...>
Hello, I'm Java developer and now explore Ruby for increasing
Ruby needs to interpret the file where the class is defined before you
Xavier Noria wrote:
[#357085] Building Ruby 1.9 in HP-UX IA 11.31 — "Sebastian (syepes)" <sebastian@...>
Hi all,
[#357091] how to use rdebug in ruby script — Nike Mike <thillaibooks@...>
Hi,
> how to use rdebug in a pure ruby script file.Please me
[#357103] Can SWIN CommonDialog.openFilename() select multiple files? — Alex DeCaria <alex.decaria@...>
I installed the latest Ruby 1.9 via RubyInstaller.org
[#357122] n00b: text processing from magnetic stip input — John Gesimondo <john@...>
Hello everyone!
[#357141] Delete Item In Array If Conditions Met — Chris Kalaboukis <thinkfuture@...>
Hi all: Ruby newbie here. Been trying to get this code to work but am
[#357156] String to symbol — Sergey Sheypak <serega.sheypak@...>
Hello, I'm working with yaml and objects.
2010/2/12 Sergey Sheypak <serega.sheypak@gmail.com>:
Robert Klemme wrote:
[#357162] how to set permission '777' to dir? — Pat Kiatchaipipat <hb.pat87@...>
hello, I've some question when I want to create new folder with
Pat Kiatchaipipat wrote:
I try FileUtils.chmod() after create new file but it still has permision
[#357170] how to detect used protocol (SOAP, JSON, XML etc.) — jeljer te Wies <jeljer@...>
Hi guys!.
jeljer te Wies wrote:
Hi Brian,
jeljer te Wies wrote:
[#357177] Problem with arrays — Sylvain Petit <sokaos@...>
Hello,
[#357185] Skipping headers in FasterCSV — John Mcleod <john.mcleod@...>
Hello all,
I guess what I'm asking is...
John Mcleod wrote:
Thanks Brian for the reply.
John Mcleod wrote:
Thanks again.
[#357187] Is there a way to get a method to always run at the end of any descendent's initialize method? — Xeno Campanoli <xeno.campanoli@...>
I have an initialize method I want to run at the end of any daughter or
There's no simple way to do this. One possibility is to create a
Or something like:
[#357202] What is the best exception to use for bad Data State? — Xeno Campanoli <xeno.campanoli@...>
I don't want to use "ArgumentError" as this is a matter of data that may be
On 02/13/2010 02:16 AM, Xeno Campanoli wrote:
Robert Klemme wrote:
[#357221] unicorn 0.96.1 - leak fix for Rainbows!/Zbatery — Eric Wong <normalperson@...>
First off, this memory leak doesn't affect Unicorn itself at all
[#357235] Getting started with the C API — Marvin Humphrey <marvin@...>
Greets,
[#357249] Generating all possible combinations of a 5 digit pattern. — Zach Bartels <no@...>
This is probably childs play for most of you.. But I lack the
[#357265] All attempts to install gems hang — Evan Dorn <public@...>
For a couple weeks, I haven't been able to install any gems on my
Evan Dorn wrote:
I've managed to get some progress (I can actually install a gem) if I
Bret Weinraub wrote:
[#357297] Searching in arrays — "Szabolcs T." <toth@...>
Dears, I have two .txt files. I read both into arrays and I would like
[#357304] toutf8 — Raul Jara <raul.c.jara@...>
The string class has a couple of methods listed in ruby-doc such as:
[#357313] Mon proprety isn't a string? — Greg Ma <gregorylepacha@...>
Hi,
[#357317] can't convert Symbol into String — Ralph Shnelvar <ralphs@...32.com>
I'm getting the following error
Ralph Shnelvar wrote:
[#357323] Square brackets — Andreu <sys1@...>
I'm using Ruby 1.9.1 and sqlite3 with sqlite3-Ruby (1.2.5)
[#357329] Compare and delete element from an array — Greg Ma <gregorylepacha@...>
Hi,
On Sun, Feb 14, 2010 at 4:45 PM, Greg Ma <gregorylepacha@msn.com> wrote:
[#357334] 'def', but with a closure — Albert Schlef <albertschlef@...>
It occurred to me several times that I wanted to do:
From: Albert Schlef <albertschlef@gmail.com>
Is there some reason why Ruby hasn't made it possible to just do
[#357344] rsec - parsec for ruby1.9 — Lui Kore <usurffx@...>
Hi dear everyone,
[#357366] Mutex — Mido Peace <mido.peace@...>
Hi,
2010/2/15 Mido Peace <mido.peace@gmail.com>:
require 'thread'
2010/2/15 Mido Peace <mido.peace@gmail.com>:
[#357382] Parallel assignments vs. Serial assigments — Gavin <thinkersplayground@...>
Hey all
(My results show that parallel assignment is slower in this test)
On Mon, Feb 15, 2010 at 5:30 PM, Gavin
2010/2/15 Jes=FAs Gabriel y Gal=E1n <jgabrielygalan@gmail.com>:
[#357386] Red Dirt RubyConf: Call for Proposals — James Edward Gray II <james@...>
Just a quick reminder here folks. Our Call for Proposals for the Red =
[#357397] Newbie needs help — Gui Djos <guidjos0x00@...>
Heya fellas. I've coded C, Java and perl for a while now, but I'm
[#357407] Ruby "Save Game" function — Michael Brodeur <mikejoebro@...>
Hello!
[#357410] filepath in identify for paperclip cygwin — Dan Quach <danbus@...>
Hi there,
[#357417] Find by association table — Greg Ma <gregorylepacha@...>
Hi,
[#357446] Dia 1.1 released! — Robert Gleeson <rob@...>
Hey
Dan --
I'm just leaving an update:
On Tue, Feb 23, 2010 at 5:19 AM, Robert Gleeson <rob@flowof.info> wrote:
Josh --
Another mistake I made, this is the exception that actually gets raised
Thanks for the feedback, Robert. I won't be able to play with it for a bit
Josh --
On Wed, Feb 24, 2010 at 12:02 AM, Robert Gleeson <rob@flowof.info> wrote:
[#357485] Tk on Windows and Mac OS X 10.6 — Eric Christopherson <echristopherson@...>
Is it possible to install Ruby Tk bindings on Windows with
Eric Christopherson wrote:
On Tue, Feb 16, 2010 at 5:57 PM, Albert Schlef <albertschlef@gmail.com> wro=
Eric Christopherson wrote:
On Tue, Feb 16, 2010 at 8:14 PM, Albert Schlef <albertschlef@gmail.com> wrote:
Eric Christopherson wrote:
> I know that there are many problems to install or distribute Ruby/Tk.
On Feb 19, 6:13=A0pm, Roger Pack <rogerpack2...@gmail.com> wrote:
From: mdiam <maurice.diamantini@gmail.com>
[#357487] Scruffy Graph is Cropped — Alex DeCaria <alex.decaria@...>
I'm running the Scruffy example for a line graph from
[#357493] Convert Sequel Dataset to JSON Object — Phil Tayo <philsmithson@...>
Hi,
Phil Tayo wrote:
Jeremy Evans wrote:
Phil Tayo wrote:
Phil Tayo wrote:
[#357498] Running both Ruby 1.8 and 1.9 on same windows machine — Alex DeCaria <alex.decaria@...>
I want to try out Ruby 1.9, but don't want to go whole hog since I have
[#357505] Unable to run .rb file with SCITE editor — Sanjeev Oza <sanjeev.oza@...>
I have re-installed Ruby on my pc and run some rb files but these files
Sanjeev Oza wrote:
[#357532] lookup up documentation for inherited methods — Nick Brown <nick@...>
I find it frustrating when using "ri" to look up documentation on a
[#357537] system waiting for launched process AND forked processes — Pierre Morel <pmorel@...>
Hello,
[#357547] will_paginate — Manish Belsare <manishbelsare2003@...>
Hello,
[#357548] Where is Ruby 1.9 'TK' library? — Alex DeCaria <alex.decaria@...>
Just installed Ruby 1.9 and tried to run one of my TK applications that
On Feb 17, 7:36=A0pm, Alex DeCaria <alex.deca...@millersville.edu>
On Wed, Feb 17, 2010 at 3:10 PM, Luis Lavena <luislavena@gmail.com> wrote:
> Luis, is it possible at all to *add* Tk bindings to a copy of Ruby
On Wed, Feb 17, 2010 at 5:40 PM, Roger Pack <rogerpack2005@gmail.com> wrote:
> Wow, nice! Only... how do I compile the extension to take its Tcl/Tk
On Wed, Feb 17, 2010 at 6:14 PM, Roger Pack <rogerpack2005@gmail.com> wrote:
Roger, could you give some more guidance on what gem/extconf switches
Roger Pack wrote:
Roger Pack wrote:
Roger Pack wrote:
> The contents of the gem_make.out file are just 'C:/Ruby19/bin/ruby.exe
Roger Pack wrote:
>
Alex DeCaria wrote:
gem which tkutil results in:
[#357556] CSV: what is the problem ? — François Boone <francois.boone@...>
Do you have any solution?
[#357578] simple addition program, need help — Spencer Spence <spencaatee@...>
class Calculater
[#357595] FXRuby and Ruby 1.9 — Alex DeCaria <alex.decaria@...>
Forgive the post to this forum. The FXRuby forum doesn't seem to be
[#357599] Method prototypes like C++? // Compiling executables — Claudio Freda <ferdil.kiwi@...>
Hi, I'm switching from C++ to Ruby, I have a few questions.
[#357600] ruby-prof on windows: strange measured time numbers — Zhoran Tvalve <ztuaev@...>
Hi there,
> I set environment wariable RUBY_PROF_CPU_FREQUENCY to various values
Roger Pack wrote:
[#357617] strings combine — Roger Pack <rogerpack2005@...>
Shouldn't the following be a syntax error?
On 02/18/2010 11:32 PM, Roger Pack wrote:
This doesn't work if you assign the strings to variables though:
2010/2/19 Raul Jara <raul.c.jara@gmail.com>:
Robert Klemme wrote:
On 19.02.2010 17:40, Raul Jara wrote:
> Robert@babelfish ~
Roger Pack wrote:
Raul Jara wrote:
Justin Collins wrote:
[#357621] RTranslate Gem (Open-URI) and Encoding — The Chromag <brent@...>
I'm using the rtranslate gem (sishen-rtranslate) to handle translating
On 2010-02-18, The Chromag <brent@bjohnson.net> wrote:
Seebs wrote:
[#357622] Ruby conditionals subtlety? — Farhad Farzaneh <ff@...>
Hi,
Ryan Davis wrote:
Ryan Davis wrote:
Ryan Davis wrote:
Farhad Farzaneh wrote:
Maybe it's clearer like this:
On Thu, Feb 18, 2010 at 5:18 PM, Ryan Davis <ryand-ruby@zenspider.com> wrot=
[#357623] Adding self to Enumerable — Glenn Ritz <glenn_ritz@...>
Hi,
[#357657] Global variables usage — di vi <infibit@...>
I declared two files.One to hold the value of a global variable.And the
[#357663] reuire 'socket' modules? — di vi <infibit@...>
Hi,
[#357666] using secure memory — Chad Perrin <perrin@...>
I'm writing a utility that needs to use secure memory (that is, won't
[#357678] Get Goolge Result — Sajjad Seyyed <treep_ir@...>
Hi
2010/2/19 Sajjad Seyyed <treep_ir@yahoo.com>:
Eust叩quio Rangel wrote:
> no i wanna just show me result link
Eust叩quio Rangel wrote:
2010/2/19 Sajjad Seyyed <treep_ir@yahoo.com>:
Eust叩quio Rangel wrote:
On Sat, 20 Feb 2010, Sajjad Seyyed wrote:
[#357684] Libraries for JPEG resizing in Windows Environment — Alex DeCaria <alex.decaria@...>
I'd like an idea as to what other image processing libraries are
[#357750] Specifying Ruby Version from Command Line — Alex DeCaria <alex.decaria@...>
I have two versions of Ruby installed (1.8 and 1.9). When starting a
[#357759] Foundations of RSpec — Josh Cheek <josh.cheek@...>
According to Amazon, this book is supposed to be released already. I've been
[#357761] Threads vs Processes — Tim Ferrell <s0nspark@...>
[#357762] Including gems in a bundle with Rawr (Jruby) — Eric Christopherson <echristopherson@...>
I'm able to make a jar/.exe/.app out of a simple script with Rawr, but
Eric Christopherson wrote:
Thanks for your response.
Eric Christopherson wrote:
On Mon, Feb 22, 2010 at 12:28 AM, James Britt <james.britt@gmail.com> wrote=
[#357765] rubygems-update 1.3.6 Released — Eric Hodel <drbrain@...7.net>
rubygems-update version 1.3.6 has been released!
[#357767] Running two versions of Ruby - Lessons Learned — Alex DeCaria <alex.decaria@...>
After experimenting with Ruby 1.9 I've found I really like it and wanted
[#357776] Read efficiency? — Notmy Realname <guyminuslife@...>
I'm wondering if anyone knows much about Ruby's efficiency with IO#read.
I hate it when I put my foot in my mouth. After further testing, I'm
[#357803] CGI (read multipart form): Accept-Charset encoding error (CGI::InvalidEncoding) — Stefan Fischer <sfischer@...>
Hello,
[#357814] Difference between system() versus exec Kernel methods — Alex DeCaria <alex.decaria@...>
I'm trying to understand the difference between the Kernel.system and
On Sun, Feb 21, 2010 at 5:23 PM, Alex DeCaria
That's well and good. I've already read the documentation. But, based
[#357818] "ubygems" load error — Brian Wolf <brw314@...>
[#357827] Complex type-checking — Ken Coar <the.rodent.of.unusual.size@...>
I have a number of methods that can take arguments in two different
[#357828] using Shoes as GUI — Moe Fred <moomed2003@...>
HI guys, am using shoes as my GUI for a project am working on, am
On Sun, Feb 21, 2010 at 9:53 PM, Moe Fred <moomed2003@yahoo.com> wrote:
[#357829] Ruby CMS — z3r0_f4ct0r@...
Hi all!
[#357848] Binding#eval issue — Intransition <transfire@...>
I have the following extensions to Binding:
[#357849] Ruby 1.9 and loss of Windows 'right-click/edit' option — Alex DeCaria <alex.decaria@...>
With Ruby 1.8 (Windows OS) I could right-click on a windows icon and
[#357878] Speed sprint — Benedikt Müller <benemue@...>
Hi
On 02/22/2010 20:30, Benedikt M端ller wrote:
Alexander Jesner wrote:
Chuck Remes wrote:
PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBKw7ZyZyBXIE1pdHRhZyBbbWFp
[#357899] Test::Unit Newbie Question regarding loops — Yotta Meter <spam@...>
With the following example:
Yotta Meter wrote:
This is really the great idea I was looking for, thanks. Obviously I'm
Yotta Meter wrote:
I'm seeing some performance issues I can't seem to get around. Your
Yotta Meter wrote:
[#357907] RDoc status and future? — Claus Folke Brobak <cfb@...>
Hi all,
[#357912] Calling a redefined method higher up the ancestor hierarchy — Tom Ten Thij <tomtt.rails@...>
I have a situation where an object has redefined the method method. Is
[#357929] Trace local variable — Onionwushu Onionwushu <loic.lehenaff@...>
Hi !
[#357940] How do I set the encoding on a regexp ? — Perry Smith <pedzsan@...>
Title pretty much says it all. Here is a small sample program:
Perry,
Hi Brian and David,
Perry Smith wrote:
My bad.
[#357985] Referring to Hash and Array Elements — Saeed Bhuta <saeed.bhuta@...>
Hi All,
[#358009] Iterate over hash of nested hashes — Glenn Ritz <glenn_ritz@...>
Hi,
On Wed, Feb 24, 2010 at 10:40 PM, Glenn Ritz <glenn_ritz@yahoo.com> wrote:
Xavier Noria wrote:
[#358031] You dream API for a text editor — Charles Roper <reachme@...>
Hi Friends,
[#358032] Help on algorithm to calculate combinations — Alexander Antonakakis <alexis@...>
Hello all
On 25 February 2010 09:40, Alexander Antonakakis <alexis@maich.gr> wrote:
[#358035] find params — Alex Moreno <alejandro.moreno@...>
Hi all,
[#358057] Ruby class — Alex Alex <psiersadmin@...>
Hello all. I have two classes:
[#358060] Array index question — John Smith <ks1911shooter@...>
Question about an array. Say I have the following array...
Please excuse my newbieness, second day with Ruby.
On 25 f=E9vr. 2010, at 19:20, David Springer wrote:
after some inspiration from Luc I was able to come up with this:
[#358078] Unable to install libxml-ruby on Win2k3 machine — Sirisha Pusapati <pusapatisirisha@...>
Hi
[#358089] Class Function call vs Normal Function call — "THAKUR PRASHANT SINGH" <Prashant_Singh.Thakur@...>
I am creating zip file using ruby zip there are two versions of creating
Your first piece of code doesn't do anything at all, because it just
The ruby version is ruby 1.8.6 (2008-08-11 patchlevel 287)
THAKUR PRASHANT SINGH wrote:
Hi Brain,
Thanks for help I think I got the issue solved.
[#358108] Installing Pg gem for PostGreSQL 8.4 — Saeed Bhuta <saeed.bhuta@...>
Hi All,
Are you installing this on a mac, windows or a linux environment? You may
Shashank Tiwari wrote:
Saeed Bhuta wrote:
On Mon, 2010-03-01 at 17:56 +0900, Saeed Bhuta wrote:
Here is the result of the '$ dpkg --get-selections' command;
On Mon, 2010-03-01 at 23:19 +0900, Saeed Bhuta wrote:
Reid Thompson wrote:
On Tue, 2010-03-02 at 00:58 +0900, Saeed Bhuta wrote:
Reid Thompson wrote:
On Tue, 2010-03-02 at 17:24 +0900, Saeed Bhuta wrote:
Reid Thompson wrote:
On Tue, 2010-03-02 at 23:09 +0900, Saeed Bhuta wrote:
On Tue, 2010-03-02 at 11:23 -0500, Reid Thompson wrote:
Reid Thompson wrote:
what does this return
Reid Thompson wrote:
On 3/3/2010 3:11 AM, Saeed Bhuta wrote:
Reid Thompson wrote:
On Wed, 2010-03-03 at 23:59 +0900, Saeed Bhuta wrote:
[#358117] Music Theory (#229) — Daniel Moore <yahivin@...>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Daniel X Moore wrote:
Wow, this is some great discussion! Both piano and guitar chords are
Daniel X Moore wrote:
Thanks for the pointers. Maybe you could clarify some things below:
Evan Hanson wrote all single >'d lines
> #I'll be making this library bigger, given enough time.
So, this is my first post to the list, my solution to 229. I'm still gettin=
Evan Hanson wrote:
On Mon, Mar 1, 2010 at 4:02 PM, Brian Candler <b.candler@pobox.com> wrote:
Rick Denatale wrote:
Brian Candler wrote:
[#358121] scheduling asynchronous delayed execution — Nick Brown <nick@...>
What is the best way to schedule something for delayed asynchronous
On 02/26/2010 08:50 PM, Nick Brown wrote:
[#358128] Regex for "not matching" an unneeded prefix substring? — Jet Koten <jetkoten@...>
Hi all,
On 02/26/2010 22:20, Jet Koten wrote:
[#358141] running a file — John Pasqa <jasello098@...>
ok, i'm writing a ruby program that interprets some text and does stuff
On Fri, Feb 26, 2010 at 7:30 PM, John Pasqa <jasello098@gmail.com> wrote:
i am using windows, but opening a file with my program doesn't do
On Sun, Feb 28, 2010 at 01:35:24AM +0900, John Pasqa wrote:
yes thats what im trying to do, but i want to do it by having the user
On Sun, Feb 28, 2010 at 11:42:11AM +0900, John Pasqa wrote:
[#358144] ruby one on osx — Brian Wolf <brw314@...>
Hi,
[#358150] Can YARD do this? — Claus Folke Brobak <cfb@...>
RDoc can be used to convert a string, possibly with RDoc "tags", to
[#358168] Interpolation question — Dudebot <craignied@...>
Why does
On 27 f=E9vr. 2010, at 19:58, Dudebot wrote:
[#358177] scope question — Nick Brown <nick@...>
Consider the following Sinatra app:
[#358198] Time, Date and DateTime — Rajinder Yadav <devguy.ca@...>
Hi,
[#358204] Shoes? — Kurtis Rainbolt-greene <thinkwritemute@...>
Ok, so I'm getting back into GUI development and I want to use Ruby.
Kurtis Rainbolt-greene wrote:
Howard Roberts wrote:
Ryan Davis wrote:
On Mon, Mar 1, 2010 at 7:20 PM, Ryan Davis <ryand-ruby@zenspider.com> wrote:
[#358212] Do you recommend deploying Rails applications as WARs? — Hussein B <hubaghdadi@...>
Hey,
On Sun, Feb 28, 2010 at 8:15 AM, Hussein B <hubaghdadi@gmail.com> wrote:
[#358214] Efficient implementation of saving search state — User Bin <secrevolt@...>
Hi everyone, this is my first post to this forum and a new Ruby
[#358223] Array#join using to_a if defined — Benoit Daloze <eregontp@...>
Hi,
On Sun, Feb 28, 2010 at 12:53 PM, Benoit Daloze <eregontp@gmail.com> wrote:
[#358230] Simple open source web admin for git repositories? — Tony Arcieri <tony@...>
Excuse this slightly off topic post, but I figure ruby-talk is a good
[#358233] Rdoc hosting? — Matt Bleh <phreakuencies@...>
Hi,
Re: "Code must be Chunkable"
Let me respond to bits of Marnen's excellent post at a time. Marnen Laibow-Koser wrote: > Thanks for replying! I've probably injected myself into a debate that's > a bit over my head, but that's how learning happens. For all of us > James Coplien wrote: >> Marnen Laibow-Koser wrote: >>> James Coplien wrote: >>> [...] >> >>> I cannot imagine *not* representing a bank account as an object in a >>> bank software system. The balance is part of such an object's state. >> >> No. In every example I've seen, financial records are kept as audit >> trails that track deposits, withdrawals, interest accruals, etc. There >> is no "balance" sitting on a disk nor sitting in memory. The balance is >> computed as the sum of accruals, less the sum of decreases, against some >> baseline. All these data are in a database — but no balance. > > That's implementation. It is irrelevant to interface, no? It affects the internal form of the system. That form is called its architecture: the parts and their relationships. Those parts have interfaces, and the way we think about them affects the way they are implemented in the code. For example, if we implement a bank system in terms of incremental audit trails and dynamic association between those elements and roles that appear in dynamically created account Contexts, it's a much different design than if an Account is a data object. It shows through. Kent Beck has long argued that you can't hide a bad design behind a good interface. Brenda Laurel emphasizes the importance of the direct manipulation metaphor. Alan Kay talks about these objects as extensions of the images of your own mind. That is what DCI is trying to do. More to the point, the way that the market thinks about them (the stakeholders) affects their rates of change. Much of design is about eliciting change points so that frequently changing stuff is easy to change, is localized, and is separated from the stuff that doesn't change so much. That isn't all in the interface, unfortunately. In fact, it is often just the opposite. Most of the interface of a Prius car is the same as that for an ordinary gasoline-powered automobile, but the internal architecture is radically different. >> Let me reiterate my question, which yet goes unanswered here: Can you >> name me one, real, concrete system in real use, in a real financial >> institution, where the account is an object, and its field is a balance, >> within a system that manages the account itself? > > First, your question probably goes unanswered because the only people > who could answer it are people who've worked on the proprietary systems > in question. I have the impression that not much financial software is > open source. O.K., well, I can speak for what I have seen in Saxo Bank, in Swiss Bank Chicago, in Swiss Bank London, in Allianz, in a large Danish pension company and in many other discussions with financial people at conferences. Even Ron Jeffries' XP book features a user story that describes an account balance in these terms. If you have done your domain analysis, these things are obvious to someone in the business. Another obvious failure is that people designing a telecom system thinking that a phone call is an object. It isn't an object in any phone system I've seen. I've seen many inside AT&T and Western Electric, and publications from Bell Northern Research / Nortel indicate that also avoid this failure mode. The same was true at Avaya, AGCS, ... shall I go on? The problem is that objects became really popular in the industry in about 1990 and now everything that is a Thing has to be an object. The naivté was fueled by early methodologists who told us a number of silly things: everything is an object; objects should be created in isolation; objects are the nouns in your requirements document; and so forth. And so we have a claim here about accounts being objects, unsubstantiated in reality, but based in such an overwhelmingly strong mythology that it prompts multiple denials about the claim of how real systems implement this. It is a matter of maturity. It is easy to stumble into a great tool like Ruby and to look for ways to apply its class facilities to everything in site. But there are much more subtle structures at work here. What's really cool about Ruby is that rises even to this challenge. (Most languages can express DCI concepts in some degree. There's only one popular language that can't, and I'll let you figure that out. Class, that's your homework assignment for tomorrow.) The popular, naive claim doesn't work in practice — which is why you don't see it in practice. Let's contemplate your account example with a balance as a member. What is the object's scope? Its lifetime? How many of these objects exist in a banking system? How is concurrency handled (that's the killer): when the actuaries and account holder and the bank want to access it at the same time? What is the scope and duration of a transaction in terms of the object? If you have transaction semantics (and all banks do, to avoid losing money under concurrency) what is the mapping from the object model to the transactional model and the relational model that usually supports it? Remember: Ontos and its cousins were largely failures, because they tried to stay in the paradigm of your grandfather's object-oriented architecture. The complexity just got out of hand. DCI actually offers reasonable answers to all of these questions, because it's rooted in structures that can capture and express higher levels of complexity, both static and dynamic, than a POJO approach can. I think that's what got this thread started: I described a solution to a problem that is more complex than people can conceptualize using their grandfather's object-oriented programming, and understanding broke down. I think that people fail to understand it's a paradigm shift — but that's maybe a liability of taking one's understanding from a few hours of videotapes. > Second, it's irrelevant whether balance is a field or a calculation, at > least if the uniform access principle is still to hold. That claim holds only within a single contextual thread. Another set of immature foundations can be found in the Agile world where we are supposed to be focused on the customer. And most of the naive claims about accounts here come from that perspective. I can just read the user stories and use those to drive my design, using TDD or something else. Just find all the elements of all the interfaces and just organize them. The fact is that most of the computation in a bank has nothing to do with someone who has an account, but who is in the back office managing investments or doing analyses. They're called actuaries in English. Actuaries care little about the status of your bank account. They care about the transactions. There are many other sets of users who are looking at these data: auditors, tellers, ATM machines, other banks, the national bank, investors, loan officers, bank executives. All you need to do is to take all the responsibilities of all those stakeholders and divide them up into nice interfaces that give you nice objects that have nice coupling and cohesion. It's intractably complex. DDD has recently drawn attention to the importance of unearthing domain concepts that are stable over time. They have little to do with the requirements of the stakeholders. Very few people understand that. The "dumb" data objects of DCI come from this domain analysis; they are often the model objects one finds in MVC. The intelligence that serves the actuaries, the accountants, the loan officers and everyone else play out in use cases that are defined in terms of roles — roles that are mapped onto the right domain objects at the right time by the right context. The essence of an object-oriented system is that the mappings from roles to objects changes thousands or millions of times a second. Your grandfather's OO simulated a very weak version of that called inclusion polymorphism. The DCI mapping brings these dynamics to the surface. > As a > hypothetical user of class Account, I want to be able to call > Account#balance and get a balance. I don't care in the least what has > to go on to get me that balance. So you don't care about its data. It is essentially a service, a computation. We collect those services together in DCI and call them Contexts. You instead are trying to convince me that they should be objects. O.K., a Context is an object by some definition, and if that's enough for us to agree, then we agree. But it is not a domain object — that creates an architecture where the pressure points of change are all in the wrong place. A simple domain analysis of a financial application will bear that out quickly. More to the point, it is useful to distinguish between objects (as Dahl or Nygaard would recognize them) and the roles that they play. If programming language is to be about intentionality (communicating the design intent of the programmer) then we want the programming formalisms to carry this distinction forward. That's what DCI is: a set of formalisms that carry archetypical elements of human cognition and machine computation forward into the code. Calling it an object is a little like calling it a thing. I want a little more insight from these labels. > I think of an account as being an object. Doesn't that make it the > proper mental model for me? No, you're a programmer. And that's O.K.: programmers are people, too, and we need to support ehir model. But, again, object orientation is all about capturing mental models in code, and we need to be attentive to stakeholders other than the programmer. Like Raskin said: The interface is the program. A user experience person would pursue this issue using the kind of question I posed in an earlier post, leading to the description (e.g., for a money transfer) that I think about things in terms of source accounts and destination accounts. Unfortunately, my bank doesn't have source accounts. I can conceptualize a source account, but can't create one, can't open one, can't find one. They're not *objects*. They're protocols, or interfaces to objects. They're roles. Those, too, are part of our mental models. And they should be part of the code as well. If you look at where Rebecca Wirfs-Brock has taken responsibility-driven design, it is into this realm of roles. Objects don't have responsibilities; their roles do. That was the conversation that Trygve and I recall from his discussion with Rebecca on the deck of the Hurtigruten all those years ago. There are some additional concepts that we should be attentive to as well, including algorithms and the associations from roles to objects. DCI packages most of these in roles and Contexts. If all you have learned is objects, then everything to you is an object. That is whey I said you might make a good student of Kant. A good exploration of end-user mental models shows that they are much more subtle. Introducing roles provides a much better match for this model and provides a much better foundation for good software structure than the pure object approach does. Trygve published some preliminary metrics about this on object-composition, and you might have a look at them and at the surrounding discussion. > Uh, what? You can't transfer money to your phone bill. You can > transfer money to your account at the phone company -- and you can do so > precisely because it is (or behaves like) an account. No, the entity I manipulate on my web page is exactly my phone bill. (Denmark has an advanced banking system, so maybe those of you in other countries still do this with checks to the phone company and so forth — but even for one of my accounts outside Europe, I can treat the phone bill as an entity.) That's my mental model. It's not that I'm paying the phone company; I pay my phone bill. No one says at the end of the month "I need to pay my phone company." They say "I need to pay my phone bill." >> My point is that >> it doesn't have to be, and that in fact, very few accounts are. They >> rather are Contexts than Data objects. > > And I really don't see where you come to that conclusion. > >> >> This facet of the underpinnings of DCI is not about language expression, >> but of about how we think. That's the paradigm shift part. > > Yes, but I so far do not agree with your premises here, which means I > can't agree with the paradigm that develops from them. I'm certainly > willing to be convinced, though. I'm still awaiting concrete examples that are different than those banking examples that provide much of the background for my premises. In any case, it shouldn't matter if you are trying to understand. Adopt my assumptions arbitrarily if it helps you see the ideas more clearly and I can provide the documentation later. I think that if you explore the real world you'll see that my assumptions hold. I hope this helps. I really appreciate your specific and forceful questions — I think it helps me communicate my ideas more concretely. -- Posted via http://www.ruby-forum.com/.