[#195430] How I can check number? — Ilyas <iiskakov@...>
How I can to check float value, with regular expression. Also need check
[#195443] An alternative to the class Foo < Struct.new(vars) idiom and SuperStruct — Mauricio Fernandez <mfp@...>
I wrote this a couple weeks ago
Mauricio Fernandez wrote:
On Thu, Jun 01, 2006 at 09:33:29PM +0900, Jeff Rose wrote:
Mauricio Fernandez wrote:
On Thu, 1 Jun 2006, Mauricio Fernandez wrote:
On Fri, Jun 02, 2006 at 12:27:32AM +0900, ara.t.howard@noaa.gov wrote:
[#195449] Dungeon Generation (#80) — Ruby Quiz <james@...>
This is a fun problem, probably hindered by the holiday weekend. Luckily, we
[#195498] Where can one find examples of masterful Ruby code? — "Alder Green" <alder.green@...>
Hi
Hopefully you'll get more helpful answers to this question from someone a
On 6/1/06, Tyler Prete <psyonic@gmail.com> wrote:
Alder Green wrote:
James Britt wrote:
James Britt <james_b@neurogami.com> writes:
Christian Neukirchen wrote:
On 6/3/06, James Britt <james_b@neurogami.com> wrote:
On 6/3/06, James Britt <james_b@neurogami.com> wrote:
Alexandru Popescu wrote:
[#195510] How can I pin a Ruby object in memory? — "John Lam" <drjflam@...>
I have some data that I'm storing in a T_DATA VALUE. Is the data
On 6/1/06, John Lam <drjflam@gmail.com> wrote:
Lyle Johnson wrote:
So I would guess that Ruby memory allocation is relatively expensive?
[#195517] Forcing superclass initialization — Ara Vartanian <ara_vartanian@...>
So if the a negligent subclass refuses to call its superclass initialize
[#195519] Package and Namespace — "Minkoo Seo" <minkoo.seo@...>
Hi list.
On Thursday 01 June 2006 3:52 pm, Minkoo Seo wrote:
Thank you Kirk.
Okay, here's another example.
From: gwtmp01@mac.com [mailto:gwtmp01@mac.com]
Thank you for the pointer and explanation.
[#195534] Adding an Increment Operator? — Dave Howell <groups@...>
As Logan pointed out in a different thread:
[#195542] How to pass const char *vect[] to C via Ruby/DL? — Andreas Haas <Andreas.Haas1@...>
Hi all,
[#195549] Requiring libraries in command line scripts? — Joe <joe@...>
I have a simple script:
[#195550] This is brain dead, but is it stupid? — Jeff Pritchard <jp@...>
I'm about to embark on my very first significant non-command line ruby
On 1-Jun-06, at 6:34 PM, Jeff Pritchard wrote:
Trevor Squires wrote:
A modest beginning...
On Jun 2, 2006, at 0:27, Jeff Pritchard wrote about html-based graphing.
[#195552] - New leadership for ruby-spreadsheet — Daniel Berger <djberg96@...>
Hi all,
Cool. This library has functionality I need but did not know about.
[#195553] Pattern Matching Question — mitchell <fs8206@...>
If I had the text "{ hello \\} there }", what regex could I use to get
[#195569] object::foo syntax -- get a Method object? — Dave Burt <dave@...>
Hi,
[#195572] Time domain to frequency domain with FFT from GSL — "Alex Polite" <notmyprivateemail@...>
Howdy.
The items after N/2 are the "negative frequencies" Some mathematician can
On 6/2/06, Adam Shelly <adam.shelly@gmail.com> wrote:
[#195583] WEBrick on Windows — Alex Young <alex@...>
Hi all,
Are you sure your connections are being closed after each call to
[#195598] Hash to OpenStruct (#81) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
On 6/2/06, Ruby Quiz <james@grayproductions.net> wrote:
> Here's a sample YAML document to get you started:
On 6/2/06, Jamie Macey <jamie.macey@gmail.com> wrote:
My solution started off from the most basic hash to openstruct
My solution was very simple:
On Mon, Jun 05, 2006 at 02:55:42AM +0900, Joey wrote:
At 00:53 2006-06-05, you wrote:
[#195599] FXRuby - textedit.rb example crash problem — Nuralanur@...
Dear all,
[#195600] Tk button widgets — Tait Pollard <taitbp@...>
I wrote a basic GUI on a windows machine and when i tested it on Mac OS
[#195629] Another Look at Namespaces — transfire@...
Had a "light-bulb" over head moment and threw this together as a simple
transfire@gmail.com wrote:
On 6/3/06, transfire@gmail.com <transfire@gmail.com> wrote:
On 6/3/06, transfire@gmail.com <transfire@gmail.com> wrote:
On 6/3/06, transfire@gmail.com <transfire@gmail.com> wrote:
On 6/3/06, transfire@gmail.com <transfire@gmail.com> wrote:
[#195646] Exceptions inside loops... — darren kirby <bulliver@...>
Hello all, quite new to ruby here.
[#195695] Can you do Lisp-like macros in Ruby? — "Pat Maddox" <pergesu@...>
I've never used lisp before until ~2am last night...and while working
[#195696] []= and two dimensional arrays — "Son SonOfLilit" <sonoflilit@...>
I expect:
[#195724] SizedQueue — Paul Tsung <ptsung@...>
Does anyone know about threads and SizedQueue?
[#195733] "numeric literal without digits" rake update_po error — Maxime Curioni <mxcurioni@...>
First off, I am using ruby 1.8.4 installed under Ubuntu Breezy Badger,
Hi,
[#195737] private method `split' ? — "Sy Ali" <sy1234@...>
Somehow, when trying to split an element in an array, split is no
On 6/3/06, Logan Capaldo <logancapaldo@gmail.com> wrote:
[#195741] Sorted list? — "Victor Shepelev" <vshepelev@...>
Hi all.
Please example more. Do you mean:
From: transfire@gmail.com [mailto:transfire@gmail.com]
[#195766] Ruby's Bignum — Aaron Patterson <aaron_patterson@...>
Hi everyone. I'm porting some C code to pure ruby, and I would like to
On 6/4/06, Aaron Patterson <aaron_patterson@speakeasy.net> wrote:
[#195778] Please kill the children as you're leaving — Ohad Lutzky <lutzky@...>
Sorry about the Macabre, but that's essentially what I want: It seems
Allow me to clarify the problem. Say I use irb as follows:
Quoting lutzky@gmail.com, on Sun, Jun 04, 2006 at 10:15:08PM +0900:
[#195779] Writing encoded images to a file — Aaron Worsham <aaronw@...>
[#195787] strange results when require'ing RMagick — "John Conrad" <john.emerson.conrad@...>
I've read about some packages that return false when they are require'd
John Conrad wrote:
On 6/4/06, Timothy Hunter <TimHunter@nc.rr.com> wrote:
John Conrad wrote:
[#195791] The fun continues — Daniel Schierbeck <daniel.schierbeck@...>
[#195801] rubyforge/gem problems — ara.t.howard@...
[#195818] RMagick 1.12.0 — Timothy Hunter <TimHunter@...>
I've just uploaded RMagick 1.12.0 to RubyForge. This version fixes an
[#195844] Deadline for RubyConf 2006 Presentation Proposals — dblack@...
Hi --
dblack@wobblini.net wrote:
Hi --
On Jun 4, 2006, at 5:10 PM, dblack@wobblini.net wrote:
Eric Hodel wrote:
[#195849] Class args — Stuart Brand <stuart@...>
Whats wrong with this class?
[#195865] I love Ruby - But how bright is Ruby's Future? — Hector <dummy@...>
I've been trying to pickup Ruby for a few months now. I've written a few
On 6/4/06, Hector <dummy@tracatran.com> wrote:
Phil Tomson wrote:
On Jun 5, 2006, at 11:22 AM, ReggW wrote:
On 6/5/06, ReggW <me@yourhome.com> wrote:
Austin Ziegler wrote:
On 6/5/06, ReggW <me@yourhome.com> wrote:
Austin Ziegler wrote:
On 6/5/06, ReggW <me@yourhome.com> wrote:
Austin Ziegler wrote:
On 6/6/06, ReggW <me@yourhome.com> wrote:
On Jun 4, 2006, at 11:09 PM, Hector wrote:
Mat, your statements are right on the money. To the extent that developers
On Jun 5, 2006, at 9:14 AM, Francis Cianfrocca wrote:
>> Many capable Rubyists that I know are of the opinion that nothing
Both you and someone else asked what I meant by saying that the Python
Francis Cianfrocca wrote:
Entirely valid and thought-provoking point of view, and one that I'm finding
Large problems: you're playing word games with me. "Large" has many
On Jun 7, 2006, at 6:25, Francis Cianfrocca wrote:
If I have a quoted symbol, i.e. :'some symbol' then when I dump the
On Wed, 7 Jun 2006, Dave Baldwin wrote:
On Thu, 8 Jun 2006, Logan Capaldo wrote:
Hi --
On Thu, 8 Jun 2006 dblack@wobblini.net wrote:
Matthew Smillie wrote:
> So ... on the main thread, where are we?
The original post's title: "I love Ruby - But how bright is Ruby's future?"
On 6/8/06, Francis Cianfrocca <garbagecat10@gmail.com> wrote:
Because I respect you, I'm going to respond as if you're serious.
Francis Cianfrocca wrote:
>>>One night? Right up to speed?
Hector wrote:
Somebody mentioned that if you want to do any serious application
Jeff Pritchard wrote:
> It's similar to the complaint that Ruby does not have an IDE such as
"I then jumped into Ruby(a whole lot of fun!) but I don't get the warm
[#195870] mode — Elliot Temple <curi@...>
I bet there's a more elegant way to write this. Anyone want to show me?
[#195872] parsing a boolean expression — "Daniel Baird" <danielbaird@...>
Hi all,
[#195875] Re: [QUIZ][SOLUTION] Hash to OpenStruct (#81) — "Alison Rowland" <alisonrowland@...>
This "solution" feels rather like cheating, but I did discover the
[#195886] isset kinda function — Alex Copot <alexandrucopot@...>
Looking for something like PHP's isset.
[#195893] Why doesn't method_missing affect respond_to? — "Pat Maddox" <pergesu@...>
Take this class:
[#195906] New webserver — Stuart Brand <stuart@...>
Im designing a webserver as my first project on Ruby
[#195918] Directory.entries problems with while loops — Tait Pollard <taitbp@...>
I am trying to create an array with all the files of a directory of a
[#195936] Need help with TDD, stubs and mocks — cremes.devlist@...
I'm writing a script to process a directory structure and some files
[#195940] Using Ant from Ruby — Sanchit.Misra@...
Hi
[#195962] reading data from excel — Parvinder Ghotra <ghotrapa@...>
Hi,
On 6/5/06, Parvinder Ghotra <ghotrapa@yahoo.com> wrote:
[#195972] Call rb_instance_eval from C code — "Victor Shepelev" <vshepelev@...>
Hi all.
On Tue, Jun 06, 2006 at 02:16:31AM +0900, Victor Shepelev wrote:
On Tue, Jun 06, 2006 at 04:12:14AM +0900, why the lucky stiff wrote:
On Tue, Jun 06, 2006 at 04:43:10AM +0900, Mauricio Fernandez wrote:
[#196038] Ruby and the Open-Closed Principle — Jeff Cohen <cohen.jeff@...>
For most of my OO career (C++ for a long time, and then C#) I believed
I use both, judiciously, especially modifications of library classes.
Hi --
> The problem is that once you add behavior, it is existing, and someone
Hi --
I think Ruby has an important message for the programmer:
[#196042] Writing to a file without opening it — "Sy Ali" <sy1234@...>
File.open(file, 'a+') won't work when the file is not readable.
[#196062] ruby-forum.com — Hal Fulton <hal9000@...>
Who owns ruby-forum.com and why is it connected
Hal Fulton wrote:
On 6/6/06, Florian Gross <florgro@gmail.com> wrote:
On Tue, 2006-06-06 at 21:03 +0900, Austin Ziegler wrote:
Ross Bamford wrote:
On Jun 6, 2006, at 13:27, Jim Weirich wrote:
Matthew Smillie wrote:
On Wed, 2006-06-07 at 03:36 +0900, James Britt wrote:
Charlie Bowman wrote:
Matthew Smillie wrote:
On 6/8/06, Pistos Christou <jesusrubsyou.5.pistos@geoshell.com> wrote:
Ryan Leavengood wrote:
On 6/15/06, Reggie Mr <buppcpp@yahoo.com> wrote:
Austin Ziegler wrote:
On 6/15/06, Reggie Mr <buppcpp@yahoo.com> wrote:
Matthew Smillie wrote:
Andreas S. wrote:
It's difficult not to notice that sometimes posts from ruby-forum.com
Tim Hunter wrote:
On Jun 6, 2006, at 4:52 PM, Dave Burt wrote:
From: Eric Hodel [mailto:drbrain@segment7.net]
On Jun 6, 2006, at 5:55 PM, Victor Shepelev wrote:
[#196074] Ruby Weekly News 29th May - 4th June 2006 — Tim Sutherland <timsuth@...>
http://www.rubyweeklynews.org/20060604.html
Hi --
Tim Sutherland wrote:
On 6/6/06, Tim Sutherland <timsuth@ihug.co.nz> wrote:
Phil Tomson wrote:
On Jun 6, 2006, at 3:54 PM, Hal Fulton wrote:
[#196097] leaving files open — "Dirk Meijer" <hawkman.gelooft@...>
hello list!
[#196101] Using Ruby to read .properties file — Sanchit.Misra@...
Hi
[#196126] Multiple threads on single port — Stuart Brand <stuart@...>
Hi all
[#196144] Animation — Mohammad <fake@...>
Okay I wana make a game like Flyff in ruby but, is there a way to
[#196163] Instance methods can't call protected class methods? — Sean Hermany <sean.hermany@...>
I am trying to understand this behavior.
[#196182] Attributes not populated until called? — darren kirby <bulliver@...>
Hello all,
On 6/6/06, darren kirby <bulliver@badcomputer.org> wrote:
darren kirby wrote:
[#196207] Ruby and Gnuplot under Windows (was: Re: External application under Windows) — Nuralanur@...
Nuralanur@aol.com wrote:
On Wed, 7 Jun 2006, Daniel Berger wrote:
[#196212] can I keep re-running the same script? how? — Hunter Walker <walkerhunter@...>
I want to run a particular script every 3 minutes. I would do this
On Wed, 7 Jun 2006, Hunter Walker wrote:
ara.t.howard@noaa.gov wrote:
On Wed, 7 Jun 2006, Daniel Berger wrote:
I agree 100%. I just want to get something up and running while I
[#196225] DLL load path — "Victor Shepelev" <vshepelev@...>
Hi all.
[#196237] Two questions about data structures. — "Tim Uckun" <timuckun@...>
I am building an application and would like the groups advice on the
[#196239] regex for splitting filenames — darren kirby <bulliver@...>
Hello all,=20
[#196240] What's going on here? (Newbie question) — MB <matt.g.brown@...>
In irb:
[#196258] Installation of Win32-service module — "Jatinder Singh" <jatinder.saundh@...>
Hi,
[#196264] pausing until a character is received — "Sy Ali" <sy1234@...>
I'm struggling to figure out how to pause my script and await a single
Logan Capaldo wrote:
On 6/8/06, Logan Capaldo <logancapaldo@gmail.com> wrote:
On 6/7/06, Dave Burt <dave@burt.id.au> wrote:
Well.. since I can process the characters I receive through read_char
[#196306] Getting rid of a while loop — Tait Pollard <taitbp@...>
I get a feeling there should be another way to make this happen without
On Jun 7, 2006, at 7:53 AM, Tait Pollard wrote:
[#196325] properly extending test::unit to add logging — "Rob Sanheim" <rsanheim@...>
Hi,
[#196336] how do I impose a method call delay? — Jason Sallis <jsallis@...>
I've got a simple Ruby class that has one method which uses open-uri to
[#196342] Setting HTTP Headers — "Doug Bromley" <doug.bromley@...>
Hi All
[#196343] Re: Possible YAML bug with quoted symbols? — Nuralanur@...
Dear Dave,
[#196359] EURUKO 2006 — Stephan K舂per <sigma.kappa@...>
Hi,
Hi all,
Further north would be my preference, too. How about Kn (Cologne)?
[#196364] Requiring a file into a different namespace — Michael Judge <mjudge@...>
[#196388] Using a string to find a class — "Pat Maddox" <pergesu@...>
I've got a string, and I want to find out if there's a class with that
[#196395] Problems with rb_struct_define and 64 bit Ruby — "Daniel Berger" <djberg96@...>
Hi all,
[#196402] Why the lack of mixing-in support for Class methods? — "Alder Green" <alder.green@...>
Hi
On 6/7/06, Alder Green <alder.green@gmail.com> wrote:
On 6/8/06, Phil Tomson <rubyfan@gmail.com> wrote:
Hi,
On 6/8/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
Hi,
On Fri, 9 Jun 2006, Yukihiro Matsumoto wrote:
On 6/8/06, ara.t.howard@noaa.gov <ara.t.howard@noaa.gov> wrote:
On 6/8/06, Austin Ziegler <halostatue@gmail.com> wrote:
Hi,
Hi --
On Jun 9, 2006, at 5:58 AM, dblack@wobblini.net wrote:
Hi --
On Fri, 9 Jun 2006 dblack@wobblini.net wrote:
ara.t.howard@noaa.gov wrote:
On 6/9/06, Joel VanderWerf <vjoel@path.berkeley.edu> wrote:
Hi,
Yukihiro Matsumoto wrote:
Hi,
Yukihiro Matsumoto wrote:
transfire@gmail.com wrote:
transfire@gmail.com wrote:
On Mon, Jun 12, 2006 at 03:48:14AM +0900, Daniel Schierbeck wrote:
Gregory Seidman wrote:
On Mon, Jun 12, 2006 at 05:14:20AM +0900, Daniel Schierbeck wrote:
Gregory Seidman wrote:
On Jun 11, 2006, at 7:42 AM, Daniel Schierbeck wrote:
James Edward Gray II wrote:
On Jun 11, 2006, at 10:40 AM, Daniel Schierbeck wrote:
Hi,
Hi,
On Mon, 12 Jun 2006, Yukihiro Matsumoto wrote:
Yukihiro Matsumoto wrote:
Logan Capaldo wrote:
On Tue, 13 Jun 2006 transfire@gmail.com wrote:
On 6/12/06, transfire@gmail.com <transfire@gmail.com> wrote:
transfire@gmail.com wrote:
Hi,
Hi,
Hi,
Hi,
On 6/13/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
Hi,
On Jun 14, 2006, at 1:48 AM, Yukihiro Matsumoto wrote:
Hi,
Hi,
transfire@gmail.com wrote:
Hi,
gwtmp01@mac.com wrote:
On Thu, 15 Jun 2006, Daniel Schierbeck wrote:
ara.t.howard@noaa.gov wrote:
On Thu, 15 Jun 2006, Daniel Schierbeck wrote:
ara.t.howard@noaa.gov wrote:
Okay, I've sorted out a few of the problems, and I hope I haven't
Update:
This should fix the recursion issue:
Simplification. Tell me if I should stop spamming.
transfire@gmail.com wrote:
Hi,
#class_extension is now private, the magic has been moved to
On Fri, 16 Jun 2006, Daniel Schierbeck wrote:
Hi,
Hi --
Hi,
On Fri, 16 Jun 2006, Yukihiro Matsumoto wrote:
ara.t.howard@noaa.gov wrote:
Hi,
Hi,
On 6/15/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
"Austin Ziegler" <halostatue@gmail.com> writes:
On 6/9/06, transfire@gmail.com <transfire@gmail.com> wrote:
On Thu, 8 Jun 2006, Alder Green wrote:
[#196415] (newbie) Why doesn't this line work? — Dominic Son <dominicson@...>
<td><%= link_to 'Edit', :confirm => 'Are you sure?', :action => 'edit',
[#196436] Easy question — Robert Mela <rmela@...>
I want to maintain a list of two-dimensional points and store, at list
[#196437] Hash to OpenStruct (#81) — Ruby Quiz <james@...>
The solutions for this quiz are bite size and filled-to-bursting with clever
[#196463] Macros and macro expansion — Edward Kenworthy <edward@...>
I was looking at my controller code (Rails) and the
[#196482] Array#replace vs assignment — "Todd Breiholz" <talanb@...>
Is there any difference between the following:
[#196510] slave-0.0.1 — "Ara.T.Howard" <ara.t.howard@...>
Ara,
[#196512] Package idea: attempt — Daniel Berger <djberg96@...>
Hi all,
On Fri, 9 Jun 2006, Daniel Berger wrote:
John Carter wrote:
Jim Weirich wrote:
On Fri, 9 Jun 2006, Daniel Berger wrote:
[#196520] Converting 8 bytes to a Float — Harris Reynolds <hreynolds2@...>
What is the quickest way to convert 8 bytes to a Float object?
Harris Reynolds wrote:
I am still not getting the results I am looking for hacking around with the couple suggestions I received. Here is an example:
Mike... thanks for the tip. My mileage is varying though... here is the same irb session on my machine:
This is good stuff. I am now getting the correct Float object (21.0) from a string of bytes ("@5\000\000\000\000\000\000"). Now... here is a question... is there an easy way to go from the Float back to bytes. This seems like it may be much more difficult.
On 6/9/06, Harris Reynolds <hreynolds2@yahoo.com> wrote:
[#196561] Running Coach (#82) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
I thought that this problem was actually a lot more subtle than it
Here's my attempt:
> Here's my attempt:
On 6/14/06, Adam Shelly <adam.shelly@gmail.com> wrote:
On 6/14/06, Leslie Viljoen <leslieviljoen@gmail.com> wrote:
[#196570] Ruby's role in future operating systems — Kyrre Nygard <kyrreny@...>
On Jun 9, 2006, at 9:51 AM, Kyrre Nygard wrote:
At 17:21 09.06.2006, James Edward Gray II wrote:
> At 17:21 09.06.2006, James Edward Gray II wrote:
[#196588] rubyrss-1.0 — Sergey Tikhonov <st@...>
Dear Ruby community,
Hi,
Inasmuch as it is possible, I really think that the RSS libraries
[#196590] Anyone aware of a Ruby-module for ICQ? — "Groleo Marius" <groleo@...>
I searched around google, for a module that would "talk" ICQ, but
On 6/9/06, Groleo Marius <groleo@gmail.com> wrote:
Paul Vaillant has a project going (Net::IM) to do this. I've implemented
[#196611] ... building my own end-fix statements. — "Jeff Wood" <jeff.darklight@...>
I believe it's possible to define my own end-fix qualifiers like "if"
[#196615] Re: Ruby's role in future operating systems — "DEBAUN, STEVE [Seminis/2400]" <steve.debaun@...>
In an inspired moment the other night, I thought it would be soooo cooool to
[#196643] Ruby Class question — Peer Allan <peer@...>
Hi all,
[#196651] Which IDE is good? — "Tanushree Bhoi" <tanushree.bhoi@...>
Hi,
Tanushree Bhoi wrote:
[#196654] self nesting array [[...]] — "Meinrad Recheis" <meinrad.recheis@...>
Dear list,
[#196670] Getting a list of Processes — ReggW <me@...>
How do you get a list of running Processes using Ruby?
[#196676] Global not evaluated properly in 'if' statement modifier — darren kirby <bulliver@...>
Hello all,
[#196681] Best way to parse Ruby code? — Jeff Cohen <cohen.jeff@...>
I'm trying to parse some Ruby code from C#... I just want to scrape out
[#196685] Colored syntax output — "Robert MannI" <robmnl@...>
Hello!
[#196692] Which encoding causes fewest problems in Ruby 1.8.2? — Jim Smith <nospam@...>
I posted a similar question in the rails group but this is more specific
Hi,
On 6/11/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:> Hi,>> In message "Re: Which encoding causes fewest problems in Ruby 1.8.2?"> on Sun, 11 Jun 2006 10:12:45 +0900, Jim Smith <nospam@nospam.lan> writes:>> |Given the above problems (or rumors), which encoding is recommended for> |use with ruby 1.8.2?> |> |UTF-8> |ISO-8859-1> |ISO-8859-15>> String and Regexp handles all of them for most of the cases. But> upper/lower case handling for non ASCII alphabets are not supported.> Use -Ku for UTF-8 and -Kn for ISO-8859-*.>
[#196703] Substrings by Position. — Charlie <charliepeck@...>
Hi,
2006/6/11, Charlie <charliepeck@yahoo.com>:
[#196719] Hash#[] — Daniel Schierbeck <daniel.schierbeck@...>
Am I the only one who thinks this would be a natural behavior for Hash#[]?
[#196740] Getting a list of aliases — Daniel Berger <djberg96@...>
Hi all,
[#196754] Ruby for Highschoolers? — Nicholas Evans <OwlManAtt@...>
Howdy list,
Nicholas Evans <OwlManAtt@OwlManAtt.com> writes:
On Mon, 12 Jun 2006 01:55:39 +0900
Steven Davidovitz wrote:
I'm not after a full-blown IDE. They'd be working under Windows, and I'm
On Jun 11, 2006, at 17:55, Nicholas Evans wrote:
Matthew Smillie wrote:
On Jun 11, 2006, at 22:24, James Britt wrote:
Matthew Smillie wrote:
[much elided, since a lot of it seems like specific examples of the
Matthew Smillie <M.B.Smillie@sms.ed.ac.uk> writes:
On Jun 12, 2006, at 12:42, Christian Neukirchen wrote:
Ruby and Scheme are both beautiful languages.
Hi,
wenas agusetiawan wrote:
James Britt <james.britt@gmail.com> writes:
Jeremy Tregunna wrote:
Hello,
[#196764] gets problem - strange — Jim Freeze <jim@...>
This is a problem that was pointed out by Esteban Velazquez.
[#196784] Is there a better way... — James McCarthy <james2mccarthy@...>
Is there an neater way to achieve this without using that clunky eval
[#196810] Something inconsistent in ruby syntax?? — uncutstone wu <uncutstone@...>
Please take a look at some exemplary code first.
[#196827] rcov 0.6.0: "differential code coverage", full (faster) cross-references, vim integration — Mauricio Fernandez <mfp@...>
Source code, additional information, screenshots... available at
[#196840] Instructions for downloading and installing win32-open3 module — "Jatinder Singh" <jatinder.saundh@...>
Hi All,
[#196857] ruby don't surf — "Charles F. Munat" <chas@...>
I'm getting the following error. I've looked all over, and have found
[#196868] Moving Files from a CGI Script — Nathan Olberding <nathan.olberding@...>
I'm looking to use a CGI script to move / rename a directory. I can't
[#196887] IRB and Eclipse — Reggie Mr <buppcpp@...>
How can I setup an Interactive Ruby (irb) console within Eclipse?
[#196904] Ruby openssl on Debian — "Pat Maddox" <pergesu@...>
I've got an app that requires the openssl library. Whenever I run it,
On 6/12/06, Pat Maddox <pergesu@gmail.com> wrote:
[#196909] RubyGems for inclusion in JRuby — "Charles O Nutter" <headius@...>
Hello Rubyists!
Charles O Nutter wrote:
On 6/13/06, Jim Weirich <jim@weirichhouse.org> wrote:
FYI, if platform was needed, we could most easily provide "java-windows",
Charles O Nutter wrote:
On Thu, 15 Jun 2006, Jim Weirich defenestrated me:
[#196912] top-level methods private? — "Mark Volkmann" <r.mark.volkmann@...>
I understand that methods defined at the top-level, not in any class,
Mark Volkmann wrote:
Using both 1.8.2 and 1.8.4: no... the method foo is invoked.
[#196938] Wiki recommendations? — Matt Lawrence <matt@...>
I'm trying to set up a wiki on an AIX box at work for use by the sysadmin
[#196948] How to invoke a run method??? — Eric Armstrong <Eric.Armstrong@...>
This is pretty ridiculous, but I have tried
[#196955] ANN: ZenObfuscate - for when you really really have to ship a binary — Ryan Davis <ryand-ruby@...>
"Being perfectly honest, your obfuscator has made me feel like
Will this work with a Rails app?
On 6/13/06, Kris Leech <kris@alternativefocusmedia.com> wrote:
On 6/13/06, Ryan Davis <ryand-ruby@zenspider.com> wrote:
John Wilger wrote:
On 6/16/06, Kris Leech <krisleech@interkonect.com> wrote:
On 6/16/06, Austin Ziegler <halostatue@gmail.com> wrote:
Patrick Hurley wrote:
On 6/17/06, Kris Leech <krisleech@interkonect.com> wrote:
Patrick Hurley wrote:
On 6/14/06, Ryan Davis <ryand-ruby@zenspider.com> wrote:
[#196957] ruby-lang.org redesign? — BA Baracus <devlists-ruby-talk@...>
Guys,
have a look at http://new.ruby-lang.org
That's hot.
On Tuesday, June 13, 2006, at 3:40 PM, Nathaniel Brown wrote:
On 6/13/06, BA Baracus <devlists-ruby-talk@devlists.com> wrote:
On Jun 13, 2006, at 8:47 AM, BA Baracus wrote:
At 20:26 13.06.2006, BA Baracus wrote:
On Jun 13, 2006, at 2:14 PM, Kyrre Nygard wrote:
On 6/13/06, James Edward Gray II <james@grayproductions.net> wrote:
On Jun 13, 2006, at 4:06 PM, John Gabriele wrote:
On 6/13/06, James Edward Gray II <james@grayproductions.net> wrote:
Michal Suchanek wrote:
On 6/20/06, John W. Long <ng@johnwlong.com> wrote:
Michal Suchanek wrote:
On 6/21/06, John W. Long <ng@johnwlong.com> wrote:
On Jun 21, 2006, at 8:43 AM, Michal Suchanek wrote:
On 6/20/06, John W. Long <ng@johnwlong.com> wrote:
At 16:12 20.06.2006, Michal Suchanek wrote:
Kyrre Nygard wrote:
On 6/20/06, Tom Werner <tom@helmetstohardhats.org> wrote:
At 19:46 20.06.2006, Tom Werner wrote:
On Thu, 22 Jun 2006, Kyrre Nygard wrote:
At 16:40 22.06.2006, ara.t.howard@noaa.gov wrote:
[#196972] Ruby as a kernel? — "Son SonOfLilit" <sonoflilit@...>
This forks out of the "Ruby's role in future OSs" thread, since it deals
On 13/06/06, Son SonOfLilit <sonoflilit@gmail.com> wrote:
[#196979] ugly ruby code... — arnaud stageman <mpepito13@...>
Hello!
Kroeger, Simon (ext) wrote:
[#196997] Re: [Rails] ANN: Alaska.rb - Polar bears, igloos and sled dogs... oh my! — "pat eyler" <pat.eyler@...>
On 6/13/06, Benjamin Gorlick <uncledrails@gmail.com> wrote:
[#197030] best way for ruby to query subversion — Toby Catlin <toby@...>
Hello everybody,
[#197049] Solaris 9 SPARC packages for RubyGems? — "John-Mason P. Shackelford" <jpshack@...>
Anyone out there ever build a Solaris 9 SPARC package for RubyGems?
[#197076] RUBY keeps complaining about my "end" statement — Peter Bailey <pbailey@...>
When I try and run a script that has this as part of it, RUBY keeps
[#197089] Unicode roadmap? — Roman Hausner <roman.hausner@...>
In my opinion, Ruby is practically useless for many applications without
Hi,
> Define "proper Unicode support" first.
From the theoretical point of view this is quite interesting. Also I
From: Pete [mailto:pertl@gmx.org]
Hi,
From: Yukihiro Matsumoto [mailto:matz@ruby-lang.org]
Hi,
From: Yukihiro Matsumoto [mailto:matz@ruby-lang.org]
On 6/14/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
On 14/06/06, Michal Suchanek <hramrach@centrum.cz> wrote:
On 6/14/06, Paul Battley <pbattley@gmail.com> wrote:
On Wednesday 14 June 2006 06:52 am, Michal Suchanek wrote:
Every time these unicode discussions come up my head spins like a top. You
I believe that Julik's way of solving the unicode problem (String#u
On 6/14/06, Michal Suchanek <hramrach@centrum.cz> wrote:
On 6/14/06, Austin Ziegler <halostatue@gmail.com> wrote:
On Thu, Jun 15, 2006 at 07:59:54PM +0900, Michal Suchanek wrote:
On Saturday 17 June 2006 13:08, Juergen Strobel wrote:
On 6/17/06, Stefan Lang <langstefan@gmx.at> wrote:
On Saturday 17 June 2006 16:16, Austin Ziegler wrote:
On 6/17/06, Stefan Lang <langstefan@gmx.at> wrote:
On 6/18/06, Julian 'Julik' Tarkhanov <listbox@julik.nl> wrote:
Hi,
Hi,
Hi,
Correct me,if I'm wrong, but for Matz's plan on M17N, summary is:
Hi,
On 6/19/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
Hi,
On 6/19/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
On 6/19/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
Hi,
On 6/20/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
On 6/20/06, Michal Suchanek <hramrach@centrum.cz> wrote:
On 6/20/06, Timothy Bennett <timothy.s.bennett@gmail.com> wrote:
Hi,
On 6/20/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
Hi,
On 6/21/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
Hi,
Hi,
On 6/21/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
Hi,
2006/6/22, Yukihiro Matsumoto <matz@ruby-lang.org>:
Hi,
On 6/25/06, Izidor Jerebic <ij.rubylist@gmail.com> wrote:
On 6/25/06, Austin Ziegler <halostatue@gmail.com> wrote:
One clarification I'd like to add to this: I'm not saying that a ByteArray
Hi,
Yukihiro Matsumoto wrote:
Logan Capaldo wrote:
On 6/25/06, Izidor Jerebic <ij.rubylist@gmail.com> wrote:
> Here you contradict yourself. Regexes are string (character)
On 6/25/06, Phillip Hutchings <sitharus@sitharus.com> wrote:
> Sorry, but "reading" CGI params is a red herring. You may get it as one
Hi,
On 6/26/06, Julian 'Julik' Tarkhanov <listbox@julik.nl> wrote:
On 6/26/06, Julian 'Julik' Tarkhanov <listbox@julik.nl> wrote:
I've been following this debate with some interest. Alas, since my
On 6/26/06, Jim Weirich <jim@weirichhouse.org> wrote:
On 6/26/06, Austin Ziegler <halostatue@gmail.com> wrote:
On 6/26/06, Izidor Jerebic <ij.rubylist@gmail.com> wrote:
On 6/26/06, Izidor Jerebic <ij.rubylist@gmail.com> wrote:
On 6/26/06, Austin Ziegler <halostatue@gmail.com> wrote:
On 6/26/06, Izidor Jerebic <ij.rubylist@gmail.com> wrote:
On 6/26/06, Charles O Nutter <headius@headius.com> wrote:
On 6/27/06, Michal Suchanek <hramrach@centrum.cz> wrote:
On 6/27/06, Austin Ziegler <halostatue@gmail.com> wrote:
On 6/27/06, Charles O Nutter <headius@headius.com> wrote:
On 6/17/06, Juergen Strobel <strobel@secure.at> wrote:
On 17/06/06, Austin Ziegler <halostatue@gmail.com> wrote:
On Sun, Jun 18, 2006 at 01:02:39AM +0900, Paul Battley wrote:
On 6/17/06, Juergen Strobel <strobel@secure.at> wrote:
On Sun, Jun 18, 2006 at 07:21:25AM +0900, Austin Ziegler wrote:
On 6/18/06, Juergen Strobel <strobel@secure.at> wrote:
On Jun 18, 2006, at 8:29 AM, Austin Ziegler wrote:
On Sat, Jun 17, 2006 at 10:52:24PM +0900, Austin Ziegler wrote:
Hello, everyone. I am sorry, I was a bit embarassed by the quantity of
[#197099] Gemspec option to prevent auto-require? — "Gregory Brown" <gregory.t.brown@...>
Hello folks,
On Jun 13, 2006, at 3:21 PM, Gregory Brown wrote:
On 6/13/06, Eric Hodel <drbrain@segment7.net> wrote:
On Jun 13, 2006, at 3:45 PM, Gregory Brown wrote:
On 6/13/06, Eric Hodel <drbrain@segment7.net> wrote:
On Jun 13, 2006, at 4:18 PM, Gregory Brown wrote:
On 6/13/06, Eric Hodel <drbrain@segment7.net> wrote:
On Jun 13, 2006, at 4:52 PM, Gregory Brown wrote:
On 6/13/06, Eric Hodel <drbrain@segment7.net> wrote:
On Jun 13, 2006, at 5:39 PM, Gregory Brown wrote:
On 6/13/06, Eric Hodel <drbrain@segment7.net> wrote:
Gregory Brown wrote:
On 6/13/06, Eric Hodel <drbrain@segment7.net> wrote:
On Jun 13, 2006, at 7:23 PM, Gregory Brown wrote:
[#197132] Processing mixed content with REXML — Eric Armstrong <Eric.Armstrong@...>
Element.each_element gives the element children
On 6/14/06, Eric Armstrong <Eric.Armstrong@sun.com> wrote:
You did indeed speak truly. Thank you very much.
2006/6/14, Eric Armstrong <Eric.Armstrong@sun.com>:
Thanks for the comments, Robert. I don't mind that
Found it!
Arggh. It turns out that a list of behaviors
First things first:
Kindly ignore previous. The problem with frames.
On 6/15/06, Eric Armstrong <Eric.Armstrong@sun.com> wrote:
James, Jacob, Matthew, Robert, and Pedro:
[#197148] NewB question on data structure ruby — Pradeep Sethi <psethi@...>
Hi,
[#197150] Distributed scripting. — "Tanushree Bhoi" <tanushree.bhoi@...>
Hi All,
[#197151] Re: Wiki recommendations? (Reviving the old Instiki?) — "Phil Tomson" <rubyfan@...>
On 6/13/06, Matt Lawrence <matt@technoronin.com> wrote:
Phil Tomson wrote:
On 6/14/06, Dave Burt <dave@burt.id.au> wrote:
> > >> Instiki is no longer easy to set up, it's now a long troublesome
[#197168] impossible to sort a hash by key? — Oliver Katzer <ok@...>
Hi everyone!
On 6/14/06, Oliver Katzer <ok@yum.de> wrote:
[#197189] Re: Unicode roadmap? — "Dmitry Severin" <dmitry.severin@...>
Almost all typical tasks on Unicode can be handled with UTF8 support in
From: Dmitry Severin [mailto:dmitry.severin@gmail.com]
On Wed, Jun 14, 2006 at 05:26:58PM +0900, Victor Shepelev wrote:
On Wednesday 14 June 2006 06:01 am, Juergen Strobel wrote:
On Thu, Jun 15, 2006 at 06:34:11AM +0900, Randy Kramer wrote:
On 6/15/06, Juergen Strobel <strobel@secure.at> wrote:
On Fri, Jun 16, 2006 at 03:39:00AM +0900, Austin Ziegler wrote:
On 15/06/06, Juergen Strobel <strobel@secure.at> wrote:
[#197214] Article on screen scraping w HTree+REXML, RubyfulSoup, WWW::Mechanize — Peter Szinek <peter@...>
Hello all,
[#197241] Sending mail in RUBY — Peter Bailey <pbailey@...>
Can someone please point me to a simple mail utility for RUBY? I see
Peter Bailey wrote:
[#197254] A plan for another unicode string hack — Dae San Hwang <daesan@...>
Hi everyone.
On 6/14/06, Dae San Hwang <daesan@gmail.com> wrote:
>>>>> "A" == Austin Ziegler <halostatue@gmail.com> writes:
On 6/14/06, ts <decoux@moulon.inra.fr> wrote:
On 6/14/06, Austin Ziegler <halostatue@gmail.com> wrote:
On 6/14/06, Mark Volkmann <r.mark.volkmann@gmail.com> wrote:
On Jun 15, 2006, at 12:30 AM, Austin Ziegler wrote:
On Jun 14, 2006, at 11:56 PM, Logan Capaldo wrote:
On 6/14/06, Dae San Hwang <daesan@gmail.com> wrote:
[#197290] Using YAML as a data DSL — "Jatinder Singh" <jatinder.saundh@...>
I have an RoR application which has various GUI screens for taking input
[#197305] running a system command — qubit qubit <verynewbie@...17.com>
how do i run a system command in ruby
[#197320] Setting directory ruby is compiled to (BCC32 & Ruby 1.8.4) — Kris Leech <krisleech@...>
I have Ruby compiling fine using Borlands (free) C compiler for Windows.
Hi,
unknown wrote:
[#197327] Re: A plan for another unicode string hack — Dave Howell <groups@...>
Dave Howell wrote:
On 6/15/06, Joel VanderWerf <vjoel@path.berkeley.edu> wrote:
Hi,
On 15/06/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
On 6/15/06, Paul Battley <pbattley@gmail.com> wrote:
On 6/15/06, Austin Ziegler <halostatue@gmail.com> wrote:
[#197344] running applications installed from gems — "Mark Volkmann" <r.mark.volkmann@...>
I suppose rubygems is most often used for packaging libraries, but it
On Jun 14, 2006, at 5:13 PM, Mark Volkmann wrote:
On 6/14/06, Eric Hodel <drbrain@segment7.net> wrote:
On 6/15/06, Mark Volkmann <r.mark.volkmann@gmail.com> wrote:
On 6/15/06, Austin Ziegler <halostatue@gmail.com> wrote:
On 6/15/06, Mark Volkmann <r.mark.volkmann@gmail.com> wrote:
On 6/15/06, Austin Ziegler <halostatue@gmail.com> wrote:
On 6/15/06, John Gabriele <jmg3000@gmail.com> wrote:
On 6/15/06, Austin Ziegler <halostatue@gmail.com> wrote:
[#197353] How to use unpacked GEMS — "Daniel N" <has.sox@...>
I have discovered the command unpack for gems. This is very conveinent
[#197389] Ruby and Cobol — Pete Palmer <ppalmer@...>
Hi,
[#197397] A very basic question. — "Tanushree Bhoi" <tanushree.bhoi@...>
Hi..plz reply to this very basic question.
On 15/06/06, Tanushree Bhoi <tanushree.bhoi@gmail.com> wrote:
Thanks Dick.
irb>
[#197404] convert — Joakim Oman <joakim@...>
Hello
[#197410] Does each over an array bring a counter/index with it? — Duane Morin <dmorin@...>
If I'm "each"ing over an array, is there a built-in way to get the
Duane Morin wrote:
Do you have to do
On 15/06/06, Sidney Burks <sid137@gmail.com> wrote:
> No, it's a mixin (a bit like OOP inheritance in other languages).
[#197436] Net-Ping Timeout Error — "Anoop Chandran" <anoopcj@...>
Hi all,
[#197438] Why do my posts appear twice? — "Daniel N" <has.sox@...>
Hi all,
2006/6/15, Daniel N <has.sox@gmail.com>:
On Jun 15, 2006, at 7:27 AM, Dirk Meijer wrote:
On 6/15/06, James Edward Gray II <james@grayproductions.net> wrote:
On 6/15/06, Dirk Meijer <hawkman.gelooft@gmail.com> wrote:
On 6/15/06, Greg Donald <gdonald@gmail.com> wrote:
On 6/15/06, Austin Ziegler <halostatue@gmail.com> wrote:
On 6/15/06, Greg Donald <gdonald@gmail.com> wrote:
On 6/15/06, Austin Ziegler <halostatue@gmail.com> wrote:
You are making an utter ass of yourself in public. I'd recommend you stop.
On 6/15/06, Jeremy Tregunna <jtregunna@blurgle.ca> wrote:
[#197445] Problems with Ruby and C++ — Will Yeoh <wlyeoh@...>
Hi all,
[#197493] XML/RSS generation — "Chris Watt" <something.rotten@...>
Hi guys,
[#197507] ruby-gnome2 performance — Alex Nedelcu <bonefry@...>
Hi guys,
[#197525] Absolute paths in $" — transfire@...
Any chance Ruby 1.8.5 will have absolute paths in $" instead of
[#197531] Newbie program — Logesh Pillay <logesh@...>
I discovered Ruby this week. I was amazed at how easy it was to program
[#197583] License question — darren kirby <bulliver@...>
Hello all,
[#197585] Symbol#to_proc Problem — Elliot Temple <curi@...>
http://blog.hasmanythrough.com/articles/read/8
Hi,
[#197609] How does ruby load a shared library — "huiliang wu" <huiliang.wu@...>
Hi,
On 6/16/06, huiliang wu <huiliang.wu@gmail.com> wrote:
[#197627] Whats new/fixed in Ruby 1.9 and Ruby 2.0 — Reggie Mr <buppcpp@...>
I was looking for a list of what is to be fixed or added to version 1.9
On Jun 16, 2006, at 12:01, Reggie Mr wrote:
Matthew Smillie wrote:
On 6/16/06, Reggie Mr <buppcpp@yahoo.com> wrote:
Of course it makes sense to know about the future of Ruby ;)
On 6/16/06, Alex Nedelcu <bonefry@gmail.com> wrote:
Austin Ziegler wrote:
On 6/16/06, Alex Nedelcu <bonefry@gmail.com> wrote:
I am sorry, but I meant something else.
On 6/16/06, Alex Nedelcu <bonefry@gmail.com> wrote:
Austin Ziegler wrote:
On 6/16/06, Reggie Mr <buppcpp@yahoo.com> wrote:
Hi,
Yukihiro Matsumoto wrote:
On Jun 17, 2006, at 13:00, Reggie Mr wrote:
Matthew Smillie wrote:
Reggie;
I would like to add something on this topic
[#197635] API style preference? a.b=c or a(:b=>c) — Kirk Haines <khaines@...>
I'm writing a number of lines lately that look something like this:
[#197642] Short But Unique (#83) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
[#197667] Testing and STDOUT — Mike Nelson <miken700@...>
I have a question with using Test::Unit::TestCase / RSpec (probably
[#197716] Re: More rebinding blocks — Mat Schaffer <schapht@...>
On Jun 16, 2006, at 12:56 PM, Logan Capaldo wrote:
[#197724] undefined method (noMethodError) — Parv G <ghotrapa@...>
I'm new to ruby coming from Java/C#.
Parv G wrote:
Stefan Mahlitz wrote:
[#197761] Install Issues on FC5 — "Mark Sargent" <coolboarderguy@...>
Hi All,
Howdy Mark,
[#197788] self-similarity or closure in ruby — uncutstone wu <uncutstone@...>
It seems
On 6/17/06, uncutstone wu <uncutstone@sina.com> wrote:
[#197800] Free eBook: The Little Book of Ruby — Huw Collingbourne <huw@...>
This is an eBook for newcomers to Ruby: it contains 10 chapters and
[#197801] YAMLT ? — "Victor 'Zverok' Shepelev" <vshepelev@...>
Hi all.
[#197823] Ruby2CExtension 0.1.0 — "Dominik Bathon" <dbatml@...>
Ruby2CExtension is a Ruby to C extension translator/compiler. It takes any
On Sat, 17 Jun 2006 19:10:17 +0200, Logan Capaldo <logancapaldo@gmail.com>
[#197828] Compiling AIX 4.3.3 ruby 1.8.4 — Lanny Rosicky <lanny@...>
When trying to compile I received the following error(s). Could someone
Hi,
[#197835] Downloading Image — "Doug Bromley" <doug.bromley@...>
Hello again
[#197849] Generate a hex string from integers — Michael stepanov <stepanov.michael@...>
Hi there,
[#197859] Unicode and sprintf method — Bojan Mihelac <lists@...>
I noticed that they does not work (ehdn used with jcode), I guess it's
[#197880] Newbie question about arrays. — Gautam Dey <gdey@...>
Hello all,
[#197923] RUBY or (PHP5+PEAR+SMARTY) — jofes lerwick <peromni@...>
Good afternoon;
Mat Schaffer wrote:
Daniel Schierbeck wrote:
On Jun 18, 2006, at 6:51 PM, James Britt wrote:
Mat Schaffer wrote:
[#197946] Ruby/Unicode library — Rob Leslie <rob@...>
Since there's been a lot of talk about Unicode lately, I thought I'd
[#197947] Ruby in the sky with diamonds — Gareth Clews <notesoncircumscribingthesky@...>
Hey there, sorry I'm a little new to ruby and need a tiny bit of help if
[#197978] Looking for Mechanize code for login — Jim Freeze <jimfreeze@...>
Hi
[#197991] Numeric roadmap? — "Dmitry Severin" <dmitry.severin@...>
Why don't we have proper support for numbers in Ruby?
[#197994] Is it more convenient to have a random_each in ruby stdlib? — uncutstone wu <uncutstone@...>
I found it may be a common case that we need randomly enumerate elements
Kroeger, Simon (ext) wrote:
Kroeger, Simon (ext) wrote:
On Jun 19, 2006, at 9:08, Kroeger, Simon (ext) wrote:
Hi Matthew,
> I'm not too keen on #shuffle having a dual function as both a
Matthew Smillie wrote:
Quoting Matthew Smillie <M.B.Smillie@sms.ed.ac.uk>:
[#197999] Installing RubyGems on arm architecture — "Sy Ali" <sy1234@...>
I try a manual installation of RubyGems (ruby setup.rb), and I get a
[#198010] best way to deal with command line options — thomas coopman <thomas.coopman@...>
Hi,
On Jun 19, 2006, at 13:14, thomas coopman wrote:
[#198017] Achieve pure object oriented design in Ruby — NAYAK <nayakk@...>
Hi,
NAYAK wrote:
On 6/20/06, Jeff Cohen <cohen.jeff@gmail.com> wrote:
On 6/20/06, Robert Dober <robert.dober@gmail.com> wrote:
On 6/21/06, Jacob Fugal <lukfugl@gmail.com> wrote:
On 6/20/06, Robert Dober <robert.dober@gmail.com> wrote:
On Wed, Jun 21, 2006 at 08:48:38AM +0900, Jacob Fugal wrote:
On 6/21/06, gwtmp01@mac.com <gwtmp01@mac.com> wrote:
[#198034] Ruby versus the world — Kyrre Nygard <kyrreny@...>
On Jun 19, 2006, at 9:52 AM, Kyrre Nygard wrote:
On Tue, 20 Jun 2006, M. Edward (Ed) Borasky wrote:
[#198037] Failing with Dir.glob results — Peter Bailey <pbailey@...>
Hello,
[#198066] How to do this debugging? — Philip Rhoades <phil@...>
People,
Philip Rhoades wrote:
Dale, Darren,
[#198081] associative array naming indirection — dan donaldson <dan@...>
I have an array of names in string form as an instance var. The class
[#198090] How to get the response from a UDP socket. — "Hamid Rasoulian" <hrasoulian@...>
=20
Hamid Rasoulian wrote:
Hamid Rasoulian wrote:
Francis Cianfrocca wrote:
Joel:
[#198093] A new home for RubyForge — Tom Copeland <tom@...>
Hi all -
[#198104] Module include matters ? — "Jonas Pfenniger" <zimba.tm@...>
Hi,
This is called the "Dyanmic Module Inclusion Problem". And Pit is
[#198132] exec() not returning to ruby — Craig Beck <craigbeck@...>
I've got some code like this:
[#198134] Announcing Beta Release of GP Ruby.NET Compiler — "Wayne Kelly" <w.kelly@...>
Very exciting! I hope to see this progress quickly - I'm especially
On Wed, 21 Jun 2006 01:04:22 +0900, you wrote:
[#198139] Installing irb in Ubuntu — "Minkoo Seo" <minkoo.seo@...>
Hi.
On Tuesday 20 June 2006 08:48, Minkoo Seo wrote:
IIRC that is was just poor naming on the meta packages.
On Tuesday 20 June 2006 13:00, Jon Lim wrote:
[#198158] C Threads and Ruby — "Kroeger, Simon (ext)" <simon.kroeger.ext@...>
Hi,
On 6/20/06, Kroeger, Simon (ext) <simon.kroeger.ext@siemens.com> wrote:
Patrick: given your proposal for an event queue filled by native threads in
On 6/20/06, Francis Cianfrocca <garbagecat10@gmail.com> wrote:
On Wed, Jun 21, 2006 at 01:39:53AM +0900, Patrick Hurley wrote:
>>>I typically use a pipe for this kind of synchronization.
Francis Cianfrocca schrieb:
[#198162] zlib not found no matter what I do — Lanny Rosicky <lanny@...>
I have read all the posts and google output on zlib which rubygem
On Jun 20, 2006, at 7:09 AM, Lanny Rosicky wrote:
Mat Schaffer wrote:
The very frustrating thing is that I installed many things from
On 6/20/06, Lanny Rosicky <lanny@canczech.com> wrote:
Garance A Drosehn wrote:
On 6/20/06, Lanny Rosicky <lanny@canczech.com> wrote:
[#198173] Qua — transfire@...
In some of my documentation I have found this wording to be useful: for
[#198174] wish list: webrick server with cgi test file — "anne001" <anne@...>
Anyone has a webrick server which works with a cgi test file, to share
[#198189] uniq() Oddity — James Edward Gray II <james@...>
Would someone please explain this behavior to me?
[#198214] Gem mirrors list and main server outage — "Ed Howland" <ed.howland@...>
Hi, during today's rubyforge maintenance outage, I could not
[#198256] Problem with eRuby — "Firman Wandayandi" <firmanw@...>
Hi Everyone,
[#198280] Protecting Ruby Code as Intellectual Property — David Bailey <david.bailey@...>
Good People,
[#198282] RubyForge update (final) — Richard Kilmer <rich@...>
OK...so Tom has pulled a full day and everything looks like its up
Richard Kilmer wrote:
On 6/20/06, Steve Harper <steve-ruby@sharpers.com> wrote:
I was able to download each of them so it may be a DNS issue.
On Wed, 2006-06-21 at 08:17 +0900, Richard Kilmer wrote:
[#198324] Mongrel 0.3.13.1 -- Quick Small Fixes — Zed Shaw <zedshaw@...>
Hi Everyone,
Zed Shaw wrote:
[#198333] Point me in the right direction... — "Chris Also Chris?" <gameacountmain@...>
Hello Ruby community!
[#198350] Trouble with WIN32OLE obj, methods that return other objects — Miklos Hollender <miklos.hollender@...>
Dear Friends,
[#198353] How to install Ruby Postgres Gem with a remote server — Bing Tan <sombreroisland@...>
Hi everyone,
On 6/21/06, Bing Tan <sombreroisland@gmail.com> wrote:
We have ruby version 1.8.4, fedora core 2, postgres version PostgreSQL
>
ok will try that one, thanks
I have Installed this rpm postgresql-7.4.7-3.FC2.1.src.rpm because I
On 6/22/06, Bing Tan <sombreroisland@gmail.com> wrote:
Ok, so I've tried doing the installations but I'm now getting this error
On 6/22/06, Bing Tan <sombreroisland@gmail.com> wrote:
[#198372] Using parenthesis/barackets in ruby — Justin Vincent <jv@...>
Hi,
[#198375] Using pack/unpack to go from string to address and back to string — "Berger, Daniel" <Daniel.Berger@...>
Hi all,
[#198405] Convert String to BinaryString — Michael stepanov <stepanov.michael@...>
Hi guys,
[#198413] The difference between s=s+”a” ans s<< ”a” — Alan Moen <mapsetah2000-maillist5@...>
Hi,
On 6/21/06, Alan Moen <mapsetah2000-maillist5@yahoo.ca> wrote:
Robert Dober wrote:
[#198416] ruby-prof-0.4.0 — Charlie Savage <cfis@...>
Shugo and I are happy to announce the release of ruby-prof 0.4.0, which
[#198435] Class Names — Aaron Patterson <aaron_patterson@...>
Hi, I was wondering how I can reffer to a class outside of my class, but
[#198440] Module#name for anonymous modules — transfire@...
Observation:
[#198492] Newbie Questions — Paul Teale <pteale@...>
Hi,
[#198503] Accessing the raw/un-html-ized CGI parameters — "Alexandru E. Ungur" <alexandru@...>
Hi all,
What is this? Webrick, Mongrel, Rails, etc. Difficult to help if wehave no idea what libraries you are using.
[#198505] Ruby goodies? — Roger Johansson <roger.johansson@...>
Im a C# programmer and Im totally new to Ruby.
[#198521] Simple post to IIS Server using net/http — Eduardo Aldaz-Carroll <eduardo@...>
Dear All
Eduardo Aldaz-Carroll wrote:
Alex Young wrote:
I've just done a test with ethereal, to see what was actually been
[#198526] disk_free_space — Darken <lokean.darken@...>
Hi,
Darken wrote:
I was googling and searching newsgroups archive before I asked, can you
On 6/22/06, Darken <lokean.darken@gmail.com> wrote:
[#198544] RailsForge — transfire@...
I notice so many new projects are RoR oriented these days. Anyone
On 6/22/06, transfire@gmail.com <transfire@gmail.com> wrote:
[#198554] while in a tk mainloop — Stuart Brand <stuart@...>
Hi all
Stuart Brand wrote:
[#198569] Why is "nil" being included in an array? — Peter Bailey <pbailey@...>
I'm trying to simply lower-case all of the files in a directory. It
[#198576] Turning an Array into a Hash based on an attribute value — Ashley Moran <work@...>
A guy I work with has some some work on an ActiveRecord class that
$ irb
[#198588] Randomly select an element from an array — David Solis <dsolis@...>
I have an array:
[#198596] ascii representation of unicode string? — darren kirby <bulliver@...>
Hello all.
darren kirby wrote:
[#198603] Class#name= — Joshua Haberman <joshua@...>
Is there any reason that Class#name= shouldn't exist?
Hi,
On 6/23/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
[#198606] Re: ruby-prof-0.4.0 — Charlie Savage <cfis@...>
Hi Mauricio,
[#198609] How odd is Ruby code allowed to be? — Roger Johansson <roger.johansson@...>
Ok, strange question maybe.
[#198641] Fork process with DRb client — "Han Holl" <han.holl@...>
Hello,
[#198650] Rubyforge upload — transfire@...
RubyForge is currently suffering from a bug. Here's a link to the
On Fri, 2006-06-23 at 21:00 +0900, transfire@gmail.com wrote:
[#198653] EXIF Library — Markus Strickler <mstrickler@...>
Hi-
Please try EXIFR, http://rubyforge.org/projects/exifr
Newbie here. What's the syntax to read say the date and time the picture
On Sat, May 12, 2007 at 11:44:53AM +0900, 12 34 wrote:
Jeremy Hinegardner wrote:
On Sun, May 13, 2007 at 01:26:17AM +0900, 12 34 wrote:
Jeremy Hinegardner wrote:
On Sun, May 13, 2007 at 08:46:57AM +0900, 12 34 wrote:
Jeremy Hinegardner wrote:
[#198654] Object browser — John Johnson <johnatl@...>
Is there a graphical, hierarchical object browser available for Ruby?
[#198657] pp Pascal (#84) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
>>> sender: "Ruby Quiz" date: "Fri, Jun 23, 2006 at 10:31:52PM +0900" <<<EOQ
quoth the Alexandru E. Ungur
On Sat, Jun 24, 2006 at 12:45:21AM +0900, darren kirby wrote:
On Jun 23, 2006, at 17:20, Cliff Cyphers wrote:
>>> sender: "Matthew Smillie" date: "Sat, Jun 24, 2006 at 01:30:49AM +0900" <<<EOQ
On Jun 23, 2006, at 11:49 AM, Alexandru E. Ungur wrote:
>>> sender: "James Edward Gray II" date: "Sat, Jun 24, 2006 at 02:42:50AM +0900" <<<EOQ
For another display example, up to row 15:
Did you know that you need only 36 bytes of Ruby code to build
On 23/06/06, Erik Veenstra <erikveen@dds.nl> wrote:
> > Did you know that you need only 36 bytes of Ruby code to
On 24/06/2006, at 9:51 AM, Erik Veenstra wrote:
On Sat, Jun 24, 2006 at 12:23:58PM +0900, Pete Yandell wrote:
> Does that 31 bytes include storing the result of the
On 24/06/06, Erik Veenstra <erikveen@dds.nl> wrote:
> > Building the triangle takes 54 bytes.
How about something like: http://rephorm.com/files/dump/pascal28-2.txt
> I error to the left when aligning on the left side of the
On Sat, Jun 24, 2006 at 04:41:52AM +0900, Erik Veenstra wrote:
Hi again,
So much for the pp part, but this does the Pascal just fine:
Here's an explanation about how to calculate the next row,
Erik Veenstra <erikveen@dds.nl> writes:
Here's the factorial solution I came up with. I wrote a shorter
# Pascal's Triangle (#84)
Mike Nelson <miken700@yahoo.com> writes:
My solution does have one aspect I haven't noticed in everyone's great
Wow... If this quiz hasn't set the record for number of entries and
On Jun 26, 2006, at 6:30 PM, Matthew Moss wrote:
James Edward Gray II wrote:
[#198663] Global Exception Rescue — James Edward Gray II <james@...>
I need to run a script in a special environment. I need to change
[#198667] Warning message about "initialized constant" — Peter Bailey <pbailey@...>
This is part of a script I use that simply ftps a bunch of files over to
[#198682] RubyForge in Ruby? — "David Pollak" <pollak@...>
Folks,
what about building it in .NET ?
Ryan Davis wrote:
[#198717] Queston: array.push — "Dark Ambient" <sambient@...>
Well, I can't believe that I'm back already with another question.
[#198736] class << self? — Roger Johansson <roger.johansson@...>
Can someone please explain exactly what "class << self" does , I just
alias static method:
thanks, Ive figured this part out.
On Sat, 2006-06-24 at 05:36 +0900, Roger Johansson wrote:
[#198757] mysql-ruby + ruby-mysql + activerecord == confusion — Rohit Mehta <ro@...>
I have asked a similar question when reading the announcement about
[#198777] best openssl module? — snacktime <snacktime@...>
I'm looking for a ruby openssl module that implements most of the
On 6/24/06, snacktime <snacktime@gmail.com> wrote:
[#198781] Carats are irreplaceable? (String#tr quandry) — "Pawel Szymczykowski" <makenai@...>
Hi all,
[#198799] Missing parantheses maybe ? — "Dark Ambient" <sambient@...>
Trying to do some fancy formatting and getting an error message.
[#198805] prop = x => y — Roger Johansson <roger.johansson@...>
Why cant I do things like:
[#198813] concatenate hash — cdc@...2go.com (Cliff Cyphers)
Hello,
[#198830] string =~ string — Alex Young <alex@...>
http://ruby-doc.org/core/classes/String.html#M001849 says this:
[#198834] Ruby flaws , follow up to Ruby goodies — Roger Johansson <roger.johansson@...>
Ok Ive got a fair picture of whats good about Ruby.
Lack of available modules for certain things, such as kerberos..
[#198858] What do we want to add to RubyForge (was: RubyForge in Ruby?) — "David Pollak" <pollak@...>
Folks,
Darcs support.
On Sun, 2006-06-25 at 09:37 +0900, transfire@gmail.com wrote:
[#198872] Weird Net::HTTP error — Ben Johnson <bjohnson@...>
You can copy and paste this in irb, but...this is a really strange
[#198887] Debian packaging policy — transfire@...
Looking over the Debian Ruby Policy. If you're interested, a good
On 25/06/06, transfire@gmail.com <transfire@gmail.com> wrote:
Dick Davies wrote:
On Mon, Jun 26, 2006 at 12:47:47AM +0900, Michael Greenly wrote:
[#198892] Stumped:beginners question — "Dark Ambient" <sambient@...>
I'm having a hard time with both getting my branching correct as well
On Jun 25, 2006, at 9:32 AM, Dark Ambient wrote:
I'm just going to rewrite this, because there are a bunch of bad
Alright, if there are any people remaining that have some patience to
OK, first I just *have* to ask: Do you have a copy of Programming Ruby?
On 6/26/06, Rob Biedenharn <Rob@agileconsultingllc.com> wrote:
On Jun 26, 2006, at 19:26, Dark Ambient wrote:
On 6/26/06, Matthew Smillie <M.B.Smillie@sms.ed.ac.uk> wrote:
[#198947] Odd << behaviour — Wouter de Bie <ruby@...>
Consider the following code:
The discrepancy here bothers me, because all of the Ruby tutorials I
being able to do...
Mark Van Holstyn wrote:
It's syntactic sugar. You can't expect it to work with arbitrary
Simen Edvardsen wrote:
[#198969] help please: math or variable problem — "Dark Ambient" <sambient@...>
Preface- I know there is an easier way , since I'll be working into the
[#198999] Question: Counting integers — "Dark Ambient" <sambient@...>
I 've come across this somewhere but right now it's escapeing me.
[#199022] << for Hash? — "Simon Baird" <simon.baird@...>
class Hash
{:foo,1}.merge! :bar => 2
but this screws up the scemantics
Roger Johansson wrote:
On 6/29/06, Joel VanderWerf <vjoel@path.berkeley.edu> wrote:
[#199054] Some ugly code (again) — arnaud stageman <mpepito13@...>
Hello!
[#199067] Ruby and Java equality usage — "Alexandru Popescu" <the.mindstorm.mailinglist@...>
Hi!
On 6/26/06, Alexandru Popescu <the.mindstorm.mailinglist@gmail.com> wrote:
Thanks Robert. I have used that information and I am even linking to
On 6/26/06, Alexandru Popescu <the.mindstorm.mailinglist@gmail.com> wrote:
2006/6/26, Robert Dober <robert.dober@gmail.com>:
On 6/26/06, Robert Klemme <shortcutter@googlemail.com> wrote:
On Jun 26, 2006, at 4:38 AM, Alexandru Popescu wrote:
On 6/27/06, Eric Hodel <drbrain@segment7.net> wrote:
> ... and still wondering how is this answering my question (however
Rober, thanks and thanks. I think you are right. I am a little sad
On 6/27/06, Alexandru Popescu <the.mindstorm.mailinglist@gmail.com> wrote:
2006/6/27, Robert Dober <robert.dober@gmail.com>:
[#199076] Blocking read after select — Antonin AMAND <gwik@...>
Hi,
On Mon, 26 Jun 2006, Antonin AMAND wrote:
unknown wrote:
Here is the full code.
On Mon, 26 Jun 2006, Antonin AMAND wrote:
unknown wrote:
On Mon, Jun 26, 2006 at 11:54:11PM +0900, Antonin Amand wrote:
[#199099] Regex Comparison Causing Massive Memory Usage — Mike Harris <GENIE@...>
Has anyone run into a problem where a regex comparison against a very
On Jun 26, 2006, at 17:04, Mike Harris wrote:
[#199170] Where is HTML::XMLParser ? — Eric Armstrong <Eric.Armstrong@...>
I've seen it mentioned as maybe being in
[#199208] eruby binaries for mswin32 — Don Parakin <parakin@...>
Could anyone help me find a mswin32 binary of eruby? I must develop on
[#199211] Win32 Extension Issues Wanted! — "Austin Ziegler" <halostatue@...>
Everyone. I had a conversation with folks from Microsoft today about
From: "Austin Ziegler" <halostatue@gmail.com>
[#199223] string manipulation — siva kumar <msivakumar@...>
How to add "-" between the numbers
siva kumar wrote:
I really like Alex's solution to this. As a newbie, I always attempt
[#199226] Iconv and incompatible encodings — Alex Young <alex@...>
Hi all,
On 27/06/06, Alex Young <alex@blackkettle.org> wrote:> Is there any way to use the Iconv library to lossily convert between> partially incompatible encodings? In other words, if, for example, I've> got a UTF-8 string that I need to convert down to 7-bit ASCII, and I> don't especially care what happens to the extended characters (short of> a single character being mapped to a single character - ideally one I> can specify), is there any way of forcing the recode?
Paul Battley wrote:
Paul Battley wrote:
On 10/07/06, Daniel DeLorme <dan-ml@dan42.com> wrote:
Paul Battley wrote:
I have also a problem with iconv. I'm under linux (configured with utf-8
On Oct 13, 2008, at 12:48 PM, Davi Barbosa wrote:
James Gray wrote:
Hi,
[#199253] newbie doesn't understand why's example — dave rose <bitdoger2@...>
in why's poignant guide to ruby...
>>>>> "d" == dave rose <bitdoger2@yahoo.com> writes:
....your one-liner below is even more confusing for this newbie...i
Read Guy's post again. It's all there. The two occurrences of .join call
[#199282] RedLetter Ruby Journal — "pat eyler" <pat.eyler@...>
Has anyone who subscribed to the RedLetter gotten their
On 6/27/06, pat eyler <pat.eyler@gmail.com> wrote:
[#199291] Re: Ruby and Java equality usage — "Molitor, Stephen L" <Stephen.L.Molitor@...>
>>>>> "J" == Jacob Fugal <lukfugl@gmail.com> writes:
On 6/27/06, Molitor, Stephen L <Stephen.L.Molitor@erac.com> wrote:
[#199298] how to wrap methods of WIN32OLE objects — Xavier Noria <fxn@...>
I am doing screen-scraping with Explorer:
[#199314] Rake tasks for Trac? — James Britt <james.britt@...>
Before I reinvent too many wheels, has anyone cooked up, or know about,
[#199316] URI::InvalidURIError when using curly brackets — Richard Leonard <richardleonard@...>
I've been experimenting using open-uri to retrieve HTML from various
[#199317] na_str-0.0.0 : combining narray with mmap for persistant numerical data — ara.t.howard@...
ara.t.howard@noaa.gov wrote:
On Fri, 30 Jun 2006, Joel VanderWerf wrote:
[#199328] Re: Unicode roadmap? — "Berger, Daniel" <Daniel.Berger@...>
> -----Original Message-----
On 6/27/06, Berger, Daniel <Daniel.Berger@qwest.com> wrote:
On 6/28/06, Patrick Hurley <phurley@gmail.com> wrote:
On 6/28/06, Dmitrii Dimandt <dmitriid@gmail.com> wrote:
Hi,
On 6/28/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
On 6/28/06, Julian 'Julik' Tarkhanov <listbox@julik.nl> wrote:
On 6/28/06, Julian 'Julik' Tarkhanov <listbox@julik.nl> wrote:
I'll give a little ground on a few points. Perhaps I had a dream that
On 6/28/06, Charles O Nutter <headius@headius.com> wrote:
On Jun 28, 2006, at 2:51 PM, Austin Ziegler wrote:
[#199341] gems.rubyforge.org/yaml corrupt? — "Jason Dusek" <jsn.s.rubix.cube@...>
i sent this query to rubygems-developers@rubyforge.org, but now that i
[#199350] REXML and Excel XML :) — Andrew Gibson <gibson_andrew@...>
I set myself the task of being able to parse a random xml file generated
[#199381] How to model Hibernate multi-table inheritance with ActiveRecord? — Marcus Andersson <m-lists@...>
Hi
Marcus Andersson wrote:
On 6/28/06, Alex Young <alex@blackkettle.org> wrote:
delegation is powerful, no question...
On 6/28/06, Peter Ertl <pertl@gmx.org> wrote:
[#199382] mkrf 0.1.0 released — "Kevin Clark" <kevin.clark@...>
I'm pleased to announce that tonight marks the first release of mkrf,
[#199383] Beginners question: branching and ends — "Dark Ambient" <sambient@...>
trying to figure out exactly where 'end' needs to be in my code. I'm
Stuart;
Helps a great deal! TY. I do use indentation and the odd thing is when
[#199387] remove all illegal chars form string — thomas coopman <thomas.coopman@...>
Hi,
On Jun 28, 2006, at 8:09 AM, thomas coopman wrote:
On 6/28/06, James Edward Gray II <james@grayproductions.net> wrote:
Troy Denkinger schrieb:
[#199407] ANN: RubyGems 0.9.0 Release — Jim Weirich <jim@...>
= Announce: RubyGems Release 0.9.0
I added better RubyGems 0.8.11 support to RubyScript2Exe, this
On 6/28/06, Jim Weirich <jim@weirichhouse.org> wrote:
I'm getting an error on step 2 (update_gems). I'm on WinXP, Ruby
[#199421] eigenclass not extensible ? — "Jonas Pfenniger" <zimba.tm@...>
... in the particular case where the method already exists.
Not sure if I read it correctly but in both cases the singleton method
Effectively :
On 29/06/06, transfire@gmail.com <transfire@gmail.com> wrote:
[#199434] XML in ruby — "Pedro Cte-Real" <pedrocr@...>
What do you usually use to work with XML in ruby. REXML seems to be
Pedro Cte-Real wrote:
On 6/29/06, Alex Young <alex@blackkettle.org> wrote:
Pedro Cte-Real wrote:
[#199446] flexible graph library - sans hash — ara.t.howard@...
[#199523] Sorting arrays — "Dark Ambient" <sambient@...>
I'm having some major comprehension problems in figuring out this problem.
On Jun 28, 2006, at 5:59 PM, Dark Ambient wrote:
On 6/29/06, James Edward Gray II <james@grayproductions.net> wrote:
##################################
I have a question on the code below that James shared with me. While
On Jul 8, 2006, at 22:41, Dark Ambient wrote:
On 7/8/06, Matthew Smillie <M.B.Smillie@sms.ed.ac.uk> wrote:
On 7/8/06, Matthew Smillie <M.B.Smillie@sms.ed.ac.uk> wrote:
Hi --
On 7/9/06, dblack@wobblini.net <dblack@wobblini.net> wrote:
Hi --
On 7/9/06, dblack@wobblini.net <dblack@wobblini.net> wrote:
Hi --
On 7/9/06, dblack@wobblini.net <dblack@wobblini.net> wrote:
[#199525] Re: Sorting arrays — Nuralanur@...
You can use the sort method on the entire Array:
Apologies, I can't use array.sort. This is to build my own.
On 6/28/06, Nuralanur@aol.com <Nuralanur@aol.com> wrote:
[#199533] Ruby won't update — Damien Timewell <mail@...>
I'm trying to update ruby from 1.8.2 to 1.8.4 on mac os x, but it just
On Jun 28, 2006, at 4:57 PM, Damien Timewell wrote:
[#199558] Changes to x within x.each() — "Jim V. Tess" <jimvtess@...>
Does Ruby have defined behavior for 'each' in the following:
[#199585] Reflection brakes encapsulation — "Valentin Samareanu" <vsamareanu@...>
[#199595] pp Pascal (#84) — Ruby Quiz <james@...>
My wife, Dana, is the one working through Learning to Program and the reason I
[#199629] Is a block converted to a Proc object before yield? — Sam Kong <sam.s.kong@...>
Hello!
Sam Kong wrote:
While to anybody else this code made things clear, for me it is still
Alexandru Popescu wrote:
Thanks Joel... it looks like my initial understanding was wrong. It is
[#199649] Gems not found - what is the standard — Lanny Rosicky <lanny@...>
I have Ruby installed on AIX. When running an application (typo in this
On 6/29/06, Lanny Rosicky <lanny@canczech.com> wrote:
Austin Ziegler wrote:
On 6/29/06, Lanny Rosicky <lanny@canczech.com> wrote:
Austin Ziegler wrote:
On 6/29/06, Lanny Rosicky <lanny@canczech.com> wrote:
Oh, and by the way, what version of Typo are you using? As far as I
Jacob Fugal wrote:
[#199673] Ruby thread feat. win32 message cycle — "Victor 'Zverok' Shepelev" <vshepelev@...>
Hi all.
My guess would be that runMessageCycle never returns (until the while loop
From: Francis Cianfrocca [mailto:garbagecat10@gmail.com]
[#199683] Where to find Ruby code idiom, is there a style guideline — uncutstone wu <uncutstone@...>
On 6/30/06, uncutstone wu <uncutstone@sina.com> wrote:
[#199691] Time To Pick the Mongrel BUGS Mascot! — Zed Shaw <zedshaw@...>
Bradley Taylor shot me this *goldmine* of ugly ugly ugly dogs:
Munchkin +1
[#199709] Rational about the Gem package format? — transfire@...
I was just wondering about the rational behind the format of gem
[#199723] C-Style Ints (#85) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
Hi!
Jupp wrote:
Hi!
On Mon, 3 Jul 2006, Josef 'Jupp' SCHUGT wrote:
On Jul 3, 2006, at 9:35 AM, ara.t.howard@noaa.gov wrote:
On Mon, 3 Jul 2006, James Edward Gray II wrote:
On Tue, Jul 04, 2006 at 12:30:09AM +0900, ara.t.howard@noaa.gov wrote:
I have some questions about some more edge cases.
fr ruby quiz:
[#199730] Order of precedence — "Dark Ambient" <sambient@...>
Just checking
Re: Quick singleton question
> -----Original Message-----
> From: David Pollak [mailto:pollak@gmail.com]
> Sent: Friday, June 23, 2006 12:10 PM
> To: ruby-talk ML
> Subject: Re: Quick singleton question
>
> Ben,
>
> Try:
> class Dude
> attr parent
> attr kids
>
> def initialize(parent)
> @parent = parent
> @kids = []
> parent.add_kid(self) unless parent.nil?
> end
>
> def do_something_in_the_tree(depth = 0, &block)
> @kids.each {|kid| kid.do_something_in_the_tree(depth + 1, &block)}
> block.call(self, depth)
> end
>
> protected
> def add_kid(the_kid)
> @kids << the_kid
> end
> end
>
> Kids know their parent. Parents know their kids. I threw in a way to
> recursively walk the tree... so you can do something like:
> root.do_something_in_the_tree {|node, depth| puts "#{'
> '*depth}#{node}" }
>
> Thanks,
>
> David
Hi David,
I was actually fishing for the best way to add the instance_variable and
accessor at runtime in case I need it another day, but your code below is
nicer than mine for this particular static class, thanks a lot. I was using
a child array and instance_variable_set in add_child (by default assume no
parent) whereas you're assuming a parent param to initialize by default,
which is probably cleaner. I especially like the recursive tree-walk that
takes a block. Thanks. :)
Cheers,
ben