[#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
On Thu, 1 Jun 2006, Mauricio Fernandez wrote:
On Fri, Jun 02, 2006 at 12:27:32AM +0900, ara.t.howard@noaa.gov wrote:
Mauricio Fernandez wrote:
On Thu, Jun 01, 2006 at 09:33:29PM +0900, Jeff Rose wrote:
Mauricio Fernandez 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:
Alder Green 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
[#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:
On Sat, 3 Jun 2006 03:31:05 +0900, "Jacob Fugal" <lukfugl@gmail.com> 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
[#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:
[#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 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?
"I then jumped into Ruby(a whole lot of fun!) but I don't get the warm
On 6/4/06, Hector <dummy@tracatran.com> wrote:
Phil Tomson 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 5, 2006, at 11:22 AM, ReggW wrote:
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
[#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,
[#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
Jeff Cohen wrote:
I think Ruby has an important message for the programmer:
I use both, judiciously, especially modifications of library classes.
Hi --
> The problem is that once you add behavior, it is existing, and someone
Hi --
[#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!
[#196126] Multiple threads on single port — Stuart Brand <stuart@...>
Hi all
[#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,
darren kirby wrote:
On 6/6/06, darren kirby <bulliver@badcomputer.org> 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,
[#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 Thu, 8 Jun 2006, Alder Green wrote:
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,
From: "Bill Guindon" <agorilla@gmail.com>
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:
On 6/9/06, transfire@gmail.com <transfire@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,
Hi,
Hi,
On Mon, 12 Jun 2006, Yukihiro Matsumoto wrote:
Yukihiro Matsumoto wrote:
Logan Capaldo 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,
Hi,
transfire@gmail.com wrote:
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 Tue, 13 Jun 2006 transfire@gmail.com wrote:
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:
[#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
You could have functions that query the points in the system instead
[#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:
Louis J Scoras 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:
Jeremy Tregunna wrote:
Hello,
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 <M.B.Smillie@sms.ed.ac.uk> writes:
On Jun 12, 2006, at 12:42, Christian Neukirchen wrote:
Matthew Smillie wrote:
[much elided, since a lot of it seems like specific examples of the
Ruby and Scheme are both beautiful languages.
Hi,
wenas agusetiawan wrote:
James Britt <james.britt@gmail.com> writes:
[#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 16:12 20.06.2006, Michal Suchanek wrote:
Kyrre Nygard 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:
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:
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:
[#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:
[#197035] http#get return 404 error — "Lian Yan" <lyan@...>
Hi,
[#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
Hello, everyone. I am sorry, I was a bit embarassed by the quantity of
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,
Yukihiro Matsumoto wrote:
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 Mon, Jun 26, 2006 at 11:21:59AM +0900, Yukihiro Matsumoto wrote:
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, 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/28/06, Izidor Jerebic <ij.rubylist@gmail.com> wrote:
On 6/26/06, Izidor Jerebic <ij.rubylist@gmail.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:
[#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 Jun 14, 2006, at 11:56 PM, Logan Capaldo wrote:
On 6/14/06, Dae San Hwang <daesan@gmail.com> wrote:
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:
> Matz has said several times that he will maximize the breakage moving
[#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,
[#197497] A few good articles on Unicode — "Charles O Nutter" <headius@...>
To add a little fuel to the discussion (and to help dispel some rumors,
[#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:
> 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,
[#197854] Overiding method in String — Bojan Mihelac <lists@...>
Do I do something wrong here or I cannot override method upcase in String?
[#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:
Quoting Matthew Smillie <M.B.Smillie@sms.ed.ac.uk>:
Hi Matthew,
> I'm not too keen on #shuffle having a dual function as both a
Matthew Smillie wrote:
[#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@...>
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?
On Jun 20, 2006, at 9:26 AM, Kroeger, Simon (ext) wrote:
[#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,
[#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
[#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.
On 22/06/06, darren kirby <bulliver@badcomputer.org> 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
Remco van 't Veer wrote:
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
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
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:
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,
Ryan Davis wrote:
what about building it in .NET ?
[#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
but this screws up the scemantics
Roger Johansson wrote:
On 6/29/06, Joel VanderWerf <vjoel@path.berkeley.edu> wrote:
{:foo,1}.merge! :bar => 2
[#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:
2006/6/26, Robert Dober <robert.dober@gmail.com>:
On 6/26/06, Robert Klemme <shortcutter@googlemail.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:
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:
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 Jun 27, 2006, at 3:05 PM, Berger, Daniel wrote:
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
[#199365] QInputDialog syntax — Graham Smith <gqs@...>
Hi,
[#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:
I have some questions about some more edge cases.
Hello,
fr 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:
[#199730] Order of precedence — "Dark Ambient" <sambient@...>
Just checking
Ruby Weekly News 5th - 11th June 2006
http://www.rubyweeklynews.org/20060611.html
Use the link above for a nicer version of this newsletter that's formatted for
the web, including links to threads and other sites. You can also subscribe
to a newsletter-only mailing list, or to RSS/Atom feeds.
Ruby Weekly News 5th - 11th June 2006
=====================================
Ruby Weekly News is a summary of the week's activity for the ruby-talk
mailing list (and its mirror equivalents the ruby-talk google group and
the Ruby forum) and the comp.lang.ruby newsgroup.
This week's newsletter is brought to you by Tim Sutherland.
[ Contribute to the next newsletter ]
Articles and Announcements
==========================
* Ruby Whitepapers (ruby-talk)
------------------------------
Eric Armstrong wrote a series of articles Ruby Makes My Head Explode
in a one-week spree:
* Ruby Rocks!
* Rake Rocks!
* Getting Started in Ruby
* Installing Ruby (Linux info added by John Gabriele)
* Installing Ruby Gems
* Adding Ruby Extensions
* Which GUI Language to Use? (FxRuby vs. WxRuby)
* Feel like contributing? (comp.lang.ruby)
------------------------------------------
Gregarican asks for help completing a Ruby telephony library he'd been
working on before running out of time.
"It provides a working telephony library that communicates with PBX
systems for call detail reporting, call control, etc. It's maybe
50-75% complete and hasn't been updated by me since November 2005.
This *isn't* a VoIP project. It's CTI."
User Group News
===============
* Phoenix Ruby Users Group meeting this Monday, June 12 (ruby-talk)
-------------------------------------------------------------------
The Phoenix Ruby Users Group had their June meeting on the 12th.
Link of the Week
================
* Ruby Inside: Daily Ruby tips, news, code and frivolity
--------------------------------------------------------
Ruby Inside is a blog by Peter Cooper that's been running for a couple
of weeks. So far it's had multiple interesting posts every day,
ranging from original overviews of little-known Ruby libraries, to
announcements of new tools, libraries and articles.
Worth a look.
Threads
=======
Another Look at SELECTOR NAMESPACES (ruby-talk)
-----------------------------------------------
Trans posted some simple code adding partial support for selector
namespaces in Ruby. It works by making copies of top-level constants, and
is only for demonstration purposes.
XML Parsing Speed - ruby libxml & REXML (comp.lang.ruby)
--------------------------------------------------------
subimage's code was taking too long to parse XML files (some of which were
400MB). He tried using libxml instead of REXML, and this helped, but it
was still too slow.
rcoder explained that he should use stream (event) parsing for large XML
documents, instead of parsing entire documents into memory at once (and to
make things worse, then using XPath to select nodes).
After switching to REXML's stream-parsing mode, subimage remarked "Ok so I
finally dug into the stream parser and this is lightning fast!"
Finally, Mathieu Blondel tested the expat bindings for Ruby a few months
ago and found its stream-parser to be up to 20 times faster than REXML's.
Can Ruby play with COM ? (ruby-talk)
------------------------------------
Can Ruby talk to Windows software that has a COM interface? Absolutely,
with the standard library `win32ole'.
Runtime debugging tools needed?!! (comp.lang.ruby)
--------------------------------------------------
The web-testing tool Watir brought Jonathan Ni to Ruby, and he now has
some ideas for speeding up test development. His company has a large and
complex set of Watir tests for their web application, and need to
constantly modify the tests as the application they're developing changes.
They're finding the `run test suite', `fix error in test', `re-run' cycle
takes too long (partly due to it taking a long time to set up the test
data), so Jonathan would like to run the tests and have them pause
whenever an error occurs, allow him to edit the test code, and continue
without restarting.
Andrew McDonagh suggested he instead consider whether all his tests really
need to be "end-to-end" (i.e. act exactly like a normal user, going
through a web browser). "A more reliable, flexible, less maintenance
approach is to partition the tests so that very few actually go
end-to-end." He gave some examples of what he means by tests that aren't
end-to-end.
Jonathan could also look into making the tests more independent, so he can
fix and re-run each small test without having to wait for the whole lot to
complete.
The original debug/fix/continue idea is a good one though. It would be
worth looking into the various Ruby debuggers out there. Perhaps the
ruby-talk readers have some ideas? (It's worth raising awareness that a
lot of programmers are coming to Ruby through Watir.)
Ruby Weekly News 29th May - 4th June 2006 (ruby-talk)
-----------------------------------------------------
In the thread announcing last week's Ruby Weekly News, James Edward Gray
II said he was "90% sure" he'd found a new host for the ruby-talk mailing
list comp.lang.ruby newsgroup gateway. "Give me a couple of weeks to iron
out all the details...", then hopefully the list and newsgroup will be
mirrored again.
Ruby for Highschoolers? (ruby-talk)
-----------------------------------
This thread discussed the relative merits of Scheme and Ruby as languages
for a high-school introductory programming course.
Scheme is a smaller, simpler language, and there is a lot of teaching
material already prepared for it. While Ruby has many features (e.g.
plenty of syntactic sugar) that make it nice to develop in once you know
the language, these can be confusing to beginners.
There were also arguments that Ruby is an excellent language for
beginners. Curt Hibbs points out "Learn To Program" by Chris Pine,
a book (and online tutorial) that's geared towards those who have never
programmed before. It teaches programming using Ruby.
Ruby has an advantage over Scheme in that it has a rich collection of
libraries, so even new programmers can write useful, real (as well as fun)
programs - great for motivation.
iterative question (ruby-talk)
------------------------------
Joe wants to get an array of all Dates in a range.
Daniel Schierbeck said (start_date..end_date).to_a would do the trick, and
Chris showed an alternative approach, using Date#upto to iterate over the
date range.
Ruby Quiz Wins Contest (ruby-talk)
----------------------------------
Last week's Ruby Quiz, "Hash to OpenStruct (#81)" by Hans Fugal had
enough entries to qualify for a signed copy of James Edward Gray II's
"Best of Ruby Quiz" book.
Cool.
Anyone aware of a Ruby-module for ICQ? (ruby-talk)
--------------------------------------------------
Groleo Marius wanted to know if Ruby has any libraries for talking to ICQ.
Net::IM by Paul Vaillant will support the protocol in the future, and
Francis Cianfrocca has implemented Oscar/AOL (the AOL instant messaging
protocol, including ICQ) in Ruby, and has it running on several large
sites, but has not released the code.
In the end, Groleo decided to port the Perl library Net::Oscar to Ruby.
ruby-forum.com (ruby-talk)
--------------------------
ruby-forum.com is a collection of web forums that are gateways to
Ruby-related mailing lists. (Posts to the lists show up on the forums, and
posts from the forums show up on the lists.)
Unfortunately, many users of the Ruby web forum apparently don't realise
their messages are sent to the ruby-talk list, so they do things (like not
quoting messages) which make perfect sense on a web forum, but cause
inconvenience for everyone else. In addition, posters from the forum are
often newbies who ask questions that have been answered many times before.
Matthew Smillie suggests the forum have links to ruby-doc.org and others,
to encourage ruby-forum users to check the documentation before posting
questions.
> [...] I'm also of the view that the quality and tone of the questions
> from ruby-forum often leave something to be desired.
>
> I have a hunch this is because google groups and mailing lists tend to
> be used by people who already know what they're looking for, and already
> know where the docs live. I'd bet that a number of the people posting
> from the forum are probably not aware of all the resources available to
> them.
The thread turned into a discussion of how to read ruby-talk, which now
receives over 4000 messages per month. (Eric Hodel linked to some code of
his for using statistical techniques for selecting "interesting" posts.)
Dave Burt: "Does anyone read all 4000 posts per month?" Austin Ziegler and
Hal Fulton say they try. Your Ruby Weekly News editor reads almost every
subject line :-)
How can I pin a Ruby object in memory? (ruby-talk)
--------------------------------------------------
A C extension question: in .NET your C code can't simply store a pointer
to a managed object, since the .NET garbage collector can move objects
around in memory (the main implementation has a compacting garbage
collector), so you sometimes have to wrap objects in a GCHandle, which is
guaranteed not to move.
John Lam asked if the same is required in Ruby C extensions. Minkoo Seo
said no, since Ruby's collector is not a compacting one.
(C extensions are allowed to depend on this fact. At least, objects
referenced by VALUEs on the stack or in registers, or those referenced by
rb_gc_mark in C extensions, are guaranteed not to move. It would be
possible in the future to change Ruby to use a partially-collecting
garbage collector that could move objects not referenced by C extensions.)
Mauricio Fernandez also posted some information on navigating the source
code of the Ruby interpreter.
Serious YAML bug (comp.lang.ruby)
---------------------------------
Frantisek Fuka found a bug with YAML in Ruby 1.8.4 (2005-12-24) shipped
with his Dapper Drake Linux distribution (Ubuntu) where it is limited to
reading files < 4096 characters long.
ts said the bug is fixed with more recent versions of 1.8.4 that you can
download from CVS.
Francis Hwang:
> If you need to stick with YAML, I'd recommend getting Ruby from CVS
> head; it's supposed to contain a newer version of Syck. If you can get
> away with it, though, I'd suggest using Marshal instead. It's less cool
> than YAML, but pretty solid otherwise.
Problems with rb_struct_define and 64 bit Ruby (ruby-talk)
----------------------------------------------------------
ts: "Well, the architecture x86_64 was created to make in sort that C
programmer understand the difference between (int)0 and (void *)0".
Read this thread if you don't think there's a difference, or that it
doesn't matter.
Modules / Documentation / CPAN like repository?? (ruby-talk)
------------------------------------------------------------
Paul D. Kraus wondered if Ruby has an equivalent to perldoc - a
command-line tool for displaying documentation information on standard
libraries as well as those installed separately.
James Edward Gray II said that ri is the Ruby command, for example
"ri Find" or "ri String#split". He noted that documentation is not
always automatically installed for Ruby, or for third-party libraries.
"If you build from source, it's important to make install-all."
James Britt added that ruby-doc.org has online documentation.
Calling a Class Method with a class name (comp.lang.ruby)
---------------------------------------------------------
This thread (and a couple of others), asked how to get a class from its
name, without using eval(class_name). The solution is
Object.const_get(class_name). If you're using Rails, you can also use
class_name.constantize, which has the benefit of working even when
class_name is e.g. "A::B::C".
Running Coach (#82) (ruby-talk)
-------------------------------
Ruby Quiz this week is inspired by Benjohn Barnes and his girlfriend's
jogging programme, which includes periods of jogging, brisk walking and
resting.
"I was explaining to a friend that it's incredibly difficult for me to
look at a stop watch and work out in my head if we're supposed to be
jogging or walking, how many more jogs we've got to do, and when I can
stop and rest. He suggested: `why not tape yourself giving prompts about
when to start and stop'."
Being programmers, we should of course automate this.
> Write a program to create the tracks for each of the eight weeks. Make
> it give helpful and enthusiastic advice like "you've got to run for
> another minute / 30 seconds / 15 seconds ...", "walk now for two
> minutes, you've got three jogs left", "you're on jog 2 of 6", or "well
> done, that's your last jog. Don't forget to cool down and stretch!"
ruby qt (comp.lang.ruby)
------------------------
Shea Martin asked if the Ruby/Qt bindings were unmaintained, since all the
references to it are old, but Richard J. Dale explained that it's due to a
name change:
Bindings for Qt1 and Qt2 were called Ruby/Qt, while the Qt3 and Qt4
bindings are called QtRuby. The latter is complete and is actively
maintained.
The book "Rapid GUI Development with QtRuby" was also recommended.
Which encoding causes fewest problems in Ruby 1.8.2? (ruby-talk)
----------------------------------------------------------------
Jim Smith wants to know which string encoding works best with Ruby: UTF-8,
ISO-8859-1 or ISO-8859-15.
Matz said that all of them will work (with the appropriate -K? option to
set the encoding), but for UTF-8 you need to be careful when doing
character-based operations (length and indexing) - use Regexp-based
methods for these instead of String ones.
(For example, String#length may return an incorrect value for a UTF-8
string, but mystring.split(/./).length returns the correct value. Future
Ruby releases will have better support for different encodings.)
Set minimum for random number generator (comp.lang.ruby)
--------------------------------------------------------
In Python, random.randint(min, max) returns a random integer between min
and max (inclusive). OrganicFreeStyle asked what the Ruby equivalent to
this is. "Rand allows you to set the max, but what about the min?"
ZeD replied: min + rand(max-min)
That's the exclusive form; you need min + rand(max-min+1) to include the
maximum in the possible range of values.
There have been discussions in the past about having a Range#rand method
that would behave sensibly for a range of integers. For example,
(1..10).rand would return an integer between 1 and 10 inclusve if the
following code was defined:
class Range
def rand
min + Kernel.rand(max-min+1)
end
end
(The above na阮e version won't work with ranges of anything other than
integers - not even floats.)
Creating a future date (comp.lang.ruby)
---------------------------------------
How to create the date for a year from today? JimC posted a nice solution
that uses Date#>>(n), a method that shifts a date by n months.
require 'date'
next_year = Date.today >> 12
Getting a list of Processes (ruby-talk)
---------------------------------------
Ways of getting a list of running processes in Windows: use the
`sys/proctable' library, or use win32ole and `winmgmts'.
An example of the latter was given by Brad:
def get_process_info()
procs = WIN32OLE.connect("winmgmts:\\\\.")
procs.InstancesOf("win32_process").each do |p|
puts p.name.to_s.downcase
end
end
I love Ruby - But how bright is Ruby's Future? (ruby-talk)
----------------------------------------------------------
A poster asks about Ruby's future - are lots of people using it, will it
be maintained, has he made the right decision in starting to learn Ruby.
Jim Freeze said "stay tuned, you have made a good choice", and asked if
he'd noticed all the press lately (particularly around Rails). Linux
Journal (cover), Dr. Dobbs (cover), Business Week, Wired, Newsweek, and so
on.
"The press hype may die down, but the infrastructure that is being built
(and the fact that people like the language) pretty much secure Ruby's
existence for some time to come."
Many posts in the thread say that it's worthwhile learning new languages,
regardless of their popularity, and others discuss the corporate
acceptance (and acceptability) of Ruby compared with Python. (Coverage in
business magazines certainly helps.)
reading data from excel (ruby-talk)
-----------------------------------
Parvinder Ghotra wants to read data from Excel files using Ruby, and was
recommended to either use Win32OLE to get Excel itself to read the files,
or to use the `parseexcel' library.
EURUKO 2006 (ruby-talk)
-----------------------
Stephan K舂per pondered the location for EURUKO 2006 (European Ruby
Conference), saying he would quite like Hamburg or Copenhagen, but
wouldn't mind Munich again.
Others "voted" on these locations, with Tim Becker adding Kn (Cologne)
as an option, and Laurent Sansonetti suggesting Brussels, noting that
FOSDEM (Free and Open Source Developers European Meeting) is successfully
held there every year.
Robert Klemme said the location will ultimately be up to whichever person
or organisation makes the effort to organise it.
New Releases
============
Releases this week include ...
DRMAA for Ruby (ruby-talk)
--------------------------
"DRMAA is an interface standard for job submission and control to
Distributed Resource Manager (DRM) systems such as Condor,
PBS/OpenPBS/Torque, Platform LSF, Sun's N1 Grid Engine and others."
Andreas Haas created DRMAA bindings for Ruby (with Ruby/DL).
Ruby-GetText-Package-1.6.0 (ruby-talk)
--------------------------------------
Masao Mutoh released a new Ruby-GetText-Package (a localisation library
and tool similar to GNU gettext - it assists developers in creating
programs that can output messages in different languages).
Chinese (zh_CN) and Italian (it) translations are now included, and the
management of textdomains is improved.
RbYAML 0.2: Pure Ruby YAML 1.1 parser and emitter (ruby-talk)
-------------------------------------------------------------
The pure-Ruby YAML parser and emitter, RbYAML, had a major release, with
performance improvements, better test cases, bugfixes and more.
Mongrel Pre-Release 0.3.13 -- Katana Suicide Concurrency (ruby-talk)
--------------------------------------------------------------------
A Mongrel pre-release (Mongrel is a web server for Rails, Camping and
Nitro web applications) was announced by Zed Shaw. The official 0.3.13
will be out soon, and will be followed by 0.4 (aka "Enterprisey Edition
1.2").
Ruby Reports 0.4.5 (ruby-talk)
------------------------------
Ruby Reports 0.4.4 and 0.4.5, the "Hey, I've got a brand new formatting
engine" and "Arbitrary Additions to DataSet" editions were released by
Gregory Brown.
Ruby Reports is a 2006 Google Summer of Code project, and Gregory is
aiming to have a release every 10 days for the rest of (Northern
Hemisphere) summer.
Acknowledgements: "Dudley Flanders for his excellent work on DataSets in
this release."
Madeleine 0.7.3 (ruby-talk)
---------------------------
"Madeleine is a Ruby implementation of Object Prevalence: Transparent
persistence of business objects using command logging and snapshots."
This release fixes a win32 bug introduced in the last. "The other news is
that we're moving to Rich Kilmer's basement, i.e. RubyForge, so update
your links!"
rubyrss-1.0 (ruby-talk)
-----------------------
RubyRSS is a new tool for parsing and generating RSS feeds. Kouhei Sutou
noted that it is similar to RSS Maker, which is part of Ruby's standard
library.
FreeRIDE 0.9.6 - The Free Ruby IDE (ruby-talk)
----------------------------------------------
Laurent Julliard announced a bugfix release of FreeRIDE.
"FreeRIDE aims to be a full-featured, first-class IDE on a par with those
available for other languages, with all the best-of-breed features that
you would expect in a high-end IDE."
ruby-prof for windows (ruby-talk)
---------------------------------
Charlie Savage ported Shugo Maeda's fast Ruby profiler "ruby-prof" to
Windows, including a binary for easy installation.
"ruby-prof is a code profiler like the built-in ruby profiler but is
orders of magnitude faster."
slave-0.0.1 (ruby-talk)
-----------------------
Ara.T.Howard issued the first slave release, a library for creating
master-child processes that communicate via DRb, with heartbeat
monitoring.
"The purpose of Slaves is to be able to easily set up a collection of
objects communicating via drb protocols instead of having to use IPC."
rq-2.3.3 (ruby-talk)
--------------------
"ruby queue (rq) is a zero-admin zero-configuration tool used to create
instant unix clusters."
Ara.T.Howard fixed some bugs, added the ability to dump
stdin/stderr/stdout and made `rotate' more robust.