[#335585] Strange Gem Problems — "Timothy Mr." <cadeucean@...>
Hey all,
[#335591] Question about "protected" and "private" — Fasun Lau <fasun.lau@...>
Hi, all
[#335615] Multiple database connections — James Lopes <jlopes151@...>
[#335616] One Die Game (#203) — Daniel Moore <yahivin@...>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[#335626] RUBYOPT: Where is it (env) defined? — Frederick Lee <fclee@...4less.com>
I need to remove the RUBYOPT variable from the environment so I can
[#335631] String from code points? — Marcos <markjreed@...>
Given a(n array of) numeric value(s) representing (a) Unicode code
[#335632] SOAP - issue with openssl verification failure — Venkat Alla <spinhoo2000@...>
I have the following code in a script that I am trying to use at work -
This isn't a ruby problem looks like your connecting to a server using ssl
[#335634] gmail_contacts 1.1 released! — Eric Hodel <drbrain@...7.net>
gmail_contacts version 1.1 has been released!
[#335653] lazy lookup — Thomas Hafner <thomas@...>
Hello,
[#335665] OpenSSL::Cipher dad decrypt — Pål Bergström <pal@...>
I'm trying to implement a simple encrypt and decrypt function in Rails.
On 2 May 2009, at 21:45, P=E5l Bergstr=F6m wrote:
[#335674] Prawn relative-path image — Michael Wong <mwongson@...>
Hi, I would like to show an image on PDF (via prawn pdf.image). I am
[#335685] String problem — Fresh Mix <gigatavu@...>
What wrong?
Fresh Mix wrote:
Fresh Mix wrote:
7stud -- wrote:
Hi,
On May 3, 2009, at 5:59 PM, Yukihiro Matsumoto wrote:
[#335699] modules and classes question — Marcelo Barbudas <nostef@...>
Hi,
Marcelo Barbudas wrote:
Hi,
Marcelo Barbudas wrote:
7stud -- wrote:
Hi,
2009/5/4 Marcelo Barbudas <nostef@gmail.com>:
[#335714] Need help with SQLite3 — Joshua Collins <kidguko@...>
I am trying to install SQLite3
[#335741] String#hash changed in Ruby 1.9? — David Palm <dvdplm@...>
Hi all,
[#335755] Should I upgrade Ruby from 1.8.5 to 1.8.7? — Cali Wildman <caliwildman2004-info@...>
I just upgraded to Rails 2.3.2 but my Ruby is still 1.8.5. Rails 2.3.2
There have been a few threads on this so far. Possibly the right
Installing multiple versions is too messy for me. I plan on retiring my
My guess would be that it's reasonably safe depending on what
I know some of my libraries are gotta to get whacked but then I might
So it seems like there are enough chatter on various blogs, etc that
It might not be that hard to suck every version of the Ruby source
[#335766] Cross-compiling 1.9.1-p0 to bfin-uclinux — Aaron Gage <ratcrow@...>
Greetings --
[#335770] accessing one class from another class — Nick da G <nick.gorbikoff@...>
Hello, All.
Also to clarify xml tag like <Course> can be repeated in my xml file,
[#335777] my logroll code, please critique — Derek Smith <derekbellnersmith@...>
My goal is to keep 10 files each at 100Mb. Please critique and suggest
Derek Smith wrote:
On Tue, May 5, 2009 at 2:55 AM, Tom Cloyd <tomcloyd@comcast.net> wrote:
Tim Pease wrote:
[#335792] a DSL + scope problem — Srijayanth Sridhar <srijayanth@...>
Hello,
[#335796] Min max program — Taylor Lodge <ubermouse@...>
I've just started using ruby for a programming/math class I'm doing at
Taylor Lodge wrote:
Thanks everyone just what I was looking for.
[#335809] (mandriva 2009) problem with installation kdevelop/ruby/Qt — Olivier Lolveley <lolveley@...>
hello,
[#335828] Base62 encoding/decoding — Srikanth Jeeva <sri.jjhero@...>
Hi,
On Tue, May 5, 2009 at 1:10 PM, Srikanth Jeeva <sri.jjhero@gmail.com> wrote:
On Wed, May 6, 2009 at 2:26 AM, Todd Benson <caduceass@gmail.com> wrote:
[#335842] '=||' — James Byrne <byrnejb@...>
Can someone point out to me where exactly in the API I find a discussion
On 5 May 2009, at 20:51, James Byrne wrote:
Eleanor McHugh wrote:
On 6 May 2009, at 00:09, 7stud -- wrote:
On Tue, May 5, 2009 at 8:45 PM, Eleanor McHugh
On 6 May 2009, at 02:31, Rick DeNatale wrote:
On Wed, May 6, 2009 at 6:54 AM, Eleanor McHugh
[#335849] delegate and unless for __ — Raj Singh <neeraj.jsr@...>
Anytime I see the delegate code usually there is an unless along with
[#335854] Birmingham Escorts Services — Value Coupons <webhosting786@...>
The sexy Birmingham escorts services are something you can never avoid
[#335867] Unexpected BigDecimal rounding issue — Samuel Lown <me@...>
Hi,
[#335871] if string = "mike" then print "Hi mike" — Bigmac Turdsplash <i8igmac@...>
server/client connection
[#335886] removing Whitespace using regexp — Arun Kumar <arunkumar@...>
Hi,
[#335892] Ruby Regex — Sriram Varahan <sriram.varahan@...>
Hello,
[#335920] calling winapi for EnumDisplayMonitors — Phil Smy <phil@...>
I am trying to write a desktop application in Ruby. We need to find out
[#335924] Ruby 1.9.1 on windows — Ian Hobson <ian.hobson@...>
Hi all,
Ian Hobson wrote:
[#335934] Help with connecting to SQL Server 2005 Database with Ruby — Arti Singh <arti.p.singh@...>
I am quite new to ruby and trying to connect to a SQL Server 2005
[#335958] storing c pointers in ruby hash — Rolando Abarca <funkaster@...>
Hi all,
[#335961] system call not working under cron — Michael Satterwhite <michael@...>
I have a short ruby script to periodically change the screen background
[#335978] How to break this down for use in a graph? — Michael Modic <codeslush@...>
Hi,
> Please help! =A0:-( =A0If I need to structure my query differently, I can=
Mark Thomas wrote:
> #<Client:0x4920884 @attributes={\"order_count\"=>\"4\",
[#335984] 1.8.7 doesn't work on Ubuntu — Chad Woolley <thewoolleyman@...>
Does anyone know how to get around this:
[#335989] nokogiri 1.3.0rc1 has been released! — Aaron Patterson <aaron@...>
nokogiri version 1.3.0rc1 has been released!
[#335993] General Nokogiri problem — Srijayanth Sridhar <srijayanth@...>
Hello,
[#335996] Adding a =~ method to the Method class — Gabriel Saravia <gabe.saravia@...>
[#336006] Who added this to my $PATH? — Albert Schlef <albertschlef@...>
I've just found the following line in my ~/.bashrc:
On May 7, 2009, at 1:08, Albert Schlef <albertschlef@gmail.com> wrote:
[#336009] No documentation for File's methods? — Albert Schlef <albertschlef@...>
We can do the following...
Albert Schlef wrote:
2009/5/7 J=F6rg W Mittag <JoergWMittag+Usenet@googlemail.com>:
Hi, people! I'm the original poster.
[#336020] webgen 0.5.8 released — Thomas Leitner <t_leitner@...>
Hey everybody!
[#336023] Memcache Replication — Barak Iqbal <barakathullah@...>
Hi,
[#336026] Error invoking PDFTK when running from TextMate — Raimon Fs <coder@...>
Hello,
[#336031] Superclass of eigenclass — Danny O cuiv <danny.ocuiv@...>
On page 261 of The Ruby Programming Language, they state:
On Thu, May 7, 2009 at 8:35 AM, Danny O cuiv <danny.ocuiv@gmail.com> wrote:
On Thu, May 7, 2009 at 11:50 AM, Rick DeNatale <rick.denatale@gmail.com> wrote:
Hi Rick,
On Thu, May 7, 2009 at 1:17 PM, Danny O cuiv <danny.ocuiv@gmail.com> wrote:
On Thu, May 7, 2009 at 7:17 PM, Danny O cuiv <danny.ocuiv@gmail.com> wrote:
Joshua Ballanco wrote:
[#336032] How write a synchronized class — Guillaume dorchies <guillaume.dorchies@...>
Hello
[#336035] base32hex (rfc 4648) — Alex Dd <alexd@...>
Hi -
[#336045] Adding data to text file variables — Stuart Clarke <stuart.clarke1986@...>
I have a quick question and I apologise for my ignorance if it is easy
On Thu, May 7, 2009 at 4:57 PM, Stuart Clarke
[#336048] Too many open files — Qi Lu <qi.lu@...>
I am writing an application server using TCP server which can only
[#336053] how to find and close opened file descriptor — Oliver Peng <oliver.peng@...>
During my testing, I found that ruby doesn't create IO object for each
[#336058] n00b: code logic (probably a 1-min-question) — Tom Ha <tom999@...>
Hi there,
On Thu, May 7, 2009 at 9:31 AM, Tom Ha <tom999@gmx.net> wrote:
[#336061] Ruby memory usage — Pete Hodgson <ruby-forum@...>
Hi Folks,
On Thu, May 7, 2009 at 12:01 PM, Pete Hodgson <ruby-forum@thepete.net>wrote:
2009/5/8 Tony Arcieri <tony@medioh.com>:
[#336070] I have 1.9.1, win32-service gem looking for 1.8 — Grant Birchmeier <gbirchmeier@...>
I have 1.9.1 installed (from zip). My scripts use the win32-service
[#336087] File over tcp? with out using net/ftp — Bigmac Turdsplash <i8igmac@...>
Im trying to send a file back and forth between a client.rb and
On 08.05.2009 01:51, Bigmac Turdsplash wrote:
Robert Klemme wrote:
Bigmac Turdsplash wrote:
On 09.05.2009 10:03, Philippe Chotard wrote:
[#336092] using the GSL library — Jason Lillywhite <jason.lillywhite@...>
I'm trying to get started with the gsl-ruby library - thought I'd start
[#336127] A brief history of programming languages — "Daniel Berger" <djberg96@...>
http://james-iry.blogspot.com/2009/05/brief-incomplete-and-mostly-wrong.html
[#336129] Export to Excel from SciTE Result Log — Rase In <mohamedrafiq@...>
Hi All,
Thanks Jason; but i am really sorry to ask you this stupid
Well, actually you may not need the csv library yet. But working with
[#336160] CGI help — Jeff Leggett <hikerguy@...>
So, I am trying ot read the contents of a file and format the contents
Jeff Leggett wrote:
7stud -- wrote:
>
Jeff Leggett wrote:
7stud -- wrote:
[#336165] NilClass and Comparable — "RubyTalk@..." <rubytalk@...>
>> nil==0
[#336168] ruby string slice/[] w/ range, weird end behavior — Gary Yngve <gary.yngve@...>
First the docs:
On 9 May 2009, at 00:26, Gary Yngve wrote:
Am Samstag 09 Mai 2009 01:32:06 schrieb Eleanor McHugh:
On 9 May 2009, at 00:39, Sebastian Hungerecker wrote:
On May 8, 4:47=A0pm, Eleanor McHugh <elea...@games-with-brains.com>
Here's an even simpler case:
Are replies to this group always like this?
On 9 May 2009, at 01:23, Gary Yngve wrote:
On Sat, May 9, 2009 at 3:12 AM, Eleanor McHugh
[#336177] Ruby 1.8.6 P368 windows binaries — Cali Wildman <caliwildman2004-info@...>
I currently have Ruby 1.8.5. After much discussion on another thread
[#336205] converting UTF-8 to entities like 剛 — Jian Lin <winterheat@...>
On Sat, May 9, 2009 at 2:04 PM, Jian Lin <winterheat@gmail.com> wrote:
Robert Dober wrote:
On Sat, May 9, 2009 at 8:40 AM, Jian Lin <winterheat@gmail.com> wrote:
Rick Denatale wrote:
Jian Lin wrote:
[#336220] Wait until a Singleton instantiated? — Kfir Lavi <lavi.kfir@...>
Hi,
[#336231] question to write \4 into file — Cheyne Li <happy.go.lucky.clr@...>
Hi there,
[#336237] File.copy for 1.9 — Roger Pack <rogerpack2005@...>
I am a little lost as to where to find File.copy for 1.9
[#336276] gsub pattern substitution and ${...} — Sarah Allen <sarah@...>
I'm trying to escape a URI that is matched by a regular expression with
Sarah Allen wrote:
7stud -- wrote:
[#336321] Regexp simple question — Arun Kumar <arunkumar@...>
Hi,
[#336324] File.basename bug? — Reid Thompson <reid.thompson@...>
How often do people get bitten by this?
On Mon, May 11, 2009 at 9:14 PM, Reid Thompson <reid.thompson@ateb.com> wro=
[#336329] Help with <<-EOF — Mario Ruiz <tcblues@...>
Hi,
[#336346] (mandriva,eclipse,Qt) elementary problem : signals and slots — lolveley <lolveley@...>
hi,
[#336353] Ruby 1.9.1-p128 is out — "Yugui (Yuki Sonoda)" <yugui@...>
-----BEGIN PGP SIGNED MESSAGE-----
[#336361] inheritance in ruby — jarodzz <jarodzz@...>
Hi, all.
[#336363] "The Well-Grounded Rubyist" now out in paperback — "David A. Black" <dblack@...>
Hello all --
[#336366] Want some information.... — Arun Kumar <arunkumar@...>
Hi,
[#336369] On the Niceties of Asking For what You Want (was Re: Want some information....) — Rick DeNatale <rick.denatale@...>
On Tue, May 12, 2009 at 8:59 AM, Robert Klemme
On 12 May 2009, at 14:19, Rick DeNatale wrote:
On Tue, May 12, 2009 at 10:21 AM, Eleanor McHugh
[#336373] Question on redefining the File.join mechanism — RichardOnRails <RichardDummyMailbox58407@...>
I'm running Ruby over WindowsXP-Pro/SP2. So I wanted File.join to use
[#336385] Any current preprocessor/Ruby language add-ons? — "C. Dagnon" <c-soc-rubyforum@...>
This is kind of a wide-ranging question but for some fairly specific
2009/5/12 C. Dagnon <c-soc-rubyforum@dagnon.net>:
Thanks for those links - it is interesting to me that they wanted to
On 12.05.2009 18:47, C. Dagnon wrote:
[#336397] GUI — willcosgrove <jesusfreak210@...>
What is the best way to make a simple GUI with ruby for Windows? I've
[#336407] Trouble getting dynamic values fed to my javascript — Xeno Campanoli <xeno.campanoli@...>
Say, I usually have .rhtml/eruby access to all my values, but I'm seeing this
[#336411] Whaaaaat? — Tom Cloyd <tomcloyd@...>
p [0..5].include? 0
On Tue, May 12, 2009 at 4:39 PM, Tom Cloyd <tomcloyd@comcast.net> wrote:
Ben Bleything wrote:
On Wed, May 13, 2009 at 1:57 AM, Tom Cloyd <tomcloyd@comcast.net> wrote:
Robert Dober wrote:
On 2009-05-14, Jeff Moore <jcmoore@pressenter.com> wrote:
On Fri, May 15, 2009 at 7:25 AM, Jeremy Henty <onepoint@starurchin.org> wro=
Rick DeNatale wrote:
On Fri, May 15, 2009 at 9:30 AM, Jeff Schwab <jeff@schwabcenter.com> wrote:
[#336422] Beginner help/direction — michael engel <engel.lists@...>
I just finished reading Chris Pine's "Learn to program" with ruby, and am
[#336424] Why Fixnum===Fixnum is false? — Heesob Park <phasis@...>
Hi,
[#336453] Desperate help needed with SSH — alan@...
Hi you Ruby Guru's
[#336458] what could be improved in Ruby for Science? — Diego Virasoro <Diego.Virasoro@...>
Hello,
On May 13, 2009, at 9:35 AM, Diego Virasoro wrote:
[#336461] "Too many open files - socket(2)" when invoking Socket.new — Clemens Wyss <clemens.wyss@...>
Given the follwing code snippet:
[#336475] Newbie-Script for copying matching files to new destination — Os Ai <osasuyiaigbe@...>
Hi,
On 13.05.2009 19:21, Os Ai wrote:
Robert Klemme wrote:
On 13.05.2009 20:43, Os Ai wrote:
[#336489] JRuby 1.3.0 will include Nailgun — Charles Oliver Nutter <charles.nutter@...>
Nailgun is a tool that speeds up Java command startup by punting
On Thu, 14 May 2009 06:45:25 +0900, Charles Oliver Nutter wrote:
David Palm wrote:
[#336505] Syntactic sugar idea — Daniel DeLorme <dan-ml@...42.com>
It seems that often an object will be passed into a block only to invoke
* Daniel DeLorme <dan-ml@dan42.com> [2009-05-14 11:42:31 +0900]:
Jan wrote:
On Wed, May 13, 2009 at 11:03 PM, Daniel DeLorme <dan-ml@dan42.com> wrote:
On May 13, 2009, at 11:07 PM, Gregory Brown wrote:
Rob Biedenharn wrote:
On Thu, May 14, 2009 at 12:16 AM, Daniel DeLorme <dan-ml@dan42.com> wrote:
Gregory Brown wrote:
On Thu, May 14, 2009 at 4:42 AM, Daniel DeLorme <dan-ml@dan42.com> wrote:
[#336512] find previous & next in array — John Griffiths <indiehead@...>
hi, anyone know how to do this?
[#336528] the question about getaddinfo — Qq Zz <zq1956@...>
I use getaddinfo to get A machine's hostname,
[#336529] Ruby script to calculate Muslim prayer times — Redd Vinylene <reddvinylene@...>
Hi,
Sorry, because I really don't know, but why wouldn't it be at the same
On Thu, May 14, 2009 at 3:10 PM, Kyle Schmitt <kyleaschmitt@gmail.com> wrote:
[#336541] Regexp — Mikael Björkegren <mb.svea@...>
Hello!
[#336547] how to open a file with perticular exe and copy info to text — Sangeeta Huddar <2006.shilpa@...>
hi all,
[#336570] need to split string into letters and numbers — shawn bright <nephish@...>
Hey all
[#336580] enumerable-extra 0.1.0 — "Daniel Berger" <djberg96@...>
Hi,
[#336583] Nokogiri on Mediatemple gs — Enzo Rivello <enzor@...>
Hi there!
[#336598] Can you get the 1st occurrence of a value using grep? — Mmcolli00 Mom <mmc_collins@...>
Can you get a 1st occurence of a sting inside a huge text file?
[#336622] BUG: "Mutual join" deadlock detection faulty in 1.8.6 and 1.8.7 — John Carter <john.carter@...>
I tried submitting this at
[#336640] String Indexing — Ruby Luva <noderat@...>
Hi all,
[#336648] Ruby based linux — Tim Apple <tim@...>
Hello,
On Fri, May 15, 2009 at 10:47:30PM +0900, Tim Apple wrote:
[#336657] Ruby/Tk — "graycardinalster@..." <graycardinalster@...>
Hi !
[#336666] Encyclopedia Construction (#205) — Daniel Moore <yahivin@...>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[#336668] Rounding any number (int or float) to 3 significant figures — Max Williams <toastkid.williams@...>
I have a requirement where i need to display (ie convert to a string)
[#336675] obj.attr(qualifier) = value -- possible? — Michael Schuerig <michael@...>
[#336690] EventMachine dynamic port forwarding — Diego Bernardes <di3go.bernardes@...>
I need a dynamic port forwarding application, i listem packets from a ip
[#336709] $0 is truncated — Brian Candler <b.candler@...>
If I assign a new value to $0, I find it is truncated.
Hi,
Yukihiro Matsumoto wrote:
Hi,
[#336718] Console output — Hello There <abbb812@...>
Hi
> I have asked several people and I got the answer about using
Assuming I understand correctly what you want to do,
Colin Bartlett:
[#336724] File.write a long line — Mk 27 <halfcountplus@...>
I notice you can do this with print:
[#336766] Berkeley DB or Store equivalent? — Mk 27 <halfcountplus@...>
I have never used mySQL because perl's Storable or BerkeleyDB modules
Is there no editing of posts on this forum!??! Tsk.
On May 17, 2009, at 1:16 PM, Mk 27 wrote:
James Gray wrote:
On May 17, 2009, at 6:45 PM, Mk 27 wrote:
[#336779] EventMachine or GServer? — Artūras Šlajus <x11@...>
I wrote my nifty server in GServer, but just stumbled on EventMachine.
[#336783] permute each element of a ragged array? — Phlip <phlip2005@...>
Rubies:
Mk 27 wrote:
On May 17, 7:05=A0pm, Phlip <phlip2...@gmail.com> wrote:
Not sure why the test must be as written, because the order doesn't
[#336784] TkPhotoImage.copy always gives "too many colors" Error — "C. Dagnon" <c-soc-rubyforum@...>
I'm working to copy and eventually manipulate images within Ruby, but
From: "C. Dagnon" <c-soc-rubyforum@dagnon.net>
Yes, I am certainly willing to try :format, however I only have PERL
[#336805] FxRuby for Ruby 1.9.1 install issue — Janos Sebok <sebi79@...>
Hi all.
[#336818] Reading time from excel file — Sujith Gangaraju <sujithkumar@...>
Hi,
[#336821] Sorting numbers as strings — Jack Bauer <realmadrid2727@...>
I'm trying to sort some strings containing numbers. The strings
2009/5/18 Jack Bauer <realmadrid2727@yahoo.es>:
On 18.05.2009 17:37, Rob Biedenharn wrote:
You guys are great. I went with Bob's (pick one, hah) since it ended up
[#336842] Beginner Ruby Question — Calvin <cstephens4@...>
Hi,
[#336844] mechanize - installed but not found?? — "Caleb Mr." <caleb.banister@...>
Running OSX leopard and
[#336850] Introducing RubyScience on GitHub! — Joshua Ballanco <jballanc@...>
In the tradition of actions vs. words, I present to you:
Double whoops... Here's the initial list of libraries contained
On Mon, May 18, 2009 at 14:27, Joshua Ballanco <jballanc@gmail.com> wrote:
[#336878] Beginner question pt.2 — Calvin <cstephens4@...>
When I type this into the terminal it works... but I am wondering if I
[#336880] One-Click Ruby Installer needs a new home, can you help him? — Luis Lavena <luislavena@...>
Original posted on my blog:
2009/5/19 Luis Lavena <luislavena@gmail.com>:
On Tue, May 19, 2009 at 4:32 AM, Michal Suchanek <hramrach@centrum.cz> wrot=
2009/5/19 Luis Lavena <luislavena@gmail.com>:
[#336889] Unable to install rack gem — Robert Stackhouse <robertstackhouse@...>
I have been trying to install the twitter gem on Ubuntu and have been
On Tue, May 19, 2009 at 5:21 AM, Robert Stackhouse
Hassan Schroeder wrote:
[#336917] Problem with Regular Expression — Mario Ruiz <tcblues@...>
[#336929] Super super ? — Marc-antoine Kruzik <kadelfek@...>
Hello, I'm looking for informations about "super".
On 19.05.2009 21:29, Marc-antoine Kruzik wrote:
[#336930] Create an exe with Ruby 1.9.1 — Marc-antoine Kruzik <kadelfek@...>
Hello !
[#336939] Pythonic indentation (or: beating a dead horse) — J Haas <Myrdred@...>
Greetings, folks. First time poster, so if I breach
On May 20, 10:23=A0am, Roger Pack <rogerpack2...@gmail.com> wrote:
Well, I found one of those breaches of etiquette I was worried
On May 19, 2009, at 15:25, J Haas wrote:
On Tue, May 19, 2009 at 19:49, Eric Hodel <drbrain@segment7.net> wrote:
On May 19, 2009, at 5:40 PM, J Haas wrote:
> ...maybe something like this:
On May 27, 10:21=A0pm, James Britt <james.br...@gmail.com> wrote:
On 28 May 2009, at 17:30, J Haas wrote:
J Haas wrote:
On May 28, 2009, at 2:33 PM, James Britt wrote:
Juan Zanos wrote:
On 28 May 2009, at 19:55, Juan Zanos wrote:
On 5/28/09, James Britt <james.britt@gmail.com> wrote:
On May 28, 11:15=A0am, Eleanor McHugh <elea...@games-with-brains.com>
After listening to this debate for some time, the position of allowing
On 2 Jun 2009, at 06:20, Andy F wrote:
> there are discussion topics which have been done to
On 3 Jun 2009, at 17:30, Marc Heiler wrote:
On 6/3/09, Eleanor McHugh <eleanor@games-with-brains.com> wrote:
On 4 Jun 2009, at 02:10, Caleb Clausen wrote:
> So then that means the common indentataion of:
On 5/28/09, J Haas <Myrdred@gmail.com> wrote:
On Thu, May 28, 2009 at 8:38 PM, Caleb Clausen <vikkous@gmail.com> wrote:
On 5/28/09, Gregory Brown <gregory.t.brown@gmail.com> wrote:
On Fri, May 29, 2009 at 9:34 AM, Juan Zanos <juan_zanos@talkhouse.com> wrot=
Gregory Brown wrote:
On May 20, 8:51=A0am, Rick DeNatale <rick.denat...@gmail.com> wrote:
On Wed, May 20, 2009 at 2:35 PM, J Haas <Myrdred@gmail.com> wrote:
On Wed, May 20, 2009 at 3:44 PM, Juan Zanos <juan_zanos@talkhouse.com> wrot=
On Wed, May 20, 2009 at 4:32 PM, Juan Zanos <juan_zanos@talkhouse.com> wrot=
On Wed, May 20, 2009 at 12:35 PM, J Haas <Myrdred@gmail.com> wrote:
On May 20, 12:25=A0pm, Tony Arcieri <t...@medioh.com> wrote:
On Wed, May 20, 2009 at 2:30 PM, J Haas <Myrdred@gmail.com> wrote:
On Wed, May 20, 2009 at 2:45 PM, Tony Arcieri <tony@medioh.com> wrote:
On Wed, May 20, 2009 at 4:18 PM, Tony Arcieri <tony@medioh.com> wrote:
On May 20, 1:45=A0pm, Tony Arcieri <t...@medioh.com> wrote:
On Thu, May 21, 2009 at 10:27 PM, J Haas <Myrdred@gmail.com> wrote:
On Fri, 2009-05-22 at 14:33 +0900, Tony Arcieri wrote:
Reid Thompson wrote:
On May 22, 1:02 pm, Tony Arcieri <t...@medioh.com> wrote:
On 5/25/09, J Haas <Myrdred@gmail.com> wrote:
> This script uses RubyLexer to extract a stream of tokens and modify
On 5/27/09, Roger Pack <rogerpack2005@gmail.com> wrote:
On May 22, 9:01=A0am, Roger Pack <rogerpack2...@gmail.com> wrote:
On 28 May 2009, at 15:06, Juan Zanos wrote:
On 5/28/09, Eleanor McHugh <eleanor@games-with-brains.com> wrote:
On 28 May 2009, at 17:39, Caleb Clausen wrote:
On May 28, 9:59=A0am, Caleb Clausen <vikk...@gmail.com> wrote:
On 5/28/09, J Haas <Myrdred@gmail.com> wrote:
On May 28, 12:33=A0pm, Caleb Clausen <vikk...@gmail.com> wrote:
[#336961] I want to redirect stderr to StringIO. — ErMaker <ermaker@...>
>> IO.new(2).reopen(StringIO.new)
On May 19, 2009, at 21:30, ErMaker wrote:
2009/5/20 Eric Hodel <drbrain@segment7.net>:
On May 19, 2009, at 23:14, Robert Klemme wrote:
[#336965] event_hook 1.0.0 Released — Ryan Davis <ryand-ruby@...>
[#336987] mysql vs. fork — Daniel DeLorme <dan-ml@...42.com>
It's commonly known that database connections do not play well with
[#337002] Ruby 1.8 vs. Ruby 1.9 — Calvin <cstephens4@...>
Hi,
I think ,as a beginnner, to learn Ruby 1.8 is a good way,there are so
I was wondering the exact same thing!
If you're looking for a good book that covers both 1.8 and 1.9, I
What about 'Programming Ruby 1.9: The Pragmatic Programmers' Guide' ?
[#337013] undefined method `empty?' for nil:NilClass in gem build — Ken Bloom <kbloom@...>
I'm trying to build a rubygem, but I keep getting the following error.
[#337043] require not working correctly? — Adlai <munchking@...>
I'm just starting out in Ruby, and I used the one-click installer. The
[#337069] gsub choking on fixnum — Cali Wildman <caliwildman2004-info@...>
I recently upgrade Ruby from 1.8.5 to 1.8.6. With 1.8.5, gsub handled a
Hi,
Yukihiro Matsumoto wrote:
Hi,
Yukihiro Matsumoto wrote:
[#337089] How to run a terminal command from a Ruby app? — Victor Martin <ilovemayalopez@...>
Hi there.
system("rp5 run foo")
[#337094] snailgun-1.0.2 — Brian Candler <b.candler@...>
New experimental project:
Ryan Davis wrote:
On Thu, May 21, 2009 at 12:34 PM, Brian Candler <b.candler@pobox.com> wrote:
[#337096] Case sensitive strings — Stuart Clarke <stuart.clarke1986@...>
Hi all,
[#337111] Extending Float — Jp Hastings-spital <jphastings@...>
Maybe I haven't wrapped my head around OOP in the way I should have, can
[#337115] w00t! Party for Gregory! — pat eyler <pat.eyler@...>
> On May 20, 2009, Gregory Brown wrote:
On Thu, May 21, 2009 at 11:42 AM, pat eyler <pat.eyler@gmail.com> wrote:
[#337136] cdrom control and detection — David Thurston <dangerousdrdave@...>
OK,
[#337183] HTMLDiff for jruby and ruby — Virendra Negi <virendra.negi@...>
hello there
Virendra Negi wrote:
Brian Candler wrote:
This might seem oddly self-serving, but you might look into the Differ gem.
[#337190] "consuming" the hash instead of just fetching from it — Balint Erdi <balint.erdi@...>
Hi,
[#337201] spicycode-rcov binaries for windows machine — Tamil Ramasmy <tramasamy149@...>
hi, I am (sadly) PC user and i would like to get spicycode-rcov working
[#337220] Ruby/Odeum — Ken Bloom <kbloom@...>
I'm looking to use an inverted index for Ruby. There used to be Zed
[#337221] Cryptogram II (#206) — Daniel Moore <yahivin@...>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 1. =A0Please do not post any solutions or spoiler discussion for this
On Mon, May 25, 2009 at 8:51 PM, lith <minilith@gmail.com> wrote:
Check out this link to understand what a cryptogram is:
On May 26, 1:34=A0am, Joshua Ball <Joshua.B...@microsoft.com> wrote:
[#337222] Workarounds for replacing self — Jp Hastings-spital <jphastings@...>
I'm attempting to build an ETA class, essentially identical to Time, but
On 22 May 2009, at 18:19, Jp Hastings-spital wrote:
On 22.05.2009 19:29, Eleanor McHugh wrote:
[#337224] dbm on RedHat — David Brodbeck <brodbd@...>
A user I support is trying to use the dbm module that's part of Ruby's
[#337252] Deploy a Ruby program & GUI connection — Adrian Arlechin <adrian.cinta@...>
I have some Java experience and jus try to understand Ruby
[#337259] How to sanitize sql-column names? — =?ISO-8859-15?Q?Jan_L=FChr?= <usenet@...>
Hello,
[#337261] Can't start webrick as the root user — Pra Bhandar <pbhandari2050@...>
Hi,
[#337283] Test::Unit : assert_aborts — Stephan Wehner <stephanwehner@...>
Is there an existing way to assert that abort is invoked with
Have you tried
Brian Candler wrote:
[#337284] OptionParser: unexpected behaviour with -help — Stephan Wehner <stephanwehner@...>
I ran into some unexpected behaviour with the Ruby OptionParser class.
[#337305] Inserting a counter into a .each loop — Brian Bush <bushbrian@...>
I've got a loop that iterates through a string like so:
[#337323] String concatenation in Ruby — Jagadeesh <mnjagadeesh@...>
Hi,
Jagadeesh wrote:
[#337340] Do you nest classes inside classes? — Mike Stephens <rubfor@...>
Object Orientation is conceptually about a sea of objects interacting
On Mon, May 25, 2009 at 8:53 AM, trans <transfire@gmail.com> wrote:
[#337366] Runnin code at a certain time? — Tom Ricks <carrottop123@...>
Hello all,
On 5/25/09, Tom Ricks <carrottop123@gmail.com> wrote:
On May 25, 2009, at 13:36, Caleb Clausen wrote:
On 5/28/09, Eric Hodel <drbrain@segment7.net> wrote:
On May 29, 2009, at 12:49, Caleb Clausen wrote:
On May 25, 3:40=A0pm, Tom Ricks <carrottop...@gmail.com> wrote:
[#337368] dynamic object creation — Ken Tyler <ken@8thfold.com>
sorry if i've missed something obvious
[#337370] hash assignment [:x] vs ['x'] — Mk 27 <halfcountplus@...>
Being totally new to ruby, I just noticed that using
[#337396] How do Class definitions in Ruby differ from other OO languages? — kunjaan <kunjaan@...>
What do you mean when you say"Class definitions are executable code".
kunjaan wrote:
[#337413] Other languages to try? — Adam Gardner <adam.oddfellow@...>
So, I've been programming in Ruby for a good while now. Not an expert,
Recently I have been toying around (Project Euler problems and such)
On 26 May 2009, at 06:56, Adam Gardner wrote:
[#337418] String representing relative file name, adding (meta) data? — Markus Fischer <markus@...>
Hello,
Markus Fischer wrote:
Hi,
Hi myself,
[#337421] Newbie on Threads — Nabs Kahn <nabusman@...>
I'm creating a screen scraping software and I want to have X (let's say
2009/5/26 Nabs Kahn <nabusman@gmail.com>:
Thanks for the quick response, this is what I wrote, but it doesn't seem
Nabs Kahn wrote:
This is what I ended up doing, similar to what was suggested.
2009/5/27 Nabs Kahn <nabusman@gmail.com>:
> Btw, you do not need a separate producer thread. You can simply do
[#337426] download a comic strip and email to myself with Ruby? — SpringFlowers AutumnMoon <blueskybreeze@...>
using Ruby on my local Windows machine, can I easily write a script to
On Tue, May 26, 2009 at 10:54 AM, SpringFlowers AutumnMoon
Andrew Timberlake wrote:
[#337429] monkeypatch-0.1.2 (alpha) — "zimbatm ..." <zimbatm@...>
*monkeypatch* is a new ruby projects that tries to protect you from
On Tue, 26 May 2009 19:10:25 +0900
[#337483] Replace empty or strange characters within array of arrays — Joel Dezenzio <jdezenzio@...>
Hi everyone:
Hi Rob,
Maybe I'm missing some part of the question, but you can just assign a value
[#337486] Ocra: "Failed to create directory" — "Thomas B." <tpreal@...>
Hello.
[#337507] Something Not going with my LDAP using SSL — Xeno Campanoli <xeno.campanoli@...>
I have the following working with cleartext LDAP:
Xeno Campanoli wrote:
Brian Candler wrote:
Xeno Campanoli wrote:
Brian Candler wrote:
Xeno Campanoli wrote:
Brian Candler wrote:
Xeno Campanoli wrote:
Xeno Campanoli wrote:
Brian Candler wrote:
Xeno Campanoli wrote:
This isn't really going anywhere, so I'll ask the same question one more
[#337508] Mechanize and charset issues — John Schmitz <hohojojo@...>
I'm not sure what is causing this error as I can successfully login, I
[#337512] Download csv file from secure web site (https — Alice Gheorghiu <gheorghiua@...>
I am a newbie to Ruby and I created a script to process a file which I
Alice Gheorghiu wrote:
Reid Thompson wrote:
[#337517] Initialize not being called on objects created from literals — Oliver Saunders <oliver.saunders@...>
Initialize doesn't appear to get called.
On 27.05.2009 02:26, Oliver Saunders wrote:
On Wed, May 27, 2009 at 2:10 AM, Robert Klemme
[#337533] On Hashes - How the hashes printing works? — Neela megha shyam Chivukula <indrashyam@...>
Hi All,
Hashes enumeration does not mirror insertion order.
[#337546] Jruby precision issue with reading float values in mysql db — Pradeep Gatram <pradeep.gatram@...>
Hi,
[#337563] Can't uninstall gems on Ubuntu — Alex 2k8 <abc3def@...>
Hello,
Well, just a couple of guesses here, but:
[#337574] Installing Ruby 1.9.1 Binary on Windows Vista — Joel Dezenzio <jdezenzio@...>
I've searched and only found one topic which did not have an answer or
> Is there a "tutorial" or "documentation" on how to correctly install the
Roger Pack wrote:
On May 28, 11:30=A0am, "J. D." <jdezen...@gmail.com> wrote:
Being frustrated and complaining are really two different things. I
[#337586] Can't install ruby-opengl — "J. D." <jdezenzio@...>
I receive the following error when trying to install it.
[#337609] Copy data from many CDs using ruby — Bobby Sutter <sobbybutter@...>
Hi,
Bobby Sutter wrote:
[#337619] Process Leak after using Session module — Pra Bhandar <pbhandari2050@...>
Hi,
On Wed, May 27, 2009 at 4:38 PM, Pra Bhandar <pbhandari2050@gmail.com> wrot=
On 28.05.2009 17:58, Tim Pease wrote:
[#337642] access to private methods from the class level — Sandworth Meb <farmsal@...>
Hi,
[#337651] scrubyt related query — Saurabh Peshkar <saurabh@...>
Hello everyone,
[#337655] making a name like "Copy of...", "Copy 2 of..." — Max Williams <toastkid.williams@...>
Here's a little ruby exercise - i'm a bit brain damaged today and can't
Max Williams wrote:
[#337667] multiple matches — Li Chen <chen_li3@...>
Hi all,
[#337668] expand_path on windows for home dir — Roger Pack <rogerpack2005@...>
currently on windows we've got:
[#337669] why does ruby load rails so slow? — Roger Pack <rogerpack2005@...>
Question. Currently with rails startup time in linux for me is like 6s,
[#337671] death toll — deka <rocha.deka@...>
Hi, I am a Brazilian girl and I have a doubt abour numbers in English.
deka <rocha.deka@gmail.com> writes:
Pascal J. Bourguignon wrote:
On 28 May 2009, at 19:23, Roger Pack wrote:
On 28.05.2009 20:30, Eleanor McHugh wrote:
On 28 May 2009, at 19:55, Robert Klemme wrote:
[#337722] Strange ruby-1.9.1 array substitution answer — Michel Demazure <michel@...>
Strange !
[#337823] Endless Ruby 0.0.2 — Caleb Clausen <vikkous@...>
endless.rb is a pre-processor for ruby which allows you to use python-ish
Caleb Clausen wrote:
On 5/28/09, Clifford Heath <no@spam.please.net> wrote:
Caleb Clausen wrote:
[#337840] (debian,vim,Qt,ruby) on vim : no completion but everything else works fine — lolveley <lolveley@...>
Hello,
[#337841] Regular expression — Harry Kakueki <list.push@...>
I want to write a regular expression to do the following.
Harry Kakueki wrote:
On Fri, May 29, 2009 at 5:48 PM, Brian Candler <b.candler@pobox.com> wrote:
2009/5/29 Harry Kakueki <list.push@gmail.com>:
[#337869] Quine (#207) — Daniel Moore <yahivin@...>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
0 bytes, what else?
On Sat, May 30, 2009 at 6:18 PM, Robert Dober <robert.dober@gmail.com> wrote:
I'm always up for some golf!
Robert Dober <robert.dober@gmail.com> writes:
I did something like that, but with parenthesis.
And I did one with a carriage return:
Is using File considered cheating?
Version 1: The "pretty" one with 'end's
On May 31, 2009, at 10:59 PM, Jorrel wrote:
Daniel Moore wrote:
[#337882] Ruby LDAP SSL thingy won't go. — Xeno Campanoli <xeno.campanoli@...>
#!/usr/bin/ruby
[#337899] Requesting Japanese Translation — James Gray <james@...>
I'm adding a little Japanese to a Ruby presentation I am giving. I
Hi,
2009/5/30 Nobuyoshi Nakada <nobu@ruby-lang.org>:
[#337916] Again threading problems. — Hello There <abbb812@...>
Hello.
> What the problem is now that the function i am calling in the thread
[#337944] Ruby for Python 0.0.1 — Gary Niger <macfag@...>
Hi everyone! I've borrowed ideas from _why's original attempts to compile
[#337961] nokogiri 1.3.0 Released — Aaron Patterson <aaron@...>
nokogiri version 1.3.0 has been released!
Aaron Patterson wrote:
On Sun, May 31, 2009 at 06:43:05AM +0900, Roger Pack wrote:
> gem install nokogiri
On Sun, May 31, 2009 at 08:37:54AM +0900, Iii Iii wrote:
On Mon, Jun 01, 2009 at 10:48:08PM +0900, Roger Pack wrote:
> Hi! It should be working now. I accidentally messed up the gem spec
On Tue, Jun 02, 2009 at 01:51:22AM +0900, Iii Iii wrote:
> Can you point me to the 1.9.1 version you installed? I will install it
On Tue, Jun 02, 2009 at 02:30:07AM +0900, Iii Iii wrote:
People,
On Sun, May 31, 2009 at 10:47 AM, Philip Rhoades <phil@pricom.com.au> wrote=
Michael,
[#337979] irb command history issues with ruby 1.9.1p129 — sa 125 <s_ayalon@...>
Hi all,
[#338007] Ruby Gem Issue — Zayd Connor <devrubygem@...>
I get this error below when running :make in my macvim editor
On May 31, 2009, at 16:41, Zayd Connor wrote:
Re: Superclass of eigenclass
Rick, Robert, Thanks for your helpful replies. I have just introduced myself to Ruby in the last couple of weeks by reading The Ruby Programming Language, so I'm still trying to pin some concepts. One thing I have found interesting in looking things up online is that it's not uncommon to refer to C-level constructs in MRI when discussing language semantics. (I personally would prefer to restrict myself to what's observable from sample Ruby code.) Firstly, Robert, you have used "is_a?" in your example. This tests for (direct or indirect) conformance. I quibbled with the notion that the ordinary object was an instance of the eigenclass. The normal usage of the term "instance" to mean "direct instance" is reflected in the semantics of Ruby's "instance_of?" method. Using this method, we could extend your sample code as follows: irb> a.instance_of? s => false irb> a.instance_of? Object => true This is what I meant, and to me, this is significant. One of my reference points in reading about Ruby was Smalltalk, which has the notion of a metaclass. In Smalltalk the concept is clear. (Indeed, the only reasonable meaning for the term metaclass is "a class whose instances are classes".) In Ruby, some people contend that eigenclass and metaclass are synonyms, which seems to me to confuse two distinct notions. In the interests of conceptual clarity, here's my take on the two notions. (Feel free to poke holes in this if it's totally upside-down or otherwise mistaken.) (a) Eigenclass Ruby allows for per-instance methods (deliberately avoiding the more common term as it's overloaded with a well-known pattern). The conceptual container for these per-instance methods is the object's eigenclass. The precise implementation of this notion in the reference notion should be immaterial. What is important is that a decision was made to reify the notion by providing language syntax to open it up, as follows: class << myObject This allows for dealing with several per-instance methods together. More to the point, if this syntax was not part of the language, eigenclasses would be purely an implementation notion and have no correspondence in Ruby code. (b) Metaclass To me, there is only one metaclass in Ruby, namely class Class. (By any reasonable definition of the term metaclass.) It seems to me mistaken to equate the terms metaclass and eigenclass. For one thing, every object in Ruby has an eigenclass (not just class objects). Secondly, even if we restrict our consideration purely to eigenclasses of class objects, these don't really qualify as metaclasses either. In Smalltalk, every class object is a (direct) instance of a metaclass. In Ruby, class objects are not (direct) instances of any eigenclass; they are all (direct) instances of class Class. From this, it would seem to me that the term metaclass should not be used in Ruby. (Flanagan and Matz possibly agree as they seem to largely avoid the term in their book). I would, however, agree with Rick about the muddiness surrounding superclasses. For example, the example on page 294-295-296 of the book uses the eigenclass to wrap tracing code around methods. In doing so, they use a call to super to access the original implementation. Now super, by the definition on page 238, "invokes a method with the same name as the current one, in the superclass of the current class". So, for this to work, the superclass of the eigenclass needs to be the original class. In other words, let's say we have a class called X, an instance of that class called x and let's say the eigenclass of x is e. The method on page 294 will work if the superclass of e is X. (Because that's where the original implementation is defined.) However, this is not the case. The superclass of the eigenclass is not the original class. It is the eigenclass of the original class. Finally, note that in saying "the superclass of the eigenclass is not the original class", it would appear that it was at one stage. According to Paolo Nusco Perrotta, at least some implementations of 1.8.2 and 1.9 had this behaviour: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/248178 (link repeated from my original post). Regards, Danny. -- Posted via http://www.ruby-forum.com/.