[#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虱 Bergstr 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:
[#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:
[#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:
Roger Pack wrote:
Here is how I got this partially working for me. By partially, it correctly
[#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! -( f 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:
[#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 Jg 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:
[#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:47m, 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:
[#336296] Including Module — Thangappan Mohana sundaram <thangappanmohan@...>
[#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> wrote:
[#336329] Help with <<-EOF — Mario Ruiz <tcblues@...>
Hi,
[#336346] (mandriva,eclipse,Qt) elementary problem : signals and slots — lolveley <lolveley@...>
hi,
[#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> wrote:
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!
[#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:
Not sure why the test must be as written, because the order doesn't
Mk 27 wrote:
On May 17, 7:05m, Phlip <phlip2...@gmail.com> wrote:
[#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:
On Mon, May 18, 2009 at 14:27, Joshua Ballanco <jballanc@gmail.com> wrote:
Double whoops... Here's the initial list of libraries contained
[#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> wrote:
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 !
On Tue, 19 May 2009 14:43:10 -0500, Alex <imphasing@gmail.com> wrote
[#336939] Pythonic indentation (or: beating a dead horse) — J Haas <Myrdred@...>
Greetings, folks. First time poster, so if I breach
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:
On May 20, 8:51m, 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> wrote:
On Wed, May 20, 2009 at 4:32 PM, Juan Zanos <juan_zanos@talkhouse.com> wrote:
On Wed, May 20, 2009 at 12:35 PM, J Haas <Myrdred@gmail.com> wrote:
On May 20, 12:25m, 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:45m, 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 28, 9:59m, Caleb Clausen <vikk...@gmail.com> wrote:
On 5/28/09, J Haas <Myrdred@gmail.com> wrote:
On May 28, 12:33m, Caleb Clausen <vikk...@gmail.com> wrote:
On May 20, 10:23m, Roger Pack <rogerpack2...@gmail.com> wrote:
> ...maybe something like this:
On May 27, 10:21m, 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 Fri, May 29, 2009 at 9:34 AM, Juan Zanos <juan_zanos@talkhouse.com> wrote:
Gregory Brown wrote:
On May 28, 11:15m, 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:
On Tue, Jun 2, 2009 at 8:12 AM, Eleanor McHugh <
> 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 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:01m, Roger Pack <rogerpack2...@gmail.com> wrote:
On Thu, May 28, 2009 at 01:35:11AM +0900, J Haas 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:
[#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,
[#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. lease 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:34m, 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:40m, 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)
[#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
[#337522] How to access variables from within class definition — eggman2001 <sodani@...>
I've got something like:
[#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
On May 28, 11:30m, "J. D." <jdezen...@gmail.com> wrote:
Being frustrated and complaining are really two different things. I
> Is there a "tutorial" or "documentation" on how to correctly install the
Roger Pack wrote:
[#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> wrote:
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:
[#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
[#337943] Listing an Array created within a Class — Adrian Arlechin <adrian.cinta@...>
I am learning from Programming Ruby wich comes with Ruby instalation.
[#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: Pythonic indentation (or: beating a dead horse)
On May 22, 1:02 pm, Tony Arcieri <t...@medioh.com> wrote: > Well, everything else aside: if you can't present your ideas or engage in > discussion without being an asshole, you're going to have a hard time > getting people to listen to you. I've been trying to give constructive > criticism, but when you come back at me with personal attacks I'm left to > wonder why I should even bother. It looks like another recap will be necessary. In the beginning, I began a thread containing a proposal to implement Python-style syntactically significant indentation in Ruby (this proposal, I might add, was entirely optional, and would leave in place a system which would support _either_ indentation-delimited code blocks or keyword-delimited code blocks.) At the time I posted it, I expected opposition. I expected to be told that the requirement to fill the code base 1/6th full of 'ends' actually _improved_ readability, and I was not disappointed. I expected ridiculous strawman arguments involvingremovalofallspacesfromEnglish, and I was not disappointed. I expected to have my motives questioned, with insinuations that I secretly hated Ruby, and I was not disappointed. Furthermore, I was prepared to ignore every one of these arguments, as every one is fallacious. I trust in rational people to see the fallacy behind each and will not do the fallacies the dignity of treating them as though they were serious arguments, worthy of respectful rebuttal. What I did _not_ expect to hear, however, was a claim that my proposal was actually _impossible_. > You can have the Pythonic indent syntax or a purely expression > based grammar with multi-line blocks. You can't have both. This took me by surprise, and for all I know, it might well be true. As you may have surmised, I do not claim syntactical parser design or theory among my areas of expertise. For all I know, there was some reason I wasn't aware of why what I proposed was impossible, even in theory. And yet, I know I'd seen a script awhile ago, which I thought I had saved on an old hard drive somewhere, which could actually _do_ Pythonic indentation in Ruby. And so I asked you for clarification. > I'm having a hard time following why. Can you provide an example of a > Ruby snippet that couldn't be done with scoping defined by > indentation? That's all I needed. If there were a theoretical reason why Python- style indentation were incompatible with some fundamental concept in Ruby, it should be easy to provide an example of a Ruby construct which would be impossible to parse without the use of 'end' or some other keyword as a block delimiter. That's all it would take. That's all I asked for. Did I get it? > A multi-line block returning a value, e.g. > foo = somemethod do |arg1, arg2, arg3| > x = do_something arg1 > y = do_something_else x, arg2 > and_something_else_again y, arg3 > end > > Or for that matter, a multi-line lambda: > > foo = lambda do |arg1, arg2, arg3| > x = do_something arg1 > y = do_something_else x, arg2 > and_something_else_again y, arg3 > end I looked at these and was flabbergasted. In what way were these at all incompatible with syntactic indentation? What would be impossible to parse about this? foo = somemethod do |arg1, arg2, arg3|: x = do_something arg1 y = do_something_else x, arg2 and_something_else_again y, arg3 Or this? foo = lambda do |arg1, arg2, arg3|: x = do_something arg1 y = do_something_else x, arg2 and_something_else_again y, arg3 How on Earth did these examples meet the test of being incompatible with Python-style indentation? You provided a number of other examples that similarly baffled me as to how they were supposed to support your thesis. It was at this point that I began to lose patience with you and suspect that you might be talking out of your ass. > You keep on saying this, yet I have not seen one example of code that > demonstrates that using dedent couldn't work. Basically, we're looking > for some code which, if you removed the all ends, a script following > simple deterministic rules would not be able to unambigiously decide > where to put them back. Your response was: > Okay, you just want an example I guess. (jh: what was your first clue?) > Here is an example Ruby program: > > foo = [1,2,3] > x = foo.map do |n| > n += 1 > n *= 2 > end > result = case x > when Array > x.map! do |n| > n *= 3 > n += 4 > end > when NilClass > x > end > result = if result.size > 10 > result[0..2] > else > result > end > p result > > The output of this program is: > > [16, 22, 28] > > Show me how you would parse the equivalent program in an > indentation-sensitive Ruby, e.g.: Finally, I thought, an example! Time to dig out that old Ruby script for preprocessing Python-style Ruby files... ah, there it is, on the old MacBook Pro... copy it over to the current computer... hmm, no doc... throw in a few quick and dirty patches to make it run; after all, this is just a proof-of-concept, right? Edit the file, remove the 'end's and insert colons after the keywords which began those blocks, run it through and... hey, whaddaya know, [16, 22, 28], first time through. Looks like ol' Tony really _was_ talking out of his ass, eh? I did not trouble to hide my lack of respect in my response conveying that your proof of impossibility was false on its face. However, I do not think that anything at all in that post could have been construed as a "personal attack". If you disagree, please point out an example. Your next response to me was full of backpedaling falsehoods, such as: > My claims were it's impossible with a Pythonic lexer and a backing context > free grammar. And this: > I certainly didn't claim that if you throw enough regexes at > the problem it won't go away. Just what do you think a regular expression engine is? Hint: it's a parser. If application of regular expressions can solve a problem, the problem is not insoluble by a parser. > Well great! I'm not really sure how that script works "...but it must be magic, since it does the impossible!" > However, what you have there is a marked departure from how Python actually works. I know I already responded to this gem with mockery, but not nearly as much as it deserves. > But if you're happy with it, great. Go for it and see how popular you can > make it. I don't care about being popular. If I did, I wouldn't be such an asshole. And then, without even waiting for a reply: > you're being a right c--t This is, as far as I know, the first and only personal attack in this thread, unless you want to count my self-description as an asshole to be a personal attack. But either way, never fear, Tony, your own precious person has yet to be attacked. And this brings us to your most recent post in this thread. > Well, everything else aside: if you can't present your ideas or engage in > discussion without being an asshole, you're going to have a hard time > getting people to listen to you. No, Tony, that's wrong. If I can't present my ideas or engage in discussion without being an asshole, I'm going to have a hard time getting people like _you_ to listen to me. People who are logical, programmers who want the best possible language with the greatest flexibility and expressiveness, will know that _ad_hominem_ is a fallacy and will look to the arguments, not to the person making them. > I've been trying to give constructive > criticism, but when you come back at me with personal attacks I'm left to > wonder why I should even bother. And now we reach the present. Tony, _what_ personal attacks? Please cite them. Your relief at being able to use an alleged personal attack as a fig leaf to escape your obligation to back up your claims is palpable. An honorable person would either substantiate the claim or retract it, rather than running and hiding and pretending to hurt feelings. Now, having said all that: I do not _know_ that Tony's claim is false. As I said, I was surprised to be told that my proposal was impossible and I lack the theoretical background to prove otherwise. So if anyone out there agrees with Tony that Pythonic indentation in Ruby would not be merely ill-advised but _impossible_ I'd appreciate an example. Then I can stop wasting my time.