[#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, becaused they are all zipped up. this has led me to belivedhat the book will not showed you how to unzipped them.
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謖le <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>:
On 2010-02-08, Marnen Laibow-Koser <marnen@marnen.org> wrote:
[#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ūras Šlajus <x11@arturaz.net>:
El Miércoles, 3 de Febrero de 2010, Jonathan Nielsen escribió:
[#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:40m, 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:38m, 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!
[#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:
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:
[#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坦:
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:
On Sat, Feb 13, 2010 at 8:48 PM, Josh Cheek <josh.cheek@gmail.com> wrote:
[#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:
J旦rg W Mittag wrote:
J旦rg W Mittag wrote:
Brian Candler wrote:
On 2/12/10, Jg W Mittag <JoergWMittag+Ruby@googlemail.com> wrote:
On Feb 15, 4:24m, Caleb Clausen <vikk...@gmail.com> 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> wrote:
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
[#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俍 Gabriel y Gal疣 <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 Dirt RubyConf (http://reddirtrubyconf.com/) is now half over. You only have a couple of weeks left to get those ideas in.
[#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
On Feb 19, 6:13m, Roger Pack <rogerpack2...@gmail.com> wrote:
From: mdiam <maurice.diamantini@gmail.com>
Eric Christopherson wrote:
On Tue, Feb 16, 2010 at 5:57 PM, Albert Schlef <albertschlef@gmail.com> wrote:
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.
[#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:36m, 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> wrote:
[#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
[#357796] Yet another rounding issue — Manu Sankala <manuska@...>
At school I was taught that five is always rounded up. Later on I've
[#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
[#357872] Ruby Idiom To Retry open() Upto N Times Before Giving Up — Dan <dandiebolt@...>
I write a lot of scripts that I run once or infrequently that uses open-rui. Occasionally I run into a web site that times out or is unavailable for a period of time. My normal solution is to just rerun the script manually at a later time and the problem goes away. What I would like to start doing is rescuing the open() and retrying the open() after a delay. What would be the most idiomatic way to try opening a url say n times before giving up? Here is my crude code for trying twice:
[#357878] Speed sprint — Benedikt Müller <benemue@...>
Hi
Chuck Remes wrote:
> -----Original Message-----
On 02/22/2010 20:30, Benedikt M端ller wrote:
[#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
[#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:
On Wed, Feb 24, 2010 at 11:17 PM, Glenn Ritz <glenn_ritz@yahoo.com> 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騅r. 2010, at 19:20, David Springer wrote:
after some inspiration from Luc I was able to come up with this:
[#358062] Making a VALUE visible to multiple source files — Daniel Berger <djberg96@...>
Hi,
[#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 getting the
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,
[#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:
[#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
[#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: Why Ruby?
Twitter just needed to spin up a few more dynos ;) <3 Heroku So I started programming in C, a couple years ago, and pretty much started in Ruby at that same time, but I didn't know anything about programming, and anything about Ruby. My class taught me C, and I figured out how to translate that into Ruby. As a consequence, my Ruby programs were directly mappable (pretty much line by line) into C programs, lol. I think that C has some important things to offer, but as a first language, it's offerings seem limited to weeding out students in a 100 student "first programming" course. C, being directly translatable into assembly, which is just a software representation of actual hardware implemented commands, is very "close to the road". And there are a lot of potholes, and steep embankments. I think you should know about pointers, and you should have some idea of how what you are learning is represented in hardware. C seems good for this purpose, and it does seem like a good language for really learning about data structures, because it is so close to the road, very little implementation is hidden away in magic. But that said, while it has some educational benefits, students will not come out of it feeling prepared (or being prepared) to do anything actually useful. It will feel too much like academic masturbation, and will be frustrating as well, because there are so many nuances and subtleties in C that will keep you up all night banging your head until you finally find some blog post or article about it. So, I don't recommend C as a first language, it is too discouraging, with too little reward. Java was the next thing we learned, and my C-styled ruby code suddenly began to look like my Java code, because I finally figured out what a class, instance, method, etc were. I absolutely loved this class ( to be fair, I mostly loved the C class as well, b/c of what we were learning, even though I didn't like the language ). Java is able to show you a lot of the same things as C, without all the headache. We went through a thousand pages in Walter Savitch's book Absolute Java (honestly, the best text book I've ever had), and I decided that I wished I would have learned Java first, you can get all the same knowledge (and more), except for pointers, which probably need to be understood before references make sense (meaning underneath the hood) And it has a nice API with lots of functionality. But, it does have a lot of boiler plate code, you make your method, then you make your setter, then you make your getter. Think about the wall of code necessary to implement a Swing application. So all in all, I would consider Java a decent first language. Then I took Assembly, which was where I really began to figure out what goes on underneath the hood of C. Earlier I said you should be able to map what you learn to what the computer is _actually_ doing, well, I think most of that happened when I took Assembly. Which is even more of a pain to write in than C. But it implies something interesting, it contradicts most of the academic reasons for choosing C as the first language. It seems that to someone starting out, programming is programming, it is all magic, regardless of it's abstraction, and only later does it get grounded to anything realistic. With that thought, it makes sense to choose a language that allows for high levels of productivity, with low levels of configuration, boiler-plate, headache, hoop-jumping, special cases, etc. They say if you throw a frog into a boiling pot, he'll jump right out, but slowly increase the temperature, and he'll stay until cooked. If you are trying to keep the interests of beginning programmers, take out pointless hurdles, give them a language with a nice learning curve, that they can quickly see the fruits of their efforts, and enjoy it long enough to want to take languages like C and Assembly, for the knowledge it will give them. So I was able to do Ruby, at least as well as my C and Java, then I got excited about it, started reading books, began interning at a design shop that used Rails, and somewhere along the way realized that I quite like Ruby :) My ability to do anything meaningful with Ruby exceeds my ability to do anything meaningful with C or Java a thousand times over, because of things like ruby-toolbox.com and gemcutter.org You can still teach recursion and stacks and queues and hashes with Ruby. It might be a little more mocking of your efforts since those are all implemented in the language by default, but you're reinventing the wheel regardless of whether you code one in C or Java or Ruby. The point is the abstract knowledge, which you can get with any of these languages. So, why Ruby as opposed to some other high level language? I don't know, probably any high level language would be appropriate. I don't know enough about others to compare them. But I will say that Ruby has a certain ability to express ideas in ways that feel natural, as opposed to syntactic. It is also very easy to get started, but there are a large amount of things you can learn, which will give you a better survey of other languages out there. As far as Rails goes, I tried going through AWDWR, and it took forever, and was frustrating. Probably this is due to the book being aimed at web devs from other languages, which I was not, but there is a lot to know with Rails before you can get started. In this regard, I think that Sinatra makes a lot of sense as a first web framework. Like Ruby, it has a very low barrier for entry, and you can get off the ground and start going with just a little bit of knowledge. It also translates quite nicely into Rails relevant knowledge as it's programs grow in complexity. Rails I think is worth learning, it is a truly amazing framework written in Ruby. It will help you see effective ways to create, use, and design your code, and teaches a lot of good coding practices. If you are interested in Rails, I think that after you get the really basic basics down, then guides.rubyonrails.org is probably the best resource out there (better than the api, and most books). So, yes, I think that Ruby would be a good first language, and will progress nicely into fun/interesting/useful code quickly, but wouldn't say it _should_ be the first language, just that it would probably be a rewarding choice, allowing you to focus on programming at an abstract enough level to easily touch on important concepts without the overhead of syntax vomit, contorted workflows, and tedious grinding away that some languages turn into. And I think that Rails is a fantastic framework, but for a first framework, I'd suggest Sinatra. I know of three Ruby books aimed at newcomers to Ruby, but haven't read them. The Well-Grounded Rubyist (Manning) *http://tinyurl.com/yba72rn *by David A Black, which is supposed to really present Ruby in a clear way that makes it easy to understand what is happening and why. I'd expect to come away with a really solid understanding of the language itself, and how to program in general. In other words, I'd expect to "get it". Beginning Ruby (Apress) *http://tinyurl.com/ybssb2x* by Peter Cooper, which is aimed at taking people from beginner status, teaching them Ruby, and introducing them to lots of useful/cool/rewarding gems, the Amazon page says it hits Sinatra, so that might make a good choice if you are interested in it. Learn to Program (PragProg) *http://tinyurl.com/y9a9g4x *by Chris Pine, I don't know much about him/the book, but it seems geared towards people brand new to programming. Hope that helps :)* *