[#329967] Ruby beginner Problem — Zayd Connor <devrubygem@...>
I get the following error message when running the code below:
On Sun, Mar 1, 2009 at 10:46 AM, Zayd Connor <devrubygem@gmail.com> wrote:
Thanks Lasitha that worked perfect. I'm slowly getting more comfortable with
Zayd Abdullah wrote:
Thanks Justin.
Zayd Abdullah wrote:
On Sun, Mar 1, 2009 at 12:23 PM, Zayd Abdullah <devrubygem@gmail.com> wrote:
Cool!, Wow, there are so many ways to do one thing. I'm going to try and
[#329986] How to use the Dir class, search for a sub directroy — Harry Nash <hjnash@...>
Good day, I am learning Ruby,and doing some experaments.
Harry Nash schrieb:
[#330001] 1.9 on OS X — Jeff Schwab <jeff@...>
What is the best way to install Ruby 1.9 on Apple OS X?
[#330022] Delegating class methods — abc <arcadiorubiogarcia@...>
Hi all,
Arcadio Rubio garc鱈a wrote:
I'm the OP. Thank you all for your replies.
On Mon, Mar 2, 2009 at 4:35 PM, abc <arcadiorubiogarcia@gmail.com> wrote:
[#330024] Error when running script — Brad Winborg <bwinborg@...>
This is the script, it's intent is to read all Error logs.txt files in a
[#330038] Rub 1.9: "inline rescue" doesn't work? — Iñaki Baz Castillo <ibc@...>
Hi, is there any explanation for the folowing big difference between the sa=
El Lunes, 2 de Marzo de 2009, I=C3=B1aki Baz Castillo escribi=C3=B3:
On Sun, Mar 1, 2009 at 6:58 PM, I=F1aki Baz Castillo <ibc@aliax.net> wrote:
[#330046] Requesting feedback on Gibberish::Simple, a tiny Ruby 1.9 localization lib — Gregory Brown <gregory.t.brown@...>
Hi folks,
[#330067] passing a method as a paramter — Sarah Allen <sarah@...>
I'm probably missing some basic Ruby syntax, but I'm relatively new to
On Mon, Mar 2, 2009 at 6:49 PM, Sarah Allen <sarah@ultrasaurus.com> wrote:
Wow. Awesome run through of various Ruby syntax options -- I think I'll
On Mon, Mar 2, 2009 at 7:44 PM, Sarah Allen <sarah@ultrasaurus.com> wrote:
Michael Fellinger wrote:
On Mon, Mar 2, 2009 at 10:16 AM, Sarah Allen <sarah@ultrasaurus.com> wrote:
[#330083] Using YAML for inter-process communication - anything built-in ? — Thibaut Barr鑽e <thibaut.barrere@...>
Hi,
Thibaut Barr竪re wrote:
[#330091] wxRuby 2.0.0 — Alex Fenton <aff28@...>
I'm happy to announce the release of wxRuby 2.0.0, the comprehensive,
[#330094] What does this statement do? — Stanislaw Wozniak <stan@...>
Hi Guys,
Stanislaw Wozniak wrote:
[#330097] Compiling a Ruby app — Sharagoz -- <blashyrkh1@...>
Hi
Sharagoz -- wrote:
Thanks for the input.
On Tue, Mar 3, 2009 at 5:09 AM, David Masover <ninja@slaphack.com> wrote:
[#330133] Mr Bones 2.4.1 (Lacrimal) — Tim Pease <tim.pease@...>
Mr Bones version 2.4.1
[#330139] Is faster using abbreviated parameter names? — Iñaki Baz Castillo <ibc@...>
Hi, a simple question:
On 02.03.2009 21:48, I=F1aki Baz Castillo wrote:
[#330162] Does Darkfish-Rdoc work properly? — Iñaki Baz Castillo <ibc@...>
Hi, I've installed "rdoc" via gem and got surprised since the downloades=20
[#330166] Libraries similar to doodle? — "Sean O'Halpin" <sean.ohalpin@...>
Hi,
[#330170] Using inline "rescue" with error class — Iñaki Baz Castillo <ibc@...>
Hi, instead of:
[#330195] Windows 7 - building win32/api gem — Stanislaw Wozniak <stan@...>
Hi Guys,
[#330197] ruby-opengl gem not working on 1.9? — "Thomas B." <tpreal@...>
Hello. I have a problem with making ruby-opengl work on Ruby 1.9.1,
[#330203] double quote problem in CSV — Salil Gaikwad <salil@...>
Hi all
Salil Gaikwad wrote:
Thanx Brian ,
[#330209] expanding environment variable — Daniel Schoch <trash@...>
Hi,
On [Tue, 03.03.2009 23:28], Daniel Schoch wrote:
Dominik Honnef wrote:
On [Tue, 03.03.2009 23:58], Daniel Schoch wrote:
[#330246] fixnum problem plz help — Guy Dols <guy_dols@...>
hy
Guy Dols <guy_dols@hotmail.com> writes:
[#330260] parse a tree —
Hi.
[#330263] implement "paste" using ruby — Oliver <fwang2@...>
hi, all
[#330283] gem cleanup problem — Tom Cloyd <tomcloyd@...>
I'm running Kubuntu Linux 8.10, and Rubygems 1.3.1.
On Wed, Mar 4, 2009 at 7:57 PM, Tom Cloyd <tomcloyd@comcast.net> wrote:
[#330286] Compiling 1.9.1p0 on AIX 5.3 using xlc — Graham Agnew <graham.agnew@...>
Hi,
Not sure if it's the root-cause at this stage, but I've found that core
So, I've gotten over this hurdle by modifying the enc.mk file to use the
[#330287] Any solutions to Ruby's inconsistencies? — "C. Dagnon" <c-soc-rubyforum@...>
Ruby has definite positives over Java and even other scripting
On Mar 4, 10:02=A0am, "C. Dagnon" <c-soc-rubyfo...@dagnon.net> wrote:
Yossef Mendelssohn wrote:
On Mar 4, 3:32=A0pm, "C. Dagnon" <c-soc-rubyfo...@dagnon.net> wrote:
Yossef Mendelssohn wrote:
On Thu, Mar 5, 2009 at 10:52 AM, C. Dagnon <c-soc-rubyforum@dagnon.net> wrote:
On 5 Mar 2009, at 20:40, Todd Benson wrote:
[#330324] Problems with ruby 1.8.6 on uClinux — Yuri Klubakov <yuri.mlists@...>
After watching David Goodlad's RubyConf2008 presentation "Ruby for
[#330327] Next stable 1.9.x — Michael Malone <michael.malone@...>
Does anyone know if there's a projected timeline for the next 1.9.x
[#330328] Getting the original file path on argument — Daniel Mantilla <dan@...>
Hi all, I have a little ruby script that accepts a file name as a
On 04.03.2009 23:11, Daniel Mantilla wrote:
[#330333] Is GServer the best to use? — Michael Furmaniuk <mfurmaniuk@...>
I am in need of a TCP Server, basically something multithreaded that I
[#330345] Cut a string each 80 character — Guillaume Loader <picpic72@...>
Hello everyone!
Ooops!
PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBwaWNwaWM3MkBob3RtYWlsLmNv
> string.scan(%r{.{1,80}}).map { |_chunk|
[#330349] Re: OT: This system must have been written in Ruby... — "William James" <w_a_x_man@...>
Kenneth Tilton wrote:
[#330363] Ruby -Question about Framewroks — jazzez ravi <jazzezravi@...>
Hi All,
On 5 Mar 2009, at 09:59, jazzez ravi wrote:
On Mar 5, 2009, at 4:23 AM, Eleanor McHugh wrote:
[#330383] add a new line after, w/txtfile thats comma delimited — Mmcolli00 Mom <mmc_collins@...>
How do you add a new line after you have split a text file with
On 05.03.2009 16:07, Mmcolli00 Mom wrote:
On Fri, 2009-03-06 at 00:43 +0900, Robert Klemme wrote:
Do you know how to attach a string on the end of each value before
[#330387] Ruby - Imperative Language Features? — Mike Stephens <rubfor@...>
The Wikipedia entry for Ruby says:
Sandor Sz=FCcs wrote:
[#330397] CGI newbie — Sam <ruby@...153.net>
Hello,
Sam wrote:
[#330400] add a string on the end of values before splitting new line — Mmcolli00 Mom <mmc_collins@...>
Hi again. I am starting a new topic since this question is not the same
[#330418] pre-newbie question — Martin Rinehart <MartinRinehart@...>
I want to add Sketchup features, a product that has an API only for
[#330439] Referencing Variables By Name in a String — Michael Satterwhite <michael@...>
I can think of several (rather ugly) ways to accomplish this, but
[#330458] Re: What is the Qurツ津「n? — "imhotep al-basiel" <0limit@...>
thats is flat our bigot statement to call a culture fake after slavery
[#330484] What's wrong with lambda and class — Ivan Samonov <hronya@...>
Code:
All fully explained at
Actually, the question for me was "why 1?" in your second case. Passing
[#330495] debug ruby extension via gdb — Zhang Bo <zhangaigh@...>
Hi, I have a question during debugging ruby c++ extension. For example,
[#330509] regexp problem /[辿棚]/ || /辿|棚/ — Jonatas Paganini <jonatasdp@...>
Hi, I got a problem try to replace accentuated characters like:
[#330511] calling same page using two url with the help of routes.rb — Salil Gaikwad <salil@...>
I want to access same page using two different url's for that i had done
[#330526] Proper way to include module methods with dynamic code? — Web Manager <webmanager@...>
Hi,
[#330529] Pure ruby iconv? — Daniel Berger <djberg96@...>
Hi,
[#330534] Question about GServe and IO — Michael Furmaniuk <mfurmaniuk@...>
I'm trying to make just a pass through TCP server, utilizing GServer and
Michael Furmaniuk wrote:
[#330535] Rhyming Words (#195) — Daniel Moore <yahivin@...>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[#330542] ANN: Dao, the official 1.0 version is released — Limin Fu <phoolimin@...>
Hi,
[#330555] JRuby 1.2.0RC2 Released — Thomas Enebo <Thomas.Enebo@...>
The JRuby community is pleased to announce the release of JRuby 1.2.0RC2
[#330557] 2000-1992.2 - is this a known bug? — S2 <some.r@...>
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
[#330565] which gcc version — Roger Pack <rogerpack2005@...>
Is there a way to know which version of gcc was used with a certain ruby
[#330574] Extending has for default value, can't get it to work — Jo Be <nous.placidus@...>
http://pastie.org/409974
[#330598] Compiling Ruby 1.9.1 — Marc-antoine Kruzik <kadelfek@...>
Hello, I'm french, sorry for my mistakes.
[#330601] how to un-ragged a 2D array? — Phlip <phlip2005@...>
Rubies:
Phlip wrote:
Ktx! Now, on to Round Two!
[#330630] Can I access or find a object from it's instance variable? — Aki Wakabayashi <zzyzx2001@...>
Hello.
On Sun, Mar 8, 2009 at 2:55 AM, Aki Wakabayashi <zzyzx2001@gmail.com> wrote=
Thank you Ian, and Sean.
On 08.03.2009 05:57, Aki Wakabayashi wrote:
Thank you everyone. I would like thank every one one by one, but I think
On Sun, Mar 8, 2009 at 8:32 AM, Aki Wakabayashi <zzyzx2001@gmail.com> wrote=
On Sat, Mar 7, 2009 at 6:55 PM, Aki Wakabayashi <zzyzx2001@gmail.com> wrote=
[#330638] OO style tutorials? — Paul Archer <paul@...>
I'm pretty new to Ruby, and while I've read (and mostly get) several books
* Paul Archer <paul@paularcher.org> [2009-03-08 14:48:36 +0900]:
On Sun, Mar 8, 2009 at 8:00 AM, Saji N. Hameed <saji@apcc21.net> wrote:
Rick DeNatale wrote:
> The GoF book has strong influences from Smalltalk and Java. =A0C++ OO is =
[#330642] I code my first ruby script, and it got problem! — Power One <arghx1@...>
Hello folks!
Hi,
Heesob Park wrote:
2009/3/8 Power One <arghx1@yahoo.com>:
Once again, thank so much Park!
2009/3/9 Power One <arghx1@yahoo.com>:
IyAgIGlmIEZpbGUuZXhpc3Q/KCIje0BkaXJuYW1lfSIpDQoNCnRyeSwNCg0KICAgaWYgRmlsZS5k
[#330665] What are the 5 most innovative ruby projects/libraries? — Camille Roux <roux.camille@...>
Hi,
On 8 mars 09, at 18:21, Camille Roux wrote:
Camille Roux wrote:
Power One wrote:
On Mar 8, 2009, at 4:42 PM, Camille Roux wrote:
@Camille Roux
> Nobody seems to have taken notice here but shoes is not a library of
On Mar 8, 2009, at 9:03 PM, Phlip wrote:
On Sun, Mar 8, 2009 at 10:51 PM, Camille Roux <roux.camille@gmail.com> wrote:
[#330697] 1.9.x Thread problem — Michael Malone <michael.malone@...>
Hi All,
[#330700] Where's the best version of Hash#pass and Hash#block? — Phlip <phlip2005@...>
Rubies:
Phlip wrote:
Matthias Reitinger wrote:
[#330701] Ruby OpenGL Gears example that uses shiny and velvet GLSL shaders — Michael Brooks <michael.brooks@...>
Hello:
Michael Brooks wrote:
Hello Matthias
Hello Matthias (again):
Michael Brooks wrote:
[#330714] Some starting issues — Scott Mcleod <scott@...>
First off im on the latest/updated version of Mac OSX, on a macbook. I
[#330718] MacRuby 0.4 — Laurent Sansonetti <laurent.sansonetti@...>
Hi,
Hi, one thing I've been particularly curious about in regard to MacRuby...
On Tue, Mar 10, 2009 at 1:51 AM, Tony Arcieri <tony@medioh.com> wrote:
On Tue, Mar 10, 2009 at 5:50 AM, Rick DeNatale <rick.denatale@gmail.com>wrote:
[#330736] testing equality — "Haris Bogdanovic" <fbogdanovic@...>
Hi.
[#330774] Treetop Parser whitespace — Young tae Kim <philos99@...>
I can't understand why the following test fails.
[#330781] Good Ruby Books in Japanese? — "Sven C. Koehler" <schween@...>
Hello,
[#330791] RDoc (Darkfish) not ordering method by name — Iñaki Baz Castillo <ibc@...>
Hi, when I run "rdoc" Darkfish creates an HTML in which my class methods=20
[#330813] how to get all attributes in an element — Naresh Ramaswamy <tech4me@...>
hi,
[#330824] ANN: openssl-nonblock 0.2.0 — Tony Arcieri <tony@...>
Announcing openssl-nonblock 0.2.0, now available at:
[#330827] Regexp problem — Albert Schlef <albertschlef@...>
I want to extract an "id" parameter from the URL. I use the following
[#330832] cant able to start Ruby server — Kiran Kumar <4ukiran.s@...>
hi all,
[#330852] FasterCSV, Gruff and Large Data Import — "Dan Webb [dbw]" <dbw@...>
Hi all,
On Mar 10, 2009, at 9:03 AM, Dan Webb [dbw] wrote:
Not really, well I could but I'm trying to compare it with doing it in a
On Mar 10, 2009, at 9:57 AM, Dan Webb [dbw] wrote:
[#330864] Shell scripting & Windows/Linux Paths — Juan Zanos <juan_zanos@...>
What's the best way to launch executables with Ruby in a way that
2009/3/10 Juan Zanos <juan_zanos@talkhouse.com>:
[#330877] Unable to update gems — Eswar Vandanapu <eswar.vandanapu@...>
I am trying to update the rails using gems update, and I am getting the
[#330890] port scanning in ruby — Kyle Schmitt <kyleaschmitt@...>
I was trying to write a simple UDP method to test for snmp, and build
[#330913] Gtk+-2.0 problem — rick_2047 <rick.chatterbox@...>
I am on arch linux and installed gtk-ruby from the pacman
[#330915] How many people are using Ruby? — Paul Klipp <paul@...>
I enjoyed the Linux Counter (http://counter.li.org/) in the early days of
[#330932] Installing additional patches after 186-26 on Windows. — Richard Quadling <rquadling@...>
Hi.
[#330944] return doesn't always exit my method — Benjamin Thomas <benjamin.thomas81@...>
Hi, I'm new to Ruby and programming in general.
[#330948] hash of hashes w/defaults doesn't add keys as expected — "rpardee@..." <rpardee@...>
Hey All,
[#330954] How Many hours in A day — Zayd Connor <devrubygem@...>
I have a very simple ? How many hours in a day should someone who is new
Zayd Connor wrote:
2009/3/12 Zayd Connor <devrubygem@gmail.com>:
[#330963] Installing Ruby 1.9.1 on Windows using NetBeans 6.5 — Chris Cann <chris.cann@...>
I have ruby 1.8.6 and rails 2.2.2 installed and have now downloaded ruby
[#330972] ruby 1.8.8dev stable snapshot? — benr75 <benr75@...>
Hello ~
[#330974] assert_xhtml - test your HTML by example — Phlip <phlip2005@...>
Rubies:
[#330975] change (and update) values of hash — Jason Lillywhite <jason.lillywhite@...>
how would I do stuff to each value of a hash and return a modified hash?
On Thu, Mar 12, 2009 at 11:10 AM, Jason Lillywhite
On Thu, Mar 12, 2009 at 11:37 AM, lasitha <lasitha.ranatunga@gmail.com> wrote:
On Thu, Mar 12, 2009 at 12:06 PM, Jason Lillywhite
[#330990] How to read a charecters from and image? — rails and rails only <mjayakumar2k6@...>
rails and rails only <mjayakumar2k6@yahoo.com> writes:
Stop that! He's probably looking to crack CAPTCHAs.
Fuck, now this thread is gonna pop up every time some kiddie Googles how to
On 12 Mar 2009, at 10:34, Redd Vinylene wrote:
[#331007] Newbie needs advice to startoff Ruby! — "Jay " <jay9978@...>
=A0=0AHello,=0A=0AI have just started learning ruby through various tutori=
Jay wrote:
Get all ruby/rails books here (free) http://www.itstudy8.org/ruby.asp
Very uncool, man. There are people who depend on selling the books they
I would suggest "The Ruby Programming Language by David Flanagan; Yukihiro
[#331040] Gosu "Name error" problem — Zsolnai Csaba <kanesoban@...>
Hello
[#331055] serial port connection — Sangeeta Huddar <2006.shilpa@...>
Hi ,
[#331065] aquiring repo with svn — john maclean <jayeola@...>
git svn clone http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1
[#331067] case when - symbols or strings? — Marc Heiler <shevegen@...>
Picture a small method which accepts one argument. Inside this method is
[#331077] OCI-8, Oracle : 'ORDER BY' doesn't work with 'bind_param' — "B. Randy" <randy11@...>
Hello,
[#331081] Sliding Puzzle (#196) — Daniel Moore <yahivin@...>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[#331090] reading data files with headers and columns — Yaj Bhattacharya <yajnaval@...>
Hello,
Thanks very much Luc, here are a few follow up questions (complete
[#331102] regular expression / gsub question — Mmcolli00 Mom <mmc_collins@...>
Hi
[#331116] Problem With eval and each_index — "Michael W. Ryder" <_mwryder@...>
I am trying to set a group of variables to values stored in a tab
Michael W. Ryder <_mwryder@worldnet.att.net> wrote:
matt neuburg wrote:
[#331124] Fetching cookie??? — Saurabh Peshkar <saurabh@...>
Hi All,
> I am trying to fetch cookies other than localhost, i.e. fetching cookies
Michael Linfield wrote:
Saurabh Peshkar wrote:
Oh and as far as the non-localhost thing goes, if you store localhost
Michael Linfield wrote:
[#331143] How do arrays in Ruby work? — Peter Wu <pwu.380@...>
As in how they are organized behind the scenes.
[#331146] Daemons and Paths — Davertron <dabukun@...>
So I've written a daemon using the 'daemons' gem. I have essentially
[#331151] new to ruby: uninitialized constant — Paul Varoutsos <atwa5000@...>
I have a program the simulates the knights tour problem. I made 2
[#331161] has 'ping' been dropped from 1.9.1? — john maclean <jayeola@...>
=begin
[#331162] Extract common entries in two arrays — Iñaki Baz Castillo <ibc@...>
Hi, how to get an array with just common entries from two arrays?:
El Domingo, 15 de Marzo de 2009, I=C3=B1aki Baz Castillo escribi=C3=B3:
[#331175] Can't Install Ruby Builder — Marc Ch <wooingruby@...>
Pretty new to ruby and trying to install Builder but not having much
[#331176] SSLServer crashes when non-essl telnet connection is made — Erick Cantwell <ecantwell@...>
I have been working with the SSLServer class in Ruby and have run across
It's most likely a problem with the certificate that you're using.
[#331186] Basics of Require — Mike Stephens <rubfor@...>
I don't have access to an instance of Ruby at the moment and I am not
[#331208] execle ruby process from C ? — Zouplaz <user@...>
Hello, I'm playing with a small http server written in C & Ruby CGI and
[#331214] Keep thread in memory — Craig Williams <craig@...80.com>
Hi,
[#331216] does IO.read block? — Michael Malone <michael.malone@...>
Hi All,
On 15.03.2009 23:02, Michael Malone wrote:
Robert Klemme wrote:
On 16.03.2009 00:17, Michael Malone wrote:
On 16.03.2009 21:00, Michael Malone wrote:
Robert Klemme wrote:
On 17.03.2009 00:03, Michael Malone wrote:
[#331232] Regex returning less number of groups - where is the error? — Kimie Nakahara <kikacilda@...>
Hello!
Hi,
Hi Park, thank you for the quick answer. Using your regex, I get the
[#331243] `&' interpreted as argument prefix — Arun Kumar <arunkumar@...>
Hi,
[#331245] Socket hangs when I read after writing! — "Just Another Victim of the Ambient Morality" <ihatespam@...>
I have the following Ruby program:
[#331264] rudamentary question — "Hayden Smith" <tardis.tardis@...>
Greetings,
[#331280] Shoes and Mechanize — Trans <transfire@...>
Did mechanize switch to Nokogiri?
[#331288] Problem while installing rdoc-2.4.1 under Ruby 1.9.1 — Ruby Student <ruby.student@...>
Hello team!
On Mar 16, 2009, at 11:05, Ruby Student wrote:
[#331299] How to get just hour and minute? — "a_g_lyph@..." <a_g_lyph@...>
I have a Ruby project with a User object that consists of various
[#331307] Trying to install Fox, FXRuby, and IFMapper on Mac OS X — kpkilburn@...
I can't seem to find a specific answer on this...
[#331318] Ceding commandline control to child process — Juan Zanos <juan_zanos@...>
Say I want to launch a child process and allow the user to interact
[#331319] BigNum optimizations — Artem Voroztsov <artem.voroztsov@...>
Time for multiplication of BigNums grows quadratically with number of
Hi,
On Mon, Mar 16, 2009 at 4:23 PM, Yukihiro Matsumoto <matz@ruby-lang.org> wr=
Hi,
On Tue, Mar 17, 2009 at 5:56 PM, Yukihiro Matsumoto <matz@ruby-lang.org> wr=
[#331324] gem hanging in Windows — Michael Satterwhite <michael@...>
I'm trying to setup an environment on a Windows XP machine. Note: I do
[#331326] Dynamically extending modules once they have been included — pete@...373.net
It doesn't seem possible to dynamically extend modules once they have
I get it now...the ancestors list of the module is copied over to the
2009/3/17 Synth <librarising@gmail.com>
On 17.03.2009 11:11, James Coglan wrote:
[#331335] File.open().read.length result incorrect on Windows Server — Aaron Chandler <vitalaaron@...>
Hi,
[#331342] Youtube...urgent, please help — Arun Kumar <arunkumar@...>
Hi,
Arun Kumar wrote:
David Masover wrote:
On Tue, Mar 17, 2009 at 11:28 AM, Arun Kumar
[#331365] detect rogue DHCP server — Chris Henderson <henders254@...>
I want to write a program to detect rogue DHCP server on my (switched)
[#331367] PostgreSQL Dump — Saravanan Krishnan <saravanankrishnan@...>
Hi all,
[#331370] XML to CSV with REXML - I'm sure this should be easy... — Sandy Thomson <rhubarbcrumble@...>
Ok, I'm taking a fairly simple xml file containing a series of events
On 17.03.2009 13:03, Sandy Thomson wrote:
[#331371] free RAM problem — Edouard Dantes <edrd.dantes@...>
Hi,
On 17 Mar 2009, at 12:10, Edouard Dantes wrote:
On 17 Mar 2009, at 15:23, Edouard Dantes wrote:
2009/3/17 Eleanor McHugh <eleanor@games-with-brains.com>:
On 18 Mar 2009, at 16:25, Robert Klemme wrote:
[#331395] Unicode Character 'SUBSTITUTE' (U+001A) troubles... — Robert Lehman <grieve@...>
I'm implementing a version of the "Mini-AES" (http://findarticles.com/
[#331401] Reia -- a Ruby fork? — Trans <transfire@...>
Has anyone played around with Reia?
Tony Arcieri wrote:
[#331411] hpricot 0.7 — _why <why@...>
Please enjoy a succulent, new Hpricot. A bit faster, some Ruby 1.9
_why <why@ruby-lang.org> wrote:
_why wrote:
[#331441] How do I get a name translation for a symbolic link inside Ruby? — Xeno Campanoli <xeno.campanoli@...>
So I have the results of the shell command:
[#331457] Convert from DateTIme to Time — Guillaume Loader <picpic72@...>
Hello :)
On Wed, Mar 18, 2009 at 7:46 AM, Guillaume Loader <picpic72@hotmail.com> wrote:
[#331476] Complex sort of matrix possible, e.g. like Excel? — RichardOnRails <RichardDummyMailbox58407@...>
Hi,
Enumerable#sort lets you do this fairly easily with just a pure array
On Mar 19, 2009, at 10:44 PM, Ryan Davis wrote:
[#331478] REXML get specific element — Pierre Pat <theyojimbo@...>
All,
Hello,
> You are missing the '-s.
Phlip wrote:
[#331497] Using Fixnum, Strings etc. in Modules — Bram Wijnands <brambomail@...>
I'm stuck on why this occurs. (using jRuby 1.1.5 & Ruby 1.8.6)
[#331536] how to output two data elements from simple XML — Mmcolli00 Mom <mmc_collins@...>
Hi
[#331549] Wrapping applications in Ruby — Jp Hastings-spital <jphastings@...>
Variants on this theme have been posted time and again, but I can't find
I won't go into details but you should look into pipes in this case. By
Dylan Evans wrote:
On 19.03.2009 10:02, Jp Hastings-spital wrote:
[#331551] Is this how you start a hash? — Power One <arghx1@...>
I'm looking at the code below but still not clear about how this hash
[#331568] Modulo ? — Zayd Connor <devrubygem@...>
Maybe i need to get some sleep, but can someone explain how modulos
On 19.03.2009 06:50, Zayd Connor wrote:
On Mar 19, 2009, at 10:22 AM, Robert Klemme wrote:
Rob Biedenharn wrote:
Michael Malone wrote:
[#331584] Installing Ruby and Ruby Gems in a USB Flash Stick — Ruby Student <ruby.student@...>
Hello team,
[#331588] Initializing an NxN array — Ruby Student <ruby.student@...>
Team,
[#331612] ANN: Hirb - Irb on the good stuff — ghorner <gabriel.horner@...>
Hi,
[#331613] String comparision help — Live365 Live365 <pradgnya@...>
Hi,
[#331628] Passing a named function instead of a code block? — Paul Jungwirth <once@9stmaryrd.com>
Hello,
Paul Jungwirth wrote:
Matthias Reitinger wrote:
2009/3/20 7stud -- <bbxx789_05ss@yahoo.com>
James Coglan wrote:
Matthias Reitinger wrote:
[#331637] no such file to load -- popup — Aravind Kumarj <aravindkumarj@...>
Hi ,
> "no such file to load -- popup"
[#331644] INeedzPrepend — Trans <transfire@...>
Ruby's gone too long now without something --anything, in the way of
[#331647] nested methods — 7stud -- <bbxx789_05ss@...>
Hi,
[#331651] Writing a language converter in Ruby ? — Zouplaz <user@...>
Hi, I wonder where to start if I wanted to write a converter from XX
Zouplaz wrote:
Justin Collins wrote:
[#331666] Tracing method definition in core and stdlibs? — John Wells <lists@...>
Hi guys,
On 20.03.2009 13:56, John Wells wrote:
[#331678] Difference between 1.8.6(7) RDOC and 1.9.1 — Ruby Student <ruby.student@...>
Team,
[#331686] display computation time in IRB — Jason Lillywhite <jason.lillywhite@...>
Is there an easy way to display the time it takes to compute any
[#331687] self.inherited but wait until subclass is fully defined? — matt@... (matt neuburg)
Howdy. I am a class. There are certain rules for what you are supposed
[#331723] & - FixNum - method doubt — jazzez ravi <jazzezravi@...>
Hi All,
I am just learning Ruby but it looks like the binary intersection of the
Randall Alexander wrote:
Hi Randy,
> And few more ..
[#331737] Run a Ruby script (.rbw) from a dock shortcut in Mac OS X (Leopard)? — kpkilburn@...
I can't seem to find out how to do this... Thanks for any help.
Thanks everyone. I'll give these a try.
[#331744] Love poem in code for a Grooms Cake — Jen Switalski <jaswitalski@...>
Hi all,
2009/3/21 Jen Switalski <jaswitalski@gmail.com>
[#331757] GemsOnRuby v 0.0.0 (vaporware release / RFP) — Peter Fitzgibbons <peter.fitzgibbons@...>
Hello All,
[#331760] Ruby GUI Libs — ntwrkd <ntwrkd@...>
Is there a nicer GUI framework for Ruby other than RubyGoo?
[#331793] Newbie needs help with first project — Daniel Dale <dochappy@...>
I was told about Ruby several weeks ago and started my journey lol. I've
On Sun, Mar 22, 2009 at 9:32 AM, Daniel Dale <dochappy@gmail.com> wrote:
Stefan Codrescu wrote:
Thanks for all the help. I appreciate it. just had a thought though.
Yes there is a way to do that...
You could eventually use YAML or XML to store your data and get it back
thanks for the example Stefan. it doesn't seem to ask the user to
[#331803] convert PNG to hex — jeljer te Wies <jeljer@...>
Hey people! ..
jeljer te Wies <jeljer@me.com> writes:
Eric Jacoboni wrote:
[#331833] nokogiri 1.2.3 Released — Aaron Patterson <aaron@...>
nokogiri version 1.2.3 has been released!
[#331834] send email in ruby — Vetrivel Vetrivel <vetrivel.bksys@...>
How to attach the filename in ruby. I have attach 1.txt as a file name .
Vetrivel Vetrivel wrote:
I would suggest looking at the MailFactory gem (
Scott Lillibridge wrote:
Damjan Rems wrote:
>
Loga Ganesan wrote:
Loga Ganesan wrote:
[#331845] Regular expression — Arun Kumar <arunkumar@...>
Hi,
[#331861] Windows : Retrive Quick Launch toolbar items — Ak Newfish <ak3003@...>
How can I get Quick Launch toolbar items, present in the explorer/
[#331891] comparing xml — "ara.t.howard" <ara.t.howard@...>
ara.t.howard wrote:
ara.t.howard wrote:
[#331895] ruby tkentry tkvariable with class wrappers problem — Cristian Achim <cristiach@...>
I try to create a tkEntry with a tkVariable attached in the class
From: Cristian Achim <cristiach@yahoo.com>
problem solved ; thanks for the help
the fix is good but i hit another problem
[#331899] Test::Unit - same test, different "args" — "Luke St.Clair" <secureboot@...>
I need to run the same unit test case more than 10 times (around 150
[#331921] Windows Automation — Marc Ch <wooingruby@...>
So, I'm trying to figure out how to automate various programs using
[#331924] Mimic AES_ENCRYPT and AES_DECRYPT functions in Ruby — Felipe Coury <felipe.coury@...>
Hello there!
On 24 Mar, 04:21, Felipe Coury <felipe.co...@gmail.com> wrote:
Giovanni / Rob,
Some more discoveries...
Just as a FYI, it works!!!
On Mar 24, 2009, at 2:35 AM, Felipe Coury wrote:
Having no luck with this. Getting the following error when generating
On Jul 1, 2010, at 11:34 AM, Joshua Mckinney wrote:
Thanks for the reply, we got rid of the error in 1.9.1 but both 1.9.1
On Jul 1, 2010, at 1:01 PM, Joshua Mckinney wrote:
I'm here are all the methods for encryption
Looks like was I given some skewed information from our C# fella.
Awesome, could not find .pack in the 1.9.1 documentation. Everything is
[#331930] tagz-5.0.0 — "ara.t.howard" <ara.t.howard@...>
Ara Howard wrote:
Ara Howard wrote:
Hi Ara,
On Mar 25, 2009, at 9:23 AM, ara.t.howard wrote:
On Wed, 2009-03-25 at 23:23 +0900, ara.t.howard wrote:
On Thu, 2009-03-26 at 09:30 +0900, ara.t.howard wrote:
On Fri, 2009-03-27 at 02:28 +0900, ara.t.howard wrote:
On Fri, 2009-03-27 at 23:41 +0900, ara.t.howard wrote:
On Sat, 2009-03-28 at 02:42 +0900, ara.t.howard wrote:
[#331942] amalgalite 0.8.0 Released — Jeremy Hinegardner <jeremy@...>
[#331947] get process id by using it's name. — Jun Young Kim <jykim@...>
Hi, folks.
Hi,
I know the sysproc library supports very good interface for this kinds =20=
[#331971] : HOWTO start irb on a different object — Jeremy Henty <onepoint@...>
I wanted to have irb start its session on an object other than the
[#331973] problem with gsub! in file — JenC <jcarlile@...>
I am new to Ruby and trying to do a find and replace on a text file
[#331975] Strange bug in irb1.9 — "Peter Zotov" <whitequark@...>
Hi.
On 24.03.2009 14:36, Peter Zotov wrote:
[#332009] perl6 logo — Greg Donald <gdonald@...>
I thought some of you might find this humorous.
[#332022] Looking for a method to kill all children for my Timeout::Error contingency — Xeno Campanoli <xeno.campanoli@...>
Do I really need to collect all the pids from fork to kill them in that case, or
On Mar 24, 12:23 pm, Xeno Campanoli <xeno.campan...@gmail.com> wrote:
[#332023] ruby and 2D graphics — Philip Müller <me@...>
Hi everybody,
On Tue, 24 Mar 2009 21:08:34 +0100, Peter Zotov <whitequark@whitequark.ru>
Quoting "Philip M=C3=BCller" <me@alienemperor.de>:
Rubygame and Gosu are great options. I use Rubygame; I have started a
[#332034] gsub and single quote issue — Raj Singh <neeraj.jsr@...>
a = " Ruby's gem "
[#332040] Share your vimrc — Aldric Giacomoni <"aldric[remove]"@...>
I've just started using vim (Windows at work, Gentoo at home, a Macbook
[#332052] For the vim folks — John Wells <lists@...>
I've been using vi/vim since '97 for various quick edits and
[#332056] no such file to load — Eduardo Cirilo <edu.cirilo@...>
Hi,
[#332084] appending an array to a frozen array — James French <James.French@...>
Morning all,
On Wed, Mar 25, 2009 at 4:00 PM, James French
[#332085] creating an array by reusing code — Sijo Kg <sijo@...>
Hi
[#332096] Sup 0.7 released — William Morgan <wmorgan-ruby-talk@...>
I'm happy to announce the release of Sup 0.7.
On Wed, Mar 25, 2009 at 3:50 PM, William Morgan
[#332106] delete from array while iterating — Tarscher <tarscher@...>
Hi all,
[#332112] Parsing xml — Arun Kumar <arunkumar@...>
Hi,
Quoting "Arun Kumar" <arunkumar@innovaturelabs.com>:
Peter Zotov wrote:
Quoting "Arun Kumar" <arunkumar@innovaturelabs.com>:
Peter Zotov wrote:
Arun Kumar wrote:
On Wed, Mar 25, 2009 at 1:52 PM, Peter Zotov <whitequark@whitequark.ru> wro=
[#332145] Modules, require, include, toplevel constants and Watir — "Chad M." <chadwickvm@...>
Hi guys,
[#332150] RDoc 2.4.2 Released — Eric Hodel <drbrain@...7.net>
rdoc version 2.4.2 has been released!
[#332170] program design - template design pattern — Adam Akhtar <adamtemporary@...>
although im making a rails app this is more specific to ruby and general
While a lot depends on several other aspects of your project, this specific
[#332172] https html parsing — Arun Kumar <arunkumar@...>
Hi,
Arun Kumar wrote:
[#332179] passing parameter — Arun Kumar <arunkumar@...>
Hi,
[#332194] basic xml parsing question — Geo Cooper <geocooper@...>
I am just starting to program and am learning by using ruby, so this
[#332206] Update latest Ruby Version 1.9 on Mac OSX — Thomas Khaipi <sayakyi@...>
Dear All,
Just install MacPorts and then install 1.9
On Thu, Mar 26, 2009 at 10:40 AM, Thomas Khaipi <sayakyi@gmail.com> wrote:
[#332216] Shipping a gem with jruby.jar — Juan Zanos <juan_zanos@...>
Is it possible to ship a gem with jruby.jar in a way that jruby
On Mar 26, 2009, at 13:13, Juan Zanos wrote:
[#332217] unit testing with ruby1.9.x — john maclean <jayeola@...>
Built ruby from a recent svn. Builds fine and works.
[#332230] SOAP and NTLM Authentication — Andrew Porter <partydrone@...>
I'm trying to integrate with Sharepoint Services, and need to connect
On Mar 26, 6:50=A0pm, Andrew Porter <partydr...@me.com> wrote:
[#332236] Restrict Platform for RubyGem Update — Jj Jj <joseph.workman@...>
I am working on a windows box attempting to develop a rails application.
[#332250] Ruby 1.9 # coding: utf-8 — Damjan Rems <d_rems@...>
[#332262] Bug: Ruby 1.9.1 File io on Windows is slooooow — Damjan Rems <d_rems@...>
[#332284] I just can't get rubygems to work. Can anyone help? — 7stud -- <bbxx789_05ss@...>
My problems started with a wxruby gem, but the whole gem system on my
On Fri, Mar 27, 2009 at 10:32 PM, 7stud -- <bbxx789_05ss@yahoo.com> wrote:
lasitha wrote:
[#332307] Monitoring folder for changes — Felipe Coury <felipe.coury@...>
Is there any gem or code example that would help me to watch a given
[#332312] Sorting decimal index numbers? — Aaron Vegh <aaron@...>
Hi there,
[#332322] where to declare project path for require — Adam Akhtar <adamtemporary@...>
Untill now whenever i made a script Id put all its files into a
ok ive been hacking away at this trying to figure out why its going
Adam Akhtar wrote:
[#332324] Regular Expression interesting problem — Arun Kumar <arunkumar@...>
Hi,
On Mar 28, 2009, at 02:07, Arun Kumar wrote:
[#332346] BiteScript 0.0.1 - a DSL for JVM bytecode — Charles Oliver Nutter <charles.nutter@...>
BiteScript is a Ruby DSL for generating JVM bytecode and classes. It is
[#332349] tkToplvel remove close,restore and minimize buttons — Jesus Jesus <jesussalas187@...>
i need to remove close,restore and minimize buttons from tk toplevel
On Sat, Mar 28, 2009 at 3:39 PM, Jesus Jesus <jesussalas187@hotmail.com> wrote:
[#332357] testy.rb - ruby testing that's mad at the world — "ara.t.howard" <ara.t.howard@...>
Ara Howard wrote:
Brian Candler wrote:
On Mon, Mar 30, 2009 at 07:22:35AM +0900, ara.t.howard wrote:
On Mar 28, 6:01=A0pm, "ara.t.howard" <ara.t.how...@gmail.com> wrote:
On Sun, Mar 29, 2009 at 08:01:18AM +0900, ara.t.howard wrote:
Jeremy Hinegardner wrote:
On Mar 29, 2009, at 1:39 PM, Phlip wrote:
[#332365] Dynamic object creation in ruby — Clash Fasn <bangclash@...>
I'm trying to do dynamic object creation in ruby.
[#332380] ruby1.9 - to make it real — Chas Conquest <chas@...>
HI,
Chas Conquest <chas@valley.net> writes:
[#332391] Passing block in C — "Peter Zotov" <whitequark@...>
Hi.
Peter Zotov wrote:
Quoting Phlip <phlip2005@gmail.com>:
[#332397] Is there an idiom for mass-populating Hash keys? — "Shot (Piotr Szotkowski)" <shot@...>
Hello, good folk of ruby-talk.
On Sun, Mar 29, 2009 at 12:05 PM, Shot (Piotr Szotkowski) <shot@hot.pl>wrot=
[#332405] Ruby 1.9, OS X, command line: negative string size (ArgumentError) — Bartlomiej Owczarek <bartlomiej@...>
Hello,
[#332411] Shoes, Gems, Oh, My! — "s.ross" <cwdinfo@...>
I'll ask this question that I asked on stackoverflow (to a resounding
[#332419] Is there a ruby way to get the disk size of a directory? — Juan Zanos <juan_zanos@...>
I was wondering if there was something to du -h?
[#332427] test — Gregory Brown <gregory.t.brown@...>
testing my ability to create a new topic on RubyTalk, please ignore.
[#332435] Ruby 1.9.1-p0, llvm: all tests pass! — Ollivier Robert <keltia@...>
One pet peeves of mine regarding 1.9 seems to have very recently been
[#332474] Symbols garbage collector in Ruby1.9, fixed? — Iñaki Baz Castillo <ibc@...>
Hi, in Ruby 1.8 there is an issue when adding more and more Symbols
I単aki Baz Castillo wrote:
On Mon, Mar 30, 2009 at 2:09 AM, I=F1aki Baz Castillo <ibc@aliax.net> wrote=
El Jueves 02 Abril 2009, Tony Arcieri escribi=C3=B3:
=0BOn Apr 1, 2009, at 8:03 PM, I=F1aki Baz Castillo wrote:
[#332481] Help with GServer — Sudhi Kulkarni <kulkarni.sudhi@...>
Hi,
2009/3/30 Sudhi Kulkarni <kulkarni.sudhi@gmail.com>:
I単aki Baz Castillo wrote:
[#332513] REG: How can we debug a ruby script — <ext-golla.anil-kumar@...>
Hi,
[#332517] activerecord query building question — Aldric Giacomoni <"aldric[remove]"@...>
I have this:
[#332520] When to use instance variables @ — Steve Dogers <stevedogers@...>
Hi, I have a couple questions about instance variables in Ruby.
Steve Dogers wrote:
7stud -- wrote:
Steve Dogers wrote:
El Martes 31 Marzo 2009, Albert Schlef escribi=C3=B3:
[quote]This is not true when using class variables (@@). These need to be
El Martes 31 Marzo 2009, Joshua Collins escribi=C3=B3:
All variables in Ruby (Local, Global, Instance (object), or Class) do not
[#332527] Which methods does "puts" invoke? — Iñaki Baz Castillo <ibc@...>
Hi, if I redefine "to_s" or "inspect" methods in String class I still get t=
[#332529] Getting the current module(s), class name and method in Ruby 1.9 — Iñaki Baz Castillo <ibc@...>
Hi, first of all I'm sorry since I already did this question some time ago=
On Mon, Mar 30, 2009 at 10:32 PM, I=F1aki Baz Castillo <ibc@aliax.net> wrot=
El Martes 31 Marzo 2009, Sean O'Halpin escribi=F3:
[#332540] Problems with GC.. again — "Peter Zotov" <whitequark@...>
Hi.
[#332547] Localmemcache-0.2.0: The beauty of memcached. For local data. Blazingly fast. — "Sven C. Koehler" <schween@...>
Hi,
On Tue, 31 Mar 2009 08:17:45 +0900
On Sat, 04 Apr 2009 12:59:56 -0500, Sven C. Koehler wrote:
[#332553] Euro currency symbol — David Wright <david_v_wright@...>
Hmm, I seem to be having a bit of a time representing the Euro sign in
[#332559] Rubygems Problems — Bryan Richardson <btrichardson@...>
Hello all,
Bryan Richardson wrote:
7stud -- wrote:
the update to mojombo-grit is the problem. Here is Aslax Hellesoy response
[#332578] Ruby 1.8.6-p368 released — Urabe Shyouhei <shyouhei@...>
Hello all. It's time for a new release.
[#332588] Change of behaviour for sleep(0) in 1.9 — "Sean O'Halpin" <sean.ohalpin@...>
Hi,
El Martes 31 Marzo 2009, Sean O'Halpin escribi=F3:
On Tue, Mar 31, 2009 at 6:41 PM, I=F1aki Baz Castillo <ibc@aliax.net> wrote=
[#332592] Read and modify logs — Michael Furmaniuk <mfurmaniuk@...>
I'm trying to read the entries in a logfile so I can enter its contents
[#332599] convert number to english word — Vetrivel Vetrivel <vetrivel.bksys@...>
[#332619] Why does mathn kill this method? — Siep Korteling <s.korteling@...>
Really stumped here.
[#332624] Move over, Phusion, here comes the *real* Enterprise Edition! — Jg W Mittag <JoergWMittag+Usenet@...>
Hi!
James Britt wrote:
J=C3=B6rg W Mittag wrote:
Re: passing parameter
Robert Klemme wrote:
> 2009/3/26 Arun Kumar <arunkumar@innovaturelabs.com>:
>> Hi,
>> This is my code strip
>>
>> �contents.each do |content|
>> � � � � � � � � � �#scanning the content using regexp to fetch the url
>> � � � � � � � � � �url = content.scan(/(http:\/\/.*|https:\/\/.*)/i)
>
> Two notes: #scan returns a potentially empty Array and not a single
> object.
>
> And you can make the regexp simpler and more efficient at the same time
>
> /https?:\/\/.*)/i
>
> Note also that using ".*" is dangerous because depending on your input
> this may match too much.
>
>> � � � � � � � � � �data = Net::HTTP.get(URI.parse("#{url}"))
>
> The construct "#{expr}" is better replaced by expr.to_s and in this
> case, since url should be String you do not even need that.
>
>> � � � � � � � � � �#extracting the feeds url from 'data' using 'regexp'
>> � � � � � � � � � �xml = data.scan(/<link
>> rel="alternate".*?href="(.*?xml|.*?rdf)"/i)
>> � � � � � � � �end
>>
>> Now what i want is to pass the 'xml' variable as a parameter to the next
>> class but i'm not able to do that because the 'xml' variable is inside
>> an array. Can anybody please tell me about how to do it.
>
> Where is "xml in an array"? The variable "xml" references an Array
> because you use String#scan (see above). You can simply iterate that
> Array as any other Array, too. Where is the problem?
Hi,
The problem is that i need to parse the xml from the feeds url and the
code for it is written in another class. So I need to pass the feed url
ie.'xml'. Since it is written inside an iterator ie. in between each
do|content|, i cannot pass it as a prameter to the other class since xml
variable will not be accessible after the iterator ends. Please help me.
N. B. Writing the code will be more helpfull for me to understand
Regards
Arun Kumar
--
Posted via http://www.ruby-forum.com/.