[#285488] Zed Shaw - Ruby has dodged a bullet — Chuck Remes <cremes.devlist@...>
Much like watching a car accident in slow motion, I could scarcely
Chuck Remes wrote:
On Jan 1, 2008 7:36 AM, M. Edward (Ed) Borasky <znmeb@cesmail.net> wrote:
Martin DeMello wrote:
On Jan 1, 7:46=A0pm, Luis Lavena <luislav...@gmail.com> wrote:
Giles Bowkett wrote:
On Wed, 2 Jan 2008 17:56:34 -0500, Rick DeNatale wrote:
> Though it would have happened anyway, I regret being
On Thu, 3 Jan 2008 13:51:33 -0500, Giles Bowkett wrote:
On Friday 04 January 2008, Jay Levitt wrote:
On Jan 4, 2008 2:10 AM, Michael Schuerig <michael@schuerig.de> wrote:
On Jan 4, 2008 8:54 AM, Eivind Eklund <eeklund@gmail.com> wrote:
[#285509] Ruby Web apps on OSX (not rails) — Areric <josh.schramm@...>
Hey all,
[#285516] ANN: Butler 1.9 released — Stefan Rusterholz <apeiros@...>
Butler - the IRC bot with class - version 1.9 has just been released.
[#285531] Embedding Ruby into a Borland C++ Builder Application — Mohit Sindhwani <mo_mail@...>
Hi Everyone
Mohit Sindhwani wrote:
Jari Williamsson wrote:
Hi,
Hi Nakada-san,
[#285532] Shoes require — Adam Bengtsson <adam.bengtsson@...>
hi. i tried the gui framework shoes today and got some problems trying
[#285543] Net::HTTP Timeout — thefed <fedzor@...>
Yes, I have read the previous thread (http://www.ruby-forum.com/topic/
[#285551] Using SSL with HTTP Basic Authentication in Rails 2.0 — "Bryan Richardson" <btricha@...>
Hello all,
[#285578] another newbie question — "Ka M疵ton" <kosamster@...>
Hi group,
[#285582] transform hash key from string into symbol — Old Echo <kodama@...>
Hello Rubyists,
class Hash
Hi Steve,
Sorry. Look at Greg's for the keen Ruby way to do it. There should be
[#285628] RMagick Exif — John Smith <john.smith@...>
Hi all:
[#285657] working with Test::Unit — aidy <aidy.lewis@...>
Hi,
[#285678] Windows Compilation Madness — Gary Wright <gwtmp01@...>
No point in keeping this discussion in the Zed thread...
[#285696] Dynamically add a method to a TestCase — Achim Domma <domma@...>
Hi,
[#285707] Clipboard command line utility — dfinnie <dfinnie@...>
I've been doing a lot of Python for Google's Highly Open Participation
[#285708] hpricot - parse html — "K. R." <mcse@...>
hi @all
[#285717] TK84.dll — Mohammad --- <name.goes.here44@...>
Well my CPU crashed and now TK84.dll isn't on it. Where can I get the
Mohammad --- wrote:
Joel VanderWerf wrote:
[#285742] change the symbol in an interpolated string value? — scooterm@...
PROBLEM:
[#285765] Help Please! — "1up gfx" <jordan.rubytalk@...>
I'm new to Ruby, and have basically NO previous coding experience in any
On Jan 2, 2008, at 11:28 PM, 1up gfx wrote:
[#285772] calling a javascript function with Mechanize — rita <rita.sinkar@...>
Hi all,
[#285784] Ruby install on Kubuntu Linux - why so spread out — Tom Cloyd <tc@...>
I've migrated from WinXP in recent days, and I'm having trouble getting
Tom Cloyd kirjoitti:
Casimir I'm going to have to call you on this. As you may have just
Peter Hickman kirjoitti:
On Jan 3, 2008 5:15 AM, Casimir <pikEISPAMMMseli@welho.com> wrote:
I was just writing a reply to these two EVER SO RIGHTEUSLY HELPFUL
T24gMDMvMDEvMjAwOCwgQ2FzaW1pciA8cGlrRUlTUEFNTU1zZWxpQHdlbGhvLmNvbT4gd3JvdGU6
On Jan 3, 2008 8:20 AM, Michal Suchanek <hramrach@centrum.cz> wrote:
[#285795] has any one tried this? — Wu Ning <ngloom@...>
My ruby version is 1.8.6
[#285805] Re: parse tree? — Ryan Davis <ryand-ruby@...>
[#285822] spatial search & search radius circumference with Geokit — Xin Zheng <crazygecko@...>
I am using Geokit to search for points within X miles of a location.
Xin Zheng wrote:
Hi Xin, here is an example of plotting a circle (from centerpoint and
[#285835] Ruby-Debugger newbie problem — RichardOnRails <RichardDummyMailbox58407@...>
Hi All,
[#285838] "wrong number of arguments" What? I must be thick or somethi — ole __ <oliver.saunders@...>
class PermutationIterator
NilObject does not have a method called new.
On Jan 3, 2008 11:16 AM, Hugh Themm <mchughson@gmail.com> wrote:
[#285843] same Methode name but different Parameter — "Salai Khine" <sayakyi@...>
Dear all,
[#285857] questions from a java programmer — Ben Turner <ridder.ben@...>
Hi,
[#285860] fckeditor on ruby on rails — "rabarama" <proftoglimipeloso@...>
[#285873] Time.gm(1969) chokes on Windows — Tim Ferrell <s0nspark@...>
It may or may not be related, but check in:
If you want a date, use Date. (require 'date')
Nope. It's not going to work on windows. You can always force the value in
Jamey Cribbs wrote:
On Jan 4, 2008, at 8:03 AM, Tim Ferrell wrote:
[#285886] Way of handling CLI interface for chat program. — Michael <misha@...>
Hello, folks.
[#285892] Why doesn't this file read work for me? — Peter Bailey <pbailey@...>
Hi,
[#285910] Get your hands dirty: Help bootstrap Ruby on Windows. — Luis Lavena <luislavena@...>
This was asked, and asked, and asked too many times, so here we go.
On 4 ene, 03:03, "M. Edward (Ed) Borasky" <zn...@cesmail.net> wrote:
On Jan 4, 2008 5:34 AM, Luis Lavena <luislavena@gmail.com> wrote:
[#285919] Why does this code not return what I expect it to? — Sam Phoneix <dominicjefferies@...>
Heres the code. Why does it miss out the "a" character?
[#285940] Troubles with blocks — Holden Holden <pyarnau@...>
Hi,
[#285951] Finding if an array contains a data type — Sam Phoneix <dominicjefferies@...>
Say I wanted to see if an array contained a number or not. Would I use
Sam Phoneix wrote:
On Jan 3, 2008 6:52 PM, Tim Hunter <TimHunter@nc.rr.com> wrote:
[#285954] The great Ruby web framework multi-app challenge — "Ben (ducktyped)" <ben@...>
I've been thinking a lot about multi-app web projects, and how none of
On Fri, 4 Jan 2008, Ben (ducktyped) wrote:
[#285980] http post is async or sync? — Rm Rm <renu@2cast.net>
Hi,
Synchronous. But of course you could test this in IRB.
[#285981] How to put a Ruby website online without rails — Softmind Technology <softmindtechnology@...>
Hi,
I have wondered this same thing. Sometimes a web framework isn't the
> I have wondered this same thing. Sometimes a web framework isn't the
Hello All,
Giles Bowkett wrote:
Ramaze looks good, gotta take a look. Thanks :-)
Here is a forum post that tells you how to embed ruby script into
On 07/01/2008, James Dinkel <jdinkel@bucoks.com> wrote:
On Jan 7, 2008, at 7:16 AM, Michal Suchanek wrote:
On Feb 15, 2008, at 2:34 PM, Michael Granger wrote:
[#285988] problem with sockets — ian@...
Hi
[#285993] With statement — ole __ <oliver.saunders@...>
I'm pretty sure ruby doesn't have a with statement. Is it possible to
[#286012] Studying Blackjack (#151) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
> Write a Ruby program that shows the percent chance of a dealer
On Jan 4, 2008, at 4:27 PM, Sharon Phillips wrote:
Here are my results. I combined the 10 and the face cards in one row
Here is my solution. It's just another simulation.
On Jan 6, 12:02=A0am, "Eric I." <rubytrain...@gmail.com> wrote:
[#286040] iterating over array of variables - can't change them? — AJS <andrewstaffell@...>
title="Title"
[#286050] how to get CPU usage — Luca Scaljery <lcalje@...>
Hi All
Luca Scaljery wrote:
thefed wrote:
On 05/01/2008, thefed <fedzor@gmail.com> wrote:
[#286054] REXML::Document could not parse UTF-8 "<name>\302</name>" — "Jesse P." <j.prabawa@...>
Hi all,
[#286056] Re: zed shaw zed shaw zed shaw — "Rick DeNatale" <rick.denatale@...>
On Jan 4, 2008 11:52 AM, Jeremy McAnally <jeremymcanally@gmail.com> wrote:
Giles Bowkett wrote:
[#286064] schedule jobs with ruby — Junkone <junkone1@...>
are there any tools to schedule jobs with ruby in xp. i dont want to
[#286077] DBI doesn't seem to install correctly on CentOS — Xeno Campanoli <xcampanoli@...>
I tried installing with the old tarfile sequence using setup.rb, as I
Try this to use DBI with MySQL:
Joshua Schairbaum wrote:
Xeno Campanoli wrote:
Xeno Campanoli wrote:
I'm not sure if you need this or not because I'm just getting into
Joshua Schairbaum wrote:
[#286090] String#tr_s — Jordan Cooper <nefigah@...>
This seems to be a pretty good example of a "built-in" function that I
[#286115] Re: zed shaw zed shaw zed shaw — MenTaLguY <mental@...>
On Sat, 5 Jan 2008 07:58:15 +0900, "Giles Bowkett" <gilesb@gmail.com> wrote:
[#286120] Best Ruby book for experienced programmer — Kamil Chmielewski <kamilski81@...>
Hello,
On Jan 5, 1:02=A0am, Evan Haveman <evanhave...@gmail.com> wrote:
Giles Bowkett wrote:
[#286159] Invalid char errors — "Luiz Vitor Martinez Cardoso" <grabber@...>
Yeah! I`m learning to program in ruby but i can`t understand what i`m
[#286176] Re: parse tree redux — Ryan Davis <ryand-ruby@...>
[#286185] Regexp for matching UTF-8 characters without close tag — "Jesse P." <j.prabawa@...>
Hi all,
[#286187] parsing a csv using ; => ruby doesn't split the row — Raimon Fs <coder@...>
Hello,
[#286194] A file's creation date — Peter L Versteegen <pversteegen@...>
Hello anyone,
[#286207] Create image, send to rails — macaco <macacoangel@...>
Hi, I'm new to this language, so any help will be welcome.
On Jan 5, 2008 4:30 PM, Bira <u.alberton@gmail.com> wrote:
It seems that you don't have building tools, try installing ruby1.8-dev and
[#286221] Vintage 0.0.1 - The super slim, micro web framework based on the idea of the old Merb — "Jeremy McAnally" <jeremymcanally@...>
Vintage is a very small web framework based on the original idea of
Jeremy McAnally wrote:
It's much simpler than Nitro. It doesn't offer MVC at all, doesn't
Jeremy McAnally wrote:
No I didn't run those in production, but that's mostly because Vintage
On Jan 6, 2008 12:13 PM, ara.t.howard <ara.t.howard@gmail.com> wrote:
Before Jeremy even had a chance to port Vintage to Rack I swiped the
[#286224] Convert bignum to numeric and formatting — Damaris Fuentes <dfl_maradentro@...>
Hi you all,
Alle sabato 5 gennaio 2008, Damaris Fuentes ha scritto:
Hi,
Alle sabato 5 gennaio 2008, Damaris Fuentes ha scritto:
Ok,
Alle sabato 5 gennaio 2008, Damaris Fuentes ha scritto:
[#286261] Chain, Chain, Chain (was Re: zed shaw zed shaw zed shaw) — "Rick DeNatale" <rick.denatale@...>
Okay, I've been playing with doing this programatically. I'm not yet
[#286270] Metalink (XML) library for Ruby? — "Anthony Bryan" <anthonybryan@...>
Hi,
[#286273] Marshal Pipe — "Carlos J. Hernandez" <carlosjhr64@...>
I've just re-discovered pipes.
On Jan 5, 2008, at 15:37 PM, Carlos J. Hernandez wrote:
Eric, thanks for your comment.
2008/1/8, Carlos J. Hernandez <carlosjhr64@fastmail.fm>:
Ara:
On 08.01.2008 20:01, Carlos J. Hernandez wrote:
[#286280] html parser with regex, how to solve? — "Luiz Vitor Martinez Cardoso" <grabber@...>
Yeah,
[#286290] About rb2js converter... — Zangief Ief <z4n9ief@...>
Hi all,
[#286326] Ruby Mentor project — "Thomas Adam" <thomas.adam22@...>
Hello all,
[#286336] Programmatically creating a local variable using a symol — tho_mica_l <micathom@...>
Hi,
[#286353] add rankings to array? — soprano <spicyjalapeno@...>
Is it possible to add rankings to an array (allowing ties):
[#286363] Intercepting events with wxRuby/wxWidgets — Rainer <wolf.rainer@...>
[#286374] DateTime new_offset unexpected results — Greg Go <plant@...>
Hello, everybody:
On Jan 6, 2008 2:04 PM, Greg Go <plant@ultraspace.com> wrote:
Todd Benson wrote:
On Jan 7, 2008 3:05 PM, Greg Go <ruby-forum@incognitology.com> wrote:
Todd Benson wrote:
On Jan 9, 2008 10:11 PM, Greg Go <ruby-forum@incognitology.com> wrote:
Todd Benson wrote:
[#286375] Ruby's Kernel::exec (and system and %x) — JJ <jjnoakes@...>
I was reading about Kernel::exec (and the related Kernel::system
[#286398] Sound Library? — Jono Oshea <sheax@...>
I'm fairly new to Ruby and programming in general. I wanted to make a
[#286440] compact or uniq that takes a block like sort? — Bil Kleb <Bil.Kleb@...>
Hi,
[#286452] rexular expression quantifiers — Johnathan Smith <stu_09@...>
hi there
[#286458] STRONG dynamic typing favors tools..? — "John Papas" <jspapas@...>
One of the things I like about languages like Java is that since it is
[#286473] Where do I put the ".to_f" ? — Peter Bailey <pbailey@...>
Hello,
On 07.01.2008 19:06, Peter Bailey wrote:
[#286493] Bacon 0.9, a small RSpec clone — Christian Neukirchen <chneukirchen@...>
Hello,
[#286505] Using string variable to call a method — "Bryan Richardson" <btricha@...>
Hello all,
Alle luned=EC 7 gennaio 2008, Bryan Richardson ha scritto:
You can use: eval, instance_eval, class_eval, module_eval oder send
In general, the send method is preferred over evalling a string when
Along these same lines, is it possible to do a require and include
[#286508] Embedding 1.9 — Dave Thomas <dave@...>
Folks:
Have you checked out VIM? It has ruby embedded and provides an interface
Hi,
[#286523] More loosely typed expression — Oliver Saunders <oliver.saunders@...>
I'm just trying out RSpec with some really simple code. I have this
[#286545] proc to block — L A <loren.abrams@...>
Hello all,
[#286555] creating directory and zipping it — Raju Aralikatti <raju.aralikatti@...>
hi,
http://rake.rubyforge.org/svn/trunk/lib/rake/packagetask.rb
Matt Todd wrote:
Raju
[#286558] Thin 0.5.1 LOLCAT released — Marc-andre Marc <macournoyer@...>
Hey all,
In article <db91d750672f6ae0e01224cf7780e75c@ruby-forum.com>,
V293LCBJJ20gaW1wcmVzc2VkIHdpdGggVGhpbiBwZXJmb3JtYW5jZSA6KS4KCkkgbm90aWNlZCB0
[#286582] Problem with installing gems via rubygems. — dizz <andru.weir@...>
Hey I am having a problem installing rails on my ubuntu machine. I
[#286583] netbeans or aptana? — "rabarama" <proftoglimipeloso@...>
for web development in ruby on rails, wich is the best for you?
[#286590] Defining a function inside a function. Whats this feature ? How to use inside a class ? — Sur <sur.max@...>
Hi Everyone,
[#286591] Finding the first file in a dir, fast, for message queue. — Alex Maccaw <maccman@...>
I have a file based msg queue, and msgs are stored five folders down.
2008/1/8, Alex Maccaw <maccman@gmail.com>:
[#286635] dde "wait loop" — Ernst Tanaka <ernst@...>
I have a question on DDE
[#286647] where is that method defined? — Alex Ma <alessio.spam@...>
I'm looking at ruby code for a class, for which I can call a method but
[#286656] JRuby 1.1 RC 1 Released — Thomas Enebo <Thomas.Enebo@...>
The JRuby community is pleased to announce the release of JRuby 1.1 RC 1
With all the blog posts about JRuby being posted, I thought I would
Sander Land wrote:
On Jan 9, 2008 3:34 AM, Joel VanderWerf <vjoel@path.berkeley.edu> wrote:
Sander Land wrote:
[#286660] Ruby questions — "Jeff M." <massung@...>
Hello, peeps. I'm dipping my feet into Ruby waters (from Smalltalk).
On Jan 8, 2008 2:05 PM, Jeff M. <massung@gmail.com> wrote:
[#286674] prob only with ruby — Junkone <junkone1@...>
Hello
[#286685] Ruby/Tk - binding to canvas items — Witold Rugowski <rugowski@...>
Hi!
[#286696] dow ruby's strftime not attempt POSIX-compliance? — Jochen Hayek <jochen+ruby-forum@...>
Why is ruby's core class Time acting like this:
Jochen Hayek wrote:
Suraj Kurapati wrote:
Suraj Kurapati wrote:
Jochen Hayek wrote:
Pls let me assure you in the beginning of this note,
Jochen Hayek wrote:
Hi,
On 14/01/2008, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
Hi,
On 14/01/2008, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
Michal Suchanek wrote:
On 15/01/2008, Jochen Hayek <jochen+ruby-forum@hayek.name> wrote:
Michal Suchanek wrote:
On 15/01/2008, Jochen Hayek <jochen+ruby-forum@hayek.name> wrote:
[#286700] FXRuby Book Now Available in Beta — Lyle Johnson <lyle@...>
All,
[#286709] Execution stops once exception is fired — Mauricio Gonzales <maurigr@...>
Hi all,
[#286726] gsub mass substitution — Ckvok Kovsky <mr.oliveira@...>
Hello. I'm a ruby newbie.
On Jan 9, 2008 2:44 AM, Ckvok Kovsky <mr.oliveira@gmail.com> wrote:
Jesús Gabriel y Galán wrote:
On Jan 9, 2008 4:39 AM, Ckvok Kovsky wrote:
On Jan 9, 2008 12:28 PM, Daniel Brumbaugh Keeney
[#286742] why does this code leak? — ara howard <ara.t.howard@...>
cfp2:~ > cat a.rb
Here's an even simpler example. You don't need anything but the
On Jan 9, 2008 11:45 AM, ara howard <ara.t.howard@gmail.com> wrote:
On 09.01.2008 19:26, Rick DeNatale wrote:
Ah, missed that.
T24gSmFuIDEwLCAyMDA4IDEwOjE1IFBNLCBSb2JlcnQgRG9iZXIgPHJvYmVydC5kb2JlckBnbWFp
T24gSmFuIDEwLCAyMDA4IDEwOjI2IFBNLCBSYWRvc7NhdyBCdbNhdCA8cmFkZWsuYnVsYXRAZ21h
On 1/10/08, Robert Dober <robert.dober@gmail.com> wrote:
On Fri, 11 Jan 2008 07:09:04 +0900, "Rick DeNatale" <rick.denatale@gmail.com> wrote:
On 1/10/08, MenTaLguY <mental@rydia.net> wrote:
This discussion reminds me of how such little details can have
[#286761] Re: struct equivalent with rails-y keyword args hash? — "Michael Fellinger" <m.fellinger@...>
On Jan 9, 2008 2:02 PM, Giles Bowkett <gilesb@gmail.com> wrote:
[#286768] how to generate dynamic regexp pattern from strings? — Nanyang Zhan <sxain@...>
Hi, Could anyone tell me how to generate regexp pattern from strings?
[#286774] using ruby for config files — furtive.clown@...
[#286837] method that generate block? — Nanyang Zhan <sxain@...>
Hi, could anyone tell me how to code a method/methods that generates
[#286849] dike-0.0.4 — ara howard <ara.t.howard@...>
NAME
[#286858] Question about Hex => Signed Int — Tim Conner <crofty_james@...>
Hello,
[#286874] About array to hash conversion — Holden Holden <pyarnau@...>
Hi,
[#286875] problem with closure/block — "levilista@..." <levilista@...>
###########################
On Jan 9, 4:42 pm, "levili...@gmail.com" <levili...@gmail.com> wrote:
[#286915] how to remove a method from an object ? — Valerio Schiavoni <valerio.schiavoni@...>
hello everyone,
Alle gioved=EC 10 gennaio 2008, Valerio Schiavoni ha scritto:
[#286940] Multiline (block) CSV file processing — Phil Rhoades <phil@...>
People,
[#286951] Rescu all errors and then case statement — Michal Sza <nicpon@...>
How can I read what type of error occured in rescue clause.
[#286979] string extraction — Li Chen <chen_li3@...>
Hi all,
[#286993] search pattern — Li Chen <chen_li3@...>
Hi all,
Alle gioved=C3=AC 10 gennaio 2008, Li Chen ha scritto:
[#287003] Installing JRuby on Windows Question Set — John Miller <jfmiller28@...>
Greetings All,
John Miller wrote:
Hi All
On Thu, Jul 9, 2009 at 6:46 AM, Ravinder
[#287019] thanks all — Roger Pack <rogerpack2005@...>
Just wanted to thank everyone for their work on Ruby.
[#287023] B1.03 of Programming Ruby now available — Dave Thomas <dave@...>
I'll keep it brief :)
[#287051] TMail 1.2.1 — "Mikel Lindsaar" <raasdnil@...>
TMail is The Mail Handling Library for Ruby!
Just a follow up with this, there was a slight hitch in the release =>
Hello everyone,
This is great news! No more action_mailer when all you really want is
On Jan 16, 2008 3:17 PM, Charles Lowe <aquasync@gmail.com> wrote:
[#287063] Here Document syntax is stringent - trailing blank — Todd Burch <promos@...>
text = <<EOD
[#287065] oci8+rubyscript2exe -> TNS-12538 — pihentagy <pihentagy@...>
Hi all!
[#287067] Need command line to run a file 4 times — jackster the jackle <contact@...>
Hi Ruby Forum...
On Jan 11, 2008, at 2:47 PM, jackster the jackle wrote:
Xavier Noria wrote:
On Jan 11, 2008, at 5:00 PM, jackster the jackle wrote:
Xavier Noria wrote:
On Jan 11, 2008, at 5:13 PM, jackster the jackle wrote:
[#287068] Counting Cards (#152) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
On Fri, 11 Jan 2008 11:48:53 -0500, James Gray wrote:
[#287080] Counting the files in a directory.... — "Kyle Schmitt" <kyleaschmitt@...>
SSdtIHdyaXRpbmcgc29tZSBzY3JpcHRzIHRvIGhlbHAgbWFuYWdlIGEgbWFpbCBzY2FubmVyIHVz
On 11.01.2008 16:19, Kyle Schmitt wrote:
Entries seems to be fairly identical to collect, and it does look nicer...
Kyle Schmitt wrote:
2008/1/12, Siep Korteling <s.korteling@gmail.com>:
Robert Klemme wrote:
2008/1/14, Siep Korteling <s.korteling@gmail.com>:
[#287095] IRB Keyboard Input Issues — Oliver Saunders <oliver.saunders@...>
When I press the up arrow in IRB to access history I see this:
On 11 ene, 15:26, Oliver Saunders <oliver.saund...@gmail.com> wrote:
> did you installed build dependencies for ruby?
Hi, this is Yu-raku-an,
[#287114] Using ruby.h to generate C++ vectors and maps — Edward Liu <liu_edward@...>
I am trying to use ruby.h to extend Ruby with C/C++. I understand how
On Jan 11, 2008 2:12 PM, Edward Liu <liu_edward@emc.com> wrote:
I already know how to check if 'object' is an array or a hash. I am
Also, when I do the translation, I don't want to use functions like
On Jan 11, 2008 2:51 PM, Edward Liu <liu_edward@emc.com> wrote:
[#287126] Loop question — Mark Mr <pimea.mark@...>
I'm trying to figure out an easier way to work with loops in ruby.
On 11.01.2008 21:33, Mark Mr wrote:
Ok so far i got the catch :found do method to work so thanks for that.
[#287128] Trying to squeeze a variable in here => ... — jackster the jackle <contact@...>
Hi Ruby...
[#287144] RubyGame Audio on Mac OS 10.4.11 — fedzor <fedzor@...>
Hey
[#287149] Problems with first gem using Rake/Hoe — Jim Clark <diegoslice@...>
Hi,
[#287152] .times loop returns the number? — Roger Pack <rogerpack2005@...>
12.times do |month_ahead|
[#287188] Stream Parsing with REXML — Marc Hoeppner <marc.hoeppner@...>
Hi (again, sort of) :)
On Jan 12, 9:58=A0am, Marc Hoeppner <marc.hoepp...@molbio.su.se> wrote:
Thanks for the great responses!
On 13.01.2008 13:37, Marc Hoeppner wrote:
Hi Marc, Robert:
[#287190] Callable class with block — blondinet <jblondinet@...>
Hi everyone,
[#287199] Re: gem build documentation for new gems? — Eric Hodel <drbrain@...7.net>
On Jan 12, 2008, at 07:57 AM, Giles Bowkett wrote:
On 1/12/08, Eric Hodel <drbrain@segment7.net> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
On 4/6/08, Phillip Gawlowski <cmdjackryan@googlemail.com> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
[#287214] Thin v0.5.2 Cheezburger released — Marc-AndrCournoyer <macournoyer@...>
Hey all,
* Marc-Andr? Cournoyer (macournoyer@gmail.com) wrote:
[#287218] Get Variable Name from object_id — Evan Moseman <evan.moseman@...>
If I am perusing through the each_object loop and find the objects I'm
[#287222] using a variable as 1st param in gsub — louis <louisjuska@...>
hi all,
[#287225] 1.9 significantly slower than 1.8 on Mac — Derek Chesterfield <groups@...>
I know 1.9.0 is still a work in progress, but I was expecting to see
Derek Chesterfield pisze:
[#287226] Ruby from source on Leopard excruciatingly slow internet talk — "Chris Shea" <chris@...>
Just a couple of days ago I "upgraded" from Tiger to Leopard, and the
could try the macport ruby
I am having this problem too, I've tried disabling IPv6 and I've put the
Bryce Roney wrote:
Roger Pack wrote:
[#287231] What has happened to rubygarden.org? — William Rutiser <wruyahoo05@...>
Is the rubygarden.org site still in operation? The URL is taking me to a
[#287269] Ruby Newbie — Kara Cruz <bloodredoscar@...>
Hi Everybody,
[#287282] regualr expression (need help) — Heinrich Piard <linux@...>
Hi all,
I would create a time object and then format it how you like.
Daniel Finnie wrote:
Henry,
[#287290] is iif available — Junkone <junkone1@...>
is there a IIF equavalent in Ruby. I could not find one
[#287305] ANN: Babel 0.1.1 Released — Sharon Rosner <ciconia@...>
Babel 0.1.1 has just been released. Babel is a tiny library for
[#287310] regex help partial code — Junkone <junkone1@...>
Hello
[#287333] MySQL gem on 64-bit Solaris won't compile — Andrew Ohnstad <andrew.ohnstad@...>
Hi all,
* Andrew Ohnstad (andrew.ohnstad@gmail.com) wrote:
Thomas Hurst wrote:
You're mixing 32-bit and 64-bit libraries.
[#287352] setting string width — hurcan solter <hsolter@...>
Hi there,Just a quick question ...
[#287368] regular expression — Johnathan Smith <stu_09@...>
hey
2008/1/14, Johnathan Smith <stu_09@hotmail.com>:
hey
2008/1/14, Johnathan Smith <stu_09@hotmail.com>:
i appreciate the help
On 1/14/08, Johnathan Smith <stu_09@hotmail.com> wrote:
[#287414] any tricks to speed up ruby? — Roger Pack <rogerpack2005@...>
On 14.01.2008 19:55, Bill Kelly wrote:
Unfortunately it's for a rails app so I am unequivocally (except for
Roger Pack wrote:
James Britt wrote:
It's an old trick, I believe the kde folks do it (I may be wrong)
> So ... I assume you tried
[#287440] Splitting up hostname using Regex — Gu stav <gustav@...>
Hi! I'm trying to write a regex that splits up a hostname and returns it
[#287446] Lots of seg faults — Scott Burton <scottburton11@...>
Anyone care go guess what's going on here?
Hello --
[#287453] Process.setrlimit question — "ara.t.howard" <ara.t.howard@...>
On Jan 14, 7:42 pm, "ara.t.howard" <ara.t.how...@gmail.com> wrote:
[#287484] utime a dir and convert Date to Time — Matt Spendlove <info@...>
Hi list
[#287486] How to catch and rescue a login error through telnet — Prasad Pednekar <prasadm29@...>
Hi,
[#287489] Generic ? regarding Threads — Venks <venkatesh.mantha@...>
Hi,
[#287496] How to generate a serial random number — Li Chen <chen_li3@...>
Hi all,
[#287525] Overridding A Method Via A Mixin — Andrew Stewart <boss@...>
Hi Everyone,
On 15.01.2008 18:32, Andrew Stewart wrote:
On 15.01.2008 19:10, Andrew Stewart wrote:
[#287541] simple mail with Ruby — Peter Bailey <pbailey@...>
Hi,
[#287544] fxruby gem problem — "Len Lawrence" <lcl@...>
Dear ruby acolytes
[#287549] kD-Trees implementation — Marcin Raczkowski <mailing.mr@...>
Hello.
new code - lets you print trees, and find k-nearest points (at least i
Marcin Raczkowski wrote:
Clifford Heath wrote:
Marcin Raczkowski wrote:
Clifford Heath wrote:
[#287558] Windows File Comparing — Vell <lovell.mcilwain@...>
I am attempting to right a small utility that checks one file against
[#287582] RegexpBench 0.5.2 Released — nyarly@...
RegexpBench version 0.5.2 has been released!
[#287586] Returning with methods — Ryan Lewis <c00lryguy@...>
struct.rb:
[#287591] Problem with IPAddr — "Bryan Richardson" <btricha@...>
Hello all,
Gary,
[#287610] native threads in ruby — Rick Penn <emergence@...>
Is there anyway possible, one can make use of native threads in Ruby?
On Jan 16, 7:23 am, Jason Roelofs <jameskil...@gmail.com> wrote:
[#287623] not catching my exception — Junkone <junkone1@...>
Hello
[#287624] Passport in ***** form — Prasad Pednekar <prasadm29@...>
[#287627] Help decoding UDPSocket trap data — jackster the jackle <contact@...>
Hi Ruby Forum,
On Jan 16, 10:23 am, jackster the jackle <cont...@thirdorder.net>
yermej wrote:
[#287638] regular expression — Johnathan Smith <stu_09@...>
hi there
On 1/16/08, Johnathan Smith <stu_09@hotmail.com> wrote:
[#287666] ruby annoyances ... mine is line continuation, what's yours? — "scooterm@..." <scooterm@...>
Just thinking how really smart Ruby is in most areas makes it all the
[#287667] Can we get some moderation? — "Kyle Schmitt" <kyleaschmitt@...>
Can we get some sort of moderation on this list?
[#287674] RubyGems 1.0.1 in windows — "lance.sanchez@..." <lance.sanchez@...>
i'm not sure where to report this.
[#287706] iterating through the registry — Thufir <hawat.thufir@...>
I want to iterate through the registry, getting results similar to
[#287707] Quit, if a specific key is hit — Pavankumar Kulkarni <pavankumar_kulkarni@...>
Excuse me, if this is already discussed... but from from here
On Jan 16, 2008, at 11:43 PM, Pavankumar Kulkarni wrote:
[#287715] Greedy and non greedy quantifiers — Dan Kelly <d_kelly18@...>
Im just after a bit of clarification with quantifiers in regular
[#287720] FXRuby or Shoes? — Doug Livesey <biot023@...>
Sorry I've posted this in the generic Ruby thread, but I wanted as
On Jan 17, 2008 4:58 AM, Doug Livesey <biot023@gmail.com> wrote:
[#287735] LDAP Server not connected error — Varun Goel <varun.rajeshkumar@...>
hi all i made authentication function like this
Pluck out the actual LDAP code into IRB and see if it works. I've not
Matt Todd wrote:
> Hello Matt,
On Jan 18, 2008 8:50 PM, Varun Goel <varun.rajeshkumar@gmail.com> wrote:
Mikel Lindsaar wrote:
[#287749] gsub and regexes on binary files... — "Kyle Schmitt" <kyleaschmitt@...>
I'm having a few issues with gsubbing a regex on a binary file.
[#287757] Ruby syntax in "respond_to do |format| line -- can clarify? — Joshua Beall <jbeall.ruby@...>
Hi All,
Andrew Stewart wrote:
[#287766] howto insert data into a database? — Phil Pan <corrale211@...>
Hi all, I can't seem to figure this out and I would appreciate any help.
[#287771] Using RSpec to Describe Included Module Behavior — Starr Trader <startrader@...>
Greeting all,
[#287776] Properly using Ruby's specialness — "J. Cooper" <nefigah@...>
I was recently reading a presentation on "10 things Java programmers
On Jan 17, 2008, at 1:04 PM, J. Cooper wrote:
On 1/17/08, James Gray <james@grayproductions.net> wrote:
On Jan 17, 2008, at 3:02 PM, Rick DeNatale wrote:
On Jan 17, 2008 10:10 PM, James Gray <james@grayproductions.net> wrote:
[#287787] quick question — Johnathan Smith <stu_09@...>
hey
[#287796] DTrace segfaults on Leopard — Wincent Colaiuta <win@...>
I'd like to use DTrace on Leopard to do some profiling of a Ruby app
[#287802] wxRuby 1.9.4 — Alex Fenton <alex@...>
The wxRuby team is pleased to invite you to try the latest version of
Alex Fenton wrote:
[#287817] gem 'rufus-verbs' released — "John Mettraux" <jmettraux@...>
== what is it ?
[#287819] passing method references in python & ruby — "rpardee@..." <rpardee@...>
Hey all,
On Jan 17, 8:12 pm, Justin Collins <justincoll...@ucla.edu> wrote:
SW4gcHl0aG9uIHdoZW4geW91IHVzZSBtZXRob2QgbmFtZSB3aXRob3V0IHBhcmVudGhlc2lzZXMg
Rados梶w Buウat wrote:
On 18.01.2008 20:11, Justin Collins wrote:
Robert Klemme wrote:
What bugs me about ruby is that I can't do this
Hi there,
On Sun, Feb 24, 2008 at 2:55 PM, Arlen Cuss <celtic@sairyx.org> wrote:
On Jan 18, 2008 6:50 PM, rpardee@gmail.com <rpardee@gmail.com> wrote:
[#287823] from "int cfunc(char *data,int *num) " how can I get the value of 'num' in ruby/dl ? — bbmerong <dmkim@...>
I have a question about "ruby/dl".
[#287829] Needing help using Rake from within a Ruby program — "Bryan Richardson" <btricha@...>
Hello all,
On Jan 17, 2008 10:14 PM, Bryan Richardson <btricha@gmail.com> wrote:
[#287842] go to specific char in a file — Rudy Rusli <tabing16@...>
Hi
[#287851] Start a program, get it's output, then kill it. while "multithreading"... — Deadolus <deadolus@...>
Hi everybody,
2008/1/18, Deadolus <deadolus@gmail.com>:
[#287854] Create variables with caller scope — Jari Williamsson <jari.williamsson@...>
Is it possible for a method to create new variables that becomes in the
[#287857] Aliasing class methods — "Bryan Richardson" <btricha@...>
Hello all,
[#287869] Longest Repeated Substring (#153) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
On Jan 18, 2:38 pm, Ken Bloom <kbl...@gmail.com> wrote:
T24gSmFuIDE4LCAyMDA4IDEwOjAwIFBNLCB5ZXJtZWogPHllcm1lakBnbWFpbC5jb20+IHdyb3Rl
On Jan 18, 2008, at 3:10 PM, Rados=B3aw Bu=B3at wrote:
PiA+IE15IHF1ZXN0aW9uIGlzIChJJ20gbm90IGZhbWlsaWFyIHdpdGggUnVieVF1aXogdG9vIG11
On Jan 18, 8:12 pm, "ara.t.howard" <ara.t.how...@gmail.com> wrote:
2008/1/18 yermej <yermej@gmail.com>:
On 21 Jan 2008, at 15:12, Todd Benson wrote:
On Jan 21, 2008 9:49 AM, Denis Hennessy <denis@hennessynet.com> wrote:
On Jan 18, 8:27 pm, fw <fwmailingli...@gmail.com> wrote:
On Jan 20, 12:04=A0pm, Dave Thomas <d...@pragprog.com> wrote:
[#287875] using ruby to validate web pages — Kate Bond <bondkate@...>
Hi, just wondering if anybody can tell me what's wrong with this code:
[#287895] Thin 0.5.3 Purple Yogurt release — Marc-AndrCournoyer <macournoyer@...>
Hey all,
This has been working so well on my Mac dev machine, I built it out on =20=
Got it up and running ... for a while. It's running as root/root and
Thin runs in a single thread, no need for a mutex there.
QW5kIGV2ZW4gaWYgaXQgd291bGQgYmUgbXVsdGkgdGhyZWFkZWQgaXQgd29uJ3Qgd29yay4gRXZl
PiBBbmQgZXZlbiBpZiBpdCB3b3VsZCBiZSBtdWx0aSB0aHJlYWRlZCBpdCB3b24ndCB3b3JrLiBF
Oooooh, you're right. Unlock is called twice. This is code in a Rails =20=
T2YgY291cnNlIGl0IGRlcGVuZHMgb24gc3BlY2lmaWMgc2l0dWF0aW9uIGJ1dCBpbiBhYm91dCA5
[#287904] warning: already initialized constant TmpCert_as_text — Heinrich Piard <linux@...>
Hi all,
[#287910] Rubyscript2exe — "Chaos king" <chaos.king22@...>
I'm trying to use rubyscript2exe on there website,
[#287953] Looking for code to determine length of audio files — "Rick DeNatale" <rick.denatale@...>
I'm working on a project which has the requirement to automatically
On 1/18/08, ara.t.howard <ara.t.howard@gmail.com> wrote:
[#287971] Ruby with Mac OS X — Tj Superfly <nonstickglue@...>
Hello everyone,
On Jan 18, 2008 8:37 PM, Tj Superfly <nonstickglue@verizon.net> wrote:
She can't find the run file.
On Jan 18, 2008 9:25 PM, Tj Superfly <nonstickglue@verizon.net> wrote:
Hassan Schroeder wrote:
Okay, we've got programs running!
not sure what you are trying to do there..
Well, I'm using it with arrays, here's a clip of the code that I'm
Tj Superfly wrote:
Okay, we've added that to the mac, and still the same error. I'm going
Tj Superfly wrote:
That works fine, the output was "YAML". From what you said, that's a
[#287974] Web Programming with Ruby — Tj Superfly <nonstickglue@...>
Does anyone know any really good tutorials out there?
The best place to start with Ruby on Rails (assuming Windows) is to
[#287997] Ruby, C, swig and variable types — "Axel Etzold" <AEtzold@...>
Dear all,
[#288033] No such file or directory — Nick Shaw <nick.a.shaw@...>
Hi, Ive just started learning Ruby and I'm having a problem with the
[#288037] My experience of installing RMagick on windows — Irfan Ahmad <erfaan@...>
Hi
Irfan Ahmad wrote:
[#288047] Timeout error using Find module — Mike -- <blackstar138@...>
Hey everyone,
[#288052] Alternative to WebUnit — "Eric Lin" <eylinlist@...>
I'm writing a screen scraping application and looking for Ruby equivalents
[#288068] Methods and scope - (noob alert) — John Maclean <john@...>
This block of code works and it's easy to see why:-
[#288085] Online eBooks @ jumbooks.com — "Deepak.Verma3441@..." <Deepak.Verma3441@...>
Hi Friends,
On 01:45 Mon 21 Jan , Deepak.Verma3441@gmail.com wrote:
[#288088] Newbie Question about Array#include? — AoP <jimmy.tharpe@...>
Why does the "include?" method of Array end with a question mark? I
[#288092] Gem post-install script or files outside the gem hierarchy — "Jim Cain" <jecain@...>
Is it possible for a gem to run a post-install script or write files
[#288114] How do I see a sample RMagick drawing??? Help, Please! — "Victor Reyes" <victor.reyes@...>
Team,
Victor Reyes wrote:
Tim,
That's because you're using the GRAYColorspace. You need to use something else.
[#288133] Announcing Revactor: an Actor model implementation for Ruby 1.9 — "Tony Arcieri" <tony@...>
I'm pleased to announce the initial public availability of Revactor, an
On Jan 21, 2008 8:13 AM, Tony Arcieri <tony@clickcaster.com> wrote:
On Jan 21, 2008 5:57 AM, Eivind Eklund <eeklund@gmail.com> wrote:
I'm still trying to wrap my head around this whole concept. What is
On Jan 22, 2008 4:39 PM, aemadrid@gmail.com <aemadrid@gmail.com> wrote:
> Using Reactor means you must abandon any code which is structured around
This is very cool. I've played with implementing something like this
On Jan 24, 2008 7:52 AM, Paul Brannan <pbrannan@atdesk.com> wrote:
[#288139] what does 'def [](var1)' means and how to use? — "Sun" <as@...>
I came cross a ruby class with function defined as:
[#288145] Quick way to split up an array of objects into groups? — Max Williams <toastkid.williams@...>
I have a collection of objects, which i want to separate into groups
On Jan 21, 2008, at 12:23 PM, Max Williams wrote:
Xavier Noria wrote:
[#288155] How to get userid using Net::LDAP — Varun Goel <varun.rajeshkumar@...>
Hi all,
[#288185] Is there an easier way to get a match before a position in a string? — "Michael W. Ryder" <_mwryder@...>
I am trying to find an easier way to split a string into printable
[#288200] Re: [QUIZ] Longest Repeated Substring (#153) — James Koppel <jamesbkoppel@...>
My solution finds substrings of length n, groups the identical ones together in a hash of their starting indices, prunes out cases where two of the "repeated" substring overlap each other, and then looks in the same places for substrings of length n+1.
[#288211] sleep not adding up — Jeff Bowen <ja_bowen@...>
I was hoping that the following code would print out hi with one second
[#288221] amsterdam.rb — "Remco van 't Veer" <rwvtveer@...>
Hi all,
[#288231] Quick ruby-powered html-forms? — Casimir <pikEISPAMMMseli@...>
I am certain someone has made a solution for quickly creating forms with
[#288236] NASA summer students -- app due Feb 1st — Bil Kleb <Bil.Kleb@...>
Hi,
[#288237] Hash two dimensions — Mario Ruiz <mario@...>
Hi Everybody!
[#288242] gem install SUPER SLOW in linux virtual machine — Max Williams <toastkid.williams@...>
I'm switching a project over to working in a linux virtual machine,
[#288249] Bugs in Facets Cloneable? — Ken Bloom <kbloom@...>
I was just looking at the Cloneable module from the Facets' library,
[#288258] why must I initialize this variable? — matt@... (matt neuburg)
Here's a simple variable initialization / scope question. In the
Justin Collins <justincollins@ucla.edu> wrote:
[#288264] No such file or directory - bug due to filepath length? — fensterblick@...
Hello again from another relative newcomer. I am encountering a weird
[#288273] Question about hsh.each_pair — Jean-nicolas Jolivet <phpcode@...>
I was wondering if the hash.each_pair function messes with the order of
[#288277] Re: Circular shift — Mental Guy <mental@...>
Zangief Ief wrote:
It may also help if I explain how each piece works. I realize that
Mental Guy wrote:
[#288290] Determine where a method is being called from? — Ben Johnson <bjohnson@...>
Is it possible to determine if a public instance method is being called
On Jan 23, 2:08 pm, Robert Klemme <shortcut...@googlemail.com> wrote:
[#288303] How to improve this code? — Jair Rillo Junior <jrjuniorsp@...>
Hi guys,
On Wed, 23 Jan 2008, Jair Rillo Junior wrote:
John Carter wrote:
-----BEGIN PGP SIGNED MESSAGE-----
[#288308] Learning to build a MUD — Sean Dolbec <helbuns@...>
Way way back when, after my first CS class (101, C++ programming), I
I heard MUD is second to MMORPG in term of project scale difficulty.
Well, take out the graphics of an modern-day MMORPG and you have a MUD.
[#288314] singleton definition differences — Nicholas Randal <nrandal@...>
would someone please explain the difference between these definitions
Nicholas Randal wrote:
7stud wrote:
[#288319] Alphabetizing — Zenki Nine <amateurdesigner@...>
Hi,
On Jan 22, 2008 11:22 PM, Zenki Nine <amateurdesigner@gmail.com> wrote:
[#288338] rubygems install in HOME for Ruby 1.9 ??? — unbewusst <yvon.thoraval@...>
i've installed rubygems 0.9.5 with ruby 1.9 lying in my HOME but i get
[#288348] Parsing HTML / following links etc — Dan Cuddeford <dancudds@...>
Hello all,
> I've was pushed towards ruby from by a friend. I'm used to the usual
Mmmm thanks for your advice. One thought - is it possible to get ruby is
Alle Wednesday 23 January 2008, Dan Cuddeford ha scritto:
[#288356] Ruby on Windows with mysql and net — "Simon Jones" <no@...>
Hello all,
[#288359] FireWatir in class, link doesn't work. — Flaming Flamingo <giel@...>
Hi All,
[#288364] What these lines of code do? — MohsinHijazee <mohsinhijazee@...>
# What this is doing? I mean Digest.new('sha1') returns what?
[#288371] Floating point conversion error? — Brandon Hoult <bhoult@...>
>> (2241.18 * 100).to_i
[#288388] Sup 0.4 released — William Morgan <wmorgan-ruby-talk@...>
Sup version 0.4 has been released!
[#288391] Scripts run using load in "for" loop run out of order — Fa Sidd <siddiqifh@...>
Hi
On Jan 23, 2008 1:31 PM, Fa Sidd <siddiqifh@yahoo.com> wrote:
[#288401] using subversion bindings — "Munagala Ramanath" <amberarrow@...>
Hi,
[#288411] Help with eval — Keith Carter <kmarplecarter@...>
Am I missing something with eval? Why does this code not work?
[#288431] Parsing poorly written XML — Patrick Callahan <hockey@...>
I've found an application which dumps all the registry settings for
[#288449] Stuff method — Carl Graff <cagraff@...>
Hi,
[#288470] DRb cleaning up client objects created by clients — "Aaron Turner" <synfinatic@...>
Hopefully the below makes sense...
Aaron Turner wrote:
[#288474] What is the right way to access this param value? — laredotornado <laredotornado@...>
Hi,
[#288489] Change a data structure — Michael Schmarck <michael.schmarck@...>
Hello!
[#288502] Help Ruby with Vista — Bill Kirschner <billkirschner@...>
So I have used Ruby problem free on Windows XP however I am having
[#288506] Creating a canonicalized url — Dan Cuddeford <dancudds@...>
Hello there guys,
[#288525] Using a DLL that wants a function pointer — "daniel 虧erud" <daniel.akerud@...>
I want to use a DLL with Ruby (Win32). This DLL has X number of functions,
On Jan 24, 9:10 am, daniel =E5kerud <daniel.ake...@gmail.com> wrote:
On Jan 24, 2008 7:45 PM, yermej <yermej@gmail.com> wrote:
On Jan 24, 2008 9:45 PM, daniel =E5kerud <daniel.akerud@gmail.com> wrote:
On Jan 24, 1:52=A0pm, "daniel =E5kerud" <daniel.ake...@gmail.com> wrote:
[#288536] "Parametric class" on inheritance — Ronald Fischer <rofi@...>
I found in "Ruby Cookbook" (recipe 8.8) a syntactically
[#288576] getting in lots of practice at begginner level. — Adam Akhtar <adamtemporary@...>
hi just getting to grips with ruby. I need more problems to solve that
[#288589] What Exactly is Rubinius & Why Such Importance..? — Softmind Technology <softmindtechnology@...>
Hi,
On Jan 25, 2008 8:48 AM, Softmind Technology
[#288591] XMPP client with Ruby — Zablon Ochomo <ochomoz@...>
Hi all,
Zablon Ochomo a 馗rit :
Stephane Wirtel wrote:
T24gSmFuIDI1LCAyMDA4IDQ6NDcgQU0sIFphYmxvbiBPY2hvbW8gPG9jaG9tb3pAZ21haWwuY29t
The code below is working with the xmpp4r form
[#288610] regex issue — Junkone <junkone1@...>
my pattern should match either import or delete
[#288619] Searching for a working Ruby parser — Saladin Mundi <saladin.mundi@...>
Hey folks!
Thank you very much for your help.
[#288626] Making Change (#154) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
Are the coin values always given in descending order?
On Jan 25, 2008, at 1:49 PM, tho_mica_l wrote:
On Jan 25, 2008 9:20 PM, James Gray <james@grayproductions.net> wrote:
On [Sat, 26.01.2008 00:50], Ruby Quiz wrote:
On Jan 25, 2008 9:53 PM, Dominik Honnef <dominikho@gmx.net> wrote:
On Jan 25, 2008, at 3:09 PM, Jes=FAs Gabriel y Gal=E1n wrote:
>>> Are there any advanced combinations of change/array of coins which
Why would this fail? The answer would be [7,7]
2008/1/26, Andrew Timberlake <andrew@andrewtimberlake.com>:
For anyone interested, here are the Australian coin values:
Hi, I'm Atsuhiro.
[#288632] Installing Ruby on Red Hat Enterprise Edition on a Terminal — "Steckly, Ron" <rsteckly@...>
Hi all,
[#288635] to sleep no more — DrBenway <westworld@...>
hi all,
[#288689] rubygems update/upgrade error... — 7stud -- <bbxx789_05ss@...>
$ sudo gem update --system
7stud -- wrote:
[#288692] regular expression negate a word (not character) — Summercool <Summercoolness@...>
On Jan 25, 6:35 pm, Joseph Pecoraro <joepec...@gmail.com> wrote:
SpringFlowers AutumnMoon wrote:
[#288716] win32ole.AppActivate broken in VISTA? — "Robert Batzinger" <rbatzing@...>
I have been trying to use the win32ole module on Vista. However, the
[#288731] monitoring postgres transaction — "Gian Holland" <gianmh@...>
Hi I would like to monitor postgres transactions in a realtime fashion, is
Gian Holland wrote:
[#288734] Ruby Program dont STOP — Magician White <w__magician@...>
Hi, I'm new in Ruby and i found a little problem, make a simple program
[#288773] Extracting Data from a Webpage — Tj Superfly <nonstickglue@...>
Hello everyone.
Tj Superfly wrote:
7stud -- wrote:
> This should be more efficient:
[#288823] How to access a method when method-name is in a variable — Luca Scaljery <lcalje@...>
Hi All
Alle Sunday 27 January 2008, Luca Scaljery ha scritto:
[#288847] Treetop parser (or PEG in general?) questions — Phrogz <phrogz@...>
I've been looking for something like treetop for a while now. Very
An additional Treetop question that has me stumped:
Phrogz wrote:
Phrogz wrote:
On 1/28/08, Clifford Heath <no@spam.please.net> wrote:
El Martes, 22 de Abril de 2008, Phil Tomson escribi=F3:
[#288850] I Get A Ruby Trunk Make Error On Readline — Joseph Pecoraro <joepeck02@...>
I have had difficulties with a number of programs since I installed Ruby
[#288851] Ruby Script Under performance in CYGWIN environment — ankit <toankit.singh@...>
Hi,
[#288862] Module Global Hash — Ryan Lewis <c00lryguy@...>
#!/usr/bin/env ruby
[#288872] what's the diff between puts y and puts "#{y}" in class_eval — Raj Singh <neeraj.jsr@...>
Look at the code.
Hi,
[#288877] Logical Operations on Strings — "Michael W. Ryder" <_mwryder@...>
Is there a bitwise and for strings that I am missing? I tried the
2008/1/28, Michael W. Ryder <_mwryder@worldnet.att.net>:
[#288895] Disable database support ? — Cristian Gradisteanu <gradisteanuc@...>
Hello,
[#288897] Sketchup: Constructing Triangle with Ruby — Eps Ilon <alexander.graefe@...>
Hello,
[#288916] Final Two Quizzes — James Gray <james@...>
As most of you know, we have two Ruby Quiz problems left (http://groups.google.com/group/comp.lang.ruby/msg/6f46393932c22e49
On Jan 28, 2008, at 5:38 PM, fedzor wrote:
On Jan 29, 2008, at 6:33 AM, fedzor wrote:
Thank you for the many quizzes. I came to Ruby through a blog entry
On Jan 29, 2008, at 3:23 PM, Thomas Wieczorek wrote:
On [Wed, 30.01.2008 06:34], James Gray wrote:
On Jan 29, 2008, at 4:01 PM, Dominik Honnef wrote:
On Jan 30, 2008 12:04 AM, James Gray <james@grayproductions.net> wrote:
On Jan 29, 2008 5:49 PM, Thomas Wieczorek <wieczo.yo@googlemail.com> wrote:
> I agree that the summary is usually pretty good. James is very insightful.
I think that a lot of decisions (like the logo contest mentioned above)
[#288931] Assistance dynamically building a nested hash — Matthew Williams <matthew.d.williams@...>
I've done some searching and have found some nested hash references but
Matthew Williams wrote:
[#288940] Problem loading a YAML file — Keith Carter <kmarplecarter@...>
I'm having issues loading a YAML file. Here is the YAML file (named
[#288956] Line breaks in YAML — Keith Carter <kmarplecarter@...>
Sorry for all the YAML questions today!
[#288973] Treetop Email Parser — Phrogz <phrogz@...>
(I would post this to the treetop mailing list...except there doesn't
On Jan 28, 4:57=A0pm, Clifford Heath <n...@spam.please.net> wrote:
Phrogz wrote:
On 1/29/08, Clifford Heath <no@spam.please.net> wrote:
On 1/29/08, Matt Mower <matt.mower@gmail.com> wrote:
[#288985] gem API — John Joyce <dangerwillrobinsondanger@...>
I'm curious is there a flag or an easy way to extend gem when calling
[#288986] Ruby/Tk/Iwidgets tabnotebook (and scrollbar) — Karl Miller <karl.miller.km@...>
Hi
[#288994] JNA Help - LPDWORD — Daniel Berger <djberg96@...>
Hi all,
[#289005] can you do this ? ruby aptitute — Pokkai Dokkai <bad_good_lion@...>
# in source1.rb
[#289009] looking for XML parsers in Ruby — Ravindra Kumar <ravin.iitb@...>
Hi,
[#289018] Proposal/RFQ: Hash#values/keys with block — "Dirk Traulsen" <dirk.traulsen@...>
Hi!
On Jan 29, 2008 2:10 PM, Dirk Traulsen <dirk.traulsen@lypso.de> wrote:
2008/1/29, Thomas Wieczorek <wieczo.yo@googlemail.com>:
Am 29 Jan 2008 um 22:50 hat Robert Klemme geschrieben:
On 29.01.2008 18:29, Dirk Traulsen wrote:
[#289046] newbie file write problem — Lars Zeb <larzeb@...>
This is my first attempt at ruby. I've written a class (SicCode) which
[#289059] neat idea from arc — "Martin DeMello" <martindemello@...>
Paul Graham just released Arc (http://paulgraham.com/arc0.html), a
[#289060] For Loop question — Mark Mr <pimea.mark@...>
ok basically i cant quite figure out how to do a for loop i want in
[#289085] Newbie question 'require' — Serg Koren <skoren@...>
Hi I've installed the sqlite3-ruby gem via gem install. However =20
[#289099] smtp.set_debug_output - capture output to string? — "aktxyz@..." <aktxyz@...>
As shown below, I can send debug output from Net::SMTP to stderr, how
[#289131] Newbie: working with binary files/extract png from a binary file — Jim <jim.foltz@...>
Hello,
[#289132] Using gems from C extensions — Andre Nathan <andre@...>
Hello
[#289143] Start and stop a ruby loop ;( — Sameera Gayan <sameera207@...>
Hi all,
[#289180] Parsing a string with quotes — Cheri Ruska <liquid_rails@...>
I am trying to parse out the string:
[#289196] counting the number of repititions in an array — Adam Akhtar <adamtemporary@...>
Hi if i want to count the number of times values are repeated in an
Alle Wednesday 30 January 2008, Adam Akhtar ha scritto:
Stefano Crocco wrote:
Alle Wednesday 30 January 2008, Adam Akhtar ha scritto:
[#289206] Ruby Puzzle Challenge — Wyatt Greene <greenewm@...>
Write a Ruby program that prints out the numbers 1 to 100, one number
On Jan 30, 9:14=A0pm, Wyatt Greene <green...@yahoo.com> wrote:
[#289210] Learn how to program — "Regnum@... Regnum@..." <regnum@...>
Hi!, i want to learn how to program.Is ruby a good option?. Thanks.
On Jan 30, 4:30=A0pm, "Reg...@argentina.com Reg...@argentina.com"
IMHO,
On Fri, Feb 01, 2008 at 09:31:21AM +0900, Michael Bevilacqua-Linn wrote:
On Feb 1, 2008 7:10 PM, Chad Perrin <perrin@apotheon.com> wrote:
[#289234] is there a way to send chat message via AOL AIM (with ruby of course!) — "aktxyz@..." <aktxyz@...>
poking around, there seem to be numerous walking dead projects, anyone
[#289247] Referring to method in enclosing class — Richard Everhart <rich.everhart@...>
I need to do something like what is being attempted in the code below.
[#289265] DRB+Mixin, a defect or an usage error? — yangpeng <edge_hh@...>
2008/1/30 yangpeng <edge_hh@hotmail.com>:
[#289273] FxRuby — lote <receprd@...>
Does anybody some experiance aout FxRuby ? i have Ruby 1.8.2-14 with
[#289281] ZenTest 3.9.0 Released — Ryan Davis <ryand-ruby@...>
[#289286] can ik make this more beautifull? — Remco Hh <remco@...>
nowadays i try to improve my coding style to produce nicer and beter
Remco Hh wrote:
Jari Williamsson wrote:
[#289300] Writing text files with an explicit encoding (UTF-16LE) — Tim Perrett <hello@...>
Hey all,
[#289310] Reverse RegEx or How to write a KeywordGenerator for a given — Mi Ni <ruby-forum.com@...>
im new to ruby and have not the deep knowledge of all the possible ways
[#289330] decrypt this! — "aktxyz@..." <aktxyz@...>
Here is some code that adds encrypt/decrypt methods to string, quite
[#289333] validate email address? — "Eric H." <REMOVE-CAPSburnFORout@...>
Anyone have a code snippet that tells whether an email address is
[#289355] Gedankenexperiment on method duck type safety — Tim Connor <timocratic@...>
*braces for the flames to follow*
Tim Connor wrote:
[#289356] memory considerations when parsing XML file — Mr_Tibs <tiberiu.motoc@...>
Hi,
[#289364] GUI for a newbie — Matthew Borgeson <hibridmatthias@...>
Hello All-
Matthew Borgeson wrote:
On Feb 1, 2:20=A0pm, Jayson Williams <williams.jay...@gmail.com> wrote:
[#289375] how do you install a local gem? — 7stud -- <bbxx789_05ss@...>
Hi,
Alle Thursday 31 January 2008, 7stud -- ha scritto:
Stefano Crocco wrote:
Alle Thursday 31 January 2008, 7stud -- ha scritto:
Stefano Crocco wrote:
7stud -- wrote:
Joshua Ballanco wrote:
You're welcome!
Joshua Ballanco wrote:
7stud -- wrote:
[#289377] What's need to install RMagick on AIX — "Victor Reyes" <victor.reyes@...>
I have Ruby installed under AIX: r*uby 1.8.6 (2007-03-13 patchlevel 0) [
Re: counting the number of repititions in an array
Alle Wednesday 30 January 2008, Adam Akhtar ha scritto:
> Hi if i want to count the number of times values are repeated in an
> array how do i go about it...is there a method?
>
> My solution is
>
> list.sort
> loop through list and compare one element to the next and count
> repetitions.
>
> is there a simpler way?
a = [2,4,6,2,1,3,4,6,4,1,2,3,1]
res = Hash.new(0)
a.each do |i|
res[i]+=1
end
p res
This creates a hash, which has a default value of 0 (that is, if a key isn't
included in the hash, the [] method returns 0). Then, there's an iteration on
all items of the array. For each element, the value of the hash item
corresponding to the array element is increased by one.
This can be written much more concisely as:
p a.inject(Hash.new(0)){|res, i| res[i]+=1; res}
> in C i used the for loop a lot to loop through arrays but i notice that
> in ruby using
> list.each do |element|
> ..
> ..
> end
>
> is quite popular.
>
> If i wanted to do someting like this:
>
> if list[currElement] == list[currElement + 1]
Array#each_index or Array#each_with_index:
list.each_index do |i|
if list[i] == list[i+1]
...
endif
end
or
list.each_with_index do |element, i|
if e == list[i+1]
...
endif
end
Of course, in both cases you'd need to handle yourself the case of the last
element (in which case, list[i+1] will return nil).
Another possibility, if you only need to access the item after the current one
is to use each_cons:
require 'enumerator'
a = [1,2,3,4]
a.each_cons(2){|i| p i}
=>
[1, 2]
[2, 3]
[3, 4]
I hope this helps
Stefano
> ...
>
> How would i go about writing that using list.each do |element|?
>
> Any help greatly appreciated.