[#253794] tengo problemas con el ruby error.rb — Daniel <daniels_171@...>
Estoy trabajando en centos 5.0, he instalado asterisk y quiero integrar
Creo que debe usar 'require' en vez de 'require_gem' en linea 20. Si
Muchisimas gracias por el dato.. corregiste varias lineas. pero aun
甚abe Ud. la versi de rubygems que tiene? Me pregunto si su versi
[#253798] Ruby bug in +=? — "zarawesome@..." <zarawesome@...>
def addToList(x)
On May 31, 10:40 pm, "zarawes...@gmail.com" <zarawes...@gmail.com>
[#253807] ruby vs perl6 — "Jim Zhang" <jim.zhang.china@...>
Hi,
vision verses version?!
On 1 Jun 2007, at 08:55, Jim Zhang wrote:
On Fri, Jun 01, 2007 at 05:56:56PM +0900, Adrian Howard wrote:
[#253812] How to specify access modifers for variables???? — raja <vineetraja@...>
I know this could be naive but still:
[#253828] Getting the last N bytes of a string: — Brian Candler <B.Candler@...>
What's the simplest way to get only the last 10 bytes of a string?
On 6/1/07, Brian Candler <B.Candler@pobox.com> wrote:
Hi,
On 2007-06-04 10:40:32 -0700, Ryan Davis <ryand-ruby@zenspider.com> said:
What would be the chances of getting something added to the core? It
[#253837] FizzBuzz (#126) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
Ruby Quiz wrote:
On Jun 1, 9:51 am, Hans Fugal <fug...@zianet.com> wrote:
On 6/1/07, Paul Novak <novakps@gmail.com> wrote:
On Jun 5, 6:01 am, "spoo...@gmail.com" <spoo...@gmail.com> wrote:
On 6/5/07, Paul Novak <novakps@gmail.com> wrote:
On Jun 5, 2007, at 9:04 AM, Robert Dober wrote:
On Jun 1, 2007, at 8:55 AM, Hans Fugal wrote:
James Edward Gray II wrote:
Hans Fugal <fugalh@zianet.com> writes:
On 6/1/07, Daniel Martin <martin@snowplow.org> wrote:
Hey all, I have a quick question on this quiz:
On Jun 1, 2007, at 8:28 AM, Ruby Quiz wrote:
On Jun 1, 2007, at 10:37 PM, Morton Goldberg wrote:
On Jun 3, 2007, at 11:22 PM, James Edward Gray II wrote:
James Edward Gray II <james@grayproductions.net> writes:
Ruby Quiz <james@grayproductions.net> writes:
On Sat, Jun 02, 2007 at 09:06:50PM +0900, Daniel Martin wrote:
> On Sat, Jun 02, 2007 at 09:06:50PM +0900, Daniel Martin wrote:
----- Original Message -----
My first Ruby Quiz submission.
So, I've got to lay claim to the 56 byte solution:
On 6/3/07, Joshua Ballanco <jballanc@gmail.com> wrote:
Robert Dober wrote:
-----BEGIN PGP SIGNED MESSAGE-----
This solution cracked me up, but there is a typo in it...
On 6/3/07, James Edward Gray II <james@grayproductions.net> wrote:
Hi --
On 6/3/07, Michael Glaesemann <grzm@seespotcode.net> wrote:
On Sun, Jun 03, 2007 at 11:40:51PM +0900, Joshua Ballanco wrote:
Here is my solution:
After completing my Ruby Quiz submission, I decided to implement
[#253838] nested methods don't really exist?! — Artur Merke <am@...>
Hi,
On 01.06.2007 14:36, Artur Merke wrote:
On 6/1/07, Trans <transfire@gmail.com> wrote:
On 01.06.2007 23:14, Trans wrote:
On 6/2/07, Robert Klemme <shortcutter@googlemail.com> wrote:
Hi --
Hi --
[#253855] can i abbreviate this expression to fit on one line? — "shawn bright" <nephish@...>
Hey there,
[#253893] Help with emailing attachments with Ruby... — grooveska <ryangs@...>
I am working on a script that will send an email with a .csv file
On 6/1/07, grooveska <ryangs@mac.com> wrote:
That looks awesome. Nice and simple. I'm going to give that a try.
On 6/7/07, grooveska <ryangs@mac.com> wrote:
I ended up just using mailfactory that was included with ruport-util,
On Jun 8, 5:05 pm, grooveska <rya...@mac.com> wrote:
On 6/8/07, Gregory Brown <gregory.t.brown@gmail.com> wrote:
[#253899] parse text with ruby — kostas <kgkazakos@...>
Hello friends,
[#253904] Running multiple simultaneous interpreters/scripts — Earle Clubb <eclubb@...>
I have a setup where cron is calling N instances of a particular Ruby
[#253932] Help with moving files — Jeremy Woertink <its_conebred_foo@...>
I am in need of some help with moving some files. I have some folders
On Jun 1, 7:59 pm, Jeremy Woertink <its_conebred_...@hotmail.com>
[#253985] Pascal's Triangle — Ari Brown <ari@...>
Hey all,
[#253994] Module/Class Organization — Trans <transfire@...>
I wonder what's the general consensus on modular organization. Overall
[#254006] I'm new to mailing list — "Sun Park genusleonid@..." <geniusleonid@...>
Hi.
On 6/2/07, Sun Park genusleonid@hanmail.net <geniusleonid@gmail.com> wrote:
On Jun 2, 1:59 pm, "Lyle Johnson" <lyle.john...@gmail.com> wrote:
[#254009] What is the latest ruby quiz? — "Sun Park genusleonid@..." <geniusleonid@...>
Since I joined rubytalk today, I don't know about the latest ruby quiz
[#254015] charting / graphng library — Junkone <junkone1@...>
Hello
[#254054] No way of looking for a regrexp match starting from a particular point in a string? — Kenneth McDonald <kenneth.m.mcdonald@...>
I'm probably just missing something obvious, but I haven't found a way
Hi,
On 6/3/07, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
Hi,
Nobuyoshi Nakada wrote:
On 6/3/07, Devin Mullins <twifkak@comcast.net> wrote:
On 6/3/07, Kenneth McDonald <kenneth.m.mcdonald@sbcglobal.net> wrote:
On 6/4/07, Trans <transfire@gmail.com> wrote:
On 04.06.2007 13:28, Robert Dober wrote:
On 6/4/07, Robert Klemme <shortcutter@googlemail.com> wrote:
[#254068] Looking for an array method — "Sun Park" <geniusleonid@...>
Are there any methods which work exactly like []= but return the changed
Sun Park wrote:
Thanks :) do we have such method in String class, too?
On 6/3/07, Sun Park <geniusleonid@gmail.com> wrote:
Sorry, what I meant was :
[#254078] Re: [QUIZ] FizzBuzz (#126) — seebs@... (Peter Seebach)
My solution, which is probably awkward in its use of method mangling:
[#254099] delete in Array (if exist) and count — Josselin <josselin@...>
I am trying to delete an element from an array if it exists and count
[#254101] Process::GID.change_privilege not changing groups properly? — Scott McNab <scott.mcnab@...>
Hello.
[#254127] Singleton initilized twice — "maikonaraujo@..." <maikonaraujo@...>
HI
[#254132] FizzBuzz (#126) — "Christian Roese" <croese@...>
Great quiz, really got me thinking about other ways to solve this
I didn't spend any time golfing this quiz, so I don't have anything crazy to
On 6/4/07, Mike Moore <blowmage@gmail.com> wrote:
> Wait a second you might be the first to provide a correct solution, I
On 6/5/07, CHubas <CHubas7@gmail.com> wrote:
I would make a program that prints
On 6/5/07, CHubas <CHubas7@gmail.com> wrote:
[#254181] Problem with open-uri — Jonathan Nichols <jnichols@...>
Hello,
[#254186] getting ruby v1.8.6 on Mac OS X - what's the easiest way? — "Greg Hauptmann" <greg.hauptmann.ruby@...>
Hi,
Greg Hauptmann wrote:
[#254217] code problems — "david karapetyan" <dkarapetyan@...>
why is the following code not valid
Hi,
thanks. i didn't realize i had to provide the block as well when i was
Hi,
On 6/3/07, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
fREW wrote:
Joel VanderWerf wrote:
On 6/4/07, Joel VanderWerf <vjoel@path.berkeley.edu> wrote:
On 6/4/07, fREW <frioux@gmail.com> wrote:
On 6/6/07, Rick DeNatale <rick.denatale@gmail.com> wrote:
[#254228] Ruby problem with conditional ranges — "Todd A. Jacobs" <tjacobs-sndr-019fdb@...>
I'm running into a problem doing a conditional range in ruby. The sample
[#254242] newcocoa, command not found? — anne001 <anne@...>
I installed new cocoa from gem:
[#254244] Using Ruby to get data from an Access Database — Andy <arobbo61@...>
Hi guys, I'm very new to this Ruby language.
[#254250] Deleting a file - is there a less clumsy way to do this? — "Ronald Fischer" <ronald.fischer@...>
In my application, I often have blocks of code, where during preparation
Ronald Fischer wrote:
> > Basically, I am doing something like this:
On Jun 4, 9:26 am, "Ronald Fischer" <ronald.fisc...@venyon.com> wrote:
[#254253] How to check if a string is a integer ? — "w wg" <duzuike@...>
How to check if a string is a integer ?
w wg wrote:
[#254279] Range comparisons — Yossef Mendelssohn <ymendel@...>
Something came up as I was testing some ideas. I know Range objects
[#254298] How to capture the output of system("")? — Yingqi Tang <yingqitang@...>
All,
[#254304] Using ADO to connect to an Access database in Ruby — arobbo <arobbo61@...>
Hi guys
> Step 2. How do I connect to an Access Database to gather my URLs ?
Thanks very much for all the imput guys, seems like I inadvertantly
On Jun 5, 4:29 am, Andy Robbo <arobb...@hotmail.com> wrote:
[#254313] Help needed: Dynamically create a Proc from a String and evaluate it — "Axel Etzold" <AEtzold@...>
Dear all,
On Tue, Jun 05, 2007 at 04:18:58AM +0900, Axel Etzold wrote:
[#254332] Reverse-range alternatives? — Kenneth McDonald <kenneth.m.mcdonald@...>
Since a reverse range (eg. 4...1) is functionally almost the same as an
Kenneth McDonald wrote:
I'd thought of that, but it's simply too risky. Changing the behavior of
First let me take the liberty of reversing the top posting:
[#254341] Sequel: Cannot save model or limit varchars — Florian A熏ann <florian.assmann@...>
Hi out there,
[#254346] Calling Perl Modules from ruby — barjunk <barjunk@...>
I saw some conversation about this a few months ago, but wanted to
> I'm trying to convert what we have in Perl to Ruby, but the
[#254358] prototype-2.0.0 — "ara.t.howard" <ara.t.howard@...>
NAME
From: ara.t.howard [mailto:ara.t.howard@gmail.com]
[#254378] URI class bug? — Morgan Cheng <morgan.chengmo@...>
I am using Ruby 1.8.6. I found URI cannot parse URI with "_" is host.
On 6/5/07, Morgan Cheng <morgan.chengmo@gmail.com> wrote:
On Jun 5, 3:00 pm, "Jano Svitok" <jan.svi...@gmail.com> wrote:
[#254398] Question about getc — "Sun Park" <geniusleonid@...>
Hi.
[#254402] deploying an application — Chris Finch <christopher.finch@...>
Hi all,
[#254410] Writing method "change!" for String — Mike <michaelst@...>
Hi,
[#254431] Asking for style critics: Collecting the result of a query — "Ronald Fischer" <ronald.fischer@...>
May I ask some kind soul to criticize the following piece of code?
On 05.06.2007 16:12, Ronald Fischer wrote:
[#254435] Deep Copy — Michael Artz <mlartz@...>
I'm needing to implement a deep copy operation on a couple of objects,
[#254451] Web Services problem: OpenSSL::X509::StoreError — "David Alphen" <david.alphen@...>
Hi,
-----BEGIN PGP SIGNED MESSAGE-----
So I have changed the path to the ca.pem file. I have an other error. Let me
-----BEGIN PGP SIGNED MESSAGE-----
1. yes rt_results works fine without Rails environment.
-----BEGIN PGP SIGNED MESSAGE-----
[#254452] David Black's book _Ruby for Rails — finetan@...
Hi all
On 6/5/07, finetan@hotmail.com <finetan@hotmail.com> wrote:
unknown wrote:
On 06.06.2007 03:24, Daniel Waite wrote:
Hi --
On Jun 6, 2007, at 5:57 AM, dblack@wobblini.net wrote:
[#254456] File.utime returns Invalid argument on Windows (winXP, ruby 1.8.5/1.8.6). — "Matt Scilipoti" <mattscilipoti@...>
I am receiving an "Invalid argument" error from File.utime.
[#254459] [QUIZ] FizzBuzz (#126) [solution #1] — MenTaLguY <mental@...>
I've got two solutions this go-round. First, the solution I would present were I asked to do this in an actual job interview:
MenTaLguY wrote:
On Thu, 2007-06-07 at 02:25 +0900, Brad Phelan wrote:
[#254467] Gecode/R - Request for syntax feedback — Andreas Launila <ruby-talk@...>
Hello, I'm working on Gecode/R, a Ruby interface to Gecode[0], allowing
On Jun 5, 2007, at 2:43 PM, Andreas Launila wrote:
James Edward Gray II wrote:
On Jun 6, 2007, at 5:21 AM, Andreas Launila wrote:
James Edward Gray II wrote:
Andreas Launila wrote:
On Jun 6, 2007, at 12:35 PM, Andreas Launila wrote:
James Edward Gray II wrote:
Andreas Launila wrote:
On Jun 7, 2007, at 3:58 AM, Andreas Launila wrote:
James Edward Gray II wrote:
On Jun 7, 2007, at 8:35 AM, Andreas Launila wrote:
[#254491] cannot load installed gems — ZHANG Yin <gsofhon@...>
Hello there.
[#254507] Finding entries in Windows Registry matching a RE — Richard <RichardDummyMailbox58407@...>
Hi,
On 06.06.2007 07:13, Richard wrote:
Hi Robert and Michal,
[#254519] Net::FTP : How to check whether chdir succeeded? — "Ronald Fischer" <ronald.fischer@...>
Does anyone know a reliable way to detect, whether Net::FTP#chdir was
[#254528] efficient regex scanning — Trochalakis Christos <yatiohi@...>
Hello there,
[#254564] #<Object:0x2c1c8f0> <--- why is the displayed number == object_id*2 — "Meinrad Recheis" <meinrad.recheis@...>
irb(main):001:0> VERSION
On 06.06.2007 17:10, Meinrad Recheis wrote:
On 6/6/07, Robert Klemme <shortcutter@googlemail.com> wrote:
[#254587] best DRY solution for this task — anansi <kazaam@...>
Hi,
[#254597] === operator — Jon Leighton <turnip@...>
Hi,
Hi --
[#254603] newbie question: deleting all of a string's contents BEFORE a certain character — superwick <superwick@...>
Hi,
> I was trying to figure out how to take a string like this:
On Jun 6, 5:16 pm, "Ball, Donald A Jr (Library)"
[#254614] Error when substituting a backslash in a string — "Federico Zagarzaz恝 <fzagarzazu@...>
Hi,
On Jun 6, 2:59 pm, "Federico Zagarzaz恝 <fzagarz...@gmail.com> wrote:
Thanks for your answers, silly me, got confused :),
[#254621] starting — "mailer mailer" <mailer76@...>
I am just starting to learn ruby, where should I start?
On 6/6/07, mailer mailer <mailer76@gmail.com> wrote:
[#254639] Globals not incrementing inside block — "Todd A. Jacobs" <tjacobs-sndr-019fdb@...>
I have the following snippet:
On 6/7/07, Todd A. Jacobs <tjacobs-sndr-019fdb@codegnome.org> wrote:
This one is a very common mistake when someone is new to functional
On Thu, Jun 07, 2007 at 01:55:23PM +0900, Ivan Salazar wrote:
On 6/7/07, Todd A. Jacobs <tjacobs-sndr-019fdb@codegnome.org> wrote:
On 6/14/07, Ivan Salazar <ivan.salazarv@gmail.com> wrote:
[#254653] Syntax suggestion — jbc <jcattley@...>
(I posted this before on the google-group rather than the usenet
[#254654] KVO in Ruby — Joshua Ballanco <jballanc@...>
Hey all!
[#254661] Mutually-Recursive Functions — Revence Kalibwani <revence27@...>
Ruby doesn't seem to do mutually-recursive functions. Or is it some
Revence Kalibwani wrote:
Dan Zwell wrote:
On 6/7/07, Revence Kalibwani <revence27@gmail.com> wrote:
[#254673] What about a 'series' type? — Peter Marsh <evil_grunger@...>
I'm sure everyone is fimilar with ranges:
In message <cd08f63ca2ad51e567d4288410f593da@ruby-forum.com>, Peter Marsh writes:
Actually, the syntax:
SonOfLilit wrote:
On 07.06.2007 16:52, Peter Marsh wrote:
On 6/7/07, Robert Klemme <shortcutter@googlemail.com> wrote:
On 07.06.2007 21:41, Robert Dober wrote:
On 6/7/07, Robert Klemme <shortcutter@googlemail.com> wrote:
[#254703] Rails on a Mac, so strange (to me) behavior — Mark <mark@...>
I have built Ruby from source, installed gems & rails on a MacBook
[#254717] Problem with getting info from several websites — "Tom Bombadil" <bombadil.tom@...>
Hi there,
Hi,
George,
Tom Bombadil wrote:
Sorry, I have meant
Hi Peter and George,
Tom.
First of all I'd like to apologize. Got a bit confused myself as I received
Hi there,
[#254726] Builder gem - xml attributes ordering — Arunprabu Durairaju <arunprabu@...>
Hi,
On 6/7/07, Arunprabu Durairaju <arunprabu@gmail.com> wrote:
[#254743] Installing Curb Was: Re: ruby libcurl maintainer? — "Jano Svitok" <jan.svitok@...>
On 6/7/07, Md.elme focruzzaman Shuvo <shuvo.razi@gmail.com> wrote:
Jano Svitok wrote:
On 6/8/07, Md.elme focruzzaman Shuvo <shuvo.razi@gmail.com> wrote:
Jano Svitok wrote:
On 6/8/07, Md.elme focruzzaman Shuvo <shuvo.razi@gmail.com> wrote:
Jano Svitok wrote:
> C:\Program Files\Microsoft Visual Studio\VC98\Bin>gem install curb
Jano Svitok wrote:
[#254752] raise problem in Thread — oliver <oliver.peng@...>
Define following class:
oliver wrote:
[#254782] How to use strings as code — Kyle Rabe <kyle.rabe@...>
In short, I'm looking for a way to grab a string from a database and use it as code in my rails app. I understand the security implications, but it's still what I want to do (and I don't know what other options I have!).
[#254791] How to develop cool GUI with Ruby — "Jim Zhang" <jim.zhang.china@...>
Hi All,
[#254798] Project idea: Ruby Press — "Victor \"Zverok\" Shepelev" <vshepelev@...>
It seems to be cool idea if somebody with strong experience of printing and
[#254808] newbie question about Ri — Grehom <grehom@...>
I just installed the latest Windows version from Activestate (having
Grehom wrote:
Thanks for quick response, I've found other functions seem to be
[#254812] practical ruby console on windows? — =?iso-8859-2?q?Kiripolszky_K=E1roly?= <karoly.kiripolszky@...>
Ehlo,
[#254831] Mexican Blanket (#127) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
[#254842] Re: "RESTful Web Services" — "Keith Fahlgren" <keith@...>
On 6/7/07, Rich Morin <rdm@cfcl.com> wrote:
[#254854] (Newbie) Class constants from included modules — Dale <samp8949@...>
[#254859] Disadvantages of Dependency Inversion? — sweetchuck74@...
Nowadays, DI (Dependency Inversion) is one of the widely used design
[#254863] Synchronized attr_accessor — Nasir Khan <rubylearner@...>
I have a fairly repetitive use case of having to define attributes and
On Sat, 9 Jun 2007 04:34:42 +0900, Nasir Khan <rubylearner@gmail.com> wrote:
This is about having a instance variable always accessed under a lock,
On Sat, 9 Jun 2007 04:55:24 +0900, Nasir Khan <rubylearner@gmail.com> wrote:
There is no big picture.
On Sat, 9 Jun 2007 06:54:04 +0900, Nasir Khan <rubylearner@gmail.com> wrote:
Yeah I see what you guys mean...I was a little delusional. Now I
Actually facets/more/synchash.rb does what I was looking for hash.
Prodding it further I could come up with a method synchronizer.
Nasir Khan wrote:
Thanks for the feedback. Here is a refinement -
On 6/10/07, Nasir Khan <rubylearner@gmail.com> wrote:
I think there's still a race condition... you need to change this:
On Tue, 12 Jun 2007 03:13:39 +0900, "Nasir Khan" <rubylearner@gmail.com> wrote:
On Tue, 12 Jun 2007 03:45:36 +0900, MenTaLguY <mental@rydia.net> wrote:
This begs a few questions -
On Tue, 12 Jun 2007 04:23:35 +0900, "Nasir Khan" <rubylearner@gmail.com> wrote:
[#254864] trouble running ruby programs — Hydro_Flame XZ18 <hydroflame@...>
I'm a newbie programmer and I just downloaded ruby today. I must say I'm
> Can anyone help? I'm running Windows XP if that helps at all.
I tried going to the command prompt, making sure the file was in the
Jacob Gillie wrote:
Yeah, I did it eithout the quotes. (I'm not sure why I put them in my
Jacob Gillie wrote:
No... When I open command prompt it says C:\Documents and
[#254888] a film — fossil <e32@...2.pl>
http://video.google.pl/videoplay?docid=942420882392857412&q=the+kh%27s+obsession
[#254891] RoR Problems with special Character in the model — Joachim Reichel <multiplechoice@...>
Hi all,
[#254898] Ruby 1.8.6-p36 released — Urabe Shyouhei <shyouhei@...>
Hi all,
On 09/06/07, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
[#254901] Newb Wants to Better His File, Dir code — "R.B.Love" <rblove@...>
I've got code working to do what I want but I'm hoping there is a
On Sat, 2007-09-06 at 11:35 +0900, R.B.Love wrote:
[#254903] Possible bug with Range#include? — bbiker <renard@...>
Given the following range: ("A".."IV")
Hi,
On Sat, Jun 09, 2007 at 11:20:16PM +0900, charon wrote:
[#254917] Ruby wildcard command line argument auto expansion — Michael Jia <z_jia@...>
I want to pass in wildcard file names, and use it to match file names
Hallo Michael,
Thanks you all for the reply.
I did some further research on this topic. My win xp cmd shell seems
I am using Windows XP "cmd" shell. What you described is true for unix
In that case, you should run these two commands:
Rob, the result is:
OK, then it look like your 'ruby' really is doing some form of
[#254919] using ` and the bash source command — "Kevin Jackson" <foamdino@...>
Hi all,
On 6/9/07, Kevin Jackson <foamdino@gmail.com> wrote:
[#254949] A question about Iconv arguments — "Axel Etzold" <AEtzold@...>
Dear all,
Axel Etzold wrote:
Dear Alex,
[#254951] bug in facets 1.8.54 — "Nasir Khan" <rubylearner@...>
There seems to be a bug in facets PQueue v1.8.54, at least the behavior is
[#254972] "gem update --system" ignores where I installed rubygems — levander <levander@...>
On my Ubuntu Feisty box a few months ago, I installed rubygems 0.9.0 in
[#254974] Passing block to Proc#call — "Erwin Abbott" <erwin.abbott@...>
I'd like to do something like:
On 10.06.2007 08:53, Erwin Abbott wrote:
On 6/10/07, Erwin Abbott <erwin.abbott@gmail.com> wrote:
[#254975] Overloading Array Subtraction operator — Nicko <anko.com@...>
Hi,
The - operator compares objects by their ID, so they aren't removed
Wow!
On Jun 10, 2:56 am, "Erwin Abbott" <erwin.abb...@gmail.com> wrote:
[#254986] JRuby 1.0 Released — Thomas Enebo <Thomas.Enebo@...>
The JRuby community is pleased to announce the release of JRuby 1.0!
Great work! Does this release only support ruby up to version 1.8.5?
[#254989] fun with "case" — Robert Klemme <shortcutter@...>
Why not do a simply use
On 6/10/07, Robert Klemme <shortcutter@googlemail.com> wrote:
Sorry forgot the best ;)
[#254992] regex: get the first match — Trochalakis Christos <yatiohi@...>
Hello!
[#255013] Serious danger of being impressed — Mark Carter <me@...>
I'm mostly into Python, and decided to have a go at writing a little
On Mon, Jun 11, 2007 at 12:20:12AM +0900, Mark Carter wrote:
On Mon, Jun 11, 2007 at 03:42:03PM +0900, John Joyce wrote:
Ok, thanks for the advert. Debian has its own problems, but this isn't
On Mon, Jun 11, 2007 at 04:27:01PM +0900, Dick Davies wrote:
On 6/11/07, Chad Perrin <perrin@apotheon.com> wrote:
On 6/10/07, Mark Carter <me@privacy.net> wrote:
On 11 Jun 2007, at 08:45, Peter Cooper wrote:
[#255015] [SOLUTION] Mexican Blanket (#127) — "Will Bailey" <will.bailey@...>
Here is my solution for the Mexican Blanket Quiz.
On Jun 10, 2007, at 10:39 AM, Will Bailey wrote:
[#255044] Requiring more than one file? — Marc Heiler <shevegen@...>
require does accept ony word, which should be the name that has
On Sunday 10 June 2007 15:24, Marc Heiler wrote:
"I don't understand why this is considered cumbersome. Certainly it's
Whops, that was a quick too fast. It seems to work with:
[#255065] Relative/absolute url parsing — "Michel ( Dagnan )" <dagnan@...>
Hi!
[#255079] I want to turn off backslashing of quotes and such from the shell — <xeno@...>
I do something like:
Hi,
On Mon, Jun 11, 2007 at 01:51:16PM +0900, Nobuyoshi Nakada wrote:
[#255089] Array#inject to create a hash versus Hash[*array.collect{}.flatten] -- Speed, segfault — Anthony Martinez <pi@...>
So, I was tinkering with ways to build a hash out of transforming an
On 11.06.2007 07:41, Anthony Martinez wrote:
[#255090] Prettier solution to circular dependency — "Helder Ribeiro" <helder@...>
This is an aesthetic problem: I have a method in a module, and I want
[#255136] why gsub! doesn't work in my script — Li Chen <chen_li3@...>
Hi all,
[#255142] Custom Mutex methods undefined by fastthread — Alex Young <alex@...>
At the risk of asking an FAQ, I've run into the following problem:
On 11.06.2007 16:21, Alex Young wrote:
Robert Klemme wrote:
On Tue, 12 Jun 2007 00:50:36 +0900, Alex Young <alex@blackkettle.org> wrote:
[#255143] long string assignment — "w wg" <duzuike@...>
Hi,
[#255168] possible bug in oniguruma, not 64-bit clean? — Ben Crowell <crowell07@...>
I have a ruby script that uses some oniguruma features. It works on
On 6/11/07, Ben Crowell <crowell07@lightspamandismatterevil.com> wrote:
[#255180] Code refactoring advice — Nathan Taylor-Hoover <onebitcipher@...>
I have some code written that basically looks like below. I want to
On 6/11/07, Nathan Taylor-Hoover <onebitcipher@gmail.com> wrote:
Thank you very much Rick. That was exactly the kind of advice I was looking
[#255181] a matter of style — Bas van Gils <bas@...>
On Tue, Jun 12, 2007 at 03:10:49AM +0900, Bas van Gils wrote:
Hi --
> Almost. puts adds "\n" unless it's already there. So these are
On Tue, Jun 12, 2007 at 07:59:10PM +0900, dblack@wobblini.net wrote:
On Jun 12, 2007, at 4:47 PM, Chad Perrin wrote:
[#255184] Constants and metaclasses — Andreas Launila <ruby-talk@...>
Is there a way to define a constant in a metaclass and then have it used
[#255202] Ruby way to update a file in place — Li Chen <chen_li3@...>
Hi all,
On Jun 11, 1:42 pm, Li Chen <chen_...@yahoo.com> wrote:
On Jun 11, 2:42 pm, Li Chen <chen_...@yahoo.com> wrote:
[#255251] self in method name — iskaldur <iskaldur@...>
Is there any difference between using self in a method name, and not
[#255258] how to make a[2][2][3]=4 work? — gz zz <gpygood@126.com>
a=Hash.new{|h,k|
I know this can work,but I think it is suck
gz zz wrote:
[#255262] extracting numbers from a string — Matt Jones <mattjonesphoto@...>
I have filenames from various digital cameras: DSC_1234.jpg,
[#255289] Generate a grid of cells, and give characteristics — Joop Van den tillaart <tillaart36@...>
Hi you all I am new to this forum and also quite new to ruby...I have
On 6/12/07, Joop Van den tillaart <tillaart36@hotmail.com> wrote:
Harry Kakueki wrote:
On 6/12/07, Joop Van den tillaart <tillaart36@hotmail.com> wrote:
Harry Kakueki wrote:
On 6/12/07, Joop Van den tillaart <tillaart36@hotmail.com> wrote:
Harry Kakueki wrote:
On 6/13/07, Joop Van den tillaart <tillaart36@hotmail.com> wrote:
Thanks Todd, I will try your code after commenting on your help and
On 6/14/07, Joop Van den tillaart <tillaart36@hotmail.com> wrote:
[#255290] Benchmark segfault [Was: Array#inject to create a hash versus Hash[*array.collect{}.flatten] ] — "Michal Suchanek" <hramrach@...>
On 11/06/07, Robert Klemme <shortcutter@googlemail.com> wrote:
On 12.06.2007 11:52, Michal Suchanek wrote:
Robert Klemme wrote:
On 12.06.2007 16:16, Florian Frank wrote:
[#255310] assigning hash to attributes — Daniel Liebig <daniel.liebig@...>
Hi,
On 12/06/07, Daniel Liebig <daniel.liebig@wevin.de> wrote:
[#255359] question about initialize — "Mike Steiner" <mikejaysteiner@...>
Why is the constructor method named initialize? Why not name it new to be
[#255365] File.exists? ignores file extension on windows? — Luke Bayes <lbayes@...>
Luke Bayes wrote:
[#255369] FileUtils.ln cross platform? — Trans <transfire@...>
What happens when you use FileUtils.ln on a Windows system. Does it
[#255373] Quick sed replacemnt — yitzhakbg <yitzhakbg@...>
I need a quicky which I can't do in sed and I did it very clumsily.
On Wed, 2007-06-13 at 04:14 +0900, yitzhakbg wrote:
Sorry, You didn't understand. The class name can be anything. Whatever
[#255386] Ruby Beginner Books — "Salai Khine" <sayakyi@...>
Dear all,
On 6/12/07, Salai Khine <sayakyi@gmail.com> wrote:
On Wed, Jun 13, 2007 at 08:00:19AM +0900, Peter Cooper wrote:
[#255403] Extending Symbol with #to_str effects Struct.new — Trans <transfire@...>
Not arguing either way a s to whether this makes sense or not (it's
[#255408] getting ri working on FreeBSD — Chad Perrin <perrin@...>
I seem to have run into a small problem on FreeBSD. Hopefully, someone
On Wed, Jun 13, 2007 at 08:12:27AM +0900, Chad Perrin wrote:
[#255420] Default IRB Directory — Rpg Action <rpgaction@...>
I'm new to Ruby, and I've never used a similar language that could be
[#255424] How to access response code with mechanize — "Todd A. Jacobs" <tjacobs-sndr-019fdb@...>
I have a code segment which is intended to catch ResponseCodeError
[#255438] executing sudo from ruby — anansi <kazaam@...>
hi,
anansi wrote:
[#255450] Bug in String#unpack on windows or ?? — Damjan Rems <d_rems@...>
[#255454] Passing args from within method_missing — Sharon Phillips <phillipsds@...>
Hi,
[#255458] define_method to define a method to pass a block to another method — "John J. Franey" <jjfraney@...>
On Jun 13, 9:40 am, "John J. Franey" <jjfra...@verizon.net> wrote:
[#255467] Getting Ruby — Reid Thompson <Reid.Thompson@...>
Given that Debian and UBUNTU break ruby up into a multitude of sub
[#255483] File.new and non-existent directories — JT Kimbell <jtkimbell@...>
Hi,
[#255488] why writing the file is partial — Li Chen <chen_li3@...>
Hi all,
On 13.06.2007 18:58, Li Chen wrote:
[#255494] Manual Garbage Collection — Conan <spam@...>
Hi. I'm having a problem with a Ruby-Gnome2 application I've been
[#255519] How can I get the local machine's netmask programmatically? — wolfram <wolframarnold@...>
I'm working on a Rails app that needs to restrict certain privileged
On 6/13/07, wolfram <wolframarnold@gmail.com> wrote:
> what operating system? windows/linux(distribution?)/osx?
On Thu, 2007-06-14 at 07:45 +0900, wolfram wrote:
On Thu, 2007-06-14 at 08:30 +0900, Reid Thompson wrote:
[#255541] mechanize newbie — "Colin Summers" <bladenut@...>
Okay, Ruby in general newbie, but I did the whole shovell project for
[#255548] decrypt challenge - perl encrypt with ruby decrypt — "aktxyz@..." <aktxyz@...>
Ok, so I am trying integrate with someone who is sending me a string
[#255554] Dynamically referencing class constants? — "list. rb" <list.rb@...>
How can I do this?
[#255559] rubyscript2exe on OS X — Kevin Walzer <kw@...>
Anyone using rubsyscript2exe on Mac OS X to generate standard Mac
[#255574] Dir copy with rename — "Rebhan, Gilbert" <Gilbert.Rebhan@...>
[#255583] Subject: [ANN] textpow 0.9.1 Released — Dizan Vasquez <dichodaemon@...>
textpow version 0.9.1 has been released!
[#255594] Re: Dir copy with rename — "Rebhan, Gilbert" <Gilbert.Rebhan@...>
On 2007-06-14 21:17:24 +0900 (Thu, Jun), Rebhan, Gilbert wrote:
On 2007-06-14 21:53:17 +0900 (Thu, Jun), Rebhan, Gilbert wrote:
[#255599] "case when" executes a symbol as method — Francisco Laguna <fla@...>
Hi List!
[#255600] soap4r-1.5.6 — "NAKAMURA, Hiroshi" <nakahiro@...>
-----BEGIN PGP SIGNED MESSAGE-----
[#255613] ezcrypto — Bob <bob@...>
require 'ezcrypto'
[#255619] call a task of a namespace from an other task. — St駱hane Wirtel <stephane.wirtel@...>
Hi all,
[#255626] Runtime disparity - Same program in Perl and Ruby — Kaldrenon <kaldrenon@...>
Hi all (this is going to comp.lang.ruby and comp.lang.perl.misc),
[#255634] Characters and strings oddness — "Stefan Kruger" <stefan.kruger@...>
Hi there Rubyists -
[#255651] Changing registry values with Win32::Registry — Collin Miller <collintmiller@...>
I'm trying to change a registry value for an IPTV SDK
On 6/14/07, Collin Miller <collintmiller@gmail.com> wrote:> I'm trying to change a registry value for an IPTV SDK>> This code:>> Win32::Registry::HKEY_LOCAL_MACHINE.open("SOFTWARE\\PATH_TO_KEY\> \").write("IgnoreTinyIFrames",Win32::Registry::REG_DWORD,0)>> Returns this error:>> Win32::Registry::Error: Access is denied.> from c:/ruby/lib/ruby/1.8/win32/registry.rb:743:in `write'> from (irb):150> from ⊂:0>> Anybody know how I can ensure access to this key?
On Jun 15, 9:51 am, "Jano Svitok" <jan.svi...@gmail.com> wrote:
VGhhbmsgeW91CgpPbiA2LzE1LzA3LCBkaW1hIDxkZWphbi5kaW1pY0BnbWFpbC5jb20+IHdyb3Rl
How do we handle null value from opened HKEY instance. if
On Thu, Jul 8, 2010 at 10:52 AM, Navaneet Kumar <tonavaneet@gmail.com> wrot=
[#255664] Reasonable practice? — Trans <transfire@...>
It the following reasonable? How thread safe is it?
On 6/15/07, Trans <transfire@gmail.com> wrote:
On 6/15/07, Robert Dober <robert.dober@gmail.com> wrote:
On 6/16/07, Trans <transfire@gmail.com> wrote:
[#255666] lose the first character — "Colin Summers" <bladenut@...>
r = r.reverse.chop.reverse # remove the first character
[#255672] Re: class destruction (evil genius metaprogramming) — "Rick DeNatale" <rick.denatale@...>
On 6/14/07, Giles Bowkett <gilesb@gmail.com> wrote:
Hi --
[#255673] ruby File#sysread — Aatch <bladeon@...>
I am attempting to create a program that can transfer files. It so far
[#255687] Walking through Tate and Hibbs, running into things that don't work...starting on page 7 — Xeno Campanoli <xcampanoli@...>
First of all, there seems to be this claim on page 7 that the contents
Xeno Campanoli wrote:
[#255689] str.scan — "Colin Summers" <bladenut@...>
I have a page of html, the usual thing. It has an ordered list. So it has
[#255695] Log file doesn't show message — "Tom Bombadil" <bombadil.tom@...>
Hello,
Hello Tom,
Great, thanks a lot! However, I just encountered a little bug -> I'd like t=
[#255702] How to set the timeout attr when using open-uri to open a url. — sishen <yedingding@...>
I met a problem using open-uri.
On 6/15/07, sishen <yedingding@gmail.com> wrote:
Yes, i know that. Thanks. :)
On 6/15/07, sishen <yedingding@gmail.com> wrote:
[#255723] wite an integer to file as binary — Jim flip <james@...>
Simple problem but I'm not sure of an elegant solution, I can do it but
[#255733] Ruby Nube — Bill Man <a.paranoid.android@...>
Hello,
[#255737] Verbal Arithmetic (#128) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
I really don't get it :) How did you figured out that 2 = y in your example?
On Jun 15, 2007, at 7:55 AM, anansi wrote:
ohh I totally misunderstood the task here.. I thought the input would be
[#255742] Abstract interfaces as a means of documentation — Eli Bendersky <eliben@...>
Hi all,
On Jun 15, 6:57 am, Eli Bendersky <eli...@gmail.com> wrote:
On 6/15/07, Eli Bendersky <eliben@gmail.com> wrote:
[#255757] Dynamic Class Initialization — Peer Allan <peer@...>
Hi all,
[#255760] Using extend for initialization settings? — Trans <transfire@...>
It's not uncommon to see initialize method take a hash or a setting
On 15.06.2007 16:44, Trans wrote:
On 6/15/07, Trans <transfire@gmail.com> wrote:
On 6/15/07, Gregory Brown <gregory.t.brown@gmail.com> wrote:
On 6/15/07, Robert Dober <robert.dober@gmail.com> wrote:
On 6/15/07, Gregory Brown <gregory.t.brown@gmail.com> wrote:
[#255767] Info regarding Zlib::GzipReader — "J-H Johansen" <ondemannen@...>
Hi,
[#255791] ruby in cmd — maung <einaung@...>
I am new to Ruby and am trying to run a piece of code from Programming
[#255803] test to see if a variable exists — "Colin Summers" <bladenut@...>
So I am stealing all these identities and storing everything in a big
[#255805] Facets Units. How do I use it? — fREW Schmidt <frioux@...>
Hi all,
On 15/06/07, fREW Schmidt <frioux@gmail.com> wrote:
Ah! Brilliant. I had forgotten about that. In my irbrc I defined a
On 16/06/07, Frew Schmidt <frioux@gmail.com> wrote:
> The exchange rates are not actually the reason for the slow start-up
[#255824] Question on Getting back in the swing of things & Time Management — Samantha <rubygeekgirl@...>
Hello all,
[#255864] Adding new value (in array) to existing key in a hash — Gilbert Lau <gilbertlsk@...>
Hi all,
On 6/16/07, Gilbert Lau <gilbertlsk@gmail.com> wrote:
Harry Kakueki wrote:
On 6/16/07, Gilbert Lau <gilbertlsk@gmail.com> wrote:
Thanks a lot. Sorry, got another question
On 6/18/07, Gilbert Lau <gilbertlsk@gmail.com> wrote:
Hi --
Thanks a million. But still I have another problem. Figure that I can
[#255871] Error in ancestor? — "Robert Dober" <robert.dober@...>
Hi list
On Jun 16, 2007, at 9:56 AM, Robert Dober wrote:
On 6/16/07, Morton Goldberg <m_goldberg@ameritech.net> wrote:
I launched a discussion about this on Ruby-core. I think there were no
On 6/18/07, Sylvain Joyeux <sylvain.joyeux@polytechnique.org> wrote:
On 6/19/07, Robert Dober <robert.dober@gmail.com> wrote:
Hi --
On 6/19/07, dblack@wobblini.net <dblack@wobblini.net> wrote:
Hi --
On 6/21/07, dblack@wobblini.net <dblack@wobblini.net> wrote:
Hi --
On 6/22/07, dblack@wobblini.net <dblack@wobblini.net> wrote:
On 6/22/07, Gregory Brown <gregory.t.brown@gmail.com> wrote:
Hi --
On 6/23/07, dblack@wobblini.net <dblack@wobblini.net> wrote:
Hi --
On 6/25/07, dblack@wobblini.net <dblack@wobblini.net> wrote:
Hi --
[#255878] Negative lookahead in Regexp question — "Axel Etzold" <AEtzold@...>
Dear all,
On Jun 16, 11:22 am, "Axel Etzold" <AEtz...@gmx.de> wrote:
[#255885] Process id — Gianni Dupro <tettamaa@...>
Hi everybody I m nobie of ruby
[#255911] Chris Pine Program Challenges — danielj@...
puts 'Type in as many words as you want'
On 6/17/07, danielj@sleepingindian.org <danielj@sleepingindian.org> wrote:
[#255920] redefining word boundaries? — jmb-d <jon.budardanoff@...>
Is it possible to redefine (temporarily) the meaning of \b in RegExp
[#255925] Trying to start with Ruby, and Rails, seperately — ed <user@...>
Hi,
[#255937] Nervous Nuby Starting Out! — The MacRubyist <macrubyist@...>
[#255942] Modifying an Excel file with Ruby — Chris Hulbert <chris.hulbert@...>
Hi all,
Dear Chris,
[#255950] Syntax error with blocks — Oliver Sauders <oliver.saunders@...>
OK guys, wtf am I doing wrong here?
[#255957] How to generate local API documentation? — Stephan Dale <ruby-forum@...>
Hi all.
[#255976] Problems with SOAP: duplicate XML declarations — "ruby@..." <mail@...>
Hi,
[#255980] Parsing strings — NB88 <germans88@...>
Quick question, is there a method for deleting substrings from within a
On 6/18/07, NB88 <germans88@yahoo.com> wrote:
One problem, the substring contains a ?, and is left in the resultant
[#255991] healp reading / writing binary strings. — Melissa Silas <beingthexemplarylists@...>
Hey, I'm looking for some help with reading / writing binary string.
[#255999] rb2exe info — "Mike Steiner" <mikejaysteiner@...>
I heard there's a program that compiles Ruby scripts to exe's, but the only
[#256045] Problem wrapping the C++ STL — Daniel Berger <djberg96@...>
Hi all,
> g++ -Wall -I. -I/opt/lib/ruby/1.8/i686-darwin8.9.1
[#256053] Class Methods vs Module Methods? — PHP HD <chuck.son@...>
Hello all,
[#256062] Another Easy Beginner Question — danielj <danielj@...>
I'm not sure why you'd want to, but I suppose you could do something like:
On 6/18/07, danielj <danielj@sleepingindian.org> wrote:
Alex LeDonne schrieb:
On Jun 18, 11:42 am, Daniel Kempkens <Daniel.Kempk...@gmail.com>
Phrogz schrieb:
On 6/18/07, Daniel Kempkens <Daniel.Kempkens@gmail.com> wrote:
[#256063] Paper in The topic of Ruby — Joojle <jjlowing@...>
I am study in Computer Science and my course in Seminar was assign me
[#256072] Deleting a non empty directory — Kostas Zoumbatianos <zoumbatianos@...>
Hi, I am getting an exception when I use Dir.delete on a non empty
[#256076] Means of Optional Expression — Trans <transfire@...>
Have a look at this. Note that I'm not bothering to implement the
[#256089] rdoc -x essentially useless — Trans <transfire@...>
When I use rdoc like so:
[#256115] Unpacking signed shorts and integers with specified endianness — Phrogz <gavin@...>
I'm deciphering a byte-based binary file structure which can be stored
[#256117] hard time setting up ruby with apache — Gale Cho <galecho@...>
[#256119] Practical Ruby Gems review — Tim Hunter <TimHunter@...>
After waiting in the Slashdot pending queue for over a month (!), my
[#256121] browser -> command line — "Matt M." <goodieboy@...>
Hi,
[#256122] How to repeat string patterns in Ruby? — "Just Another Victim of the Ambient Morality" <i_hate_spam@...>
I have some funky Python code that I'm trying to modify but it's
[#256131] local vars clobbered by un-run code — Trans <transfire@...>
Err...
Hi,
On 6/19/07, Trans <transfire@gmail.com> wrote:
[#256146] patten match — geetha <sangeetha.geethu05@...>
Hi Good morning,
[#256150] Check for text file — Alin Popa <alin.popa@...>
Hi guys,
Alin Popa wrote:
[#256166] When file gets closed in a block — Damjan Rems <d_rems@...>
[#256169] How to generate Eclipse project files under apache ode? — Van Caesar <fanba@...>
When I met apache ode, I found ruby.
On 6/19/07, Van Caesar <fanba@sina.com> wrote:
[#256179] Class variables in class_eval — Mark Somerville <ms@...>
I'm confused, to say the least! I'm setting up caches on objects using a
On 6/19/07, Mark Somerville <ms@pccl.info> wrote:
On Tue, Jun 19, 2007 at 09:05:38PM +0900, Robert Dober wrote:
Hi --
Is there a significant performance difference between these two ways to
On 6/22/07, John N. Joyner <jnj@thecoopercompany.com> wrote:
[#256182] An error I can't find — Zouplaz <user@...>
Hello, there's certainly a monstrous error I don't see in :
[#256243] Ruby MVC — poopdeville@...
Hi Everybody,
poopdeville@gmail.com wrote:
James Britt wrote:
M. Edward (Ed) Borasky wrote:
[#256244] Ruby integrated with Flash in place of actionscript — Ryan Mohr <ryan.mohr@...>
I love flash (there are just some things you can't do with html/ajax),
On Jun 19, 8:37 pm, Ryan Mohr <ryan.m...@gmail.com> wrote:
If by everyone you mean netscape, then JS IS everyone's choice for
> Soon, Silverlight will support developing flash-like applications with
On 6/20/07, Ryan Mohr <ryan.mohr@gmail.com> wrote:
On 6/20/07, Leslie Viljoen <leslieviljoen@gmail.com> wrote:
[#256257] How can i get data from .txt file and .xml file? — Cool Wong <coolwong85@...>
I have .txt file that is .xml format. i using require "rexml/document"
On 20 Jun 2007, at 16:15, Cool Wong wrote:
[#256259] trying to use regex — merrittr <merrittr@...>
hi i am trying to strip out text between body tags but when run it i
[#256290] GetoptLong, but not on ARGV — Trans <transfire@...>
Is there a way to utilize Getoptlong on an arbitrary command var, ie.
On 6/20/07, Trans <transfire@gmail.com> wrote:
On 6/21/07, Trans <transfire@gmail.com> wrote:
Hi,
On 6/21/07, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
[#256291] Default text entered in a puts dialog — 12 34 <rubyforum@...>
I want to put a default answer in the text entry box that appears when
[#256296] if == any item in an array — 12 34 <rubyforum@...>
I'd like to write something like
[#256299] Behaviour of Enumerables reject vs. select mixed into Hash — Alexander Presber <aljoscha@...>
Hello everybody,
>> Hello everybody,
On 21.06.2007 11:06, Alexander Presber wrote:
Am 21.06.2007 um 11:20 schrieb Robert Klemme:
Hi --
On 6/21/07, dblack@wobblini.net <dblack@wobblini.net> wrote:
Hi --
On 6/21/07, dblack@wobblini.net <dblack@wobblini.net> wrote:
Hi --
On 6/21/07, dblack@wobblini.net <dblack@wobblini.net> wrote:
On 6/22/07, Todd Benson <caduceass@gmail.com> wrote:
Hi --
On 6/21/07, Alexander Presber <aljoscha@weisshuhn.de> wrote:
On 6/21/07, Trans <transfire@gmail.com> wrote:
>> module Enumerable
On 6/21/07, Alexander Presber <aljoscha@weisshuhn.de> wrote:
On Jun 21, 2007, at 1:31 PM, Todd Benson wrote:
On 6/21/07, Rob Biedenharn <Rob@agileconsultingllc.com> wrote:
[#256309] Code Critique: check if int or float — ole __ <oliver.saunders@...>
Hello again folks,
ole __ wrote:
Thanks Tim and Marcel.
[#256310] Do You Understand Regular Expressions? — growlatoe@...
Hi all.
> irb(main):001:0> "hello".scan(/.*/)
Axel Etzold wrote:
On 6/20/07, Daniel DeLorme <dan-ml@dan42.com> wrote:
On Jun 21, 2007, at 9:47 AM, Stephen Ball wrote:
[#256322] strange ... I'm getting crazy — "J. mp" <joaomiguel.pereira@...>
WTF:
[#256343] Two Problems From a Newbie — danielj <danielj@...>
def mtdarry
[#256348] All in MiniExifTool — 12 34 <rubyforum@...>
I wanted to list all the EXIF data for a photo. Is there a method for
[#256355] ruby-ldap-0.9.7-1.i386 on windows — Marco <marcomolinari@...>
Hi, I'm new to ruby and i want to use the package ruby-ldap-0.9.7-1.i386
[#256424] undefined method 'a=' when initializing an object — "Bala Paranj" <bparanj@...>
I have an array of strings that contains the values for attributes of
On 6/21/07, Bala Paranj <bparanj@gmail.com> wrote:
I have an array that contains list of attributes of a ActiveRecord
[#256426] Ruby extensions question.. — Aaron Smith <beingthexemplary@...>
So I'm getting slightly confused with writing ruby extensions and what
On Jun 21, 10:22 am, Aaron Smith <beingthexempl...@gmail.com> wrote:
unknown wrote:
On Fri, 22 Jun 2007 03:55:11 +0900, Aaron Smith <beingthexemplary@gmail.com> wrote:
MenTaLguY wrote:
On Fri, 22 Jun 2007 05:28:17 +0900, Aaron Smith <beingthexemplary@gmail.com> wrote:
MenTaLguY wrote:
On Fri, 22 Jun 2007 06:47:22 +0900, Aaron Smith <beingthexemplary@gmail.com> wrote:
MenTaLguY wrote:
On Fri, 2007-06-22 at 11:49 +0900, Aaron Smith wrote:
MenTaLguY wrote:
[#256447] Ruby doesn't know how to multiply — "rjprado@..." <rjprado@...>
Hello,
I thingh that it is a bug
On Jun 21, 2007, at 2:30 PM, juan pedro meri wrote:
You are rigth James, but you can better reponse why is a floating point
On 6/21/07, juan pedro meri <juapdiaz@gmail.com> wrote:
On Fri, 22 Jun 2007 04:25:04 +0900, "rjprado@gmail.com" <rjprado@gmail.com> wrote:
MenTaLguY:
On Jun 21, 3:21 pm, "rjpr...@gmail.com" <rjpr...@gmail.com> wrote:
> Yes, you are all right. It's a common problem. I have confirmed this
Hi,
Yukihiro Matsumoto wrote:
On 6/21/07, Michael W. Ryder <_mwryder@worldnet.att.net> wrote:
On Jun 21, 2007, at 8:48 PM, Gregory Brown wrote:
Rob Biedenharn wrote:
From: Michael W. Ryder [mailto:_mwryder@worldnet.att.net] :
Pe wrote:
Michael W. Ryder wrote:
On 6/21/07, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
[#256470] How do I intercept creation of fundatmental types, eg. [] — "Durant S." <mobiledurant@...>
[#256521] newbie question - undefined method `replace_session_timeout' for main:Object (NoMethodError) — "warrene33@..." <warrene33@...>
Hi,
[#256537] Looking for minimalist ruby. — soliton <soliton.list@...>
Does any body know if there is ruby binary not greater than 1MB? It would be
soliton wrote:
Alex Young wrote:
M. Edward (Ed) Borasky wrote:
Alex Young wrote:
[#256541] Everything in ruby is an object? — Mark Gargan <mark.gargan@...>
Hey folks,
[#256551] from the ruby book install on win32 — Dave Lilley <dglnz@...>
Hi folks,
On 6/22/07, Dave Lilley <dglnz@yahoo.com> wrote:
[#256554] ruby equivalent of htons or htonl — akbarhome <akbarhome@...>
Hi,
[#256556] avoiding nil.methodcalls short and cheap — Thorsten Rossner <rossnet@...>
Hi,
On 6/22/07, Thorsten Rossner <rossnet@gmx.de> wrote:
On 22/06/07, Eivind Eklund <eeklund@gmail.com> wrote:
Thorsten Rossner wrote:
[#256569] rocaml: Ruby extensions in Objective Caml — Mauricio Fernandez <mfp@...>
rocaml allows you to write Ruby extensions in Objective Caml.
Hi Mauricio,
[#256586] eval, bindings and scope — hellfeuer@...
hey
[#256618] Is $! thread safe? — Erik Veenstra <erikveen@...>
>From the code below, it appears that $! is thread safe.
On Sat, 23 Jun 2007 07:26:19 +0900, Erik Veenstra <erikveen@gmail.com> wrote:
[#256624] xml newbie — "Colin Summers" <bladenut@...>
Okay, so I am scraping the FAA site and keeping track of some airplanes.
[#256645] Read individual words from input? — Kerio Star <keriostar@...>
Hello folks,
[#256663] Error using Tk — cypher.dp@...
Hello everybody !
[#256675] Regexp to split name? — Alex MacCaw <maccman@...>
Does anyone have an example of splitting a name into first and last
quoth the Alex MacCaw:
Hi --
On 23/06/07, darren kirby <bulliver@badcomputer.org> wrote:
Hi --
dblack@wobblini.net wrote:
> Names are just *hard* - the only reliable way of handling them that I've
On 6/25/07, Dan Stevens (IAmAI) <dan.stevens.iamai@gmail.com> wrote:
[#256685] IRC Transcripts in Instiki and Markdown — levander <levander404@...>
I haven't found a way to easily markup IRC transcripts in Markdown on
On Jun 23, 10:15 am, levander <levander...@gmail.com> wrote:
[#256690] Can't include a module in Enumerable? — Trans <transfire@...>
irb(main):002:1> module Z
[#256698] Trouble with scrolling on a TK frame — Andreas Pinkert <the_supernova@...>
Hi together,
[#256713] Named/positional method args — darren kirby <bulliver@...>
I have a method here that takes two arguments. Both are optional, with
On 6/23/07, darren kirby <bulliver@badcomputer.org> wrote:
Thanks guys!
*Sigh*, I mean:
On 6/23/07, Trans <transfire@gmail.com> wrote:
Hi --
On 6/27/07, Trans <transfire@gmail.com> wrote:
[#256714] Secondary user groups — gga <GGarramuno@...>
[#256727] regexp questions — "Mike Steiner" <mikejaysteiner@...>
I'm converting a big Python program to Ruby which uses lots of regexps, and
[#256745] Changing enum_obj — Trans <transfire@...>
Anyway to change an Enumerator's enum_obj in place? Enumerator doesn't
On Jun 23, 2007, at 11:07 PM, Trans wrote:
Well, I might as well bring up the reason I asked about enum_obj...
On 6/24/07, Trans <transfire@gmail.com> wrote:
On 6/24/07, Trans <transfire@gmail.com> wrote:
[#256748] LSRC Name Picker (#129) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
Sorry the quiz was late this week.
On Jun 23, 2007, at 11:29 PM, James Edward Gray II wrote:
On 6/24/07, James Edward Gray II <james@grayproductions.net> wrote:
Ruby Quiz wrote:
On Jun 24, 2007, at 12:51 AM, M. Edward (Ed) Borasky wrote:
On Jun 24, 2007, at 12:28 AM, Ruby Quiz wrote:
I tried to submit my solution but the mailing list rejected it as too
On Jun 29, 2007, at 8:19 PM, Morton Goldberg wrote:
On Jun 29, 2007, at 11:53 PM, James Edward Gray II wrote:
[#256811] Helper to create multi-dimensional arrays — Anthony Martinez <pi@...>
I came up with this method really quick to create x*y arrays in Ruby. It
Hello everybody,
What I tend to do is load the debugger, then set a breakpoint at the line in
Thanks Jason, that definitely helps.
Does anyone know of a gui ruby debugger for OS X?
[#256813] html to plain text — "Colin Summers" <bladenut@...>
Okay, I have played with Hpricot and I am a convert. Amazing stuff.
[#256835] variables to call methods in ruby... — Harnish <harnishb@...>
Hi,
Harnish wrote:
On Jun 24, 5:48 pm, Tim Hunter <TimHun...@nc.rr.com> wrote:
On 6/25/07, yermej@gmail.com <yermej@gmail.com> wrote:
[#256841] Command in backticks hangs? (OS X, 1.8.6-p36) — Tim Hunter <TimHunter@...>
I'm running ruby 1.8.6 (2007-06-07 patchlevel 36) [powerpc-darwin8.9.0]
Tim Hunter wrote:
[#256845] insert marshall'd data into mysql — Aaron Smith <beingthexemplary@...>
Hey all.. what methods can I use to safely insert Ruby marshall'd data
[#256859] SVN command not executing correctly through ruby script — Kristen <revalia@...>
Hello,
[#256883] Name clash in C extension — Alex Gutteridge <alexg@...>
Hi,
[#256894] Multiple Instance of rand? — are <Proponent@...>
Is it possible to have multiple instances Ruby's random-number
[#256908] gems gone missing? — Sharon Phillips <phillipsds@...>
Hi,
On 6/25/07, Sharon Phillips <phillipsds@yahoo.co.uk> wrote:
Thanks for the help Jano,
On 6/25/07, Sharon Phillips <phillipsds@yahoo.co.uk> wrote:
On 6/25/07, Jano Svitok <jan.svitok@gmail.com> wrote:
[#256915] Q: how to start a module name with a lower case character? — Mark Watson <mark.watson@...>
I am trying to write Ruby classes to model RDF, RDFS, and Owl, much
[#256924] OS X reads builtin version of ruby — Herb Fitz <hfitzy@...>
Ok, so i've tried to install 1.8.6 in a few ways, the first was building
[#256933] dynamically define attr_accessors on objects? — Aaron Smith <beingthexemplary@...>
How can I dynamically define attr_accessors on an object?
[#256943] could anyone help me in the question, thanks? — Sonn Ygg <ys_manman@...>
In network application, we need to fill some fields of protocol header
[#256973] Clearing the RAM — Ari Brown <ari@...>
Hey,
[#256980] Stuck While "Bulk updating Gem source index for: http://gems.rubyforge.org" — Isarian <tparikka@...>
Hi all,
[#256993] Some help needed with understanding ruby hashes — Frank Church <vfcforums@...>
[#256995] when i using "rubyscript2exe", occur error — Cool Wong <coolwong85@...>
When i using the "rubyscript2exe", there occur error. Because i cannot
[#257002] optimizing Hash deletions — "Mike Steiner" <mikejaysteiner@...>
I have a recursive file-compare program that I run on 2 directories that
[#257008] Vaguely humorous Test::Unit problem (long) — poopdeville@...
Hi everybody,
[#257017] Probably an FAQ, but... — David Rush <kumoyuki@...>
Hi all,
On Jun 26, 2007, at 5:00 AM, David Rush wrote:
On Jun 26, 11:51 am, Morton Goldberg <m_goldb...@ameritech.net> wrote:
On Jun 26, 2007, at 5:40 PM, David Rush wrote:
[#257031] Ruby/Tk - simple task that I'm srtuck — Valen Onish <valenonish@...>
I have:
[#257033] how much to charge for a freelance project in ruby in the states — urielka <uriel.katz@...>
i work in Israel and i wanted to know how much should i charge per
On 6/26/07, urielka <uriel.katz@gmail.com> wrote:
On 6/26/07, Gregory Brown <gregory.t.brown@gmail.com> wrote:
[#257053] Net::LDAP and telephonenumber attribute — pearly <michael_perle@...>
Hi,
[#257055] Following a Javascript Link Using Mechanize — Matt White <whiteqt@...>
Hello,
[#257072] Class instance into included module — Galevsky Gal <galevsky@...>
Hi all,
Trans wrote:
But what I think I'll do is make TestModule a class, and my TestAClass
[#257086] Ruby script that will restart a Windows server... — grooveska <ryangs@...>
I have been researching on how to write a script that will restart a
On 6/26/07, grooveska <ryangs@mac.com> wrote:
[#257101] Encoding of strings received from db — mare <zorglub76@...>
I swear I searched this forum and couldn't find the solution!
[#257105] Fun about inspect — "Victor \"Zverok\" Shepelev" <vshepelev@...>
Hi all.
[#257120] Arguments into method calls? — Torrey Slattery <disaffected@...>
I'm working on a program that takes user input via command line, then
[#257124] Note to Self: Moving ruby, $:. Don't _do_ that. — John Carter <john.carter@...>
With gcc you can build & install in /home/myname/opt/gcc and then tar it
[#257128] DateTime problem — Cool Wong <coolwong85@...>
DateArray = ["Apr", "2", "2007"]
[#257147] including modules - ordering question — Aryk Grosz <tennisbum2002@...>
Hi,
[#257173] Re: how to get data from database as string — Brian Candler <B.Candler@...>
> How can i read a cell from database and retrieve as a string in ruby
[#257184] missing kEND for if statement, but not for a case statement? — "Nathan Taylor-Hoover" <onebitcipher@...>
I am having some trouble figuring out why I keep getting an unexpected
[#257201] Is there a ruby source code formatter? — Frank Church <vfcforums@...>
[#257202] Regexp rescue method — th8254 <th8254@...>
How would I write a rescue method to recover from a failed regexp
[#257207] ActiveRecord (not necessarily rails) — "shawn bright" <nephish@...>
Hello all,
Hi,
no, i am sorry, i was not clear enough.
> no, i am sorry, i was not clear enough.
[#257228] Ajax with Ruby problem — Gale CC <galecho@...>
I'm a newbie to both Ruby and Ajax. I'm trying to use Ruby to handle the
On 6/28/07, Gale CC <galecho@gmail.com> wrote:
Tried both the approaches but neither worked.
Make sure your shebang line is correct and that your Apache knows
I'm pretty sure the shebang line is correct. I verified by doing "which
On 6/28/07, Gale CC <galecho@gmail.com> wrote:
[#257235] Is there a nifty ruby hack for this set of commands? — Frank Church <vfcforums@...>
[#257246] Array Problem, sort Array — Cool Wong <coolwong85@...>
[code]
["a", "a", "a", "b", "b", "c", "c", "c","d", "d", "e"].uniq.sort
List Rb wrote:
On Behalf Of Cool Wong:
On Jun 27, 10:17 pm, Pe, Botp <b...@delmonte-phil.com> wrote:
Le 28 juin 06:17, Pe, Botp a 馗rit :
[#257253] when to Run the garbage collector? — gz zz <gpygood@126.com>
hi,I want to use ruby's garbage collector
[#257272] Ruby versus Java threading ? — surf <surfunbear@...>
This paragraph is part of the Java Performance tunning newsletter
[#257276] Can i calculate the data number in array? — Cool Wong <coolwong85@...>
[code]
Dear Cool,
On 28.06.2007 10:44, Axel Etzold wrote:
On 6/28/07, Robert Klemme <shortcutter@googlemail.com> wrote:
On 28.06.2007 12:56, Robert Dober wrote:
[#257292] pretty_print woes — "Ronald Fischer" <ronald.fischer@...>
I like the formatting one gets by
[#257293] Dynamic sort_by criteria, making it DRY... — Josselin <josselin@...>
I am presently using a sort_by on my array
On 2007-06-28 13:58:47 +0200, Robert Klemme <shortcutter@googlemail.com> said:
[#257295] splitting a string — Lars Andren <lars.andren@...>
I've got a problem when trying to split a string after the thrid
[#257316] Bad file descriptor error using Net::HTTP — brian.wil.greene@...
I am trying to access a .net page via my ruby app and pass it a couple
[#257323] HELP.. wanna learn ruby — Thilankka Marasinghe <thilankaster@...>
I am a second year degree student studying for on information systems
[#257327] Gems not working — Vincent Predoehl <vpredoehl@...>
I do not have rails, but I like to use Ruby Gems. I installed gem
[#257338] Getting fixtures to work without Rails — Vassilis Rizopoulos <damphyr@...>
Yes, this is ActiveRecord without Rails again.
[#257341] Array.join for nested arrays — freeunli@...
Doing
[#257342] Help with regular expression — "toulax@..." <toulax@...>
How can I make a regular expression that will match everything, unless
> How can I make a regular expression that will match everything, unless
On Jun 28, 4:00 pm, Philip Hallstrom <r...@philip.pjkh.com> wrote:
I think what you want is what's called negative lookahead.
Am I missing something here? Why not just test for equality?
Hi --
On 6/28/07, dblack@wobblini.net <dblack@wobblini.net> wrote:
Like I said it has to be a regular expression, nothing else, any
[#257383] newby non/programmer trying to understand classes — "weathercoach@..." <weathercoach@...>
Hello.
On Jun 28, 2007, at 6:45 PM, weathercoach@gmail.com wrote:
hi
[#257385] msvcr*.dll — Morris Brodersen <morrisbrodersen@...>
hi,
[#257388] net/smtp TLS auth? — Aaron Smith <beingthexemplary@...>
i'm trying to do some net/smtp operations and my smtp server requires
[#257397] DBI, and SQLite Problems — Ari Brown <ari@...>
Uhoh!
[#257421] Creating a DSL in ruby — snacktime <snacktime@...>
I'm getting back to a project I've wanted to do for a while now, which
[#257423] RUBY_LIB, RUBY_ARCHLIB unavailable? — "Adam Bozanich" <adam.boz@...>
Hello,
[#257428] Where to start in parsing? — "Hakusa@..." <Hakusa@...>
I haven't programmed in a while, but I want to get back with doing
On Fri, Jun 29, 2007 at 02:55:02PM +0900, Hakusa@gmail.com wrote:
On Jun 29, 2:01 am, "Marcel Molina Jr." <mar...@vernix.org> wrote:
[#257430] Modules and Class --- what is that ? -- — Adwin Wijaya <adwin.wijaya@...>
Hi ...
[#257432] Calling private method in ruby — Alin Popa <alin.popa@...>
Hi there,
[#257450] webgen 0.4.5 — Thomas Leitner <t_leitner@...>
Hey everybody!
[#257451] Accessing functions in a module without 'include' — "Ronald Fischer" <ronald.fischer@...>
Usually I work with modules like this:
[#257454] Feature Request: Special file '-' denoting stdin/stdout — "Ronald Fischer" <ronald.fischer@...>
I would like to propose a feature for Ruby which can be
It should be mentioned that both File.new and File.open are
This creates some awful situations, like having a file called '-' and
> This creates some awful situations, like having a file called '-' and
On 7/2/07, Ronald Fischer <ronald.fischer@venyon.com> wrote:
> > Since this is such a common usage of the '-', I suggest that
[#257464] java ByteArrayOutputStream alternative in ruby. — Googy <cooldudevamsee@...>
Hi,
On Jun 29, 2007, at 6:25 AM, Googy wrote:
[#257465] newbie questions on processing numerical data from text files — baptiste Augui<ba208@...>
Hi,
Dear Baptiste,
[#257495] Issue related to class initialization and irb — darren kirby <bulliver@...>
Hello all,
On Jun 29, 10:44 am, darren kirby <bulli...@badcomputer.org> wrote:
> irb(main):004:0> a = Test.new
[#257510] Threads issue. — Marcin Tyman <m.tyman@...>
Hi guys,
[#257511] Newbie: fastcsv: Read rows, print rows — "drubdrub@..." <drubdrub@...>
New to Ruby. It probably shows. Trying to accomplish some simple
On Jun 29, 2007, at 1:50 PM, drubdrub@gmail.com wrote:
[#257520] Ruby vs Java (this,self/main) — "list. rb" <list.rb@...>
First, thank you for any help you can provide.
list. rb wrote:
Awesome Charles.
[#257523] Syntax sugar: method[](...) => method(...) — "Erwin Abbott" <erwin.abbott@...>
Hi,
Hi,
[#257544] Regular Expression question — Al Cholic <desertfox@...>
Hello,
In message <0df4a451b19810ff6e06f11725324591@ruby-forum.com>, Al Cholic writes:
[#257564] storing and manipulating columns of data — baptiste Augui<ba208@...>
Hi,
[#257565] http-access/2.0.8 — "NAKAMURA, Hiroshi" <nakahiro@...>
-----BEGIN PGP SIGNED MESSAGE-----
[#257573] is it bug? for — Chung Chung <bkeh12@...>
[root@home1 ~]# ruby -v
Dear Chung Chung,
Hi,
On 6/30/07, Axel Etzold <AEtzold@gmx.de> wrote:
> Well, yours isn't correct. On 1.8:
On 6/30/07, Axel Etzold <AEtzold@gmx.de> wrote:
Dear Gregory,
On 6/30/07, Axel Etzold <AEtzold@gmx.de> wrote:
[#257601] de-camelcase a filename — Aaron Smith <beingthexemplary@...>
how can a take a string file name like MyTestCase.rb and change it to
[#257609] apt-get installs 1.8.5 on ubuntu 7.0.4 — "D. Krmpotic" <david.krmpotic@...>
hi!
D. Krmpotic wrote:
Xeno Campanoli wrote:
Hey.. thank you for responding.. I'm using Feisty on Workstation.. it's
D. Krmpotic wrote:
thank you for putting it into the list.. and yes - do let us know
Re: Error in ancestor?
Hi --
On Sun, 24 Jun 2007, Rick DeNatale wrote:
> On 6/22/07, Gregory Brown <gregory.t.brown@gmail.com> wrote:
>> On 6/22/07, dblack@wobblini.net <dblack@wobblini.net> wrote:
>>
>> > It's interesting, though, that Matz's reason for not adding K#s_c is,
>> > I think, concern about the name of the singleton class (as opposed to
>> > wanting it to be obscure). Hopefully that will be clarified in 2.0.
>>
>> Well at this point is anyone still vehemently opposed to singleton_class ?
>>
>> Meta class seems to be falling out of fashion and Eigenclass (sadly)
>> never had widespread acceptance.
>
> The problem with metaclass is that it's just one of the two(?) uses of
> singleton class, a metaclass is the class of a class, which in ruby
> happens to be implemented by a singleton class.
>
> I'd suggest defining Kernel#singleton_class, AND defining
> Module#metaclass as an alias which applies to Modules and classes. I
> THINK that it makes sense to think of the (singleton) class of a
> Module to be a metaclass.
>
> Were this done, another question arises as to whether e,g, Array.class
> should still return Class instead of
> #<Class:Array>. To me this seems different than the case of hiding a
> singleton class of an object which is not a Module/Class.
The goal of #singleton_class, though, would be to un-hide the
singleton class, so #class would be free to report on the "birth
class" relieved of any responsibility to worry about the singleton.
I'm not sure about "metaclass" for classes' singleton classes, though
there's no doubt that the inheritance thing whereby a class can call
its superclass's singleton methods certainly makes the term
"singleton" a bit of an imperfect fit....
David
--
* Books:
RAILS ROUTING (new! http://www.awprofessional.com/title/0321509242)
RUBY FOR RAILS (http://www.manning.com/black)
* Ruby/Rails training
& consulting: Ruby Power and Light, LLC (http://www.rubypal.com)