[#249773] Microsoft brings Ruby to the browser? — "Brian Tol" <wiremine@...>
Via TechCrunch:
[#249778] What's a Mutex and how do I use it? — web.dizign@...
Mutex seems very powerful and something I could use eventually as I
On 5/1/07, web.dizign@gmail.com <web.dizign@gmail.com> wrote:
[#249784] sprintf can not work in ruby c source? — Haoqi Haoqi <axgle@126.com>
here is my simple test:
On 5/1/07, Haoqi Haoqi <axgle@126.com> wrote:
[#249802] Ruby syntax question: instance.method(args) { more_stuff } — "Nic Daniau" <Nic.Daniau@...>
Hi, I'm having difficulty working out the following construct:
[#249812] RubyConf 2007 — "David A. Black" <dblack@...>
Hi everyone --
On May 1, 6:25 am, "David A. Black" <dbl...@wobblini.net> wrote:
[#249818] Logic Programming — benjohn@...
Hello everyone.
[#249834] simple subclass question — "Ball, Donald A Jr (Library)" <donald.ball@...>
If I want a class and its children to have different values for the same
Ball, Donald A Jr (Library) wrote:
Thanks to you and Robert for the quick answers. I think I get it now; I
Actually, I spoke too quickly. If I use this construct:
On 5/1/07, Ball, Donald A Jr (Library) <donald.ball@nashville.gov> wrote:
On 5/1/07, Logan Capaldo <logancapaldo@gmail.com> wrote:
On 5/2/07, Rick DeNatale <rick.denatale@gmail.com> wrote:
Okay, so maybe this turns out to be a not-so-simple subclass question
On 5/2/07, Ball, Donald A Jr (Library) <donald.ball@nashville.gov> wrote:
> just initialize @foods in the class
On 5/2/07, Ball, Donald A Jr (Library) <donald.ball@nashville.gov> wrote:
[#249839] pallet 1.2.1 — Stephen Touset <stephen@...>
I've been writing a multiplatform packaging tool for the company I work
Hi Stephen,
[#249842] Ruby on the Meraki Mini — Diarmuid Wrenne <dwrenne@...>
Hi Guys,
[#249853] ActiveLdap questions — "Reid Wightman" <krwightm@...>
Hi All -
On 5/1/07, Reid Wightman <krwightm@gmail.com> wrote:
[#249855] file & split — Marcin Kulisz <marcin.kulisz@...>
hi everyone,
On 5/1/07, Marcin Kulisz <marcin.kulisz@gmail.com> wrote:
Logan Capaldo wrote:
[#249887] testing and assigning with regexp's — "Mike Steiner" <mikejaysteiner@...>
I'm new to Ruby, and in a little program I'm writing, I have code like this:
Mike Steiner wrote:
Hi,
[#249888] strangeness with string concatenation and function return values — "Mike Steiner" <mikejaysteiner@...>
I get an error when running code snippet A, but if I change it to B, there's
[#249909] How to save and display a newlinefeed with rails? — anansi <kazaam@...>
Hi,
[#249911] Inverse scanf: finding format specifers of existing fields — Bil Kleb <Bil.Kleb@...>
Hi,
[#249940] It doesn't produce any output! — Yusuf Celik <ycelik@...>
Hi,
[#249955] MySQL gem problem on OS X — John Joyce <dangerwillrobinsondanger@...>
Help.
[#249957] C DSL anyone? — Brad Phelan <phelan@...>
Just curious,
Brad Phelan wrote:
I wrote a tool a while back I called rubypp (pp as in preprocessor),
Paul Brannan wrote:
On Fri, May 04, 2007 at 01:03:20AM +0900, Joel VanderWerf wrote:
Paul Brannan wrote:
[#249960] Help with rather simple method — Deniz Dogan <kristnjov@...>
Hello.
[#249992] shell script with arguments within perl script — jay <jmkshah@...>
Hi! I wanted to run the system command with in Perl script to execute
On Thu, May 03, 2007 at 05:22:54AM +0900, jay wrote:
On 5/2/07, Chad Perrin <perrin@apotheon.com> wrote:
[#250003] Making executable =P — raelz <djahn@...>
Ehm.. noob question though
[#250013] Testing Thread and sleep — John Miller <jfmiller28@...>
Greetings All:
[#250015] Question regarding tr method in Strings Class — "Michael W. Ryder" <_mwryder@...>
Is there a way to denote a null in the replacement for a character using
On 5/3/07, Michael W. Ryder <_mwryder@worldnet.att.net> wrote:
Robert Dober wrote:
On Thu, May 03, 2007 at 01:30:06PM +0900, Michael W. Ryder wrote:
[#250032] eclipse aptana and ruby integration. — music <music@...>
Is there anyone using eclipse with ruby support?
On May 3, 10:43 am, music <m...@musi.ca> wrote:
Dmytro Shteflyuk wrote:
On May 5, 1:30 pm, music <m...@musi.ca> wrote:
[#250042] parse excel spreadsheet with password — lovelymmx <lovelymmx@...>
I have done quite a lot of diggings, but all I found were examples and
[#250048] array slicing — Josselin <josselin@...>
given an array
[#250055] Checking Credit Cards (#122) — Ruby Quiz <james@...>
This quiz is super easy, of course. The reason I ran it though is that I wanted
I came to this quiz late, but came up with the following, before
> Ruby Quiz will now take a one week break. Work has been rough this week and I
On May 3, 2007, at 9:15 AM, anansi wrote:
James Edward Gray II wrote:
anansi wrote:
Puria Nafisi Azizi wrote:
On May 3, 2007, at 9:35 AM, anansi wrote:
BTW we missed the score of Pascal's half of a hexagon by the numbers
[#250058] Beyond YAML? (scaling) — Bil Kleb <Bil.Kleb@...>
Hi,
[#250072] Re: how to increase the width of a field in rails — anansi <kazaam@...>
Chris Carter wrote:
On 5/3/07, anansi <kazaam@oleco.net> wrote:
[#250079] Enhanced Ruby editor — CParticle <cparticle@...>
All,
CParticle wrote:
On Thu, May 03, 2007 at 11:45:05PM +0900, CParticle wrote:
[#250117] Array to Hash — Josselin <josselin@...>
is it possible to convert easily an Array like this one :
array = [ nil, "b", nil, nil, nil , "f", "g", nil, nil, "j"]
In message <D5AF5C55-270A-4E23-899D-11EAE7ED19EA@rallydev.com>, Chris Browne writes:
[#250122] Regular expression - first two alphabets of a string — Ravi Singh <bobagent@...>
Hi All,
def matchaa (str)
On 5/3/07, Abhijit Gadgil <gabhijit@gmail.com> wrote:
[#250124] search and replace text in files — "phil.swenson@..." <phil.swenson@...>
I need to search a file for text "InstallDir=" + newline character and
[#250133] Top-level — Lucas Holland <hollandlucas@...>
Hello everyone!
On 03.05.2007 20:13, Lucas Holland wrote:
Robert Klemme wrote:
[#250166] Unofficial Ruby Quiz -- Ranking Choices — Ken Bloom <kbloom@...>
Apparently some people around here can't stand Ruby Quiz withdrawal. For
[#250169] Is there a better way to do this? — "Michael W. Ryder" <_mwryder@...>
As part of my learning Ruby I am trying to learn how to format strings.
On 5/4/07, Michael W. Ryder <_mwryder@worldnet.att.net> wrote:
Harry Kakueki wrote:
[#250178] Ruby love — "Cliff Rowley" <cliffrowley@...>
I just taught my girlfriend - who has never coded before - how to code in
this is awesome - i have the same desire what did you have her code -
I also started teaching an old flame how to program. She went through
On 5/4/07, Lloyd Linklater <lloyd@2live4.com> wrote:
Great, thanks guys.
On 5/4/07, Ivor Paul <ivorpaul@gmail.com> wrote:
Hi --
My apologies.
Haha.. They should make a southpark episode about this.. Seriously, put the
On 5/5/07, Ivor Paul <ivorpaul@gmail.com> wrote:
[#250211] RCR? — "Robert Dober" <robert.dober@...>
Hi list
Hi,
On 5/4/07, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
[#250220] Remote IRB shell (embedded in rails) — Charles Lowe <aquasync@...>
I wasn't able to find this functionality in rails to begin with, so I
Interesting... although it sounds a bit insecure since you don't
[#250221] Condition avant la boucle — Bolo <malavoi@...>
Bonjour,
[#250245] modules and class methods. — Brad Phelan <phelan@...>
Why does this not work!
[#250249] Using RubyInline and RubyToC in windows? — "Kyle Schmitt" <kyleaschmitt@...>
Is anyone out here using RubyInline and RubyToC in windows?
[#250250] Gem-only releases — Marc Heiler <shevegen@...>
Hi there. This request goes mostly to library authors that
On 5/4/07, Marc Heiler <shevegen@linuxmail.org> wrote:
On 05/04/2007 08:56 AM, Lyle Johnson wrote:
[#250260] address family for hostname not supported — Dax Huiberts <dax.huiberts@...>
I tried to do a capistrano deployment yesterday when it suddenly didn't
[#250267] Witch Oracle library should I use — "Ben Edwards" <funkytwig@...>
Have had a look on rubyforge and done a little looking around but not
On Sat, May 05, 2007 at 12:27:13AM +0900, Ben Edwards wrote:
Hi,
On 04/05/07, Brian Candler <B.Candler@pobox.com> wrote:
On Tue, May 08, 2007 at 05:38:27PM +0900, Ben Edwards wrote:
On 08/05/07, Brian Candler <B.Candler@pobox.com> wrote:
Ben Edwards wrote:
On May 8, 2007, at 1:53 PM, khaines@enigo.com wrote:
On Wed, 9 May 2007, James Edward Gray II wrote:
[#250269] Subversion Ruby Bindings access to URL — "Jacob Burkhart" <igotimac@...>
So I struggled through the installation of swig, subversion and the
On Sat, May 05, 2007 at 12:35:09AM +0900, Jacob Burkhart wrote:
require 'svn/client'
Hi,
I am trying to authenticate to remote svn using the ruby bindings.
[#250282] Help with bigbnum — "Victor Reyes" <victor.reyes@...>
I am trying to use the following computation: 232582656(232582657-1)
You do realize the magnitude of number you're trying to calculate? There IS
On May 4, 2007, at 10:36 AM, Jason Roelofs wrote:
For the record, I am running ruby 1.86 under AIX 5.3.
[#250318] Playing with Webrick — El Gato <wmwilson01@...>
I know this is all possible with Rails, but I'm thinking about creating
[#250321] Noob Concatenation Q? — jervis@...2.ie (jervis@...2.ie)
Can someone briefly explain why ::
[#250331] Need advice for a script to scrap my Verizon account — Steve <zflyer@...>
I am new to Ruby. I would like to write a script that will login to
On Friday 04 May 2007 21:49, Steve wrote:
[#250358] Benchmark of marshalling performance — Sylvain Joyeux <sylvain.joyeux@...>
I had problems w.r.t. performance of Marshal.dump in one of my
[#250365] Ruby-based intro programming course? — Tom Payne <thp@...>
I'm considering switching from C++ to Ruby in our CS1 course. Does
[#250381] RubyCocoa Sheets - help anyone? — Tim Perrett <freestyle_kayaker@...>
Hey Guys
try NSSelectorFromString
Jacob Burkhart wrote:
On 5/5/07, Tim Perrett <freestyle_kayaker@hotmail.com> wrote:
Ok cool, that makes sense, so I would need to define a sheet method that
[#250394] A question for people with English OS — "Harry Kakueki" <list.push@...>
Can you view Japanese documents on the internet with an English OS
On 05/05/07, Harry Kakueki <list.push@gmail.com> wrote:
Harry Kakueki wrote:
On 5/7/07, Roseanne Zhang <roseanne@javaranch.com> wrote:
On 5/8/07, John Joyce <dangerwillrobinsondanger@gmail.com> wrote:
I use OS X with all the fonts installed. The biggest problem I have is
[#250414] SIMPLE! and INTUITIVE! GUI BUILDER for RUBY? — gcarcass <gcarcass@...>
Is there any, SIMPLE software that I can use to build GRAPHIC INTERFACES
On 5/5/07, gcarcass <gcarcass@gmail.com> wrote:
[#250439] How can I output an object/variable's name? — John Joyce <dangerwillrobinsondanger@...>
Suppose I have an object :
On 5/5/07, John Joyce <dangerwillrobinsondanger@gmail.com> wrote:
On 05.05.2007 23:19, John Joyce wrote:
John Joyce wrote:
[#250472] SAX2Parser, anyone? — "Krister Johnson" <kristerj@...>
Hi guys.
[#250478] how to define a method template — Nanyang Zhan <sxain@...>
Forgive me for the nonstandard words. I will describe my problem in
On 06.05.2007 10:36, Nanyang Zhan wrote:
On 5/6/07, Robert Klemme <shortcutter@googlemail.com> wrote:
[#250480] must I use Apache locally? —
Hello,
[#250487] dynamically named variables or Constants — "Tom V." <ruby-talk@...>
Hi,
Alle domenica 6 maggio 2007, Tom V. ha scritto:
Hi Stefano,
Alle domenica 6 maggio 2007, Tom V. ha scritto:
Hi Stefano,
On 5/6/07, Tom V. <ruby-talk@hinv.org> wrote:
"Logan Capaldo" <logancapaldo@gmail.com> wrote:
On 5/6/07, Tom V. <ruby-talk@hinv.org> wrote:
[#250498] fixnum, range and array into one single loop? — anansi <kazaam@...>
Hi,
[#250504] Simple Q: bit string -> integer — Todd Benson <toddkennethbenson@...>
Is there a simple way to induce a bit string into an
[#250538] ruby programming for the web — "Piett H." <seti_out@..._out.com>
Hi,
[#250551] passing by value of object of a model — "arjun ghosh" <arjun4ruby@...>
Hi,
[#250557] separate Chinese and English! with Ruby — Nanyang Zhan <sxain@...>
Don't get me wrong, because I just want to know how to separate English
On May 7, 2:39 pm, Nanyang Zhan <s...@hotmail.com> wrote:> Don't get me wrong, because I just want to know how to separate English> words from a string with ruby.> There are strings (UTF-8 encoded) to record people's name,> like:>> 摩根·弗里曼 Morgan Freeman> 布鲁斯·威利斯 Bruce Willis> 李小明 Lee xiao ming> these strings containing Chinese name(without space between characters),> separated by a space, following an English name>> or> Frank Darabont> Just an English name.>> Would you give me an idea how to separate these Chinese characters(if> any)?>> --> Posted viahttp://www.ruby-forum.com/.
On May 7, 4:12 pm, akbarhome <akbarh...@gmail.com> wrote:
Akbar Home wrote:
On May 7, 5:17 pm, Nanyang Zhan <s...@hotmail.com> wrote:
John Joyce wrote:
John Joyce wrote:
There is documentation:
Eden Li wrote:
On 08/05/07, Nanyang Zhan <sxain@hotmail.com> wrote:> Eden Li wrote:...> Thanks, Zev. but my current problem is about Chinese.> I am going to figure out a way to separate Chinese string from a string> mix with other characters.> What I mean other Characters are alphabets from English or/and other> languages, like Ô, é, á... (may I call them western words?)>> This string may be containing no Chinese:> "String without Chinese" ,I don't need to do anything about it, other> than identify such strings.> "中文 Western Words" #Chinese characters + space + western words.> "中文・另一些中文 western words" #Chinese characters may be separated by> punctuations, or/and space like:> "中文 前有空格 western words"> Almost all Chinese phrases are at the beginning of the strings.> But some may contain numbers, like:> "2007年的日记 diary of 2007"> or some time English or alphabets are used as part of Chinese> phrases,like:> "BB日记 diary of my baby">> Eden Li wrote:> > Nooo! Those are the first BYTES of the UTF-8 encoding of the> > punctuation that you listed.>> Finally, I know what those number are. Thanks.> >so if you remove them from a givenstring, you're going to get back a poorly encoded UTF-8 string>> In fact, I wanted to use those number to test whether a character is> Chinese or not (if 'character[0]' fit the range of [226, 228, 229, 230,> 231, 233, 239], then it was likely to be a Chinese). (Now I know it may> be wrong.)> Then depend on this judgment, if this part of string ( string would be> splited by space, divided into parts at the beginning) containing more> X%, say 60%, of this kind of characters, then I would mark this parts as> Chinese phrase, then take it out of string.>> I still want to use this strategy. but> As you point out, [226, 228, 229, 230, 231, 233, 239] are not safe to> identify Chinese, is there any other easy way to identify Chinese> characters?
Michal Suchanek wrote:
[#250563] HTML formated Ruby code — "Felipe Contreras" <felipe.contreras@...>
Hi,
[#250589] Natural language detection library — Thomas Nitsche <thomas.nitsche@...>
Hi,
[#250621] Why is my method not found? (NoMethodError) — anansi <kazaam@...>
Hi,
Your problem is that there is way too much nesting within your
Sorry. Neglected to provide the literal answer to your question.
Evan Light wrote:
It's a good habit that just writed *end* after you had writen "class,
[#250648] Live Coding in Ruby? — Alex Ciarlillo <ac251404@...>
I was wondering if anyone here has run across references for Live Coding
You mean like using IRB?
[#250662] ulaw audio over network — Earle Clubb <eclubb@...>
Does anyone know of a good way to stream ulaw audio (read from a file)
[#250665] Ruby Performance - LOW ? — conker <hkchao@...>
Hi All,
On May 7, 1:55 pm, conker <hkc...@gmail.com> wrote:
conker wrote:
On May 7, 2:55 pm, conker <hkc...@gmail.com> wrote:
On May 8, 6:09 pm, Jason <rsfr...@yahoo.com> wrote:
On May 10, 9:34 am, Jason <rsfr...@yahoo.com> wrote:
[#250677] rdoc on c and cpp files — ray <rayvinly@...>
Can I use rdoc to generate documentation for c and C++ sources? If
In message <1178575386.966256.131060@e65g2000hsc.googlegroups.com>, ray writes:
[#250702] Difference answers from Terminal, TextMate, and BBEdit — Greg <user@...>
A newbie here trying to develop one of Pine's tutorial scripts. Ruby v1.8.6
On 2007-05-07 20:37:31 -0700, Morton Goldberg <m_goldberg@ameritech.net> said:
On May 8, 2007, at 12:30 AM, Greg wrote:
On Tue, May 08, 2007 at 07:22:39PM +0900, Morton Goldberg wrote:
[#250744] wxRuby and wxGlade? — Guaton Carcass <gcarcass@...>
Hello:
On May 8, 3:08 am, Guaton Carcass <gcarc...@gmail.com> wrote:
[#250745] Pass data to a variable — "Seth .." <seth@...>
Hello,
On 5/8/07, Seth .. <seth@animejunkie.org> wrote:
Hi everyone!
On May 8, 2007, at 6:58 AM, Enrique Comba Riepenhausen wrote:
On 5/8/07, James Edward Gray II <james@grayproductions.net> wrote:
[#250770] general purpose chomp? — "Michal Suchanek" <hramrach@...>
I wonder why we do not have one. Or maybe I just overlooked something?
[#250802] Equality question — Brian Candler <B.Candler@...>
I am trying to use complex values as hash keys (they are actually method
Brian Candler wrote:
[#250821] basic threading question: can ruby use real threads? — "Kyle Schmitt" <kyleaschmitt@...>
I've read somewhere, and would love for it to be wrong, that ruby
On May 8, 2007, at 3:52 PM, Kyle Schmitt wrote:
Sweet, thanks for the link!
OK, so I'm reading that article, and I'm getting three things form it:
On Tuesday 08 May 2007 21:34, Kyle Schmitt wrote:
On Thu, 10 May 2007 01:00:04 +0900, Marcin Raczkowski <swistak@mailx.expro.pl> wrote:
On Wednesday 09 May 2007 18:27, MenTaLguY wrote:
If you fork, is there even a way to create objects that are shared
On Thu, 10 May 2007 04:03:57 +0900, "Kyle Schmitt" <kyleaschmitt@gmail.com> wrote:
Manipulating ruby objects from inside the threads would be the idea in
Bill Kelly wrote:
On Sat, 12 May 2007 03:46:58 +0900, Joel VanderWerf <vjoel@path.berkeley.edu> wrote:
MenTaLguY wrote:
On Thu, 10 May 2007 06:59:33 +0900, "Kyle Schmitt" <kyleaschmitt@gmail.com> wrote:
On Wednesday 09 May 2007 19:20, Gary Wright wrote:
[#250842] gem install specific version — barjunk <barjunk@...>
I know that I can do:
[#250847] Passing info to classes and methods — Greg <email@...>
Newbie here. Two steps forward and one back. I'm working through Pine's
[#250853] Password Echo — "Marc Soda" <marcantoniosr@...>
Anyone know of a way, aside from Ruby/Password, of suppressing echo
[#250856] Implementation of the object.sort method. — Jorge Domenico Bucaran Romano <jbucaran@...>
Hi,
[#250869] NMEA , request for real live sample — Bino Oetomo <bino@...>
Dear All ...
Dear Max and all
Bino Oetomo wrote:
[#250874] NetworkFacade 0.4 — Florent Solt <florent@...>
NetworkFacade is an alternative to DRb, XML/RPC and other REST api,
On Wed, May 09, 2007 at 05:28:56PM +0900, Florent Solt wrote:
On Wed, May 09, 2007 at 10:11:44PM +0900, Florent Solt wrote:
[#250890] newbie: assign values/array to variables — Mark V <mvyver@...>
Hi,
[#250918] How to generate HTML API doucment for ruby? — Alan <laji.inbox@...>
I googled the internet and didn't find any clear instructions I can
[#250934] How to write ruby in multiple lines — anakintang <anakintang@...>
All,
[#250941] Use of Double-Colon :: — robninja@...
Hi,
[#250947] What's the most ruby-ish way to write this python code? — Drew Olson <olsonas@...>
All -
On 09.05.2007 21:02, Drew Olson wrote:
On 5/10/07, Robert Klemme <shortcutter@googlemail.com> wrote:
[#250952] using dynamic method calling with attr_writer methods — Markus Hohenhaus <markush@...>
I'm a total Ruby newbie looking for help.
[#250966] installing the compiled binaries windows — gino <longinos10@...>
there's tow options for installing ruby on windows, the one clikc
[#250998] The Factory Method — Enrique Comba Riepenhausen <ecomba@...>
Hi everyone,
On 5/10/07, Enrique Comba Riepenhausen <ecomba@mac.com> wrote:
On May 10, 2007, at 1:56 AM, Enrique Comba Riepenhausen wrote:
On May 10, 2007, at 8:10 AM, Enrique Comba Riepenhausen wrote:
[#251006] Net::SSH exec command on remote host — saga99x <kenqcl@...>
I try to use Net::SSH to exec command on remote host. A session was
[#251017] instance_variables doesn't return unassigned variables — Bernd <burnt99@...>
Hi,
On Thursday 10 May 2007 06:00, Bernd wrote:
On 5/10/07, Jesse Merriman <jesse.d.merriman@gmail.com> wrote:
On 2007-05-11 06:58:48 +0900 (Fri, May), Robert Dober wrote:
[#251026] loop questions — Lloyd Linklater <lloyd@2live4.com>
I am new to ruby and loving it so far and have beginner's questions
[#251051] Trouble using string.tr() — Todd Burch <promos@...>
I've coded up EBCDIC to ASCII translate strings. Everything is working
On 10.05.2007 17:01, Todd Burch wrote:
Here are the two translate strings. Need more code? Thanks y'all.
Note, the version I'm showing has the backslash. It fails with or
On 10.05.2007 17:23, Todd Burch wrote:
I'll need to code up a smaller example than the 400+ lines I have right
Here a whole program that illlustrates the error. I'm running under
Here's another twist.
[#251052] regex \w allows non english characters — Ehud <ehudros@...>
Hi everyone...
On Fri, 11 May 2007 04:25:42 +0900, Kyle Schmitt wrote:
[#251083] Defending Ruby's OOP — Lucas Holland <hollandlucas@...>
Hi,
Tell him to find a more substantial argument. That's the lamest complaint I
On 5/10/07, Giles Bowkett <gilesb@gmail.com> wrote:
[#251105] self in blocks — Vasco Andrade e silva <vascoas@...>
Hi
On Fri, 11 May 2007 06:37:07 +0900, Vasco Andrade e silva <vascoas@gmail.com> wrote:
MenTaLguY wrote:
On Fri, 11 May 2007 07:06:29 +0900, Vasco Andrade e silva <vascoas@gmail.com> wrote:
On May 10, 4:21 pm, MenTaLguY <men...@rydia.net> wrote:
[#251109] to_a — Ari Brown <ari@...>
Howdy, jewel hunters
On 5/10/07, Ari Brown <ari@aribrown.com> wrote:
[#251131] Object-oriented solution to Tower of Hanoi — Daniel Waite <rabbitblue@...>
Hi all. First off, be gentle. I imagine what I'm about to present is
quoth the Daniel Waite:
[#251136] how to remove dups from 2 lists? — "Mike Steiner" <mikejaysteiner@...>
I'm trying to write some code that removes all elements from 2 lists that
On 11 May 2007, at 11:18, Mike Steiner wrote:
On 11.05.2007 06:46, Alex Gutteridge wrote:
On 11 May 2007, at 09:10, Robert Klemme wrote:
On Fri, May 11, 2007 at 04:55:14PM +0900, Enrique Comba Riepenhausen wrote:
Assuming my previous assumption of what exactly is needed... at this point
I envision using sets:
I am new to Ruby but I am wondering why it is that no one is using the
I think a big part of it is that there are variations in what we assume the
Kevin Compton wrote:
On 5/11/07, Lloyd Linklater <lloyd@2live4.com> wrote:
[#251140] ri — seebs@... (Peter Seebach)
So, I loaded Ruby on a NetBSD box, using whatever the defaults are
[#251143] from REALbasic > Terminal > RUBY ?! — Watanabe Carcass <carcass.dev@...>
Hello:
Watanabe Carcass wrote:
[#251175] DRb connection error with more than 250+ DRb services — "J. Wook" <9ruvie@...>
On Fri, May 11, 2007 at 05:25:45PM +0900, J. Wook wrote:
Brian Candler wrote:
On Fri, May 11, 2007 at 05:56:21PM +0900, Jung wook Son wrote:
Brian Candler wrote:
On Friday 11 May 2007 08:25, J. Wook wrote:
On 13/05/07, Marcin Raczkowski <swistak@mailx.expro.pl> wrote:
On 5/13/07, Michal Suchanek <hramrach@centrum.cz> wrote:
On 14/05/07, Francis Cianfrocca <garbagecat10@gmail.com> wrote:
[#251179] How to stop the ML sending my mails back to me? — "Felipe Contreras" <felipe.contreras@...>
I don't want to receive the messages I send, it screws my Gmail display.
On 5/11/07, Felipe Contreras <felipe.contreras@gmail.com> wrote:
On 5/11/07, Bill Guindon <agorilla@gmail.com> wrote:
On 5/11/07, Greg Donald <gdonald@gmail.com> wrote:
[#251193] Ramaze 0.1.0 — "Michael Fellinger" <m.fellinger@...>
This is a one-time post to announce the creation of the Ramaze project, an open
[#251195] ANN: RubyGems 0.9.3 Released — Jim Weirich <jim@...>
= Announce: RubyGems Release 0.9.3
[#251200] Huffman Encoder (#123) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
My solution is pastied and included below:
2007/5/15, Ball, Donald A Jr (Library) <donald.ball@nashville.gov>:
[#251201] Is there a possibility to include methods of a class? — Bernd <burnt99@...>
Hi all,
On Fri, May 11, 2007 at 10:29:01PM +0900, Bernd wrote:
Brian Candler wrote:
[#251211] shebang - what's the point? — Todd Burch <promos@...>
I've written a few hundred scripts now, and not once have I ever coded a
[#251222] Any JRUBY programmers out there? Problems specifying RUBYLIB with jruby. — "Ronald Fischer" <ronald.fischer@...>
I would like to run jruby on either pure Windows, or Cygwin. This works
[#251276] Reading materials — Concours <sadamo@...>
I've recently been turned on to Ruby and Rails, and after some
[#251306] example of Net:HTTP::Put ? — Chris McMahon <christopher.mcmahon@...>
[#251311] Need help — Aaron <Aaron2Ti@...>
I got this error in Ubuntu when i wanted to use parseexcel .
[#251320] ANN: Swiftiply 0.5.0 — khaines@...
I'd like to announce the first public release of Swiftcore Swiftiply, a
[#251322] compare between languages — anoosh <paytam@...>
what is the advantages and disadvantages of ruby vs. other programming
HI,
[#251335] Why was the "Symbol is a String"-idea dropped? — enduro <sven613go@...>
Hello,
On Sat, May 12, 2007 at 04:20:10PM +0900, enduro wrote:
On 5/12/07, Trans <transfire@gmail.com> wrote:
On 5/12/07, Rick DeNatale <rick.denatale@gmail.com> wrote:
Just wanted to point out that the original question is why Ruby core
On 5/13/07, Xavier Noria <fxn@hashref.com> wrote:
Hi,
Thank you all for your replies.
On 15.05.2007 03:07, enduro wrote:
On Tue, May 15, 2007 at 10:07:24AM +0900, enduro wrote:
Hello Brian,
On Tue, May 15, 2007 at 06:42:04PM +0900, enduro (Sven Suska) wrote:
On 5/15/07, Brian Candler <B.Candler@pobox.com> wrote:
On 15.05.2007 15:54, Robert Dober wrote:
On 5/15/07, Robert Klemme <shortcutter@googlemail.com> wrote:
On Tue, May 15, 2007 at 10:54:05PM +0900, Robert Dober wrote:
On Wed, May 16, 2007 at 12:23:09AM +0900, Gary Wright wrote:
Hello everybody,
On 5/16/07, Trans <transfire@gmail.com> wrote:
Hi --
On 5/16/07, dblack@wobblini.net <dblack@wobblini.net> wrote:
Hi --
On Fri, May 18, 2007 at 03:17:01AM +0900, dblack@wobblini.net wrote:
On 5/18/07, Paul Brannan <pbrannan@atdesk.com> wrote:
On 5/18/07, Rick DeNatale <rick.denatale@gmail.com> wrote:
On 5/18/07, Robert Dober <robert.dober@gmail.com> wrote:
On Sat, May 19, 2007 at 08:28:24AM +0900, Rick DeNatale wrote:
On 5/19/07, Brian Candler <B.Candler@pobox.com> wrote:
On 5/15/07, enduro <sven715rt@suska.org> wrote:
Ooops!
On 5/15/07, enduro (Sven Suska) <sven715rt@suska.org> wrote:
Not responding to any particular posting.
[#251340] Shift Operators - I don't get it? What's the application?!? — "Human Dunnil" <h.dunnil@...>
Hello folks,
It's not what you think. Not always.
Thanks for the info, I knew << method is implemented by different
[#251345] textpow 0.9.0 Released — "Dizan Vasquez" <dichodaemon@...>
I have the pleasure to announce the first public release (v 0.9.0 ) of
[#251346] Distributed Ruby/Threads/Rinda? — Enrique Comba Riepenhausen <ecomba@...>
Hello all,
[#251347] ultraviolet 0.9.0 Released — "Dizan Vasquez" <dichodaemon@...>
I have the pleasure to announce the first public release of ultraviolet.
On 5/12/07, Dizan Vasquez <dichodaemon@gmail.com> wrote:
On 5/18/07, Felipe Contreras <felipe.contreras@gmail.com> wrote:
On 5/18/07, Rick DeNatale <rick.denatale@gmail.com> wrote:
[#251352] ruby quiz — anansi <kazaam@...>
hi what is with this weeks ruby quiz? it's posted on
[#251366] Queue, with timeout. (Thread.notify...) — "Tim Becker" <a2800276@...>
Hi,
[#251370] Writing A Ruby Shell — "Philip W." <likelink@...>
Hello all,
[#251404] Algorithm books for Ruby (was Re: Object-oriented solution to Tower of Hanoi) — "Rick DeNatale" <rick.denatale@...>
On 5/12/07, Martin DeMello <martindemello@gmail.com> wrote:
On 5/13/07, Rick DeNatale <rick.denatale@gmail.com> wrote:
quoth the Martin DeMello:
On 5/13/07, darren kirby <bulliver@badcomputer.org> wrote:
Rick DeNatale schrieb:
On 5/14/07, Florian Frank <flori@nixe.ping.de> wrote:
Florian Frank wrote:
On 5/15/07, M. Edward (Ed) Borasky <znmeb@cesmail.net> wrote:
[#251422] Re: Distributed Computing in Ruby — Phy Prabab <phyprabab@...>
Well, being that I am in the same boat both as a noobie and someone wanting parallel processing, look at RINDA (think linda but for Ruby e.g. black board and tuple space or if you are a Java fan, think java spaces) and drb. It is exceptionally easy to use.
On Sunday 13 May 2007 05:01, Phy Prabab wrote:
[#251448] sleep 0.2 acts more like sleep 1 — Richard <RichardDummyMailbox58407@...>
Hi,
Have a look at the win32-sound gem. It may already be installed, if
Hi Gordon,
[#251463] Thinking about Ruby... — Noble <NobleBell@...>
I am thinking about looking into Ruby and also RoR. Right now I
Noble wrote:
Alex Fenton:
[#251466] Can't get basic CGI and Form submission working — Toby Rodwell <ruby@...>
I'm not a programmer, but like to use Ruby for writing simple programs,
In message <93ab45c89b36bb0934def101c1a81917@ruby-forum.com>, Toby Rodwell writes:
[#251518] JRUBY does not find installed gem — "Ronald Fischer" <ronald.fischer@...>
It seems that I am hunted with library search problems....
On 5/14/07, Ronald Fischer <ronald.fischer@venyon.com> wrote:
[#251521] slow file access with mapped drives ?! — "Rebhan, Gilbert" <Gilbert.Rebhan@...>
On 14.05.2007 12:05, Rebhan, Gilbert wrote:
[#251540] Yet Another Software Challenge — Thierry <machicoane@...>
For those interested in <b>programming riddles</b>, I would like to
On 5/14/07, Thierry <machicoane@gmail.com> wrote:
On 5/15/07, Rick DeNatale <rick.denatale@gmail.com> wrote:
On 5/15/07, Robert Dober <robert.dober@gmail.com> wrote:
[#251553] Anyone subscribed to a *JRuby* mailing list? — "Ronald Fischer" <ronald.fischer@...>
I am looking for a specific JRuby mailing list.
On 5/14/07, Ronald Fischer <ronald.fischer@venyon.com> wrote:
[#251555] buffer error while executing gem — "Ronald Fischer" <ronald.fischer@...>
Hello,
[#251562] Ruby Inheritance Question — Mike Hamilton <mikehamiltonca@...>
I'm very confused at the moment regarding inheritance. I have a class
[#251571] cygwin: no such file to load -- ubygem — "Ronald Fischer" <ronald.fischer@...>
I now have - thanks to the help of many readers of this mailing list -
I had that problem too. I don't quite remember how I fixed it, but I
[#251588] Financial Information exchange (FIX) protocol and ruby — dima <dejan.dimic@...>
Does anybody have worked with quickfix or any other Financial
On May 14, 8:24 pm, dima <dejan.di...@gmail.com> wrote:
[#251595] Time range help — Mike Hamilton <mikehamiltonca@...>
I have 2 time objects and want to iterate over them by day. I figured
Does it have to be a time object? Date has some methods that will do what
[#251603] Allow back reference with nest level in Oniguruma for Ruby again — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <wonado@...>
Hello dear Ruby folks!
I have one question, because there is no reaction to this post:
[#251629] Ruport 1.0, After almost 2 years! — "Gregory Brown" <gregory.t.brown@...>
== Ruby Reports (ruport) 1.0 ==
[#251633] Ruby distribution woes - bz2 lib and mongrel — Stian Haklev <shaklev@...>
Hi everyone,
Dear all,
[#251658] ARP requests — ninny <ninny12@...>
Hello,
On 5/15/07, ninny <ninny12@hotmail.com> wrote:> Hello,>> I have a project to do in ruby witch consist in recover the ARP requests> (who-has) on my local network and take the IP address if nobody answer> to the ARP requests.> I know identify an ARP request with "pcap" but I don't know how to take> the IP address.
[#251683] Problem loading files in Ruby CGI scripts — Toby Rodwell <ruby@...>
This is not a Ruby problem as such, but I'm hoping someone will have
[#251715] Coexistency Problem: cygwin + Ruby for Window (and suggestion for improving the Ruby installer) — "Ronald Fischer" <ronald.fischer@...>
I just would like to point out a problem when installing Ruby for
Hi,
> Doesn't that readline.dll have the default value of INPUTRC?
Hi,
> I imagined if it might read any fallback file like
[#251717] Regex html — "M. R." <ribi@...>
Hi everybody
[#251726] SketchUp Ruby API — Rich Morin <rdm@...>
I've seen no mention of SketchUp in this forum, so it may
[#251727] thread-safe ANSI-C ruby needed to replace lua — jeff_alexander_44@...
[#251733] what's the most common library for Ruby image processing? — Yingqi Tang <anakintang@...>
All,
[#251753] how to determine if a string is printable? — "Mike Steiner" <mikejaysteiner@...>
Is there an easy way to test if a string is printable (doesn't contain
[#251756] rb_yield(), semaphores and 'break' — neverland@... (Pete)
[#251795] Trouble with system() on SunOS — galevsky <galevsky@...>
Hi all,
[#251797] Why doesn't a renamed file adhere to an original variable? — Peter Bailey <pbailey@...>
I need to send some graphics file over to UNIX land, but, without an
[#251800] Parsing output — anon1m0us <anon1m0us@...>
Hi; I have a command to obtain all the groups a user is part of. The
[#251829] Some Ruby Features missing... — edlich@...
To start a new Ruby Project I need some more features that I know
[#251842] self.included question — "Dave Hoefler" <dhoefler@...>
Hi there,
[#251845] Can't get subgroup of regex to repeat with +... what the ? — Jon <exabrial@...>
I'm trying to match these kinds of malformatted xml tags. I'm beginning
Jon wrote:
[#251850] overloading sort_by (blocks question) — Dan Zwell <dzwell@...>
Hi, all,
[#251866] CGI and re-direction — Toby Rodwell <ruby@...>
I have written a simple CGI script. It loads in an object, and prints
[#251879] Coopting String interpolation — aurelianito <aurelianocalvo@...>
We all know the #{} operator for String interpolation.
From: aurelianito [mailto:aurelianocalvo@gmail.com] :
# irb(main):005:0> greeting="hi, #{"Ms "+name.capitalize}"
On 17.05.2007 07:09, aurelianito wrote:
> > I'm trying to do some metaprogramming and I need to apply some
[#251892] Problem removing new line characters on Mac OS X — Singeo <singeo.sg@...>
Hi, I'm pretty new to Ruby. I've got a text file where I need to
Singeo wrote:
Singeo wrote:
Hi Hermann, just tried your suggestion of:
Singeo wrote:
Hermann, I followed Sebatian's advice to use print instead of puts and
On 5/17/07, Singeo <singeo.sg@gmail.com> wrote:
[#251893] Re: Memory-mapped persistent hash? — Brian Candler <B.Candler@...>
On Thu, May 17, 2007 at 03:48:07PM +0900, Bill Kelly wrote:
[#251906] TreeWidgetItem problem — Miquel <ktalanet@...>
Hi there
[#251908] "Crystallizing" Objects — Sven Suska <sven715rt@...>
Hello,
On 17.05.2007 11:55, Sven Suska wrote:
On 5/18/07, Robert Klemme <shortcutter@googlemail.com> wrote:
Hello Robert,
Sven Suska schrieb:
[#251939] Streams of bits — Richard Fairhurst <richard@...>
Hi,
[#251951] Question for those developing GUI apps with Ruby — Karl von Laudermann <doodpants@...>
This is a question for those of you who use Ruby to develop GUI-based
[#251955] Seeking C# references about Ruby Code block functionality — dkmd_nielsen <donn@...>
I have two rather simple class methods coded in Ruby...my own each
[#251965] quick question about @ and @@ — "Mike Steiner" <mikejaysteiner@...>
What's the difference between @ and @@? Specifically, which should I use if
[#251987] Bug in Dir.glob in 1.8.6 on Windows? — Thomas Leitner <thomas.leitner@...>
Hi,
[#251990] rubyforge etiquette for dead projects — "Nasir Khan" <rubylearner@...>
Apologies if this is not the right forum for this, but this surely has
On May 17, 12:55 pm, "Nasir Khan" <rubylear...@gmail.com> wrote:
On 5/17/07, Phil Tomson <philtomson@gmail.com> wrote:
> The project's owner owns the copyrights and if he didn't
[#251992] questions about reimplementing core classes — "Ball, Donald A Jr (Library)" <donald.ball@...>
I had reason to need a sorted map recently and thought it might be a
[#252013] Simulating single assignment in Ruby — Daniel Berger <djberg96@...>
Hi,
[#252034] Why not adopt "Python Style" indentation for Ruby? — Chris Dew <cmsdew@...>
As far as I can see, the 'end' keyword is 'repeating yourself' when
Hi,
On 18/05/07, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
Dear Mats,
Frasier Mruby wrote:
James, thank you for you fast response.
I've thought that one rather likes the structure of a language learned
Hi --
I code in ruby and c++.
Hi --
I have to mention in the first line of each post. I agree the idea of
Frasier Mruby wrote:
I have to say bluntly I completely disagree with this. It's an
Hi --
"Yukihiro Matsumoto" <matz@ruby-lang.org> wrote in message
Hi,
Dnia Fri, 18 May 2007 16:38:05 +0900, Yukihiro Matsumoto napisaa):
Hi,
Yukihiro Matsumoto wrote:
Chris Dew <cmsdew@googlemail.com> writes:
Hi,
On 5/18/07, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
On 5/18/07, Eric Mahurin <eric.mahurin@gmail.com> wrote:
On May 18, 12:19 pm, "Eric Mahurin" <eric.mahu...@gmail.com> wrote:
On 5/18/07, gga <GGarramuno@aol.com> wrote:
On May 18, 3:50 pm, "Austin Ziegler" <halosta...@gmail.com> wrote:
Eric Mahurin schrieb:
On May 18, 4:23 am, Chris Dew <cms...@googlemail.com> wrote:
On Sun, May 20, 2007 at 12:05:06AM +0900, Brendan wrote:
Chad Perrin wrote:
On 19.05.2007 20:48, M. Edward (Ed) Borasky wrote:
On 20/05/07, znmeb@cesmail.net <znmeb@cesmail.net> wrote:
On 5/20/07, Dick Davies <rasputnik@gmail.com> wrote:
On 2007-05-20 20:45:59 -0700, gga <GGarramuno@aol.com> said:
On 6/1/07, Erik Hollensbe <erik@hollensbe.org> wrote:
On 6/1/07, Rick DeNatale <rick.denatale@gmail.com> wrote:
> Ruby code is reasonable or readable with "END". And I agree a better
Why not go coffeescript style and create a preprocessor gem that
On Mon, Jul 29, 2013 at 03:39:02PM +0900, Juha K. wrote:
Darryl Pierce wrote in post #1117018:
[#252048] Recursive directory listing — Jesper <jesper@...>
Hello,
[#252052] URI::merge bug? — Alex Young <alex@...>
Hi all,
Alex Young <alex@blackkettle.org> writes:
Daniel Martin <martin@snowplow.org> writes:
Hi,
Nobuyoshi Nakada <nobu@ruby-lang.org> writes:
[#252054] rubyscript2exe - Darwin — Matteo Gavagnin <matteo.gavagnin@...>
I'm developing an application in rails for manage a restaurant and the
[#252060] Magic Squares (#124) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
On May 18, 6:57 pm, Ruby Quiz <j...@grayproductions.net> wrote:
I heard that this approach only works with every other odd sided square.
This is my solution. It only does odd magic squares, but it can generate =
[#252062] Why does Array#first not use rb_ary_subseq? — Stefan Rusterholz <apeiros@...>
Hi there
Hi,
[#252085] Begineer question — jim o <jamesoyim@...>
I have had a horrible time googling this as I get too many hits back that don't apply.
jim o wrote:
[#252112] Who is using DBI or oci8 in production systems — "Ben Edwards" <funkytwig@...>
I am doing a bit of research on accessing Oracle from Ruby. It seems
[#252114] A bit of help — Acoole Cooland <andrewchinna@...>
Ok say i was using this code using SciTE
[#252165] multimimensional arrays - i am not getting it.. — Sergio Ruiz <sergio@...>
let me just give a blip of what i am getting...
[#252170] String#index/include limitation in number of characters — Eu Fe <eustf@...>
Do you understand why the last include gives false ?? It seems that the
In message <ac257f8491787a98f4f606a8d556861d@ruby-forum.com>, Eu Fe writes:
Maybe my platform or interpreter ??? That's really weird:
[#252187] PrettyPrint to a web page? — "Mario T. Lanza" <mlanza@...>
This is gonna sound like a dumb question to you Ruby veterans, but: How
[#252192] Why "NoMethodError" occurs — "gao bo" <gaob06@...>
hi, everyone
[#252215] Dynamically creating ruby source files — Matt Gretton <matthew.gretton@...>
Hello all,
[#252221] Can RubyInline and Cygwin's gcc work together? — Guillermo Alcantara <guillermo.alcantara@...>
Hi, I'm trying to use RubyInline in winxp. I discovered that one needs
On 5/19/07, Guillermo Alcantara <guillermo.alcantara@gmail.com> wrote:
[#252229] Block Trouble (Binding Issue?) — "Pieter V." <pvande@...>
I'm presently trying to work on a little metaprogramming project, but
[#252232] run a command on shell with ruby — Corpus Callosum <pythagorasthales@...>
hi guys,
On 5/19/07, Corpus Callosum <pythagorasthales@yahoo.com> wrote:
[#252249] Calling a block with parameters in a new scope — Ruby Talk <rubytalk@...>
Calling a block in a new scope is easy enough:
[#252251] Lone Star Ruby Conf 2007 — Jim Freeze <jim@...>
Howdy
On Sun, May 20, 2007 at 03:19:57PM +0900, Jim Freeze wrote:
[#252282] why no MatchData#match ? — "Martin DeMello" <martindemello@...>
I use MatchData infrequently enough that I keep being thrown by the
[#252314] Emergency help is needed — anoosh <paytam@...>
Hi all
[#252335] Re: [QUIZ] Magic Squares (#124) — "David Tran" <email55555@...>
#---------------------------------------------------------------#
Updated.
Hi,
Hey,
On May 21, 9:26 am, "doug meyer" <doug.me...@sigeps.org> wrote:
[#252345] Re: How to adopt "Python Style" indentation for Ruby — Brian Candler <B.Candler@...>
On Mon, May 21, 2007 at 03:53:25PM +0900, Giles Bowkett wrote:
bbiker wrote:
On 5/21/07, Brad Phelan <phelan@tttech.ttt> wrote:
Eric Mahurin wrote:
On 5/21/07, Brad Phelan <bradphelan@xtargets.com> wrote:
Brad Phelan wrote:
Hi --
dblack@wobblini.net wrote:
[#252349] Timeout accessing .Net Webservice via POST or GET — Achim Domma <domma@...>
Hi,
[#252352] using Enumerable when each has arguments? — "Erwin Abbott" <erwin.abbott@...>
Hi
On 21.05.2007 15:27, Trans wrote:
On 21.05.2007 17:51, Trans wrote:
On May 21, 2007, at 10:55 AM, Robert Klemme wrote:
On 5/21/07, Trans <transfire@gmail.com> wrote:
[#252355] Simple Q: object creation to be determined by incoming data — "Todd Benson" <caduceass@...>
I'm almost embarrassed to ask this, because I'm bound to be pointed to some
[#252368] Need some help.. — "Disha Tamhane" <disha.tamhane@...>
Hi,
On 5/21/07, Disha Tamhane <disha.tamhane@gmail.com> wrote:
[#252389] Segmentation Fault when using MySql from Ruby - please help — "Ronald Fischer" <ronald.fischer@...>
Hello,
[#252398] Wikipedia Bot — Peter Marsh <evil_grunger@...>
I'm planning on writing a simple Wikipedia Bot, but I'm having a little
Peter Marsh wrote:
Dan Zwell wrote:
> That's the thing, I've tried that but I can't find 'sign in' 'sign out'
On 5/22/07, Christian Luginbuehl <dinkel@pimprecords.com> wrote:
Rick DeNatale wrote:
Ryan Davis wrote:
On 5/22/07, Peter Marsh <evil_grunger@hotmail.com> wrote:>> Pywikipedia looks pretty promising - since I'm learning Ruby I may as> well learn Python!>
[#252411] signature — Lloyd Linklater <lloyd@2live4.com>
I apologize for not knowing where to post this. I want to have a
[#252425] Ruby on Rails in Eclipse — "Mellissa.McConnell@..." <Mellissa.McConnell@...>
Hello,
[#252441] There's gem chocolate in my profiling peanut butter! — Daniel Berger <djberg96@...>
Hi all,
Daniel Berger wrote:
On May 21, 2007, at 15:11, Joel VanderWerf wrote:
[#252454] ruby libnet — Ari Brown <ari@...>
hey,
could you get it to work to send a SYN packet?
On May 22, 2007, at 3:35 AM, anansi wrote:
James:
James Edward Gray II wrote:
[#252468] Oddities of Ruby to a noob — "Hakusa@..." <Hakusa@...>
I have some good experience in other languages and consider myself a
On 5/21/07, Hakusa@gmail.com <Hakusa@gmail.com> wrote:
> Look what you've written:
[#252489] Partial Regular Expression Matching — Hans Fugal <fugalh@...>
I would like to identify partial matching of a regular expression, for a
On Tue, May 22, 2007 at 03:20:04PM +0900, Hans Fugal wrote:
Brian Candler wrote:
On 5/22/07, Hans Fugal <fugalh@zianet.com> wrote:
Rick DeNatale wrote:
[#252490] Can I open RAR files? — Xarc <Shark234@...>
Hi!
[#252494] where does the syntactic sugar get defined? — Key Bern <keybern@...>
Where exactly does the syntactic sugar get defined in Ruby? Is it
From: list-bounce@example.com [mailto:list-bounce@example.com] On Behalf Of
[#252504] she method "gets" doesn't work... — Fabio <povoas@...>
I've just started learning Ruby and the method "gets" is not working.
[#252510] bug in ruby — sairam MP <sai438@...>
class Foo
[#252530] Gmail atom feed — "Fred Phillips" <fophillips1990@...>
I'm trying to use basic auth to retrieve my Gmail atom feed but I keep on
On Wed, May 23, 2007 at 12:01:14AM +0900, Fred Phillips wrote:
[#252555] Two Installations of Ruby — highlyjhi <highlyjhi@...>
I'm running Mac OS 10.4.9 with Ruby 1.8.2 installed by default. I
Type this into terminal:
Great! But when I close Terminal it's back to the default. How do I
Ah right, forgot about that. edit your ~/bashrc file to read:
Fred Phillips wrote:
On 5/22/07, Sebastian Hungerecker <sepp2k@googlemail.com> wrote:
[#252571] RubyCocoa 0.11.0 — "Laurent Sansonetti" <laurent.sansonetti@...>
Hi,
[#252583] string -> symbol — mike.cahill@...
ok - i'm officially an idiot.
From: mike.cahill@comcast.net [mailto:mike.cahill@comcast.net]
[#252584] behavior of -rsomegem differs from require 'somegem' — Jeremy Hinegardner <jeremy@...>
I just encountered something today and I'm not sure if this should be
[#252589] Uniform Random Number Generator — "Roland Mai" <roland.mai@...>
I need a random number generator that generates random numbers with a
Roland Mai wrote:
[#252591] Analysing ruby code — cypher.dp@...
Hello everybody !
[#252625] Substituting variables in a method — "Michael W. Ryder" <_mwryder@...>
I am trying to figure out how to pass variables for the parameters to a
On 5/23/07, Michael W. Ryder <_mwryder@worldnet.att.net> wrote:
On 5/22/07, Harry Kakueki <list.push@gmail.com> wrote:
[#252628] Confusing array garbage collection, how to get valid heap snapshot? — Greg Fodor <gfodor@...>
We are working on tracking down a memory leak, and are hoping to use
Hi,
[#252639] test/unit autorun fails to set exit status on failure — John Carter <john.carter@...>
Consider the elementary unit test that fails...
On 5/22/07, John Carter <john.carter@tait.co.nz> wrote:
[#252641] problem appending to arrays in a hash of arrays — "Mike Steiner" <mikejaysteiner@...>
I'm trying to create a hash with each element being an array (initially
On 5/22/07, Mike Steiner <mikejaysteiner@gmail.com> wrote:
On 5/22/07, Chris Carter <cdcarter@gmail.com> wrote:
[#252645] Enumerator for Hash — Ryan Hinton <iobass@...>
I have a complex object that I want to hash in different ways, similar
On 23.05.2007 04:59, Ryan Hinton wrote:
[#252655] A very early Ruby problem.. — Jonndailey <JonnDailey@...>
In Chris Pine's book, "Learn to Program", he asks you to write a small
[#252671] storing boolean flags in numbers — Sebastian probst Eide <sebastian.probst.eide@...>
I might sound completely dumb asking this question, but well, I'll risk
In message <f15b00519ae6326d2171a8a162995dbd@ruby-forum.com>, Sebastian probst Eide writes:
[#252679] Coverage!!! — Koustubh Joshi <jkoustubhin@...>
Hi,
[#252685] can I do windows shell scripting in ruby? — davy.bold@...
Hello,
On 5/23/07, davy.bold@googlemail.com <davy.bold@googlemail.com> wrote:
On 23 Mai, 14:46, "Jano Svitok" <jan.svi...@gmail.com> wrote:
davy.bold@googlemail.com wrote:
Jano Svitok wrote:
Just a thought, there are versions of Perl, Rexx and Python that works
[#252706] require_gem vs. gem — Dennis Crissman <dcrissman@...>
I am confused, can somebody please explain to me the difference between
[#252720] Regexp challenge — Casimir Pohjanraito <pikselNOSPAMMi@...>
Just out of curiosity, for fun:
On May 23, 2007, at 11:14 AM, Casimir Pohjanraito wrote:
[#252747] Ruby Header Files in Mac OS X — Ari Brown <ari@...>
[Snow-iMac:~/Desktop/Programming/rubyforger] ari% ruby extconf.rb
On May 23, 2007, at 4:51 PM, Henry Maddocks wrote:
Ari Brown wrote:
Ari Brown wrote:
Henry Maddocks wrote:
[#252748] Odd Regexp Issue — Kyle Heck <dbcoder@...>
I'm writing a web crawler, and in that crawler I want to remove all
Kyle Heck wrote:
[#252761] optimizing for speed - Array#each — "Mike Steiner" <mikejaysteiner@...>
I ran the profiler on my program and it said that 51% of the time is spent
Mike Steiner wrote:
On 24.05.2007 00:15, Stefan Rusterholz wrote:
[#252769] Getting a Ruby script to run on a colleague's Mac — Sharon <sharon_machlis@...>
I wrote a Ruby script that's working fine on my own Windows machine at
[#252773] gembuilder 1.1.3 Released — "Patrick Hurley" <phurley@...>
## SYNOPSIS:
On 5/23/07, Patrick Hurley <phurley@gmail.com> wrote:
> On 5/23/07, Patrick Hurley <phurley@gmail.com> wrote:
On 5/24/07, benjohn@fysh.org <benjohn@fysh.org> wrote:
On 5/24/07, Francis Cianfrocca <garbagecat10@gmail.com> wrote:
On 5/23/07, Patrick Hurley <phurley@gmail.com> wrote:
[#252774] override def method in CGI class, without altering the class!?????? — "Jer A" <jeremygwa@...>
[#252793] temporary require ,is it possible? — Gpy Good <gpygood@126.com>
I have a idea,it is "temporary require"
On Thu, May 24, 2007 at 06:03:22PM +0900, Gpy Good wrote:
[#252795] Problem with REXML — Jim Kr <jim.kronhamn@...>
[#252822] Ruby, OptionParser and multiple flags — LDC - Jairo Eduardo Lopez <jairo@...>
Hello all,
[#252823] Problem with Net/HTTP — Peer Allan <peer@...>
Hi all,
On Fri, May 25, 2007 at 01:21:04AM +0900, Peer Allan wrote:
[#252825] virtual metaclasses explanation — "angel.of.north@..." <angel.of.north@...>
I am getting a bit weighed down at this moment by looking under the
[#252836] Ruby - Debugging — "How do I use the ruby default debugger?" <jbucaran@...>
How do I use the ruby default debugger?
On Fri, 25 May 2007, How do I use the ruby default debugger? wrote:
Tomas Pospisek's Mailing Lists wrote:
On 25 May 2007, at 11:37, Jorge Domenico Bucaran Romano wrote:
Alex Gutteridge wrote:
Also, why does it shows this:
On 25 May 2007, at 12:18, Jorge Domenico Bucaran Romano wrote:
Is it necessary to load the rubygems when debugging? Why do I need this?
It is not working look at this:
On 25 May 2007, at 13:18, Jorge Domenico Bucaran Romano wrote:
C:\Users\jbucaran>ruby -rdebug c:\users\jbucaran\desktop\demo2.rb
On Fri, 25 May 2007, Jorge Domenico Bucaran Romano wrote:
On 25 May 2007, at 15:42, Tomas Pospisek's Mailing Lists wrote:
On Fri, 25 May 2007, Alex Gutteridge wrote:
On 25 May 2007, at 16:50, Tomas Pospisek's Mailing Lists wrote:
On Fri, 25 May 2007, Alex Gutteridge wrote:
Yes I googled it and I have found no help. I can't believe none can
[#252841] sending data, no strings via socket — Javier None <javierisassi@...>
I'm trying to send data like
[#252842] Installing 1.8.6 from source on RHEL4 x86_64 — Costas <c_piliotis@...>
I've been fiddling with installing each of the stable snapshot and the
On May 24, 1:11 pm, Costas <c_pilio...@yahoo.com> wrote:
[#252857] Introducing the "it" keyword — Greg Fodor <gfodor@...>
A common pattern seen in a lot of ruby code is:
Hi --
> Maybe you could do:
Greg Fodor wrote:
> How about something like: return $1 if (v + 1) < 10 if you wanted to
Greg Fodor wrote:
Hi --
dblack@wobblini.net wrote:
Well, you can do something very similar without changing ruby:
> puts "User: #{it}" if (it=opts[:user]).
Greg Fodor wrote:
> While we're at it I have another use for "it" I'd appreciate very
Hi,
On Fri, May 25, 2007 at 04:58:08PM +0900, Ronald Fischer wrote:
On 5/25/07, Gregory Seidman <gsslist+ruby@anthropohedron.net> wrote:
> > A more
On Tue, May 29, 2007 at 04:55:01PM +0900, Ronald Fischer wrote:
On 29 May 2007, at 14:17, Gregory Seidman wrote:
Eleanor McHugh wrote:
On Thu, May 31, 2007 at 11:30:30AM +0900, Michael W. Ryder wrote:
Chad Perrin wrote:
On Thu, May 31, 2007 at 03:40:16PM +0900, Michael W. Ryder wrote:
Would a let or with construct be fast enough and memory efficient
consider the clarity of reading these:
On 2007-05-31 21:32:28 +0900 (Thu, May), Jacob Burkhart wrote:
On Thu, May 31, 2007 at 10:21:49PM +0900, Mariusz P??kala wrote:
> Of course, I might find the with:a(v+1) syntax more readable if it were
On Fri, Jun 01, 2007 at 10:45:33PM +0900, Jacob Burkhart wrote:
On Fri, Jun 01, 2007 at 10:45:33PM +0900, Jacob Burkhart wrote:
On 2 Jun 2007, at 01:09, Chad Perrin wrote:
On 5/31/07, Eleanor McHugh <eleanor@games-with-brains.com> wrote:
On 31 May 2007, at 06:35, Robert Dober wrote:
On 24.05.2007 23:35, Greg Fodor wrote:
> And don't tell me that this is too much typing for you.
On 25.05.2007 10:21, Greg Fodor wrote:
On 25.05.2007 11:40, Robert Klemme wrote:
On 5/26/07, Robert Klemme <shortcutter@googlemail.com> wrote:
On 26.05.2007 23:37, Robert Dober wrote:
On 5/27/07, Robert Klemme <shortcutter@googlemail.com> wrote:
On 27.05.2007 11:46, Robert Dober wrote:
On 5/27/07, Robert Klemme <shortcutter@googlemail.com> wrote:
[#252870] Ruby programming challenges and riddles? — "Hakusa@..." <Hakusa@...>
I recently fell in love with programming riddles and was told that
On Fri, 25 May 2007, Hakusa@gmail.com wrote:
Hakusa@gmail.com wrote:
Stefan Rusterholz wrote:
Drew Olson wrote:
[#252887] gem update — Jacquie Fan <trinity_lcx@...>
Hi,all I tried to do
[#252938] Replacement idiom for "list_or_nil.to_a"? — Rich Morin <rdm@...>
Many scripting languages, including Ruby, will "do nothing
[#252956] Bus error / abort trop with latest sources — Ollivier Robert <roberto@...>
Hello,
In article <200705251323.l4PDN9LZ005705@sharui.nakada.kanuma.tochigi.jp>,
[#252961] Fractals (#125) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
On May 25, 2007, at 9:18 AM, Ruby Quiz wrote:
On May 25, 2007, at 6:53 PM, Morton Goldberg wrote:
[#252971] Memory leak — Sebastian probst Eide <sebastian.probst.eide@...>
Hi
Why is it inside a while loop?
[#252975] Array troubles — "Hakusa@..." <Hakusa@...>
I'm converting a Java calculator program I wrote into Ruby--which,
[#252989] web apps in Ruby — Orhan Erten <oerten@...>
Hello,
[#253001] Mocking Net::HTTP — Enrique Comba Riepenhausen <ecomba@...>
I am currently finishing up a release of Rannel, a library for
On 25/05/07, Enrique Comba Riepenhausen <ecomba@mac.com> wrote:
[#253005] Pipes and flush — Stephan Wehner <stephanwehner@...>
So I wrote a little Ruby script using pipes roughly like this
[#253007] Issue with ControlSend function using AutoIT in Ruby — Skye Weir-Mathews <carpeursus@...>
I'm having an issue running scripts that use AutoIT against my windows
On May 25, 1:51 pm, Skye Weir-Mathews <carpeur...@gmail.com> wrote:
[#253023] Ruby Libraries — Ari Brown <ari@...>
Hey all,
On 5/25/07, Ari Brown <ari@aribrown.com> wrote:
[#253026] Net::HTTP - POST and GET in the same request — "subsume@..." <subsume@...>
I have a peculiar problem where I need to submit POST data to a script
On 25 May 2007, at 22:15, subsume@gmail.com wrote:
Enrique Comba Riepenhausen wrote:
> The x=y become POST variables and the {'A'=>'1' ...} drop out of the
[#253027] printing nil objects — finer recliner <finerrecliner@...>
hey, im pretty new to ruby and im having trouble. this is not my
[#253048] Core dump — Steve <zflyer@...>
I'm new to Ruby, so I may be doing something wrong, but the following
[#253066] Ruby Math (nPr, nCr) — Ari Brown <ari@...>
What's that? You want me to ask more questions? Sure!
[#253069] Global Array? — Sy Ys <subsume@...>
I've got a class which calls itself several times (recursive). While
[#253082] gsub + loop — Eleo <gott@...>
This question actually pertains to a Rails app but it's more of a
[#253090] How to completely terminate a WIN32OLE Excel object? — Sven Suska <sven715rt@...>
Hello,
I can't replicate this:
[#253092] Ruby has not been added to LSB 3.2 (but both Perl and Python) — GinTon <jonas.esp@...>
I've seen that the next version of LSB 3.2 (will be released on June,
[#253093] Forward references? — seebs@... (Peter Seebach)
I am trying to figure out what the cleanest way is to express a class that has
On 5/26/07, Peter Seebach <seebs@seebs.net> wrote:
[#253103] local variables vs. methods — Henrik Schmidt <no.spam@...>
Hi there,
If a language stops you from doing something just because it's bad
Hakusa@gmail.com wrote:
Henrik Schmidt wrote:
[#253113] Perspectives for Ruby 2.0 — arcadiorubiogarcia@...
Hi,
arcadiorubiogarcia@gmail.com wrote:
On May 27, 12:31 pm, Michael Hollins <m...@hollins.id.au> wrote:
[#253136] Can you make sense of this Array issue — "Roland Mai" <roland.mai@...>
I want to have an array, say 5x5 with all nils unless set to something else.
[#253142] Developing cross-platform web/GUI applications — Jon Harrop <jon@...>
[#253144] querying persistent ruby objects in memory — braver <deliverable@...>
I have a data-mining task which loads data as a big XML tree (10+ MB)
On 26.05.2007 23:00, braver wrote:
On May 26, 2:24 pm, Robert Klemme <shortcut...@googlemail.com> wrote:
[#253154] Putting executables in sbin in gems — Luke Kanies <luke@...>
Hi all,
[#253156] are MatchData objects mutable? — "Mike Steiner" <mikejaysteiner@...>
A few times in my programs I've tried to modify elements of the array
[#253170] Tricky problem with === — "Erwin Abbott" <erwin.abbott@...>
I have a "BlankState" type of class and it's method_missing forwards
On May 26, 2007, at 11:13 PM, Erwin Abbott wrote:
On 27.05.2007 07:04, Morton Goldberg wrote:
On 5/27/07, Robert Klemme wrote:
Hi --
On 5/27/07, dblack@wobblini.net <dblack@wobblini.net> wrote:
[#253182] Can an initialize method fail? — seebs@... (Peter Seebach)
I may be doing this wrong. :) In some languages, I
[#253184] Strange behavior of String.scan — Håvard Moen <post@...>
When I use String.scan with a block and just one group the result ends
[#253197] RubyScript2Exe — Yannick Grams <yannick_grams@...>
Hello all!
Yannick Grams wrote:
Dear Yannick,
I have recently used rubyscript2exe with out any issues.
[#253206] NoMethodError in rubygems.rb when running autotest — "Ed Brannin" <edbrannin@...>
Hello,
ed -
[#253237] BackgrounDRb Theory — Sy Ys <subsume@...>
I'm making a site which allows subscribers to scrape their unnamed
On 5/27/07, Sy Ys <subsume@gmail.com> wrote:
[#253238] please help me with OptionParser — "Christopher J. Bottaro" <cjbottaro@...>
Here's the pastebin of this post if you prefer looking at formatted
Dear all,
[#253251] problem with using ruby — Ade <adewale.adebusoye@...>
This is somewhat silly, i downloaded the 1.8.6-25 installer for windows
[#253281] Re: interacting with another program — "Alexey Kalmykov" <akalmykov@...>
[#253294] Killing sons (Linux) — Ohad Lutzky <lutzky@...>
Maybe this isn't strictly a Ruby question, but I hope someone here can
[#253300] remove all whitespaces in a string — jochen kaechelin <gissmoh@...>
I want to remove all whitespaces in a string.
[#253330] How to improve iteration — Chas Conquest <chas@...>
Hi,
[#253340] randomize array content — "traktorman@..." <traktorman@...>
Hello,
[#253363] Futures and JRuby: The Omnibus Concurrency Library 0.2.1 — MenTaLguY <mental@...>
Just a quick note that I've released version 0.2.1 of the 'concurrent'
[#253374] Underscore — Jon Harrop <jon@...>
Logan Capaldo wrote:
Michael Fellinger wrote:
On 5/29/07, Jon Harrop <jon@ffconsultancy.com> wrote:
On 29.05.2007 13:07, Jano Svitok wrote:
On 5/29/07, Robert Klemme <shortcutter@googlemail.com> wrote:
On 29.05.2007 13:59, Chris Carter wrote:
On 29.05.2007 14:11, Robert Klemme wrote:
On 5/29/07, Robert Klemme <shortcutter@googlemail.com> wrote:
On Wed, May 30, 2007 at 07:50:05AM +0900, Logan Capaldo wrote:
On 5/30/07, Brian Candler <B.Candler@pobox.com> wrote:
On 5/30/07, Robert Dober <robert.dober@gmail.com> wrote:
[#253382] Overriding to_s — kimersen@...
Hi,
On 29.05.2007 10:51, kimersen@gmail.com wrote:
[#253391] Which ODBC? — "Ronald Fischer" <ronald.fischer@...>
Hello,
[#253397] True arity — Daniel DeLorme <dan-ml@...42.com>
Is there a way to get the *maximum* number of arguments that a method
On 5/29/07, Daniel DeLorme <dan-ml@dan42.com> wrote:
[#253401] operator => — Gian Holland <gianmh@...>
Hi I have a beginner question
[#253427] modules including other modules — "Tim Olsen" <tolsen718@...>
Hello,
[#253436] EventMachine 0.7.2 has been released — "Francis Cianfrocca" <garbagecat10@...>
All:
On 5/29/07, Francis Cianfrocca <garbagecat10@gmail.com> wrote:
> We have taken particular account of the challenges and lessons described
On 5/29/07, tsuraan <tsuraan@gmail.com> wrote:
[#253438] Kiss your boring tasks goodbye: Everyday Scripting With Ruby — Sharon Machlis <sharon_machlis@...>
Chances are, you do some boring, repetitive data-related tasks at work
Because many corporations that have leaders that are not tech savy
On Wed, May 30, 2007, Hakusa@gmail.com wrote:
I've read the book too.
[#253439] Re: How to adopt "Python Style" indentation for Ruby — Brad Phelan <bradphelan@...>
Giles Bowkett wrote:
[#253441] ruby and google... — Dave Rose <bitdoger2@...>
...is there anyplace in google's web site describing using ruby with
[#253445] Symbols vs. Strings — John Blanco <zablanc@...>
I'm new to Ruby, but coming up to speed quickly. One question I still
[#253457] Finding files associated with objects in Ruby — gparsons <geoffrey.parsons@...>
This is a bit of an odd request, but does anyone know how i would find
[#253467] Offline Rails Framework Documentation — Paul <pdavidow@...>
I would like to download the Rails Framework Documentation (http://
On 5/29/07, Paul <pdavidow@gmail.com> wrote:
Jano Svitok wrote:
Can you share with the list what those better ways are? Is it tar'd up
list. rb wrote:
[#253478] Regexp to extract number with hyphen — "bcparanj@..." <bcparanj@...>
I have a text with "foo 01-02" in a string. I want to extract foo
[#253479] Can Ruby be compiled against uclibc? — Dani Varga <vargadanis@...>
Hi!
[#253501] Net::HTTP Logging in / Persistent sessions problem — Sy Ys <subsume@...>
I am able to login to a website at authenticate.domain.com but when I
[#253526] #respond_to? not working for dynamically generated methods — Maurice Gladwell <maurice.gladwell@...>
It seems Object#respond_to doesn't work for dynamically generated
Hi --
David wrote:
Hi --
On May 30, 2007, at 7:53 AM, dblack@wobblini.net wrote:
On 5/30/07, James Edward Gray II <james@grayproductions.net> wrote:
On May 30, 2007, at 8:34 AM, Robert Dober wrote:
James Edward Gray II schrieb:
On 5/30/07, Wolfgang N疆asi-Donner <wonado@donnerweb.de> wrote:
Robert Dober schrieb:
James Gray wrote:
On Wed, May 30, 2007 at 11:00:14PM +0900, Maurice Gladwell wrote:
Hi --
David wrote:
Hi --
On May 30, 2007, at 9:57 AM, Maurice Gladwell wrote:
On 5/30/07, James Edward Gray II <james@grayproductions.net> wrote:
[#253567] Help with Ruby < - > Oracle Connectivity — Peter Bailey <pbailey@...>
Hello,
On Wed, May 30, 2007 at 10:30:40PM +0900, Peter Bailey wrote:
Brian Candler wrote:
On Wed, May 30, 2007 at 11:12:02PM +0900, Peter Bailey wrote:
Brian Candler wrote:
On Fri, Jun 01, 2007 at 03:45:58AM +0900, Peter Bailey wrote:
Brian Candler wrote:
On Fri, Jun 01, 2007 at 08:44:36PM +0900, Peter Bailey wrote:
Brian Candler wrote:
[#253570] Enumerable#serially - those nifty functions w/o memory footprint — SonOfLilit <sonoflilit@...>
Hello,
Brad Phelan wrote:
module Enumerable
Following is ruby-prof output. First, a few words:
[#253593] How can access to AUTH_USER? — music <music@...>
With php I can access to AUTH_USER and REMOTE_ADDR to know the
[#253600] Substituting Variables — Andrew Stewart <boss@...>
Hello,
[#253616] using hash for method parameters — aidy <aidy.rutter@...>
#hi,
[#253637] Re: Call for Ruby Champion !! — "Doug Phillips" <DPhillips@...>
> I've got a question about this. It seems like the job market
[#253649] image_science 1.1.3 Released — Ryan Davis <ryand-ruby@...>
image_science version 1.1.3 has been released!
On May 30, 2007, at 3:38 PM, Ryan Davis wrote:
> On May 30, 2007, at 3:38 PM, Ryan Davis wrote:
> On May 30, 2007, at 17:13 , Ball, Donald A Jr (Library) wrote:
[#253666] Does this benchmark make sense? — Farhad Farzaneh <ff@...>
Hello,
[#253681] DRb and Thread safety — "Erwin Abbott" <erwin.abbott@...>
I've been reading about DRb and one issue that I still have questions
On Thu, May 31, 2007 at 11:29:46AM +0900, Erwin Abbott wrote:
On 5/31/07, Brian Candler <B.Candler@pobox.com> wrote:
[#253685] select([]) method — Ari Brown <ari@...>
Hey all
[#253695] get info from object_id — Pe, Botp <botp@...>
Hi All,
[#253711] HTML Parser: Which one is better? — Zhang Yin <gsofhon@...>
I'm new to Ruby and need to parse some web pages. I googled "ruby HTML
[#253724] REXML documentation offline? — Alex Young <alex@...>
Can anyone get through to
[#253732] Looking for a pure Ruby uniq ID generator — Zouplaz <user@...>
Hello, I'm looking for a pure Ruby uniq non predictable ID generator
[#253739] Does this code spawn lots of objects? — "Ben Edwards" <funkytwig@...>
I have the following code:-
Re: "Crystallizing" Objects
Hi, Yohanes Santoso schrieb: >Unless Hash already have an atomic check-before-set >operation, you can't get around it the need of having a lock. [And no, >Hash has no such thing yet. Set#add? is similar to what you're looking >for but it's not atomic]. > > Exactly. I want this atomic check+set. But this is not the only thing that I was trying to achieve by my proposal. I am also very much in favor of multithreadedness to be deeply integrated in the core of Ruby. Look at the ease with which you can write concurrent programs in Erlang. No need to think about locking there -- the language takes care of that. Erlang is based on logic variables, they make this easy. I think that logic variables would not fit well into current Ruby. (But maybe I'm wrong... well, I'd be delighted to have logic variables in Ruby... :-) ) But I think that these "partially frozen" or "crystallizing" objects could be a step towards bringing some of that ease of parallel programming into Ruby. On the whole, I'm very pleased how much attention Erlang gets from the Ruby community currently. I think there's really something that can be learned. Yohanes Santoso schrieb: >Sven Suska <sven715rt@suska.org> writes: > > > >>Sven Suska schrieb: >> >>If it were just a normal hash, we would have to lock the object manually >> >Start locking from this point, before you do a check. > > >> if users.has_key(new_nickname) >> raise "Nickname already exists" >> end >> # hash could be modified here, if not locked!!! >> # if another thread would have stored a user with the same nickname >> # just now, then this data would be overwritten in the next >> statement. >> >> >If you start locking at this point, then in between the check and the >insertion another check and insertion could have occurred and the >following insertion effectively undoes that insertion. > > >> users[new_nickname] = user_data >> Yes, that's what I wanted to say, thanks for elaborating. >>If "users" were in this "partially_frozen" state, then we could write: >> >> begin >> users[new_nickname] = user_data >> rescue CantChangeExistingDataError >> raise "Nickname already exists" >> end >> >> > >For Hash in official ruby implementation, since #= is implemented in C >without any yielding, #= is effectively an atomic operation. But since >you want to throw an exception if there is already existing entry, you'd >still need a lock to do the check-and-insert atomically. > > Yes. Regards, Sven