[#181897] Teaching Ruby to COBOL programmers — "Wilson Bilkovich" <wilsonb@...>
This isn't a troll, I promise. I'm actually going to be doing this tomorrow.
On 2/28/06, Wilson Bilkovich <wilsonb@gmail.com> wrote:
[#181912] save file — misiek <michaelaugustyniak@...>
my form
[#181927] Your Favorite One Liner — "Daniel Nugent" <nugend@...>
Give out your favorite one liner, what it does, and when you use it.
[#181931] Hash.from_zipped_array — "Farrel Lifson" <farrel.lifson@...>
Hi folks,
On Wed, 1 Mar 2006, Farrel Lifson wrote:
Hi --
[#181978] ASP.NET 2.0 vs Ruby On Rails — "Moni" <mghaoui@...>
Hi,
First, you'd probably get better response from the Rails list.
[#181991] Getting data from html-ish like crap. — spam_monkey <"sidhellfire(spam_monkey)"@...2.pl>
Hi,
[#182000] Regex replacement problem---replace every n-th — junk5@...
Hi all
[#182007] Indexing system - ruby newbie — Adam Groves <adam.groves@...>
Hi there,
Adam Groves wrote:
On Wed, 2006-03-01 at 22:33 +0900, Dave Burt wrote:
Dear Ross,
On Thu, 2006-03-02 at 00:14 +0900, Adam Groves wrote:
how about that?
On Thu, 2006-03-02 at 01:42 +0900, Peter Ertl wrote:
[#182018] multi CPU machine — Ben Gun <joe2@...>
Hi, is Ruby capableof making use of multiple CPUs?
On Wed, 1 Mar 2006, Ben Gun wrote:
[#182029] pthreads on HPUX — benjohn@...
[#182033] Can Anyone Recommend A Good DSL Book? — "Sean Mountcastle" <smountcastle@...>
I apologize if this has been asked on this list before (I did a quick
Sean Mountcastle wrote:
[#182039] code snippet: can it be done better/shorter? — "Krekna Mektek" <krekna@...>
AFAIC See, this works all right, but my question is, just to learn the
Hi --
Hi there,
Hi --
A bit late, but I was reading this post again, but your code is
On 5/9/06, Krekna Mektek <krekna@gmail.com> wrote:
[#182054] Crib/summary sheet for Ruby — "andy" <andy19191@...>
Is there a 1 or 2 page summary/crib sheet available for the Ruby
[#182076] Intercepting STDERR — "Phrogz" <gavin@...>
I'm writing a Ruby script to run Lua code for TextMate. Using:
On Thu, 2 Mar 2006, Phrogz wrote:
[#182077] Ruby Path — Joiey.Seeley@...
My ruby applications have suddenly stopped running on my PC. It looks
[#182092] Ruby based Project Control application? — James Byrne <byrnejb@...>
I am looking for an open-source, web-based, project control,
[#182098] show all files from a folder — misiek <michaelaugustyniak@...>
I can not find nothing about files in google,
[#182099] RubyConf 2006, October 20-22, Denver! — dblack@...
Dear Rubyists,
[#182116] Confusion Over Keyword Arguments — "Mr. Big" <no@...>
Ruby 2.0 will include new syntax for hash literals: {a:3, b:4}. However,
Mr. Big wrote:
[#182131] case/when question — cremes.devlist@...
I was intrigued by the post that _why put up a few days/weeks ago
[#182137] Where to put ruby.h? — James Byrne <byrnejb@...>
I install ruby via a binary rpm, however I have a requirement to provide
[#182158] Newby question: Is += atomic for integers? — "rj-cole" <richard.j.cole@...>
Hi,
[#182176] Re: Digest Articles 181864-182030 (17/17) (ruby-talk ML) — Benjohn Barnes <benjohn@...>
[#182207] cleaner Ruby in a rails view — petermichaux@...
Hi,
You can make sure that item.cart_item_optional_values is always equal
is something like the following acceptable?
Hi --
As a side thought. Why doesn't the nil class have an each method that
Hi --
I know this is the ruby list and not the rails list but it would be nice
On Mar 2, 2006, at 9:33 AM, Charlie Bowman wrote:
In lisp, nil is the empty set, and can be enumerated in the standard
Hi,
The only time this nil problem occurs for me is with rails views. With
Hi --
On Mar 2, 2006, at 1:06 PM, dblack@wobblini.net wrote:
[#182216] Class method in singleton_methods? — "Minkoo Seo" <minkoo.seo@...>
Hi group.
Hi --
On Sun, 05 Mar 2006 05:18:39 +0100, Sam Kong <sam.s.kong@gmail.com> wrote:
[#182234] Write Fortran in Ruby — Bil Kleb <Bil.Kleb@...>
A fun, but ultimately pointless exercise from the "Python
I said earlier:
[#182240] Current Temperature (#68) — Ruby Quiz <james@...>
Obviously, this quiz is about fetching data from the Internet. People went
[#182247] Re: [SUMMARY] Current Temperature (#68) — "David Tran" <email55555@...>
Thanks James to point out legal issue.
It was good of James to mention it in the summary, but in reality I
[#182252] Unix Shell — Greg Johnson <gjohnson@7south.com>
I'm new to RUBY, but am familar with other scripting languages, PHP,
[#182264] Re: Confusion Over Keyword Arguments — "Berger, Daniel" <Daniel.Berger@...>
> -----Original Message-----
Hi,
[#182270] gsub problem — huseyin polat <huseyinpolat@...>
I have spend over 4 hours for this.. here is the question masters, very
[#182294] Mutual require problem — renaud delbru <renaud.delbru@...>
Hi,
[#182317] JRuby progress and the future — "Charles O Nutter" <headius@...>
Sorry for the unsolicited promotion of JRuby and my own blog, but I
[#182324] Net::HTTP working on Windows, but not Unix — James Edward Gray II <james@...>
We have an odd problem at work today.
On Mar 2, 2006, at 2:03 PM, James Edward Gray II wrote:
[#182346] gsub wrapper — Hector <HQuiroz@...>
Help!
[#182361] drb load limit — "jdonnell" <jaydonnell@...>
I am trying to get a simple drb server/client to work, but I am getting
[#182362] Example of how to rb_class_new_instance(... rb_cBignum)? — Clifford Heath <no.spam@...>
I'm building a C extension and have a "long long"
[#182368] Nuby - why does my #inspect misbehave? — cremes.devlist@...
I'm working through a few exercises to teach myself Ruby. One of them
[#182399] IDE suggestions — "Barrie Jarman" <hscbaj@...>
Im new (this week) to ruby and would like to know what IDE's people are
hi,
[#182405] string slice elegant way — Mage <mage@...>
Hello,
[#182407] Array comparison returning nil — Julian Gall <julian.gall@...>
I am comparing two arrays with:
>>>>> "J" == Julian Gall <julian.gall@gmail.com> writes:
[#182410] The Golden Fibonacci Ratio (#69) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
So the task is visualisation of the Fibonacci series ?
Hi,
On Mar 3, 2006, at 8:25 AM, Robert Retzbach wrote:
On 3/3/06, James Edward Gray II <james@grayproductions.net> wrote:
On 3/3/06, Ruby Quiz <james@grayproductions.net> wrote:
Under linux, I have installed ncurses-ruby-1.0, just now and tried
[#182438] Ruby on the mobile? — "Berger, Daniel" <Daniel.Berger@...>
Hi all,
In article <1141404252.043413.312290@v46g2000cwv.googlegroups.com>,
>Probably they have separated POSIX dependent functions into modules.
[#182454] Python for Ruby programmers — "Joe Van Dyk" <joevandyk@...>
Hi,
[#182470] Advice for general-purpose programming with Ruby — rtilley <rtilley@...>
Hey guys,
[#182493] Best tools for compiling Ruby (Windows)? — "Glenn Smith" <glenn.ruby@...>
Hi
On 3/3/06, Glenn Smith <glenn.ruby@gmail.com> wrote:
Hello Glenn,
After following the simple:
On 3/28/06, Peter Piper <pete@nospam.com> wrote:
On 3/18/06, Kaspar Schiess <eule@space.ch> wrote:> Hello Glenn,>> > Question is, which is the best (free) compiler for the job? Visual> > C++ or Borland? Or another?> I won't say mine's best, however all RMagick binary releases are compiled> using mingw and msys. I think they integrate posix/unix stuff nicely with> windows while guaranteeing binary compatibility with other windows builds.>> Just thought I'd complete the thread with what works for me.
Austin Ziegler wrote:
On 3/31/06, Joel VanderWerf <vjoel@path.berkeley.edu> wrote:
Curt Hibbs wrote:
On 3/31/06, Joel VanderWerf <vjoel@path.berkeley.edu> wrote:> Hm, any plans to migrate the One-Click Installer to VC++2003?
[#182494] rubygems bug? — Logan Capaldo <logancapaldo@...>
Help! Today I was trying to use rubygems and all of a sudden I
Hi!
Try installing GD as a RubyGem. From the command line, run 'gem install gd=
[#182495] Sending mail when exception occured — Michal Lomnicki <michal-lomnicki@...2.pl>
Hello!
Michal Lomnicki wrote:
[#182496] Non-blocking KitchenSink — Aaron Becker <aaronbecker17@...>
[#182518] ANN: Ruby metablog for Korean rubyists — "Minkoo Seo" <minkoo.seo@...>
As of today, I proudly announce rubyist.or.kr, a meta blog for Korean
[#182547] Kirbybase Hacks NilClass — James Edward Gray II <james@...>
I'm examining Kirbybase for use it a project and was surprised to
Hi --
dblack@wobblini.net wrote:
[Jamey Cribbs <jcribbs@twmi.rr.com>, 2006-03-04 18.56 CET]
angus wrote:
Jamey Cribbs wrote:
On Mar 4, 2006, at 7:34 PM, Jamey Cribbs wrote:
Jamey Cribbs wrote:
Jamey Cribbs wrote:
Dave Burt wrote:
[#182557] Symbols — Servando Garcia <garcia.servando@...>
Hello all .
[#182568] Symbols similiar to defined in c++ ????? — Servando Garcia <garcia.servando@...>
would it be safe to say that I can use symbols in the same manner as a
[#182589] Simple Script Help (New to Ruby) — Jordan Michaels <jordan@...>
Hello Ruby Masters!
[#182633] The Golden Fibonacci Ratio — "Matthew Moss" <matthew.moss.coder@...>
Here is my solution... Uses a cheap trick (a la method_missing) to
"Matthew Moss" <matthew.moss.coder@gmail.com> writes:
On 3/6/06, Christian Neukirchen <chneukirchen@gmail.com> wrote:
[#182645] ruby pass like statement — rtilley <rtilley@...>
When laying out programs in Python, sometimes during preliminary design,
Does pass actually do anything like print to stdout "some_function not
Farrel Lifson wrote:
[#182655] asserting in code vs unit tests — Esad Hajdarevic <esad.spammenot@...>
Hi!
Esad Hajdarevic wrote:
On 3/5/06, E. Saynatkari <none@none.net> wrote:
Chiaro Scuro wrote:
On 3/6/06, E. Saynatkari <none@none.net> wrote:
On 3/5/06, chiaro scuro <kiaroskuro@gmail.com> wrote:
I would get my assertions to raise exceptions too. They are just a
[#182662] The Golden Fibbonacci Ratio (#69) — MenTaLguY <mental@...>
Here's my solution. It's fairly pedestrian, although the size and
[#182701] can't get my Mac OSX UNIX to run 1.8 — superN00b <seancolquhoun@...>
Hey guys! This is my first post here, and I've never studied computers
[#182719] Bignum problems — Joel VanderWerf <vjoel@...>
[#182721] GemPlugin 0.1 -- A Mongrel Spinoff — Zed Shaw <zedshaw@...>
Hello folks,
On 3/6/06, Zed Shaw <zedshaw@zedshaw.com> wrote:
On 3/6/06, Austin Ziegler <halostatue@gmail.com> wrote:
Mark Volkmann wrote:
On 3/6/06, Jim Weirich <jim@weirichhouse.org> wrote:
[#182748] Rails Developer Required — "Dibya Prakash" <prakash.dibya@...>
Hello,
[#182757] Array range. — Paul Tsung <ptsung@...>
Hi,
[#182769] Ruby Array -> String Conversion Issue — "Nathan O." <nathan.olberding@...>
(Newbie Alert!)
[#182786] idiomatic ruby — rtilley <rtilley@...>
Is there a right way and a wrong way to code in Ruby?
[#182788] html gem description like CPAN for ruby? — Brandon Hoult <bhoult@...>
This seems a little basic to be posting on a forum, but is there a
[#182802] What is the best way to iterate through two containers of the same length? — "Mark Watson" <mark.watson@...>
If I have two containers c1 and c2 of the same length, what is the
On 3/6/06, Mark Watson <mark.watson@gmail.com> wrote:
[#182804] capistrano — Charlie Bowman <charlie@...>
I'm having trouble finding the benefit of using capistrano. I'm only
On Mar 6, 2006, at 2:51 PM, Charlie Bowman wrote:
Thanks, I think I'll implement it now so that I'll be prepared when I
[#182835] Python looking better ... — James Britt <james_b@...>
... though they need someone to improve the grammar:
James Britt wrote:
> ... though they need someone to improve the grammar:
Steven Lumos wrote:
[#182852] How to print stuff in RTHML embedded code (equiv to php "echo")?? — "Namor" <john.wcl@...>
Hi I got a very noob question which i cant understand why i cant do
[#182855] No documentation for modules on RubyForge? — Aaron Becker <aaronbecker17@...>
On Mar 7, 2006, at 6:29 AM, Aaron Becker wrote:
[#182885] Rescue on do end blocks — "Farrel Lifson" <farrel.lifson@...>
I've been playing around with rescue expressions and besides being put
Farrel Lifson wrote:
Is there some reason why it can't be made more elegant like it iscurrently for methods? Currently you can do this for methods:
Farrel Lifson wrote:
[#182887] Is the key delaying interpretation of a variable? — "anne001" <anne@...>
I am modifying robot.rb in opengl's sample directory,
[#182888] How to capture eval's stdout in 1.8? — Stephen Waits <steve@...>
My searches have come up empty, and most of what I found refers to 1.6
[#182904] getoptlong question — Matt Rose <mattrose@...>
[#182929] Is there link extractor or similar html processing libs for Ruby — "Desireco" <zeljko@...>
Hi,
Desireco wrote:
From: "James Edward Gray II" <james@grayproductions.net>
On Mar 7, 2006, at 1:36 PM, Bill Kelly wrote:
[#182938] to_proc — "Brian Buckley" <briankbuckley@...>
require 'facet/symbol/to_proc'
[#182954] Valid email address from CGI input? — "John N. Alegre" <info@...>
Is there any Ruby package that will check a input email for validity? I
[#182956] RubyCocoa and libxml-ruby-0.3.6 — pere.noel@... (Une b騅ue)
i have two versions of Ruby with my computer, the default Tiger one
[#182959] ruby and database connection — seid <seidma@...>
any body know how to connect to mysql database in ruby?
[#182992] Running windows shell command — "dfaroi@..." <dfaroi@...>
Hi all,
On 3/7/06, dfaroi@gmail.com <dfaroi@gmail.com> wrote:
Thanks for your help.
If you just want to synchronize 2 directories, in my experience
Commercial license for using rsync is too expensive.
"yeman13" <dfaroi@gmail.com> writes:
[#182993] Whatever happened to the improved Ruby website proj? — ptkwt@... (Phil Tomson)
This came up in another thread, but I haven't seen an answer there so here's
Phil Tomson wrote:
[#183015] Passing the same argument(s) to several methods at once — "Iv疣 Vega Rivera" <ivanvega@...>
Hi,
On Wed, 8 Mar 2006, [ISO-8859-1] Iv疣 Vega Rivera wrote:
Thanks but could you explain me a little bit more how that works? Ruby
[#183016] Having a block executed in the context of an instance — Mike Austin <noone@...>
I'm writing a property driven ui and would like to do things like:
Hi --
On Wed, 08 Mar 2006 15:56:53 +0100, <dblack@wobblini.net> wrote:
dblack@wobblini.net wrote:
[#183042] Problem with win32ole, sapi5 — "Daniel Berger" <djberg96@...>
Hi all,
[#183049] ridiculous behavoir of Array#push and Array#clear — hongseok.yoon@...
See bellow code please.
[#183050] newbie question about scope, variables, declarations of variables and option strict (as in perl) — "Talha Oktay" <toktay@...>
Hello,
On Mar 8, 2006, at 3:01 AM, Talha Oktay wrote:
Hi --
On Mar 8, 2006, at 8:39 AM, dblack@wobblini.net wrote:
Hi --
[#183062] REXML, each_element and XPath — "Thibaut Barr鑽e" <thibaut.barrere@...>
Hi!
It seems that when xpathing with an attribute @doc.each_element
[#183071] unicode in ruby — Richard Gyger <richard@...>
i'm using IO.foreach to parse the lines in a file. now i'm trying to get
Michal Suchanek <hramrach@centrum.cz> wrote:
so, you guys are telling me a language developed since the year 2000
Austin Ziegler wrote:
On 3/10/06, Michal Suchanek <hramrach@centrum.cz> wrote:> On 3/10/06, Austin Ziegler <halostatue@gmail.com> wrote:>> On 3/8/06, Richard Gyger <richard@bytethink.com> wrote:>>> so, you guys are telling me a language developed since the year 2000>>> doesn't support unicode strings natively? in my opinion, that's a>>> pretty glaring problem.>> Please note that Ruby itself is ten years old. Unicode has only>> *recently* (the last three or four years, with the release of Windows>> XP) become a major factor, especially in Japan. Unix support for>> Unicode is still in the stone ages because of the nonsense that POSIX>> put on Unix ages ago. (When Unix filesystems can write UTF-16 as>> their native filename format, then we're going to be much better.>> That will, however, break some assumptions by really stupid>> programs.)> Why the hell utf-16? It is no longer compatible with ascii, yet 16> bits are far from sufficient to cover current unicode. So you still> get multiword characters. It is not even dword aligned for fast> processing by current cpus. I would like utf-8 for compatibility, and> utf-32 for easy string processing. But I do not see much use for> utf-16.
On 3/11/06, Austin Ziegler <halostatue@gmail.com> wrote:> On 3/10/06, Michal Suchanek <hramrach@centrum.cz> wrote:> > On 3/10/06, Austin Ziegler <halostatue@gmail.com> wrote:> >> On 3/8/06, Richard Gyger <richard@bytethink.com> wrote:> >>> so, you guys are telling me a language developed since the year 2000> >>> doesn't support unicode strings natively? in my opinion, that's a> >>> pretty glaring problem.> >> Please note that Ruby itself is ten years old. Unicode has only> >> *recently* (the last three or four years, with the release of Windows> >> XP) become a major factor, especially in Japan. Unix support for> >> Unicode is still in the stone ages because of the nonsense that POSIX> >> put on Unix ages ago. (When Unix filesystems can write UTF-16 as> >> their native filename format, then we're going to be much better.> >> That will, however, break some assumptions by really stupid> >> programs.)> > Why the hell utf-16? It is no longer compatible with ascii, yet 16> > bits are far from sufficient to cover current unicode. So you still> > get multiword characters. It is not even dword aligned for fast> > processing by current cpus. I would like utf-8 for compatibility, and> > utf-32 for easy string processing. But I do not see much use for> > utf-16.>> UTF-16 is actually pretty performant and the implementation of wchar_t> on MacOS X and Windows is (you guessed it!) UTF-16. The filesystems for> both of these operating systems (which have *far* superior Unicode> support than anything else) both use UTF-16 as the native filename> encoding (this is true for HFS+, NTFS4, and NTFS5). The only difference> between what MacOS X does and Windows does for this is that Apple chose> to use decomposed characters instead of composed characters (e.g.,> LOWERCASE E + COMBINING ACUTE ACCENT instead of LOWERCASE E ACUTE> ACCENT).>> Look at the performance numbers for ICU4C: it's pretty damn good. UTF-32> isn't exactly space conservative (since with UTF-16 *most* of the BMP> can be represented with a single wchar_t, and only a few need surrogates> taking up exactly *two* wchar_ts, whereas *all* characters would take up> four uint32_t under UTF-32). ICU4C uses UTF-16 internally. Exclusively.
On 3/11/06, Michal Suchanek <hramrach@centrum.cz> wrote:> On 3/11/06, Austin Ziegler <halostatue@gmail.com> wrote:>> UTF-16 is actually pretty performant and the implementation of>> wchar_t on MacOS X and Windows is (you guessed it!) UTF-16. The>> filesystems for both of these operating systems (which have *far*>> superior Unicode support than anything else) both use UTF-16 as the>> native filename encoding (this is true for HFS+, NTFS4, and NTFS5).>> The only difference between what MacOS X does and Windows does for>> this is that Apple chose to use decomposed characters instead of>> composed characters (e.g., LOWERCASE E + COMBINING ACUTE ACCENT>> instead of LOWERCASE E ACUTE ACCENT).>>>> Look at the performance numbers for ICU4C: it's pretty damn good.>> UTF-32 isn't exactly space conservative (since with UTF-16 *most* of>> the BMP can be represented with a single wchar_t, and only a few need>> surrogates taking up exactly *two* wchar_ts, whereas *all* characters>> would take up four uint32_t under UTF-32). ICU4C uses UTF-16>> internally. Exclusively.> I do not care what Windows, OS X, or ICU uses. I care what I want to> use. Even if most characters are encoded with single word you have to> cope with multiword characters. That means that a character is not a> simple type. You cannot have character arrays. And no library can> completely wrap this inconsistency and isolate you from dealing with> it.
On 3/12/06, Austin Ziegler <halostatue@gmail.com> wrote:> On 3/11/06, Michal Suchanek <hramrach@centrum.cz> wrote:> > On 3/11/06, Austin Ziegler <halostatue@gmail.com> wrote:> >> UTF-16 is actually pretty performant and the implementation of> >> wchar_t on MacOS X and Windows is (you guessed it!) UTF-16. The> >> filesystems for both of these operating systems (which have *far*> >> superior Unicode support than anything else) both use UTF-16 as the> >> native filename encoding (this is true for HFS+, NTFS4, and NTFS5).> >> The only difference between what MacOS X does and Windows does for> >> this is that Apple chose to use decomposed characters instead of> >> composed characters (e.g., LOWERCASE E + COMBINING ACUTE ACCENT> >> instead of LOWERCASE E ACUTE ACCENT).> >>> >> Look at the performance numbers for ICU4C: it's pretty damn good.> >> UTF-32 isn't exactly space conservative (since with UTF-16 *most* of> >> the BMP can be represented with a single wchar_t, and only a few need> >> surrogates taking up exactly *two* wchar_ts, whereas *all* characters> >> would take up four uint32_t under UTF-32). ICU4C uses UTF-16> >> internally. Exclusively.> > I do not care what Windows, OS X, or ICU uses. I care what I want to> > use. Even if most characters are encoded with single word you have to> > cope with multiword characters. That means that a character is not a> > simple type. You cannot have character arrays. And no library can> > completely wrap this inconsistency and isolate you from dealing with> > it.>> If you're simply dealing with text, you don't need arrays of characters.> Frankly, if you don't care what Windows, OS X, and ICU use, then you're> completely ignorant of the real world and what is useful and necessary> for Unicode.
From: "Austin Ziegler" <halostatue@gmail.com>
On 3/14/06, Bill Kelly <billk@cts.com> wrote:> From: "Austin Ziegler" <halostatue@gmail.com>> >> > On 3/13/06, Anthony DeRobertis <aderobertis@metrics.net> wrote:> >>> >> UTF-8 can take more than one octet to represent a> >> character; UTF-16 can take more than two; UTF-32> >> more than four; etc.> >> > No. UTF-32 does not have surrogates. Unicode is perfectly> > representable in either 20 or 21 bits. A single character is *always*> > representable in a uint32_t sized space with UTF-32.>> Hi, I have zero background in non-ASCII character representations,> but the following post has been echoing in my head as a data point> for... can't believe it's been three-and-a-half years:>> http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/46284>> Does that have any relation to your current context? Curt seems to> be talking not of surrogates, but saying "combining characters"> mean variable-length issues still exist with UTF-32 ?>well, in some languages you get characters like "LATIN CAPITAL LETTERA WITH ACUTE".In a string you can either get the above or "LATIN CAPITAL LETTER A"followed by "COMBINING ACUTE" or somesuch. This is decomposed.
[#183076] FXRuby multiple applications — pseudoman4@...
i use FXRuby and try to start a applicattion twice with the following
[#183081] Call Perl script from Ruby — Nick Snels <nick.snels@...>
Hi,
On Wed, Mar 08, 2006 at 11:00:42PM +0900, Nick Snels wrote:
[#183090] Newbie: sorting an array of custom objects — Einar Ht <ebuffer@...>
Hi,
Einar H淡st wrote:
[#183101] type at rubycentral? — Sche Daniel <uval@...>
Hello
[#183108] Net::IMAP - Support for 'plain' authentication? — "Sean Hussey" <seanhussey@...>
Hi everyone,
[#183125] Looking for good reads on Ruby TK GUI programming — "Harry Truax" <htruax@...>
Hello,
From: "Harry Truax" <htruax@stf.com>
Hi,
From: "Harry Truax" <htruax@stf.com>
On Wednesday 08 March 2006 09:21 pm, Hidetoshi NAGAI wrote:
From: Randy Kramer <rhkramer@gmail.com>
[#183141] Searching for a very fast string parser — |MKSM| <mksm.sama@...>
Hello,
On Thu, 9 Mar 2006, |MKSM| wrote:
[#183197] Best way to start new ruby script? — Marcus Andersson <m-lists@...>
I have a long running process that I want to start from a Rails request.
2006/3/8, Marcus Andersson <m-lists@bristav.se>:
Do it in a thread seems like the simplest solution but I don't know if
[#183199] idioms for separating out OS-specific stuff — "Joe Van Dyk" <joevandyk@...>
I have a few functions that:
[#183200] globals outside of OO scripting — rtilley <rtilley@...>
When writing methods as functions (I know they're methods pretending to
rtilley wrote:
Bernhard 'elven' Stoeckner wrote:
gwtmp01@mac.com wrote:
[#183201] assert_raise question — "Sean Carley" <seanacarley@...>
Currently, assert_raise expects you to know exactly what kind of exception
[#183226] My Ruby talk @ work.. — Stephen Waits <steve@...>
I just finished my "Learn Ruby" talk for the programmers here at work.
Stephen Waits wrote:
[#183237] Problem Solving Skills for Engineers — bparanj@...
Hello,
[#183251] text editor — Dan <dan@...>
hey all, does anyone know where I can find a good text editor for code?
Dan wrote:
[#183260] Ruby and XSLT — "Derek Mahar" <derek.mahar@...>
What Ruby libraries are available to parse and process XSLT? How does
http://raa.ruby-lang.org/project/ruby-xslt/
I am trying to use ruby-xslt under windows.
[#183288] Convert String to Hash — Nick Snels <nick.snels@...>
Hi,
[#183298] Immutable objects — Einar Ht <ebuffer@...>
Hi,
[#183312] nuby question: sorting with nils — "larry" <ljw1001@...>
if i make an object sortable using <=> as so:
def <=> anItem
[#183334] unextend ? — dvandeun@... (Dirk van Deun)
A very short and simple question: is there a function to "unextend" an
[#183346] Test Harness? — "Troy Denkinger" <tdenkinger@...>
I'm starting to feel my way around in Ruby after having been a Perler for a
[#183347] ruby float calculations — Alexandru Toma <flash3001@...>
Could someone please explain to me why the following happens:
[#183364] Can't get net/smtp to send outside of LAN? — "John N. Alegre" <info@...>
I am trying to use net/smtp to send a mail message. What I am finding is
[#183367] Ruby and .NET — "Joe Van Dyk" <joevandyk@...>
I've written a couple Ruby programs that run on Linux using
[#183385] "ruby myscript.rb" Works, "./myscript.rb" Doesn't — "Nathan O." <nathan.olberding@...>
I have a script. When I run it via "ruby myscript.rb", it works great.
Did you "chmod +x" the script?
Sorry. I just noticed that it is already executable.
> What if you use the path straight to the ruby interpreter, and not
wtf?
Michael Gorsuch wrote:
[#183388] Obfuscating/suppressing password output in TCPSocket? — Nate Smith <NSMITH5@...>
Hello,
[#183398] Software Carpentry (Version 955) — Bil Kleb <Bil.Kleb@...>
Do we have something similar to this in the Ruby world?
[#183423] RUDL on Mac OS X? — James Edward Gray II <james@...>
Has anyone successfully installed the RUDL library on Mac OS X
[#183427] Net::HTTP.post_form missing method error — Dan Tenenbaum <dandante@...>
I had some code that used to work and now all of a sudden it stopped
Dan Tenenbaum wrote:
[#183429] Ruby Namespaces / Modules — eastcoastcoder@...
If I'm in the middle of module A::B::C, and I want to reference a class
[#183472] Looking for a Ruby Programmer Looking for a Fun Project. ;) — Mark <kramiam@...>
hi there, I'm glad to have found this forum.
In article <1141977129.894943.145380@j33g2000cwa.googlegroups.com>,
Zed Shaw wrote:
On 3/10/06, James Britt <james_b@neurogami.com> wrote:
[#183493] Small regexp question — "francisrammeloo@..." <francisrammeloo@...>
Hi all,
[#183512] Images for card game? — Einar Ht <ebuffer@...>
Hi,
[#183515] Constraint Processing (#70) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
[#183521] Ruby Programming Exercises — "Warren Seltzer" <warrens@...>
I continually find that not having written a thousand lines or so of =
[#183573] gem + libxml — Mikael Larsson <mikael.x.larsson@...2.se>
Hi
[#183580] C++ DLL example — "Mark Volkmann" <r.mark.volkmann@...>
Can someone point me to a simple example of calling a C++ function from Ruby?
[#183582] svn pre-commit hook — Bil Kleb <Bil.Kleb@...>
OK, I give up.
[#183585] Question about Hash's initialize — "Suhku Huh" <nineclue@...>
I'd like to make a class that behave like a Hash but keeps keys in created
[#183590] Ruby and EJBs — lepage@...
Hello All,
[#183594] Help me understand why the Ruby block is slower than without — Alan Burch <orotone@...>
I just wrote my first Ruby script. I'm an experienced C and perl
> File.open("wordlist") { |f|
>
On Mar 10, 2006, at 5:28 PM, William James wrote:
James Gray wrote:
On Mar 11, 2006, at 10:09 AM, Alan Burch wrote:
Alan Burch <orotone@gmail.com> writes:
On Mar 10, 2006, at 4:57 PM, Alan Burch wrote:
James Gray wrote:
On Mar 11, 2006, at 9:58 AM, Alan Burch wrote:
Hi --
On Sunday 12 March 2006 08:44 am, dblack@wobblini.net wrote:
[#183605] Python a hungrier beast than Ruby? — baalbek <rcs@...>
I have tested two implementations of wxRuby/wxPython applications (stock
[#183608] Optimizing ruby constant array data — Mike Austin <noone@...>
I decided it was time to do a little profiling, and am so glad that it's built
[#183629] named method arguments with defaults — eliben@...
Hello all,
[#183647] abstract method in Ruby — "kwatch" <kwa@...>
To define abstract method in Ruby, I use NotImplementedError like the
Logan,
Hi,
Erik Veenstra wrote:
On Mon, 13 Mar 2006, kwatch wrote:
Hi,
On Mon, 13 Mar 2006 nobu@ruby-lang.org wrote:
Hi,
Hmm, just some thoughts.
Oops, my apologies, forgot an end in example.
Hi --
Good points both, thanks.
A good portion of the GoF patterns rely on abstract methods (visitor,
On Tue, 14 Mar 2006, ilan berci wrote:
On 3/13/06, ara.t.howard@noaa.gov <ara.t.howard@noaa.gov> wrote:> On Tue, 14 Mar 2006, ilan berci wrote:>> A good portion of the GoF patterns rely on abstract methods (visitor,>> abstract factory, template method, etc... ) which IMO only shine in>> statically typed languages. It would be a shame to port all patterns>> (and their required prerequisite: abstract methods) simply because>> they are recognized in the static world and therefore would make a>> good fit in Ruby.>>>> The additional code needed for the ruby "abstract method" approach>> doesn't make the code any more readable. The extra LoC actually>> slows down the maintenance developer as she has to wade through more.> i disagree strongly here. check out these two snippets that i am> working on as we speak:>> def will_process_holding *a, &b> raise NotImplementedError> end> def process_holding *a, &b> raise NotImplementedError> end> def will_process_incoming(*a, &b)> raise NotImplementedError> end> def process_incoming(*a, &b)> raise NotImplementedError> end>> vs>> abstract_method "will_process_holding"> abstract_method "process_holding"> abstract_method "will_process_incoming"> abstract_method "process_incoming"
[#183655] Threads and Deadlocks — Mc Osten <riko@...>
It seems that the standard ruby interpreter is able to detect deadlocks
[#183670] Regular Expression Intersection — Hans Fugal <fugalh@...>
Regular languages are closed under intersection (as well as difference,
[#183676] attribute setters for instance variables — eliben@...
Hello,
[#183684] Tk on windows — "Jeppe Jakobsen" <jeppe88@...>
Hi there, I'm about to try my first toolkit tutorial, with tk. So, to check
Jeppe Jakobsen wrote:
[#183689] Recommend a hosting company? — Stephen Kellett <snail@...>
Hi Folks,
[#183690] win32ole question - how to get handle on currently running app? — "itsme213" <itsme213@...>
I need to process a bunch of word files using win32ole.
Use the connect method in place of the new method:
[#183694] Textmate Bundles for form_remote_tag shortcut — Soren Burkhart <soren@...>
Watching through the online videos of the flickr tutorial, I noticed
[#183697] cgi script send a bad image to the browser — "Alex" <metallourlante@...>
Hi everyone,
[#183703] from Python to Ruby in 10 seconds — "John M. Gabriele" <john_sips_teaz@...>
I think this subject might make for a very nice article in
I find Logan's answers accurate and complete, except for one, which is a
[#183712] Strange behaviour — Javier Valencia <jvalencia@...01.org>
Look this:
[#183714] unexpected behavior of range.each (Newbie extreme) — Joe Percival <bttman@...>
with r=(5..9), r.each{|num| print num,"\n"} behaves as expected.
[#183734] windows messagebox example(s) — rtilley <rtilley@...>
This is probably documented somewhere, but I thought ruby win32
[#183754] Agile Web Developement with Rails in Italian — Mc Osten <riko@...>
I have recently seen the italian version of "Agile Web Developement with
Mc Osten wrote:
[#183760] Ruby equivalent for PHP's strtr? — Jeroen Heijmans <rails@...>
Hi, I'm looking for a function that can do the same thing as the strtr
[#183762] mysql command line — "chriswillis10@..." <chriswillis10@...>
does anyone know how to delete databases/tables in mysql command line?
[#183793] Ruby 1.8.4 One-Click Installer — "gregarican" <greg.kujawa@...>
I just wanted to say good job for the folks responsible for the
[#183801] array element access — Tomas Fischer <tomas_fischer99_spamremoveit_@...>
Hi,
Daniel Harple wrote:
[#183825] alias_method 'stickiness' — "Ara.T.Howard" <ara.t.howard@...>
[#183831] Array#inject with hash as initial, unexpected error — "Matthew Moss" <matthew.moss.coder@...>
(On Mac OS X 10.4.5, Ruby 1.8.4)
[#183835] Init Script Installer — zdennis <zdennis@...>
I've got a few scripts which need to run as system daemons. For a while
[#183847] What's the best way to split this kind of string? — "Sam Kong" <sam.s.kong@...>
Hi!
[#183866] The benefits of tail recursion — "Timothy Goddard" <interfecus@...>
I thought I'd share a useful little trick with the list. I've put
[#183871] Extension module: Why does object get GCed? — pseudoman4@...
I try to write an exentension module with containing the following
[#183873] word_wrap method for String? — Jeff Coleman <progressions@...>
[#183883] Re: Quickest way to do this string op. — "Kroeger, Simon (ext)" <simon.kroeger.ext@...>
[#183902] RubyCorner a meeting place for the Ruby blogging community — anibalrojas@...
After spending some of our spare time (a software developer having
Lyle,
anibalrojas@gmail.com wrote:
I really like the idea: it allows all of us to contribute, and it
[#183913] Nabaztag 0.1 — "Paul Battley" <pbattley@...>
http://opensource.reevoo.com/2006/03/13/release-nabaztag-01/
[#183934] simple one-liners: last line missing — Tobi Reif <tobiasreif@...>
Hi
[#183937] Passing methods around — "Greg Buchholz" <sleepingsquirrel@...>
I'm a Ruby novice working my way through the pickaxe book, and I've got
[#183948] Alternate notation for eigenclass — "Trans" <transfire@...>
Rather then using a specific method for accessing the
On 3/13/06, Trans <transfire@gmail.com> wrote:> Rather then using a specific method for accessing the> singleton/eigennclass, could we just use an alternate to dot-notation.> I.e. Instead of 'x.eigenclass.foo' either 'x:foo' or 'x!foo', or> somthing like that.>> I haven't given a great deal of thought, and don't really have time to,> but it popped into my mind today, so I decided to just throw it out> there.
Hi --
Quoting Gary Wright <wright_gary_r@sbcglobal.net>:
Hi --
Hi,
On 3/14/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
[#183966] Wrapping XML document in Class — Miles Monroe <aaronbecker17@...>
I would like to use Ruby and REXML to wrap an XML document and allow
[#184008] formatting dates and times — rtilley <rtilley@...>
In Python, I do this to format date and time in a certain fashion.
[#184018] install rmagick in win32,but no work — yang jdong <yangfreecode@...>
i use instantRails 1.0 on winxp.download
Did you run the postinstall.rb script?
rmagick@gmail.com wrote:
[#184024] Writing Good #each Methods? — James Herdman <james.herdman@...>
I'm working my way through The Ruby Course slides at the moment and am
> So, this got me thinking: what makes a good #each method? I'd love to
[#184032] Formatted output for numbers with comma's? — Wink Saville <wink@...>
I was looking for a routine to convert a Number to a string with
[#184043] SimpleDelegator vs. simple variable ? — "Peter Fitzgibbons" <peter.fitzgibbons@...>
Hello all,
On Mar 14, 2006, at 6:11 AM, Peter Fitzgibbons wrote:
2006/3/14, James Edward Gray II <james@grayproductions.net>:
[#184048] Newbie question about the # symbol — Justin <gotascii@...>
I have just started learning Ruby and I am going through as much
[#184049] Ruby Include Dirs for libs — Florian Assmann <madbang@...>
Hi there,
[#184079] executing a block in the context of receiver — "Mark Volkmann" <r.mark.volkmann@...>
In the following code the do_this instance method of the foo object
[#184099] Vim autoindenting broken? — Jeff Coleman <progressions@...>
Does anyone else find gVim 6.4 a bit unstable on Windows XP? It's
[#184102] Build for Windows Mobile Failed — =?ISO-8859-15?Q?Daniel_V=F6lkerts?= <daniel@...>
Dear Readers,
Daniel Vkerts wrote:
gregarican schrieb:
[#184106] Small optimization tips — Vincent Foley <vfoleybourgon@...>
Hello all,
[#184107] Re: Small optimization tips — Charlie Bowman <charlie@...>
I made a script run 800% faster by using the Time class instead of the
On Mar 14, 2006, at 12:59 PM, Charlie Bowman wrote:
[#184110] Net::HTML#post_form with ASP — |MKSM| <mksm.sama@...>
Hello,
[#184117] Why's Poignant Guide site down? — "Mark Volkmann" <r.mark.volkmann@...>
Why's Poignant Guide has been unavailable for at least the last couple
[#184129] Ruby::Watir Forum? — Kalen Howell <kalen.howell@...>
Hello All!
[#184134] text to images using RMagick — "Ray" <ray_carrasco@...>
Hi, I used this thread
Ray wrote:
Hi Tim, thanks for your quick response. I'm very new to this, Im on Mac
[#184139] some questions on language syntax — Pavel Smerk <smerk@...>
Hi, I'm new to this language and as I'm Perl user, some things seems
Pavel Smerk scribbled on Tuesday 14 Mar 2006 21:50:
[#184153] Scope of an @variable — Nathan Olberding <nathan.olberding@...>
I've got a class. I want some methods of this class to be able to edit
[#184164] Re: Scope of an @variable — "William (Bill) Froelich" <wfroelich@...>
I'm also a newbie so others feel free to correct me as well ;-)
[#184178] Building querystrings with ruby — ngw <nicholas_wieland@...>
Hi *, my question is really simple: is there a way in Ruby stdlib or in
On Wed, 15 Mar 2006, ngw wrote:
On 15/03/06, ara.t.howard@noaa.gov <ara.t.howard@noaa.gov> wrote:
[#184198] Rails' effect on Ruby as a language — "Trans" <transfire@...>
A while back I wondered if Rails threatened to subordinate Ruby. (See
Trans wrote:
[#184203] Useful methods for RubyGems — "Trans" <transfire@...>
Please, could these be added to the next version of Gems?
[#184206] Enumerable#find return index — Tod McIntyre <todmcintyre@...>
This is quite embarassing because I Don't consider myself a poor
[#184236] Patching file class — =?ISO-8859-15?Q?Daniel_V=F6lkerts?= <daniel@...>
Hello,
[#184245] Time object problems - 1.8.2 — "Greg Lorriman" <temp@...>
I am trying to efficiently get the date part of a Time object.
Greg Lorriman schrieb:
Hi Greg,
[#184258] Installing 1.8.4 on windows — Joe Percival <bttman@...>
Let me start by saying Yes! I have seaarched this list, I have done
[#184260] How to compile Ruby on Windows — AlphaBeta <idontwantspam@...>
Does anybody have a kind of "step by step" instructions on how to
I've been down this path but had a few problems and gave up.
Glenn Smith schrieb:
On 3/15/06, Daniel Vkerts <daniel@voelkerts.de> wrote:
Blimey!
I know you were kidding, but I felt like sending an e-mail, so..
Yes I should point out that no offence was meant to you with my previous
Yeah, I knew that.. Didn't mean for my response to come out sounding defensive.
I think what would be nice to achieve from all this is that when Matz and
Just checking.. do you know about this page?
Just tried the version at http://www.garbagecollect.jp/ruby/mswin32/
[#184281] rb_gc_mark() — Eric Christensen <ericrchr@...>
I'm getting the following error quite frequently. What additional info
[#184282] CURL-alike library for ruby — Yaroslav Tarasenko <tswiah@...>
Hello.
On Thu, 2006-03-16 at 01:36 +0900, Yaroslav Tarasenko wrote:
Patched successfully, but when i tried to compile the extension on Linux
On Thu, 2006-03-16 at 03:10 +0900, Yaroslav Tarasenko wrote:
+1 that Ruby is in major need of a cURL binding.
On Thu, 2006-03-16 at 05:33 +0900, eastcoastcoder@gmail.com wrote:
[#184285] returning p array — rtilley <rtilley@...>
I like the way in which p prints out the contents of an array. It's easy
[#184286] Ruby for Java Folks? — Eric Schwartz <emschwar@...>
I've agreed to give a brief talk on Ruby for the Pikes Peak Java
[#184312] construct AoA with REXML XPath? — "Chris McMahon" <christopher.mcmahon@...>
Hi...
[#184325] Rails and J2EE middleware (threading/servers) — "Berlin Brown" <berlin.brown@...>
A lot of applications have a middleware layer. In some ways,
[#184332] csv nil check and update — "Geoff" <samekh@...>
Greetings!
On Mar 15, 2006, at 2:23 PM, Geoff wrote:
[#184335] Using const_missing to do automatic require — eastcoastcoder@...
I'd like to def const_missing to require the appropriate file, without
[#184381] Printing ruby code — Zakaria <z4k4ri4@...>
Hi,
[#184384] Chess engine in ruby? — Jeff Cohen <devlists-ruby-talk@...>
I'm a beginning chess player and a beginning Ruby developer :-) I was
[#184413] RecordNotFound — Franz Bettag <fbettag@...>
Hi guys,
[#184453] ERB question — "Robert D. La Gesse" <rob@...>
Can anyone tell me what the difference is in these two statements? Yes,
[#184460] Evaluating the string in a variable to use as a method name — "heinous (sent by Nabble.com)" <lists@...>
[#184462] build 3x3 table from one array — forest <forest@...>
I am new to ruby and still haven't got my mind around iterators although
[#184474] specify a mandatory block parameter — Shea Martin <null@...0>
I think I know the answer to this already, but...
Shea Martin wrote:
[#184480] Card tricks with Ruby — grrr <grrr@...>
So suppose you have a deck of cards, that might have some number of cards.
On Mar 16, 2006, at 2:53 PM, grrr wrote:
deck = (1..52).to_a
Matthew Moss wrote:
I point it out to people who I think may not have seen it before, just
[#184491] Delayed File I/O & ZLIB - Any help would be appreciated — "Brian Corrigan" <bcorrigan78@...>
Folks,
Brian Corrigan wrote:
hey Jeffrey,
[#184494] Ruby 1.8.4 binaries for Win32 are available here — Conductor <nospam@...>
Ruby 1.8.4 for Microsoft Windows (Win32):
On 3/16/06, Conductor <nospam@nospamnospamnospam.com> wrote:
[#184497] csv updater — "Geoff" <samekh@...>
Greetings!
On Mar 16, 2006, at 5:28 PM, Geoff wrote:
[#184506] ANN: Third Drop of RubyCLR — "John Lam" <drjflam@...>
This is the biggest release so far of the RubyCLR bridge:
John Lam wrote:
John Lam schrieb:
[#184518] Newbie: Reflection question(?) — Gaudi Mi <gaudimila@...>
At runtime I have the name of a class in a string, and I want to call a
[#184529] Q: variable "declarations" — Ilja Tabachnik <billy@...>
[#184539] deleting from hash question — Ryan Williams <ryan@...>
I'm a ruby newbie and have what is probably a relatively simple problem
[#184541] Are college professors teaching computer science with ruby? — "anne001" <anne@...>
I was wondering if anybody taught the traditional computer courses in
On 3/17/06, anne001 <anne@wjh.harvard.edu> wrote:
Interesting, I had not thought of the students resenting having to
On 3/17/06, anne001 <anne@wjh.harvard.edu> wrote:
On 3/17/06, anne001 <anne@wjh.harvard.edu> wrote:
thanks, that extended the list quite a bit.
I tried desperately to change the language used for our school's
In one of our courses (Programming Languages), we study Ruby, and have
anne001 wrote:
[#184551] The Borg Are At It Again! — "thoran@..." <thoran@...>
Howdy Good Ruby Folk,
[#184552] Rapid Prototyping Perl In Ruby? — "thoran@..." <thoran@...>
Hello Again Good Folk of Rubydom,
Hi --
dblack@wobblini.net wrote:
Hi --
[#184560] Space Merchant (#71) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
I've attached a library, GalaxyLoader, that parses a DSL for "world
Here is my Galaxy implementation. It seems to do everything it needs to
On Mar 20, 2006, at 2:41 AM, Ross Bamford wrote:
I'm working on a planet.rb.
Here is my improved sector.rb. Yes, I know I said I wasn't going to
James (or whoever else is doing station.rb), how are you representing
Ross Bamford wrote:
On Tue, 2006-03-21 at 02:07 +0900, Joel VanderWerf wrote:
On Mar 20, 2006, at 11:41 AM, Ross Bamford wrote:
On Tue, 2006-03-21 at 02:48 +0900, James Edward Gray II wrote:
On Mar 20, 2006, at 3:00 PM, Ross Bamford wrote:
[#184584] RMagick Image Optimize — "TomRossi7" <tomrossi7@...>
I'm new to RMagick and am looking for how you can set the optimization
[#184589] Writing long-running daemons without memory leaks? — Toby DiPasquale <toby@...>
Hi all,
On Sat, 18 Mar 2006, Toby DiPasquale wrote:
unknown wrote:
[#184598] c/c++ enum equivalent? — benjohn@...
[#184599] Explanation of if __FILE__ == $0 — "PJ Hyett" <pjhyett@...>
So I've tracked this down:
[#184623] incremental rebuild with Rake — "Simon Strandgaard" <neoneye@...>
I am using Rake for testing c++ code.
On 3/17/06, Simon Strandgaard <neoneye@gmail.com> wrote:
On 3/17/06, Simon Strandgaard <neoneye@gmail.com> wrote:
Simon Strandgaard wrote:
On 3/17/06, Jim Weirich <jim@weirichhouse.org> wrote:
Simon Strandgaard wrote:
On 3/18/06, Jim Weirich <jim@weirichhouse.org> wrote:
[#184642] help with a simple SOAP WSDL client? — petermichaux@...
Hi,
[#184662] Hash of Arrays nItems problem — hoyhoy@...
I'm having a bit of problem using a hash of arrays. It appears that
[#184706] Re: validation of form whoch is a image — Nuralanur@...
Dear Michael,
[#184710] Core lib clean-up — "Trans" <transfire@...>
Looking at the latest ruby-doc.org/core API docs, I suprise how it has
On Mar 18, 2006, at 4:38 AM, Trans wrote:
> Which is a standard library, not a core class. It shouldn't be in
Trans wrote:
On Mar 18, 2006, at 7:59 PM, James Britt wrote:
James Edward Gray II wrote:
[#184722] How to write a Ruby service(?)? — Randy Kramer <rhkramer@...>
I need to write what might be called a Ruby service or server(?)--a Ruby
[#184744] Tk::Iwidgets::Scrolledhtml render problem — "ruby talk" <rubytalk@...>
I want a frame to pop up with this in it. $tbodytext is my var of html
[#184749] can you enable coercion between types? — "larry" <ljw1001@...>
I have a ruby class called Duration that represents a unit of time.
[#184758] downcase/uppercase for non-English characters — "Victor Shepelev" <vshepelev@...>
Hello.
[#184765] safe way to calc md5 on very large files — rtilley <rtilley@...>
I'm calculating md5 checksums on very large files (2 GB). This is a safe
[#184789] Functor Opinion — "Trans" <transfire@...>
So here's the Functor class:
[#184791] Is Your Software Working A Little Too Predictably? — "thoran@..." <thoran@...>
Hello,
[#184832] simple ruby language question — MichaelEconomy@...
ok, i've got some module and it has some instance variables i want to
[#184840] Using emacs on Apple's PowerBook — Dae San Hwang <daesan@...>
I apologize for the off topic post, but knowing that many ruby
On Mar 19, 2006, at 9:55 PM, Dae San Hwang wrote:
Actually, I'm not old enough of an emacs user to be accustomed to
On 3/19/06, Dae San Hwang <daesan@gmail.com> wrote:> Actually, I'm not old enough of an emacs user to be accustomed to> caps-lock positioned control key. But how do you live without right> control/meta keys? Do you actually press 'caps-lock + a' with only> left fingers to move to the beginning of a line?>> daesan
On Mar 20, 2006, at 8:12 AM, zuzu wrote:
Dae San Hwang wrote:
Thank you for all the comments regarding my earlier post. I really
On 3/20/06, Dae San Hwang <daesan@gmail.com> wrote:
On Mar 20, 2006, at 8:38 AM, Nick Sieger wrote:
On Mar 20, 2006, at 9:08 AM, ruben wrote:
Thanks to everyone who replied!
[#184847] rake rules with multiple prerequisites — Joel VanderWerf <vjoel@...>
Joel VanderWerf wrote:
Jim Weirich wrote:
Joel VanderWerf wrote:
Jim Weirich wrote:
[#184890] Gemcutter's Workshop open ! — "Jean-François" <jf.web3@...>
Hello,
[#184891] once again looking for my module methods — "Trans" <transfire@...>
Gee. Once again I want my module methods inherited.
Edwin van Leeuwen said something:
dblack@wobblini.net said something:
BTW, There's an RCP asking for this.
Hi --
> I don't think it's a good idea, because I see no reason to favor the
[#184893] Digest::Base — rtilley <rtilley@...>
I wish to write one method to work with all classes in Digest::Base
[#184895] Library for Mocking — "Thiago Arrais" <thiago.arrais@...>
Rubysts,
[#184896] swig, c++, use string — killy-kun <killy-kun@...>
I would like to use the c++ string type as a parameter of function
On 3/20/06, killy-kun <killy-kun@wanadoo.fr> wrote:
Mark Volkmann wrote:
[#184925] Have you ever considered of mousing ambidextrously? — "WangQiang" <WangQiangg@...>
I'm also a programmer, as working in front of computer day and day, my
[#184926] Real-Time Graphing — "David Ishmael" <dishmael@...>
Hello all .
[#184931] IO#popen and exit status — Claudio Jeker <cjeker@...>
I'm a bit stuck with this porblem:
[#184959] I need some help with OptionsParser — "bcorrigan78@..." <bcorrigan78@...>
Hey all,
On Monday 20 March 2006 1:13 pm, bcorrigan78@gmail.com wrote:
Not working on my end.. Still PUTS nothing?
On Monday 20 March 2006 1:33 pm, bcorrigan78@gmail.com wrote:
Hey.. Well, I was.. There really must be something up here.
[#184980] passing block to another function — Shea Martin <null@...0>
I have a function:
[#184982] Re: iterate chars in a string — "Berger, Daniel" <Daniel.Berger@...>
> -----Original Message-----
Mike I really agree, I *was* expecting that behavior from "each" too, some
The thing I don't like about this behaviour is that an algorithm which
jogloran wrote:
Would it not be nice to simply extend the behavior of String#each e.g. like
Robert Dober wrote:
<i>Modifying String#to_a to return an array of characters has been
[#185013] Suppressing printing of evaluated expressions in irb — "Michael Hartl" <mhartl@...>
I've looked all over, but I can't figure out how to suppress the
[#185017] Method overload, care to improve? — "Trans" <transfire@...>
Have a need to create method overloading, so I put together an
On 20 Mar 2006 15:46:09 -0800, Trans <transfire@gmail.com> wrote:
The "methods" are executed in the context of an Object object,
[#185020] Downloading ActiveTCL — Randy Kramer <rhkramer@...>
I'm trying (I've tried) to download ActiveTCL to use with Ruby. (IIUC, it
[#185038] Using Rake to compile FreeBASIC code — Luis Lavena <luislavena@...>
Hello list!,
[#185048] A long call chain... — Benjohn Barnes <benjohn@...>
[#185066] POLS violation? /\s*/ no match at StringScanner end — "Robert Feldt" <robert.feldt@...>
Hi,
[#185069] Class (not instance) initializers — Bhrgunatha Deva <akiba.rubynstein@...>
Newbie question:
Bhrgunatha Deva wrote:
[#185088] FreeRIDE problem ("Failing to load") — "Tobias Jonch" <joench@...>
Hello,
[#185096] Problem with Why's Poignants guide code..help — James Whittaker <jmwhittaker@...>
Trying to follow the code on chapter 4 (
Any Python experience by any chance? :)
Alder Green wrote:
[#185098] Re: Welcome to our (ruby-talk ML) You are added automatically — "Jamie De Paepe" <ejdepaepe@...>
# help
# guide
[#185105] Disabling reception of copies of my own messages sent to ruby-talk — "Alder Green" <alder.green@...>
Hi
[#185109] OpenSSL for public/private key encryption — "Douglas S. J. De Couto" <decouto@...>
Hi,
[#185112] Help with Ruby/TK install on Mandriva2006 — Randy Kramer <rhkramer@...>
My Ruby install on Mandriva2006 (from, iirc, the Mandriva package(s)) appears
[#185121] TCPSocket.accept blocks signals on win32? — Shea Martin <null@...0>
On Windows XP, ruby 1.8.4.
[#185158] "str1" == "STR1" case insensitive — Shea Martin <null@...0>
For doing case insensitive comparisons, I have been using
[#185160] Two build issues with 1.8.4.. — Stephen Waits <steve@...>
In attempting to build a completely static ruby, I've discovered a few
[#185162] Find.find and files in cwd — rtilley <rtilley@...>
I can use Find.find(Pathname.getwd) to get an array of all file paths
On Mar 21, 2006, at 1:18 PM, rtilley wrote:
[#185177] Ruby on HP-UX — "Tim Nordloh" <tnordloh@...>
I have read a couple of posts regarding compiling Ruby on HP-UX 11i, and
On Mar 21, 2006, at 2:48 PM, Tim Nordloh wrote:
On Wed, Mar 22, 2006 at 06:33:50AM +0900, James Edward Gray II wrote:
On Mar 21, 2006, at 3:51 PM, Mauricio Fernandez wrote:
Looking into it, I might be able to download a newer version, if it's
ok, I uncommented entries in the ext/Setup file one-by-one, and here's what
These first couple of lines look like a malformed gcc command to me. Anyon=
On Thu, Mar 23, 2006 at 12:07:30AM +0900, Tim Nordloh wrote:
Ok, I hand-modified it and ended up with this....
I really think this approach of removing things until it compiles is a mistake; if you did eventually get something that built, you'd just end up with a build of Ruby that most likely won't run any useful Ruby scripts.
Well, my basic Ruby scripts run ok for my basic needs, and no -- I don't
On Thu, 23 Mar 2006 06:46:28 +0900, "Tim Nordloh" <tnordloh@gmail.com> wrote:
MenTaLGuY,
On Mar 22, 2006, at 8:05 PM, Tim Nordloh wrote:
At this point, I'm not asking for a lot, just a hint would help, such as,
libcrypto is provided by openssl, yes
I'll work on at least openssl, since it is the squeaky wheel at the moment.
On Thu, 23 Mar 2006 13:36:34 +0900, "Tim Nordloh" <tnordloh@gmail.com> wrote:
Thanks, Mental, that helped immensely. I'm learning a lot.
New steps:
Ok, I've had to install 2 libraries so far, do get all of the dynamic
On Fri, 31 Mar 2006 03:41:24 +0900, "Tim Nordloh" <tnordloh@gmail.com> wrote:
I'm puzzled by this one -- for whatever reason, syck isn't getting loaded.
On Fri, 31 Mar 2006 04:41:54 +0900, "Tim Nordloh" <tnordloh@gmail.com> wrote:
[#185189] Newbie: How do I get hex formatted bytes from a file? — Wes Gamble <weyus@...>
I want to do:
Daniel,
On Mar 21, 2006, at 11:43 PM, Wes Gamble wrote:
[#185198] Newbie: Printing hex formatted string using printf — Wes Gamble <weyus@...>
I am trying to print the hex representation of a string using printf.
In irb, I try to figure out why this doesn't work:
[#185218] Ruby for [...] programmers — "Doug Bromley" <doug.bromley@...>
Hi all
On Thu, Mar 23, 2006 at 06:39:10AM +0900, Benjohn Barnes wrote:
[#185241] Rails vs. Ruby Evolution — gwtmp01@...
I was just reading through http://scottraymond.net/articles/
From: <gwtmp01@mac.com>
On 3/22/06, Bill Kelly <billk@cts.com> wrote:
On 3/22/06, Avdi Grimm <avdi.grimm@gmail.com> wrote:> On 3/22/06, Bill Kelly <billk@cts.com> wrote:>> I like the approach taken by Nitro (http://www.nitrohq.com/) which>> seems to be working in close collaboration with the facets>> (http://facets.rubyforge.org/) library. I'm just learning Nitro, but>> from what I've read, they seem to be consciously factoring their core>> extensions out to the facets library where appropriate, which makes>> those extensions available for anyone to use, on a method-by-method>> granularity. Neat. :)> There's a fair amount of overlap between ActiveSupport and Facets,> from what I've seen. It would be nice if the Rails team would> collaborate with the Facets team, since the original intent of Facets,> as I understand it, was to provide a single source for all the handy> extensions people were coming up with.
Care to elaborate? Not asking for a flame war or anything. I've used Rails
On 3/21/06, gwtmp01@mac.com <gwtmp01@mac.com> wrote:
It would be nice to see them do Object#ROR_to_json so its know what is
On 3/22/06, stu <yakumo9275@gmail.com> wrote:
In reply to seth;
[#185245] Round floats to N decimal places? — "Pat Maddox" <pergesu@...>
I'm doing some math that results in floats with ~10 decimal places,
[#185254] Is this a kind of design patterns? — "Sam Kong" <sam.s.kong@...>
Hi!
Sam Kong wrote:
Robert Klemme wrote:
Jim Weirich wrote:
Robert Klemme wrote:
On 3/22/06, Sam Kong <sam.s.kong@gmail.com> wrote:
[#185259] Net::HTTP timeout — "Alexandru E. Ungur" <alexandru@...>
Hi all,
[#185273] Ruby performance — "Keith Sader" <ksader@...>
I'm considering using Ruby to re-write and extract, transform, and
[#185284] questions/suggestions from a Ruby newbie — Diego.Virasoro@...
Hi,
On Wed, 2006-03-22 at 23:38 +0900, Diego.Virasoro@gmail.com wrote:
[#185300] Noob question about layout in FXRuby — "Arie van Wingerden" <apwing@...>
Hi all,
[#185308] Seeking some of that old-time Smalltalk religion — "John Lam" <drjflam@...>
I know there are some Smalltalk folks who hang out here, so I'd like to pos=
John Lam wrote:
On 3/22/06, Robert Klemme <bob.news@gmx.net> wrote:
[#185317] why doesn't "to_s" DWIM? — "Chris McMahon" <christopher.mcmahon@...>
[#185319] A DMG for Macosx Tiger. — Asset <gorter9@...4all.nl>
I want to learn programming from the beginning and i choosen to start
[#185327] scope issue of variable in iterator — Mohammad Khan <mkhan@...>
mkhan@mkhan:~$ irb
On 3/22/06, Mark Volkmann <mkhan@lextranet.com> wrote:
When we are enjoying the freedom of using variable without
Mohammad Khan wrote:
Let me correct myself,
[#185329] How to make readline work in IRB? — Randy Kramer <rhkramer@...>
I did mention this in another thread, but (I think) think I've learned a
Randy Kramer wrote:
[#185332] A syntax question about nested 'each' blocks — stephen.tashiro@...
Would someone explain the syntax of nested blocs vis-a-vis the use of
[#185341] Re: Programming challenge: wildcard exclusion in cartesian products — Dirk Thierbach <dthierbach@...>
[Had to drop alt.comp.lang.haskell, otherwise my newsserver doesn't accept it]
Dirk Thierbach wrote:
[#185367] Return code of process from IO — "Farrel Lifson" <farrel.lifson@...>
Hi folks,
[#185378] Re: Ruby history — "Berger, Daniel" <Daniel.Berger@...>
> -----Original Message-----
>Also, there is no Ruby 'compiler'
[#185379] XmlStruct-1.0.0 released — "NeilW" <aldursys@...>
XmlStruct
[#185383] Best way to slurp a file into a string? — Wes Gamble <weyus@...>
All,
[#185398] Introspection of method parameters — "Keith Sader" <ksader@...>
I'm trying to find out the number and name of a method's parameters.
[#185418] Ruby IPC In an OpenMosix Cluster — the.liberal.media@...
I'm undertaking a project that will eventually become a processing
On Thu, 23 Mar 2006 the.liberal.media@gmail.com wrote:
[#185433] Freeride on winxp doesn't capture output — Tydr Schnubbis <fake@...>
I have Freeride 0.9.5. I if have a script like 'puts "hello"', save it,
[#185438] bug: segfault when using super and method_missing — Brad Hilton <bhilton@...>
Hello,
[#185459] what on earth.. — "Joe Van Dyk" <joevandyk@...>
a = 5
Joe Van Dyk wrote:
Hi --
Ok, this is off the original track of discussion a bit, but I wanted
[#185505] drb over pipes — Reto Schuettel <reto-ruby-talk@...>
Hi
[#185518] Require Math — Lindsay Boyd <lindsay.boyd@...>
I need to access the sqrt method in my rails app. I believe I need the
[#185526] perl regexp to ruby one conversion ? — pere.noel@... (Une b騅ue)
i've a perl regexp :
[#185538] understanding aRegexp === aString — pere.noel@... (Une b騅ue)
i'm experiencing with regexp and ruby and follo the page
On Thu, 2006-03-23 at 23:13 +0900, Une b辿vue wrote:
[#185568] Problem seeing classes in rubygem — Wes Gamble <weyus@...>
Ruby 1.8.2
[#185581] What is the point of require_gem in Ruby 1.8.2? — Wes Gamble <weyus@...>
I just went through this mess over the last few hours...
[#185591] Ruby and RoR Book Roundup — "Rob Sanheim" <rsanheim@...>
Hello,
On Fri, 2006-03-24 at 03:42 +0900, Rob Sanheim wrote:
[#185606] test unit with ARGV input — rtilley <rtilley@...>
I can't get test/unit to work with command line scripts that take user
[#185607] Directory structure of a Ruby installation, including the paths that should be set, etc. — Randy Kramer <rhkramer@...>
Restart:
[#185608] Inheritance Question — David Solis <dsolis@...>
Hello,
[#185644] using unit test — rtilley <rtilley@...>
What is the most prevalent way of using unit testing in Ruby? Do I
[#185649] socket_sendfile — Eric Hodel <drbrain@...7.net>
= socket_sendfile
On Fri, 24 Mar 2006, Eric Hodel wrote:
Eric Hodel wrote:
On Sat, 25 Mar 2006, Toby DiPasquale wrote:
[#185659] Verifying keyword arguments — "Eli Bendersky" <eliben@...>
Hello all,
[#185663] require 'tk' SEGV with Ruby embedded in C — "Nicolas Despr鑚" <nicolas.despres@...>
Hi there,
[#185664] scraping websites — Kev Jackson <kevin.jackson@...>
Hi
Hey Kev
[#185668] How to Iterate over nested Hashes ? — Dinesh Dinesh <u_dinesh@...>
Hi,
[#185684] Libxsl-Ruby 0.3.6 — Ross Bamford <rossrt@...>
Gems: gem install libxsl-ruby
[#185688] iterator class not working — "Peter Ertl" <pertl@...>
Hi,
On 3/24/06, Peter Ertl <pertl@gmx.org> wrote:
On Fri, 2006-03-24 at 21:38 +0900, Peter Ertl wrote:
Just a small fix:
On 3/24/06, Ross Bamford <rossrt@roscopeco.co.uk> wrote:
Indeed, you topped my solution my needing one callcc less...
[#185696] redirecting stdout to a String — "Mark Volkmann" <r.mark.volkmann@...>
I wrote a unit test for a method that writes to stdout. I got it to
On Mar 24, 2006, at 7:50 AM, Mark Volkmann wrote:
[#185698] B & E (#72) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
On Mar 24, 2006, at 7:56 AM, Ruby Quiz wrote:
You are right that there are 10,000 unique codes, but each of those
I apologize for the 11th hour solution; this week was busy. It took
[#185729] DBI connection problem — Reis <andrea.reginato@...>
I'm trying to use dbi to connect to MySQL 4.0.18 on windows XP
[#185739] Trouble with open/write/close cycle — Toby DiPasquale <toby@...>
Hi all,
[#185740] Console IO — "semmons99@..." <semmons99@...>
Is there a simpler way to do the following?
On Mar 24, 2006, at 10:43 AM, semmons99@gmail.com wrote:
[#185760] Bug: Syntax error when using 'or' keyword — Daniel Harple <dharple@...>
I am getting a parse error when using the 'or' keyword. I do not get
[#185775] Article: An Exercise in Metaprogramming with Ruby — rubyhacker@...
I failed to post this link before, so here it is now:
On 3/24/06, rubyhacker@gmail.com <rubyhacker@gmail.com> wrote:
[#185780] require a certain version of the ruby interpreter — Shea Martin <null@...0>
I would like to enforce ruby 1.8.4 or higher.
Shea Martin wrote:
Shea Martin wrote:
Hi --
On Sat, 2006-03-25 at 11:06 +0900, dblack@wobblini.net wrote:
Ross Bamford wrote:
[#185786] Basic YAML help - collection of objects with attributes — "Sean Hussey" <seanhussey@...>
Hi everyone,
[#185799] meaning of *array — Axel Schlueter <axel@...>
Hi,
Hi --
[#185805] Require "tk" on linux — "Jeppe Jakobsen" <jeppe88@...>
Hi there, I really need to be able to use tk on my linux box, but I get an
http://groups.google.com/group/comp.lang.ruby/browse_frm/thread/df8ceea00bda518/953d9ff16fff153a?q=tk+no+such+file+to+load&rnum=28#953d9ff16fff153a
I'm afraid I did something wrong. When i enter the last line in step 3, I
From the same conversation:
Yes I saw it but I don't quite understand. For one thing, I don't seem to
[#185815] Object Query Language for Ruby? — "Victor Shepelev" <vshepelev@...>
Hello.
[#185824] installing rails — "julian" <jkbowler@...>
I am completely new to ruby and to rails, but have brought a book Agile
spelling dependencies incorrectly was a silly mistake on my part and I
How about rebooting and trying the beta version 0.8.11?
also
As always ta very much indeed your help and time and persistance are
[#185830] Newby Maze solution — "Alex Combas" <alex.combas@...>
Hello folks,Tonight I tried out some of that good old extreme programming TDD stuffwith mixed results.
Alex Combas wrote:
[#185842] Space-Merchants and the future! — "Gerben van de Wiel" <gerben.fds@...>
I have been following the Thread about Ruby quiz number 71, with great
[#185847] WIN32OLE#[] and WIN32OLE#[]= method in Ruby 1.9 (or later) — Masaki Suketa <masaki.suketa@...>
Hello,
[#185856] Object methods — Eustaquio Rangel de Oliveira J <eustaquiorangel@...>
Hello there. :-)
Eustaquio Rangel de Oliveira J wrote:
Hello, Robert!
Eustaquio Rangel de Oliveira J wrote:
Hi Robert!
[#185859] Speed issue on Windows — Larry Kelly <ldk2005@...>
What progress is being made to improve Ruby's speed on Windows
Larry Kelly wrote:
Daniel Berger wrote:
Larry Kelly wrote:
On 3/25/06, rtilley <rtilley@vt.edu> wrote:
P.S.: I have a P4/1 GB/SATA disk workstation that's dual-booted Gentoo
[#185864] Brazilian Portuguese Ruby Book — Eustaquio Rangel de Oliveira J <eustaquiorangel@...>
Hi there!
At Sun, 26 Mar 2006 00:06:01 +0900, Eustaquio Rangel de Oliveira J wrote:
Hi Josef!
[#185884] Really basic Ruby question — "paul.denlinger@..." <paul.denlinger@...>
I'm learning Ruby from the Learn to Program tutorial by Chris Pine.
[#185896] Help with tkHTML (specifically, require 'tkextlib/tkHTML' fails to find package) — Randy Kramer <rhkramer@...>
(Ruby 1.8.4 on Mandriva2006)
On Saturday 25 March 2006 04:14 pm, Logan Capaldo wrote:
On Saturday 25 March 2006 09:50 pm, Logan Capaldo wrote:
From: Randy Kramer <rhkramer@gmail.com>
Everyone: I'm still not there, any suggestions appreciated.
[#185908] Best Database For Ruby — Butternut squash <rrrn@...>
I want to learn DB and SQL using Ruby
Butternut squash wrote:
On 3/25/06, Reid Thompson <reid.thompson@ateb.com> wrote:
Pat Maddox wrote:
[#185930] New release of Rockit? — ptkwt@... (Phil Tomson)
According to this blog entry:
Phil Tomson wrote:
On 3/26/06, Daniel Berger <djberg96@gmail.com> wrote:
[#185947] deciphering poignant guide chapter 4 example — john_sips_tea@...
Hi,
Hi,
> First, let me warn you that from what you describe, you have
[#185961] Noob: use of the double colon — "NuclearFusion" <xapwing@...>
Hi,
Hi --
On Sun, 2006-03-26 at 22:33 +0900, dblack@wobblini.net wrote:
On Sun, 26 Mar 2006 dblack@wobblini.net wrote:
[#185968] Which Rails book is good? — pmak-adwords@...
Any suggestions on which book for Rails is better (I have no prior
[#185992] Whats the rail? — "Ryan and Kate Huff" <ryanandkate@...>
I am an extreme beginer to ruby on rails, but not to PHP, Java ..... etc and
[#185997] String to array as command line — lubomir.markovic@...
Hello,
[#186016] Areal noob question — "Ryan and Kate Huff" <ryanandkate@...>
Can Ruby run without rails?
Hi --
Thank you very much for your insight. As far as language maturity goes,
Ryan and Kate Huff wrote:
Well PHP is a "try to be OO" language, it's not nearly true OO. JAVA on the
>> Thank you very much for your insight. As far as language maturity goes,
[#186054] RB + RMagick = cd Crash... — De Railed <kitesurf27@...>
Hi,
[#186068] Data Structure for n-dimension values with defaults — "Phrogz" <gavin@...>
Help! I can't figure out how to store a rather particular set of data.
I'm new to Ruby so perhaps this is obvious to you but not to me. Can
On Tue, 28 Mar 2006, Ernest Obusek wrote:
ara.t.howard@noaa.gov wrote:
[#186078] rsync on rubyforge? — Joel VanderWerf <vjoel@...>
On Mon, 2006-03-27 at 08:58 +0900, Joel VanderWerf wrote:
On Tue, 28 Mar 2006, Tom Copeland wrote:
On Tue, 2006-03-28 at 11:17 +0900, ara.t.howard@noaa.gov wrote:
[#186079] Why do some methods names which replace the content in place doesn't have the "!" sign? — Eric Boucher <devlists-ruby-talk@...>
Hi,
Eric Boucher wrote:
Tim Hunter wrote:
Hi --
On 3/27/06, dblack@wobblini.net <dblack@wobblini.net> wrote:
Hi --
On 3/28/06, dblack@wobblini.net <dblack@wobblini.net> wrote:
Robert Dober wrote:
On Tue, Mar 28, 2006 at 10:23:21PM +0900, Peter Hickman wrote:
Gregory Seidman wrote:
On Tue, Mar 28, 2006 at 11:51:05PM +0900, Peter Hickman wrote:
Peter Hickman wrote:
Michael Ulm wrote:
I am really sorry, this got way out of control.
Hi --
On Wed, Mar 29, 2006 at 12:00:32AM +0900, dblack@wobblini.net wrote:
Hi --
On Wed, Mar 29, 2006 at 12:56:25AM +0900, dblack@wobblini.net wrote:
[#186092] rexml - how to get element name — Gerald Preissler <Gerald.Preissler@...>
If I have an instance of REXML::Element, is there a convenient way to
[#186095] input without blocking — yahn <yahn15@...>
How do you do something like gets but without blocking? All I want to
> How do you do something like gets but without
There should be methods on Unix and Linux using select or something
On Tue, 28 Mar 2006 karl_brodowsky@yahoo.com wrote:
On Tue, 28 Mar 2006 gwtmp01@mac.com wrote:
Wouldn't this:
On Tue, 28 Mar 2006, brian yahn wrote:
I'm just trying to get the characters being input into the program and
On Mar 28, 2006, at 5:48, brian yahn wrote:
On Mar 28, 2006, at 9:57, Matthew Smillie wrote:
I wrote a little timer application and I would like it to play a
[#186098] Waiter, there's a noob in my soup! — Jeff Pritchard <jp@...>
Another thread here made me realize that I have a perfect use for
Thanks Gene, but I don't know which end is up with Python. I'm an old C
On 3/26/06, Jeff Pritchard <jp@jeffpritchard.com> wrote:
Thanks to all who responded.
[#186108] Duck typing bunches of strings — listrecv@...
In my quest to master the fine art of duck typing / overloading, I've
[#186109] Subclasses and constants — listrecv@...
Often, I find myself doing:
List Recv wrote:
[#186115] Mongrel Web Server 0.3.12 -- Pre-Release — Zed Shaw <zedshaw@...>
Hello Everyone,
[#186130] is -w really useful? — Wybo Dekker <wybo@...>
I would like to use the -w commandline option always, but any useful
[#186132] Variables in REXML — 54Sandgroper <spambait@...>
Real nuby question.
[#186152] Callback For A Timer Event To Display Widget in Ruby/Tk — David Bailey <david.bailey@...>
Kind All,
[#186158] ara's double_x : generate xml? — "itsme213" <itsme213@...>
Does this library support generating of xml (not xhtml)? what's the top
[#186162] tagged unions and instantiating objects — parisnight@...
I frequently work on binary data files that contain data structures
[#186163] Verifying SSL with http-access2 on Windows — listrecv@...
Anyone know how to get http-access2 to verify the SSL Certificate on
Could someone point in the right direction on this? Or, if my question
[#186191] Simple pattern matching — "Minkoo Seo" <minkoo.seo@...>
Hi group.
[#186207] Concatenation of regular expressions — "Geoff" <skhisma@...>
Is there a way to concatenate regular expressions in ruby? Something
[#186224] "Unflattening" arrays — "Farrel Lifson" <farrel.lifson@...>
Hi folks,
[#186247] New Optimization idea. — John Carter <john.carter@...>
I have a couple of classes like so...
[#186258] Gets and chomp method question — "paul.denlinger@..." <paul.denlinger@...>
I'm working through the "Gets and chomp method" section of Learn to
[#186260] Newbie: Equivalent to "this" keyword in Java? — Wes Gamble <weyus@...>
If I am writing a method and I want to refer to the instance of the
[#186269] ./configure doesn't like CFLAGS='-ggdb' — Dave Howell <groups@...>
My RubyCocoa app has started exploding with "BUS ERROR," or perhaps
[#186279] Re: Newbie needs OOP guidance... — Lionel Thiry <lthiryidontwantspams@...>
Nick Pestell a 馗rit :
[#186285] Would this be possible? — Craig Schweitzer <cschweitzer@...>
Would this work to find the mean average and the number of elements
[#186322] RJS, Active Record++, respond_to, integration tests, and 500 other things! — "David Heinemeier Hansson" <david.heinemeier@...>
The biggest upgrade in Rails history has finally arrived. Rails 1.1
[#186332] Noob: The ruby way to multiple Array by multiple? — Eric Luo <eric.python@126.com>
I want to make a Array multipled by another Array, and the following semantic.
[#186336] using mysql client to read a file to create a table in a database in a mysql server — "julian" <jkbowler@...>
I have a little tech problem:
have you tried mysql -u <username> -p <password> ?
I appologise, I do not understand your post Aviator please write
appologies there was an error in my last post anyway.
very many thanks for your helpfull responce, I will try this latter on
I am still a wee bit confussed, I have tried from the depot prompt
[#186349] Array resizing — "Victor Shepelev" <vshepelev@...>
Maybe dumb question, but...
[#186366] Rails 1.1 Released — "David Ishmael" <dishmael@...>
Ran across this article on digg.com about the release of Rails 1.1:
David Ishmael wrote:
John N. Alegre wrote:
Whew, I was running out of ideas. ;) Glad it's working now.
What sort of bandwidth is needed? Perhaps I can help set up a mirror
[#186379] Changing the quote-character in csv parsing — Jens Auer <jens.auer-news@...>
Hi,
[#186380] Seeking win32ole CDO/Mapi help — "Keith Sader" <ksader@...>
I'm trying to read a remote mail store using the CDO OLE interface
[#186381] Regexp gotcha — Pistos Christou <jesusrubsyou.5.pistos@...>
Hi, all. I was fixing a bug last night, and discovered some
Hi --
Are you asking why we can write
James H. wrote:
On 3/29/06, Pistos Christou <jesusrubsyou.5.pistos@geoshell.com> wrote:
Robert Dober wrote:
[#186422] timeout when listening with TCPServer — Shea Martin <null@...0>
I want to listen for connections for 2 seconds, then timeout. Do I have
[#186426] Regexp to match strings that _don't_ being with a string — Wes Gamble <weyus@...>
I would like to write a regexp that will match a string that does NOT
What about:
On Wed, 29 Mar 2006 03:43:51 +0900, Wes Gamble <weyus@att.net> wrote:
Andrew,
I have a new wrinkle.
Wes Gamble wrote:
[#186427] resolv.rb - documentation and its name — "Minkoo Seo" <minkoo.seo@...>
Hi group.
[#186466] getting mails to say someone has added to your topic — "julian" <jkbowler@...>
Does this group thing in google have such a facility i wonder, does any
[#186474] Ruby Black Belt — "Dmitry Buzdin" <buzdin@...>
Hello Ruby community!
On Mar 28, 2006, at 3:08 PM, Dmitry Buzdin wrote:
On Mar 28, 2006, at 3:52 PM, James Edward Gray II wrote:
Hey if people is against an exam, why not make it more like a test so that
Benjohn Barnes <benjohn@fysh.org> writes:
I think the community could come up with something better and more interestingthan an online test but I do not think that "something" should berubyquiz.com, sorry James.
Jeppe Jakobsen wrote:
Yeah I could do that, but this is my first language and I can still only
Dear all,
On Mar 29, 2006, at 12:31 AM, Jeppe Jakobsen wrote:
Practice, reading and more practice, I guess? :)
I really join those who think certification is a bad idea!
On Thu, 2006-03-30 at 07:01 +0900, Robert Dober wrote:
To suggest that there's nothing between the pickaxe and rubyquiz is
On 3/28/06, Dmitry Buzdin <buzdin@gmail.com> wrote:
First of all want to thank all of You who posted comments here. Special
Dmitry Buzdin wrote:
I am learning Ruby as my first language, and have spent about one week
Hi --
Peter Szinek wrote:
On 3/29/06, Pistos Christou <jesusrubsyou.5.pistos@geoshell.com> wrote:
Gregory Brown wrote:
Actually, I probably shouldn't be saying this..
[#186489] segfault with tk.rb — Wybo Dekker <wybo@...>
This works OK:
From: Wybo Dekker <wybo@servalys.nl>
n Wed, 29 Mar 2006, Hidetoshi NAGAI wrote:
From: Wybo Dekker <wybo@servalys.nl>
On Thu, 30 Mar 2006, Hidetoshi NAGAI wrote:
Thank you for your report.
From: Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
[#186490] Opposite of ||= pattern? — "Justin Bailey" <jgbailey@...>
A cheap just-in-time initialization trick is the "||=3D" trick:
On Wed, 29 Mar 2006, Justin Bailey wrote:
[#186493] One-Click Ruby Installer 184-16 release candidate 1 is available! — "Curt Hibbs" <ml.chibbs@...>
The release file has been uploaded to RubyForge but may not be
Curt Hibbs wrote:
[#186540] How to interator over two arrays? — "brez! !!" <jbresnik@...>
Let me start by saying I really like Ruby iterators - anyhow I've been
[#186542] strings and ruby style? — Kev Jackson <kevin.jackson@...>
Which of the following is considered better style?
[#186546] strange order of execution — "Dirk Traulsen" <dirk.traulsen@...>
Hi list!
Dirk Traulsen wrote:
in lisp we have macro which does not evaluate arguments,
vsv wrote:
> Is there something you cannot do without?
On Mar 29, 2006, at 2:53 AM, vsv wrote:
[#186563] Functions scope — Mirek <mirek.rusin@...>
[#186575] How to 'space' certain things apart? — JB <directly_above_the_center@..._the_earth.com>
[#186592] Calling R from Ruby — "AlexG" <alexg@...>
Hi,
In article <442B7BA3.104@cesmail.net>,
unknown wrote:
> For an R bridge I use a simple class that writes stuff to a script file
Yeah ... in fact there is an R DCOM server and client in the CRAN
Hi,
Meino Christian Cramer wrote:
> "little things" like converting a "A" to a 65
[#186613] Compiling ruby code — Simon Nielsen <sn@...>
i know very little about ruby, have only looked shortly at rails
Yes and no.
[#186634] reading/writing binary problem — Wolfgang <wollez@...>
Hi,
On Wed, 29 Mar 2006, Wolfgang wrote:
Hello,
[#186651] alarm.rb (#73) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
[#186656] Tools to improve testing — "Imobach Gonz疝ez Sosa" <imobachgs@...>
Hi all,
[#186679] unpack signed short in network (big-endian) byte order — baumanj@...
Is there any particular reason why there is no format specifier in the
[#186716] Where is Fixnum#power! coming from? — Daniel Berger <Daniel.Berger@...>
Hi all,
[#186732] Learn to Program, by Chris Pine — Jan_K <non@...>
Does anyone know where I can find the solutions to the exercises in
On 29/03/06, Jan_K <non@none.com> wrote:[snip]> I feel like beating the shit out of some punching bag somewhere. Is> this a normal reaction when one is trying to learn to program for the> first time?
Christian Neukirchen wrote:
Chapter 9, exercise 2 (page 76)
This is my take on the same problem:
On Feb 2, 2008 1:33 PM, Kelly Tanguay <kelly.tanguay@cox.net> wrote:
On Feb 2, 2008 7:47 PM, Todd Benson <caduceass@gmail.com> wrote:
On Feb 2, 2008 8:49 PM, Todd Benson <caduceass@gmail.com> wrote:
actually ROMAN[key] and not working with numbers having a 9.
Chapter 9, exercise 3 (page 76)
Restricting to what is covered in chapters 1-10, how about the
Jeff de Vries wrote:
For interest, before I bought the book I did this exercise for the
I'm having some issues modifying the Civ continent example from ch. 10
Hello all. Thanks to all the posters who came before me! You've been
[#186738] %r regex matching is ignoring my leading zeros — Dara Sanderson <dsand1@...>
Hello,
[#186745] Enable line-numbers for text entered - How to? — "Richard" <RichardDummyMailbox58407@...>
Hi,
On Thu, 30 Mar 2006, Richard wrote:
[#186775] Digital signing of Ruby scripts — "John Lam" <drjflam@...>
A primary scenario for my RubyCLR bridge is to enable folks to build rich
Are you trying to address security concerns or copy protection /
On Mar 29, 2006, at 5:21 PM, John Lam wrote:
I still don't understand. Who are you trying to protect - a user from
[#186783] Net::HTTP#post_form - setting user agent, referrer? — Joe <joe@...>
How can I set the user-agent and HTTP_REFERER (and perhaps other vars)
You can't. Use HTTP#request_post(path, data, headers) where headers is a hash.
Thanks. Anybody know how the headers are specified? I can't find any
[#186790] File deletion failed -- how to handle problem? — "Richard" <RichardDummyMailbox58407@...>
Hi All,
[#186805] accessing the currently running method — Kev Jackson <kevin.jackson@...>
is caller the best way to access the name of the current method?
[#186834] problem with fastercsv install — ara.t.howard@...
[#186841] B & E (#72) — Ruby Quiz <james@...>
This quiz turned out to be surprisingly tough. Ross Bamford seemed to get the
[#186850] Unintentional hype of Ruby irb and ri — stephen.tashiro@...
Perhaps an inflamatory title - but it answers some simple questions.
On Fri, 31 Mar 2006 stephen.tashiro@us.army.mil wrote:
[#186867] Marshaling Decimal types from .NET — "John Lam" <drjflam@...>
Decimal numbers in .NET are 128 bit values that avoid the rounding errors
John Lam wrote:
Thanks, Charlie I added the new marshaling code to RubyCLR this afternoon.
John Lam wrote:
[#186870] — Meino Christian Cramer <Meino.Cramer@...>
Hi;
[#186874] Isn't :: a method? How to define? — "itsme213" <itsme213@...>
SyntaxError: compile error
[#186881] TrueClass/FalseClass vs. Boolean — PrimaryKey <pk@...>
Greetings!
Since everything in ruby is an object, there need to be objects for
"baumanj@gmail.com" <baumanj@gmail.com> writes:
On Fri, 31 Mar 2006, Christian Neukirchen wrote:
[#186919] Ruby and AOP — James Herdman <james.herdman@...>
I'm reading "The Pragmattic Programmer" right now and I'm at the part
[#186926] win32ole in compiled ruby — matthewdmaxwell@...
I am having a problem with getting the win32ole extension to work for
>>> sender: "matthewdmaxwell@gmail.com" date: "Fri, Mar 31, 2006 at 12:38:43PM +0900" <<<EOQ
[#186935] How slow could ruby be compared to Python or Perl? — sullivanz.pku@...
This might be a stupid question, but I really wonder if ruby is much
Austin Ziegler wrote:
On 4/4/06, Isaac Gouy <igouy@yahoo.com> wrote:> Austin Ziegler wrote:> > On 3/31/06, sullivanz.pku@gmail.com <sullivanz.pku@gmail.com> wrote:> > > This might be a stupid question, but I really wonder if ruby is much> > > slower than python and perl.> > Try it. And ignore anyone who tells you to look at the utterly useless> > Alioth shootout. It doesn't model anything real-world and doesn't> > actually tell you anything about performance for your problems.> >> > I haven't checked in a while, but they weren't very honest about their> > aims last time I checked, either. It's simply a matter of> > self-promotion and comparison for Inane Gullibles.> "I haven't checked in a while..."> Then your comments would apply to the Alioth shootout in... 2004?
On 4/4/06, Isaac Gouy <igouy@yahoo.com> wrote:
[#186956] File.mtime: Bug on Windows? — Axel Friedrich <axel.friedrich.NOT@...>
[#186966] ri for stdlib — "Minkoo Seo" <minkoo.seo@...>
Hi group.
[#186967] Redef undef'ed methods? — "Robert Feldt" <robert.feldt@...>
How "final" is a call to undef_method? Is there any way to get the
[#186982] openGL documention? — bas wilbers <baswilbers@...>
hello,
Just for some background, here on Debian Etch I can apt-get install
bas wilbers wrote:
Gary Watson wrote:
what are you looking for. Can you give a specific example?
[#186992] Testing DiGraph (#73) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
On Mar 31, 2006, at 8:30 AM, Ruby Quiz wrote:
James Edward Gray II wrote:
I don't quite understand what is being passed to new
Perhaps I can ask this in another way. Is it possible to pass a variable
On 4/4/06, Himadri Choudhury <hchoudh@gmail.com> wrote:
Then you have to manually enter all the edges?
On 4/4/06, Himadri Choudhury <hchoudh@gmail.com> wrote:
[#187020] Ruby/Tk (X,Y) Coordinate Question — David Bailey <david.bailey@...>
David Bailey wrote:
You could try "%X %Y" to get coordinates relative to the top left corner
Actually, what I think you are looking for is the translation from
unknown wrote:
[#187042] (Static) Constructors/Destructors in Ruby — PrimaryKey <pk@...>
Hello!
PrimaryKey wrote:
Does anyone know under what conditions the finalizer won't be called?
PrimaryKey wrote:
> How would you use static constructors/destructors? Perhaps we can show
PrimaryKey wrote:
> {
[#187047] A good system for $LOAD_PATH management? — Stephen Tashiro <tashiro@...>
[#187052] know can I know how much object has been created??? — sayoyo@...
Hi,
[#187060] can activesupport gem be used in "standalone" fashion? — john peter <neuzhoundxx@...>
i'm using ruby 1.8.2, rubygem 0.8.10, rails 1.0.0 where activesupport version = 1.2.5
I'm not sure why the above doesn't work, but check below for a working
[#187078] commonly used email library — "sin kanti" <sinkanti@...>
Hi all,
sin kanti wrote:
[#187079] Questions about Tk - Newbie — "Jeppe Jakobsen" <jeppe88@...>
Hey I've just started to learn my first GUI toolkit today. Tk :)
# This can be shortened at the expense of clarity.
Okay, thanks. I have played a little around with it now, and I can get a
So TkText's don't have textvariable's. They sore their own text
[#187094] Static and Dynamic Analysis — Miles Monroe <aaronbecker17@...>
Are there any static and/or dynamic analysis tools for Ruby? FxCop for
Re: what on earth..
On 3/22/06, Mike Stok <mike@stok.ca> wrote:
>
> On 22-Mar-06, at 9:51 PM, Joe Van Dyk wrote:
>
> > a = 5
> > puts Fixnum == a.class # spits out true
> >
> > # spits out "Who knows what I am. :-("
> > case a.class
> > when Fixnum
> > puts "I'm a fixnum!"
> > else
> > puts "Who knows what I am. :-("
> > end
> >
> >
> > What's going on here?
>
> case doesn't use == you can do this:
>
> a = 5
>
> case a
> when Fixnum
> puts "I'm a fixnum"
> else
> puts "other"
> end
Very nice, thanks! Less code is always better.