[#345335] Best Practice for Multiline Regexps — Lance Pollard <lancejpollard@...>
Hey,
On 01.09.2009 05:35, Lance Pollard wrote:
[#345354] Activate radio button (win32ole) — Df Gh <nebojsa.jovicic@...>
Hi there folks!
[#345355] Remove comments from ruby source code? — Arul hari <hariharan.spc@...>
Dear Friends,
[#345356] AES encryption between c# and ruby — Anth <davidlundquist@...>
Having some issues getting this to work, dont know much about
[#345363] Date & time validation — Ne Scripter <stuart.clarke@...>
Hi all,
2009/9/1 Ne Scripter <stuart.clarke@northumbria.ac.uk>:
Robert,
Max Williams wrote:
2009/9/1 Brian Candler <b.candler@pobox.com>:
[#345382] Nice algorithm for 'spreading' indexes across an array? — Max Williams <toastkid.williams@...>
Little ruby algorithm puzzle...
On Wed, Sep 2, 2009 at 1:41 AM, Max Williams<toastkid.williams@gmail.com> wrote:
Thanks, everyone. Harry, i like your solution but i thought of a way to
[#345393] Try Ruby! is back — James Britt <james.britt@...>
Thanks to Andrew McElroy, Try Ruby! is running again.
On Tue, Sep 1, 2009 at 4:21 PM, James Britt<james.britt@gmail.com> wrote:
[#345397] Process#poll — Roger Pack <rogerpack2005@...>
Question.
[#345401] accessing hash values — Sean Stephenson <sean.txt@...>
Hi all, this is my first post to the Ruby Forum. Cheers. And thanks for
[#345402] Ruby1.9: Encoding problems (how to use #force_encoding ?) — Iñaki Baz Castillo <ibc@...>
Hi, I'm using geo_location Ruby gem which returns to me a hash with the giv=
I単aki Baz Castillo wrote:
Dear Iki,
2009/9/2 Axel Etzold <AEtzold@gmx.de>:
[#345407] how to convert string to binary and back in Ruby 1.9? — Joe <ziggurism@...>
I'm using Ruby 1.9.1-p243 on Mac OS X 10.5.8.
[#345408] Annoying: cannot write ' user=" I単aki ' in a Ruby1.9 script — Iñaki Baz Castillo <ibc@...>
Hi, I'm really annoyed, please try this:
On Tue, Sep 1, 2009 at 7:13 PM, I=F1aki Baz Castillo<ibc@aliax.net> wrote:
[#345416] All possible ways of iterating — Mark Fayngersh <phunny.phacts@...>
Hey,
[#345429] Problems with cross-thread violation — Gin Mendi <gin18em@...>
Been having problems with cross-thread violation in my program and been
On 2 Sep 2009, at 05:55, Gin Mendi wrote:
Eleanor McHugh wrote:
On 3 Sep 2009, at 03:08, Gin Mendi wrote:
Eleanor McHugh wrote:
[#345437] clogger 0.0.4 - configurable request logging for Rack — Eric Wong <normalperson@...>
* http://clogger.rubyforge.org/
2009/9/2 Eric Wong <normalperson@yhbt.net>:
Iki Baz Castillo <ibc@aliax.net> wrote:
El Mi=C3=A9rcoles, 2 de Septiembre de 2009, Eric Wong escribi=C3=B3:
El Mi=C3=A9rcoles, 2 de Septiembre de 2009, I=C3=B1aki Baz Castillo escribi=
[#345441] gem install failure - probably easy to fix — Tom Cloyd <tomcloyd@...>
I can get "gem install ..." to execute, but not "sudo gem install...".
[#345446] rdoc — Oleg Puchinin <ruby_talk@...>
Hello !
Oleg Puchinin wrote:
Ryan Davis wrote:
Roger Pack wrote:
Marvin Gker wrote:
[#345454] regex issue confusing — Ahmet Kilic <ahmedkilic@...>
This is OK
[#345460] Ruby JavaScript Classes — Mike Stephens <rubfor@...>
Rails has JavascriptHelper but can you recommend other packages that
[#345464] Where is _why (not the code)? — Eust痃uio Rangel <eustaquiorangel@...>
Hey, I'm noticing that people are recovering the _why code etc but
[#345473] confusing string parsing problem — Matt Brooks <mattbrooks@...>
I don't understand how to do the following, any help is very
On Wed, Sep 2, 2009 at 10:01 AM, Matt Brooks<mattbrooks@gatech.edu> wrote:
unknown wrote:
[#345488] Reg Ex exclusion — Ne Scripter <stuart.clarke@...>
Hi all,
[#345491] gem install mysql returns list of No definition for XYZ — Joao Silva <rubyforum@...>
Hello,
On Sep 3, 8:51=A0am, Peter Marks <petertma...@gmail.com> wrote:
[#345493] What licensing info is needed in code headers? — "Shot (Piotr Szotkowski)" <shot@...>
Disclaimer: I know that some of you live in jurisdictions that do not
On 2 Sep 2009, at 17:44, Shot (Piotr Szotkowski) wrote:
same goes for Germany. The problem is AFAIK that the US have a very
Fabian Streitel wrote:
[#345497] ANN: Sequel 3.4.0 Released — Jeremy Evans <code@...>
Sequel is a lightweight database access toolkit for Ruby.
El Mi=C3=A9rcoles, 2 de Septiembre de 2009, Jeremy Evans escribi=C3=B3:
[#345501] DRb: is there any way to actually secure it? — Matt Savigear <mcs_ruby@...>
Hi,
Matt Savigear wrote:
[#345502] newcomer to Ruby — John Kearney <jwkearney@...>
I am a newcomer to programming and wish to explore ruby. Can anyone recomend
John Kearney wrote:
For learning the Ruby language I'd have to go with David A. Black's "The
[#345504] ruby 1.8.6 p287 and p383 crashing in WIN32OLE_EVENT.message_loop — Chuck Remes <cremes.devlist@...>
Sorry for the long subject. I wanted to make sure folks interested in
<snip>
[#345535] Simple New Ruby Programmer Problem with $stdin.gets — Mason Kelsey <masonkelsey@...>
I'm having difficulty getting any command to work to pick up input from a
Mason Kelsey wrote:
Sorry for the typo; I didn't mean "monitor". I'm a retired programmer, a
Mason Kelsey wrote:
Mason Kelsey wrote:
On Thu, 3 Sep 2009 16:18:36 +0900
[#345565] Threads - running something in background — Alex Zunega <israels_son@...>
Hey guys,
Alex Zunega wrote:
7stud -- wrote:
[#345573] Type checking function parameters — Nick Green <cruzmail.ngreen@...>
More or less all my functions look something like
On 3 Sep 2009, at 05:04, Nick Green wrote:
My first stab at some Ruby started like this too.
OK...
On 3 Sep 2009, at 23:47, Nick Green wrote:
On Sep 3, 2009, at 7:30 PM, Eleanor McHugh wrote:
On 4 Sep 2009, at 03:56, James Edward Gray II wrote:
Along the lines of this thread..
Hi --
On 6 Sep 2009, at 12:56, David A. Black wrote:
Lots of helpful opinions/philosophies about ruby here.
Hi --
Yes... I pretty much fail at life for not seeing how I should be
On 10 Sep 2009, at 04:08, Nick Green wrote:
[#345604] Array.transpose on [[]] or [[],[]] — Ralf Mueller <ralf.mueller@...>
Hi,
Ralf Mueller wrote:
[#345610] Data::Dumper for Ruby? — Josef Wolf <jw@...>
Hello,
[#345613] Better RDoc Inline Markup — Intransition <transfire@...>
RDoc's SimpleMarkup doesn't catch all the cases of inline markup
On Sep 3, 2009, at 08:16, Intransition wrote:
[#345631] Generating multiple files with one ERB template — Jacob Lichner <jacob.d.lichner@...>
I'm trying to generate html files based on an ERB template with data
[#345654] can't update rubygems — Derek Mailer <derek.mailer@...>
on Mac OS X Tiger 10.4 and unable to update rubygems from 1.0.1 to 1.3.5
I've tried that already, thanks. Here's what I got when I tried it...
[#345656] Is Passing a Binding with Parameters Possible? — John Sikora <john.sikora@...>
Does anyone know how to pass a binding using parameters instead of a
[#345677] Oniguruma: Different result in ruby 1.9.1 and 1.8.7 — Miguel Teixeira <miguelfteixeira@...>
Hi,
[#345689] Can not install mysql gem — Nam gi Vu <vgnam2404@...>
Hi all,
[#345690] could ruby programming capture a media title? — Zhenning Guan <g.zhen.ning@...>
I have a thought on if we could capture a media title when we watch a
[#345693] <LocalJumpError> Message: <"no block given"> — Venkat Akkineni <venkatram.akkineni@...>
Cannot understand why this error is being raised. Any help is
[#345705] RubyWorld Conference live broadcasting — Shugo Maeda <shugo@...>
Hi,
[#345716] Regular expressions - string substitution — Ne Scripter <stuart.clarke@...>
Hello all,
[#345735] How to examine dependencies of previous gems — Louis Sherwin <lsherwin@...>
Hi,
On Sep 4, 2009, at 12:00 PM, Louis Sherwin wrote:
[#345773] Rubyscript instead of javascript — Damjan Rems <d_rems@...>
David Masover wrote:
On Tuesday 08 September 2009 04:40:15 am J=F6rg W Mittag wrote:
>> Also, to this day, Flash for Linux is only available for 32-Bit x86
> wouldn't be nice if rubyscript could be executed inside of browser just
On Saturday 05 September 2009 08:43:14 am Marc Heiler wrote:
On Sat, Sep 5, 2009 at 6:58 PM, David Masover <ninja@slaphack.com> wrote:
On Sat, Sep 5, 2009 at 4:12 AM, Damjan Rems<d_rems@yahoo.com> wrote:
[#345774] how to compare two object instances? is "m1.to_yaml.eql?(m2.to_yaml)" a good way? — Greg Hauptmann <greg.hauptmann.ruby@...>
Hi,
On 05.09.2009 11:52, Greg Hauptmann wrote:
2009/9/5 Robert Klemme <shortcutter@googlemail.com>:
Have you tried using obj_1.hash == obj_2.hash ?
[#345782] End of file error when trying to Marshal.load — Vahagn Hayrapetyan <vahagnh@...>
Hi,-
Vahagn Hayrapetyan wrote:
Tim, I'm on Mac OS X (Leopard). Now I have:
[#345783] something.new( :attribute => value) thing — Marc-antoine Kruzik <kadelfek@...>
Hello, I saw something very interesting in the code of FXRuby, and I
[#345804] How to convert a "normal" searchstring into regexp — Kioko -- <mail_noxx@...>
Hi there,
this seems to do the trick:
2009/9/7 Fabian Streitel <karottenreibe@googlemail.com>:
Robert Klemme wrote:
On 07.09.2009 18:12, Kioko -- wrote:
[#345834] Opinion: Scripting in a Ruby program — Tristan Shelton <admin@...>
Hello all, I'm working on a small program -- and learning to love Ruby
On Sunday 06 September 2009 06:47:47 am Tristan Shelton wrote:
Thank you all for your input. I apologize, as it seems I caused some
[#345841] How can I do this with regex? — Ahmet Kilic <ahmedkilic@...>
I want to grep Delphi "class name" and "reference classes" in a delphi
[#345848] i need to strip \n and nil — Bigmac Turdsplash <i8igmac@...>
im sending files back and forth form a client and a server using
On Sun, Sep 6, 2009 at 10:27 PM, Bigmac Turdsplash<i8igmac@aim.com> wrote:
Michael Fellinger wrote:
[#345860] Two Dimensional Arrays in Ruby? — Mason Kelsey <masonkelsey@...>
No doubt this question has been asked before but I cannot find it and it is
> Mon, Sep 7, 2009 at 12:11 PM, Mason Kelsey <masonkelsey@gmail.com> wrote:
[#345877] Can't do "gem update --system" - libcrypto.so.4: cannot open shared object file: No such file or directory - /usr/local/lib/ruby/1.8/i686-linux/digest/md5.so (LoadError) — Greg Hauptmann <greg.hauptmann.ruby@...>
Hi,
[#345883] Executing system commands in threads under Ruby 1.8.6 — vhaerun vh <etaern@...>
I tried to write a script that makes use of external binaries. Each
2009/9/7 vhaerun vh <etaern@yahoo.com>:
Here's a link to the question I asked on SO:
On 7 Sep 2009, at 09:55, vhaerun vh wrote:
Hi,
The commands executed in the script at the SO link was simply pinging
2009/9/7 geo ssscripting <etaern@yahoo.com>:
Here's the rewrite using IO.popen:
[#345886] Ruby 1.9, Rubygems, and .gemspec warnings — Rob Sanheim <rsanheim@...>
Hi all
Hey... Did you get a fix for this?
I don't think so, I can reproduce this without jeweler in the mix at all.
[#345913] FasterCSV (faster_csv) and Question of understanding — Dot Baiki <dot_baiki@...>
Dear Experts,
[#345921] Zoomable TkCanvas? — Josef Wolf <jw@...>
Hello,
Josef Wolf wrote:
On Tue, Sep 08, 2009 at 04:26:32AM +0900, Joel VanderWerf wrote:
Josef Wolf wrote:
On Tue, Sep 08, 2009 at 07:35:31AM +0900, Joel VanderWerf wrote:
Josef Wolf wrote:
[#345964] accessing Name and value pair using "Sinatra" — Ken Ghosh <meetme2meat@...>
Hello everyone,
On Tue, Sep 8, 2009 at 9:00 AM, Ken Ghosh<meetme2meat@gmail.com> wrote:
[#345976] different results with File.exists? — Mehdi Karamnejad <sepehr.online@...>
when I use a string constant with File.exists? like the following ,it
Hi --
yeah,that was it! thanks ;)
[#346000] Time based loop limiting — Michael Tomer <michael.tomer@...>
I'm trying to write a loop that will only run a certain number of times
[#346018] Tutorial challenge program help — Chris Logan <t-logan3@...>
Hello all im really new to ruby as in a few days and getting into it. i
On Tue, Sep 8, 2009 at 8:13 PM, Chris Logan <t-logan3@hotmail.com> wrote:
Chris Logan wrote:
7stud -- wrote:
bah i spent forever trying to make that nice and neat and then when it
Chris Logan wrote:
7stud -- wrote:
7stud -- wrote:
> 7stud -- wrote:
Chris:
> Notice line's 9 and 12 (the if and else) you do:
Well, after hearing all of your guy's advice, I thought it over and
[#346025] Can not catch PTY::ChildExited exception — Denis Berezhnoy <denis.berezhnoy@...>
Hi guys!
Hi,
Yukihiro Matsumoto wrote:
[#346026] Duplicate this code in C — barjunk <barjunk@...>
Is there a way to duplicate this code using C?
[#346049] Net::Telnet can't send password message — born in USSR <psixxx@...>
[code]
[#346054] Where is TkcGrid? — Josef Wolf <jw@...>
Hello,
[#346058] Joker -- Wildcards for Ruby — Fabian Streitel <karottenreibe@...>
Hi folks,
[#346072] EventMachine.defer and ActiveRecord connection pool? — Artūras Šlajus <x11@...>
Hello,
Chuck Remes wrote:
[#346085] ANN: dh, the daemon helper 2009-09-04 — John Kelly <jak@...2dial.com>
[#346087] Net::Telnet login() intercept authentication error — born in USSR <psixxx@...>
CODE:
[#346091] How Are Variables Kept Independent of Each Other Yet Pass Values? — Mason Kelsey <masonkelsey@...>
Somewhere in the several books I've been learning Ruby from there was the
On Sep 9, 10:50=A0pm, venkatesh Peddi <venkat.pe...@hotmail.com> wrote:
Mason Kelsey <masonkelsey@gmail.com> writes:
[#346092] string.each[1,2,3,4,5] — Bigmac Turdsplash <i8igmac@...>
this is making me mad, i cant figure out how to brake a string down into
irb(main):001:0> "hello my name is bigmac".split
Mario Camou wrote:
after i split the string, how can i put the string back into its
[#346094] regex: multiline — Ahmet Kilic <ahmedkilic@...>
Hello,
Ahmet Kilic wrote:
[#346106] Asynchronous http POST? — Ivan Shevanski <ocelot117@...>
Hey everyone, I'm new to Ruby and to the mailing list, so go easy.
Ezra Zygmuntowicz wrote:
Ezra Zygmuntowicz wrote:
Ivan Shevanski wrote:
[#346111] How to bind canvas events to tags? — Josef Wolf <jw@...>
Hello,
Josef Wolf wrote:
On Thu, Sep 10, 2009 at 10:27:54AM -0700, Joel VanderWerf wrote:
[#346132] defining a singleton method dynamically — Nilesh Trivedi <nilesh.tr@...>
How do I define a singleton method dynamically?
[#346146] Ruby + COM + OLEGEN — Bruno Antunes <sardaukar.siet@...>
Hello.
[#346151] Error using 'gem install' how do you reset path? — Mmcolli00 Mom <mmc_collins@...>
quick question
On Sep 10, 5:06=A0pm, Mmcolli00 Mom <mmc_coll...@yahoo.com> wrote:
Thanks, the message is pasted below. Do you know what command to use to
Try echoing %GEM_HOME% to see if it's set, and if needed set that env
[#346193] populating a hash from an array using inject — Glenn Jackman <glennj@...>
I was looking at this problem on Stack Overflow (this one:
[#346232] Password on code - what's the best way to obfuscate it? — Rodrigo Bermejo <rodrigo.bermejo@...>
On Friday 11 September 2009 08:15:01 am Rodrigo Bermejo wrote:
[#346282] Using Data_Make_Struct for incomplete type — Erik Lindblad <eriklindblad3@...>
Hi all
[#346306] no such file to load -- rexml_helper (LoadError) — Active View <active.view@...>
Hi,
[#346311] All the core function are buit-in? — Free Kickr <niebuyang@...>
Before posting, I went thru the offical doc and some searching forum,
Thanks, I download the files and have a brief read of the 4 files:
[#346324] module to overwrite method defined via define_method — Gaspard Bucher <gaspard@...>
Hi List !
Hi --
David A. Black wrote:
Hi --
[#346331] (Bayesian) Linguistic Analysis — Jp Hastings-spital <jphastings@...>
I've found some interesting libraries (Classifier, Bishop) that will
[#346335] normalizing newlines — Alan Munn <amunn@...>
I have a script that processes text from the clipboard. Depending on the
[#346347] FasterCSV.foreach loop — Dot Baiki <dot_baiki@...>
Hello community,
On Sep 13, 2009, at 2:28 PM, Dot Baiki wrote:
James Edward Gray II wrote:
Good day
On Sep 16, 2009, at 12:11 PM, Dot Baiki wrote:
Hello again
Oh, I see:
I guess I need your help once again.
[#346355] Overflow behavior — jacob navia <jacob@...>
What is the official behavior of ruby in case of integer overflow?
jacob navia wrote:
[#346367] .map.with_object(3){|v|v+3} #=> 3 Is this a bug? — ErMaker <ermaker@...>
At ruby 1.9.2dev (2009-07-18 trunk 24186) [i386-mswin32_90]
On Sunday 13 September 2009 09:19:31 pm ErMaker wrote:
David Masover wrote:
ErMaker wrote:
[#346370] Ruby and C++ exe — George Thomas <george.thomas@...>
Hi,
[#346377] Finding difference in a number range — Pål Bergström <pal@...>
This is my problem. I have a scale from 0 to 15 and five different
[#346383] Pre-allocate large amount of memory? — Carsten Gehling <carsten@...>
I've created a small daemon, that serves certain data very fast to our
2009/9/14 Carsten Gehling <carsten@sarum.dk>:
Robert Klemme wrote:
On 14.09.2009 19:37, Carsten Gehling wrote:
Robert Klemme wrote:
[#346390] The standard terminal commands has disappeared in irb — "P. A." <shamaoke@...>
Hi.
Hi,
I have the development package for Readline called libreadline-dev on my
P. A. wrote:
I've just finished installation the Readline extension using your
[#346419] whats the best way to package deploy a Ruby app to windows??? (no UI, also standalone if possible) — Greg Hauptmann <greg.hauptmann.ruby@...>
Hi,
On Sep 14, 11:00=A0pm, Greg Hauptmann <greg.hauptmann.r...@gmail.com>
[#346434] Security considerations with REST calls — Sj Tib <s_tibrewal@...>
Folks,
[#346438] URL format — Re BR <rereis@...>
I have the following hash myhash
[#346439] What's the best cross platform approach (Windows/Mac) to deploy a simple service/daemon (with simple UI) — Greg Hauptmann <greg.hauptmann.ruby@...>
Hi,
[#346452] Command line — Rong <ron.green@...>
Please forgive this stupid newb question but I thought it was possible
[#346460] Ruby GUI GIS Application — adam@...
I'm looking to move from Perl to either Ruby, Java, or Python. Looking
[#346462] win32 service - daemon — Bigmac Turdsplash <i8igmac@...>
i think i understand how the process works,
[#346469] How to convert an string like this into a tree Object? — Possum <harryli@...>
Hi, guys ,
[#346474] Formatting REXML — Charles Roper <reachme@...>
Hey all,
[#346499] Making an array wrap, where last index + 1 = first index — Shawn W_ <shawnw@...>
I'm trying to manipulate a 2D array. I have created a method that looks
Hi there!
[#346500] Array of Hashes in an array of hashes - Complicated! — Matt Brooks <mattbrooks@...>
I have an unique problem that I can't solve. I am sorry this is long,
Morning Matt,
Hi John,
Matt,
+1 on object creation
Hi --
Thank you for everyone's input, I am thinking about it all right now,
Matt,
[#346525] Find.find, limited recursion.. — Brian Wallace <draygen80@...>
Hi all,
[#346531] range — Re BR <rereis@...>
how can I convert a string '20-30' to a instance range object 20..30
[#346553] Marshal gives error when dumping and loading array with two regexps in latest ruby 1.9 — Stefano Crocco <stefano.crocco@...>
I just upgraded my ruby 1.9 to the latest stable version (ruby 1.9.1-p243),
[#346573] Ohm - Object-hash mapping library for Redis — Michel Martens <michel@...>
We've been using it in production for a while now, and it's also
[#346574] string to array — Re BR <rereis@...>
Hello all,
Good Morning,
On Wed, Sep 16, 2009 at 9:20 AM, John W Higgins <wishdev@gmail.com> wrote:
John W Higgins wrote:
[#346611] block issues... — Dylan Lukes <revenantphoenix@...>
In the following block, each plugin in the constant hash PLUGINS is
Dylan Lukes wrote:
7stud -- wrote:
7stud -- wrote:
Hi --
Hi --
[#346615] scrubyt anyone? — Audrey A Lee <audrey.lee.is.me@...>
Hi,
[#346621] Monkey Patching 2 Methods, Overrides One Method, Not The Other — MaggotChild <hsomob1999@...>
I'm monkey patching 2 methods of an existing module: some_method() and
On Sep 17, 5:02=A0am, "David A. Black" <dbl...@rubypal.com> wrote:
> I'm never quite sure what people mean by "monkey patching" -- it
[#346630] gem instal package — Bigmac Turdsplash <i8igmac@...>
This never works for me, the disered package is installed but when i
[#346642] Itterate over an Array Extracting Data — Daniel Russia <danielvblass@...>
So I have the following array
[#346645] Mucking about with dynamically adding methods to objects — Paul Smith <paul@...>
I've been toying with Ruby for a while, but only now am I beginning to
On Thu, Sep 17, 2009 at 11:44 AM, Paul Smith <paul@pollyandpaul.co.uk> wrot=
2009/9/17 Jes=FAs Gabriel y Gal=E1n <jgabrielygalan@gmail.com>:
Paul Smith wrote:
7stud -- wrote:
On Thu, Sep 17, 2009 at 7:17 PM, 7stud -- <bbxx789_05ss@yahoo.com> wrote:
[#346660] Need help to understand URI — Hunt Jon <jona.hunt777@...>
I'm trying to understand different parts of a URI.
[#346664] repeatedly open file or save entire file to memory? — Jason Lillywhite <jason.lillywhite@...>
I want to make sure I do what is most efficient when dealing with
2009/9/17 Jason Lillywhite <jason.lillywhite@gmail.com>:
Jason,
You could put the data into a database,
[#346676] Value isn't appended in puts statement(appears on next line) — Mrmaster Mrmaster <mrsolarlife@...>
Hello,
On Thu, Sep 17, 2009 at 8:51 PM, Mrmaster Mrmaster
Gary Wright wrote:
On Thu, Sep 17, 2009 at 10:16 PM, Mrmaster Mrmaster
Jes炭s Gabriel y Gal叩n wrote:
[#346680] How to fetch Cookie from response — Ramesh Lal <freephoneid@...>
Hi,
[#346724] simple question: compare words — Ahmet Kilic <ahmedkilic@...>
I want to compare same words in a and b then,
[#346743] RubyGems Problem — Preethi Sivakumar <preethi1.s@...>
Hi,
On Sep 22, 5:50=A0am, Preethi Sivakumar <preethi...@tcs.com> wrote:
[#346748] Subprocessing with popen or popen3? — Dylan Lukes <revenantphoenix@...>
Currently I have a class MyServer that extends IO, and then I call:
[#346750] Compare 2 files with different names (checksum?) — Max Williams <toastkid.williams@...>
Hey all
[#346754] Roman numeral conversion — Brian Tickler <btickler@...>
First time poster here...
[#346756] Getting to one attribute of my marshalled array of objects — Brian Tickler <btickler@...>
I have looked around for an answer to this on the mailing list and
I won't comment on your design as it seems straightforward enough. It could
[#346759] Newbie: Are Ruby regexp's a subset, superset, or equal to Perl's? — Harry <simonsharry@...>
Hi,
On Sep 19, 2:57=A0pm, Robert Klemme <shortcut...@googlemail.com> wrote:
hehe, thanks for the rating... I didn't even know there was such a thing...
[#346764] Array of hashes issue — Brad Dude <bradsacks99@...>
Hi,
On Fri, Sep 18, 2009 at 10:13 PM, Brad Dude <bradsacks99@gmail.com> wrote:
[#346765] How to derive from DateTime? — luisealvarezb <luisealvarezb@...>
Hi, everybody:
[#346767] libglade2 — Mathspeedy <mathspeedy@...>
Hi!, I'm having a problem loading the the glade library (libglade2),
[#346774] Exceptional Rails Developer — Richard Price <richard.price100@...>
Hi all,
Richard Price wrote:
At least he didn't say "Rockstar" or "Ninja"
On Wednesday 30 September 2009 01:45:27 pm Zundra Daniel wrote:
On Wed, Sep 30, 2009 at 6:44 PM, David Masover <ninja@slaphack.com> wrote:
On Wednesday 30 September 2009 06:54:16 pm Greg Donald wrote:
On Wed, Sep 30, 2009 at 7:32 PM, David Masover <ninja@slaphack.com> wrote:
On 1 Oct 2009, at 01:32, David Masover wrote:
On Thursday 01 October 2009 08:20:26 am Eleanor McHugh wrote:
On 1 Oct 2009, at 19:15, David Masover wrote:
On 2 Oct 2009, at 13:15, Aldric Giacomoni wrote:
Hi,
[#346775] Determining if a file is binary or text — James Masters <james.d.masters@...>
Hi all,
[#346778] RSS Parser Help.. — Gim Ick <gimmickivek@...>
I am trying to parse a rss file. I use the rss module to do it.
[#346788] Catching "File Saved" or CMD-W Signal? — Lance Pollard <lancejpollard@...>
Hey,
[#346832] Regexp question difference between ^ and \A — Hunt Jon <jona.hunt777@...>
Hi
[#346851] Thread-safe FileUtils.cd — James Coglan <jcoglan@...>
Hi all,
[#346857] New to Ruby; Trying to use RMagick — "Jake J." <jakejohnson2431@...>
Hey, guys. I am new to ruby, but need to move through using it quickly,
[#346860] Writing to STDOUT after closing controlling terminal — Matt Bleh <phreakuencies@...>
Hi,
As far as killing the controlling terminal is concerned, AFAIK it's standard
[#346864] Multi-Dimensional Arrays in Priority Queues — Mason Kelsey <masonkelsey@...>
In my program I need to construct a priority queue that sorts ascending.
Hi,
Tried it but it didn't work. Made the following change:
On Sun, Sep 20, 2009 at 10:23 PM, Mason Kelsey <masonkelsey@gmail.com>wrote:
[#346874] How to create a file with UTF-8 encoding — Jin Lee <thyrlian@...>
Hi, as known that the default encoding is set to ANSI when creating a
[#346877] script hangs while waiting for user input — Jule Nissen <tschellhorn@...>
Hi!
[#346887] ruby-oci8 function — beny 18241 <beny18241@...>
Hi,
[#346891] Incrementing variable names in a loop? — Matt Brooks <mattbrooks@...>
I have a function write_log that takes in a string and it prints to
On Mon, Sep 21, 2009 at 4:09 PM, Matt Brooks <mattbrooks@gatech.edu> wrote:
On Mon, Sep 21, 2009 at 5:43 PM, Paul Smith <paul@pollyandpaul.co.uk> wrote:
2009/9/21 Jes=FAs Gabriel y Gal=E1n <jgabrielygalan@gmail.com>:
So I guess technically the way to phrase it is, incrementing method
Nevermind, I implemented jesus's incorrectly, it works!
[#346898] Hash or array? — Ne Scripter <stuart.clarke@...>
Hello,
[#346916] Vicious versioning cycle prevents upgrading Ruby Gems — William Mcneill <billmcn@...>
I am stuck in a vicious cycle in which I need a newer version of Gems in
[#346934] redirect STDOUT to function? — Jonathan Castello <solugon@...>
[#346937] start_with — Rong <ron.green@...>
Can someone explain why this doesn't work?
[#346947] How to detect what is running Ruby program? — Mason Kelsey <masonkelsey@...>
I work on a Windows platform and have two utiltities that I can execute a
On Tue, Sep 22, 2009 at 5:44 AM, Jonathan Castello <solugon@hotmail.com> wr=
[#346963] Accessing an instance variable in another method — Subashini Kumar <subashinikumar@...>
Hi,
[#346974] File.exists? performance — Marcelo Barbudas <nostef@...>
Hi.
[#346983] Resolving OpenSSL version mismatch in OS X 10.5.8 — Johnny Rodgers <johnny.rodgers@...>
In a Rails app I have built, the Amazon Web Services Product Advertising
[#347012] format code, IDE — Thufir <hawat.thufir@...>
outside of eclipse or netbeans plugins, is there an open source ruby IDE?
[#347035] rdoc/usage replacement in ruby 1.9 for a CLI app? — Juan felipe Alvarez saldarriaga <jfalvarez@...>
Hey!
On Sep 23, 9:41=A0am, Juan felipe Alvarez saldarriaga
[#347044] the great ruby editor and ide roundup — Martin DeMello <martindemello@...>
https://spreadsheets.google.com/ccc?key=0Al_hzYODcgxwdG9tUFhqcVVoUDVaLTlqT2YtNjV1N0E&hl=en
On Wed, Sep 23, 2009 at 4:02 PM, Martin DeMello <martindemello@gmail.com> wrote:
On Thu, Sep 24, 2009 at 1:41 AM, Rajinder Yadav <devguy.ca@gmail.com> wrote:
Martin DeMello wrote:
On 8/30/2010 11:29 AM, Roger Pack wrote:
Sorry, google docs had reverted the permissions to private. I've fixed
Also, mirroring to a wiki would be nice idea. Google docs is still the
On Tue, Aug 31, 2010 at 9:25 AM, Martin DeMello <martindemello@gmail.com> wrote:
2010/8/31 Jes=FAs Gabriel y Gal=E1n <jgabrielygalan@gmail.com>:
[#347052] Won't Go — Ill Everbe <illeverbe@...>
Cant get Ruby to run it seems. Windows XP. downloaded with 1.8.6 one
[#347058] How do you limit the line length of the output commands? Where is pqueue library documented? — Mason Kelsey <masonkelsey@...>
There must be an easy way to solve the problem of controlling the length of
On 9/24/09 12:59 AM, Mason Kelsey wrote:
On 9/23/09, Patrick Okui <pokui@psg.com> wrote:
Caleb Clausen wrote:
On Wednesday 23 September 2009 04:59:23 pm Mason Kelsey wrote:
[#347084] New to Ruby, New to Programming. — Jon Kupe <jon.kuperman@...>
I just started programming about a month ago. I've started learning
[#347094] email regex — Sijo Kg <sijo@...>
Hi
[#347120] IRB tab-completion fails for directories in ruby 0.9.1 — Stuart Coleman <stupac2@...>
I recently upgraded from Ruby 0.8.6 to 0.9.1, and was trying out some
[#347123] Redefining hat operator for Proc — bparanj <bparanj@...>
Hello,
[#347125] Ordering XML Attributes with Hpricot? — Lance Pollard <lancejpollard@...>
Hey,
Dear Lance,
[#347141] Ruby Noob issue — Fred Ige <duelarm@...>
Hi
[#347149] Get functions names with regex — Ahmet Kilic <ahmedkilic@...>
I have text file like this,
[#347156] Roulette & rand — Semih Ozkoseoglu <ozansemih@...>
Hi,
On Friday 25 September 2009, Semih Ozkoseoglu wrote:
Hi again Stefano,
On Friday 25 September 2009, Semih Ozkoseoglu wrote:
Stefano, Paul,
Hi again,
On Fri, Sep 25, 2009 at 1:26 PM, Semih Ozkoseoglu
[#347193] How to remove duplicate elements in a 2D array — Li Chen <chen_li3@...>
Hi all,
On Fri, Sep 25, 2009 at 4:34 PM, Li Chen <chen_li3@yahoo.com> wrote:
The main idea is to use Hash and use the first letter ("a","b","c") as a
[#347202] Backporting Enumerator.new { ... } to Ruby 1.8.7 — "Shot (Piotr Szotkowski)" <shot@...>
Hello, good people of ruby-talk.
What is the sanest way to
[#347242] Push and Pop on a Priority Queue appears to change nature of Array — Mason Kelsey <masonkelsey@...>
I'm stumped. Worked on this problem for over three hours. I created an
On Sat, Sep 26, 2009 at 10:38 PM, Mason Kelsey <masonkelsey@gmail.com>wrote:
[#347243] 2D array to array of hashes with repeating header — Jason Lillywhite <jason.lillywhite@...>
I have this array:
[#347247] I can't install any GUI via gems, please help. — Alexander Ljungstrom <alex@...>
Hello! I am new at the forum, but i have a huge problem. For the last
[#347260] handling of regexp objects that aren't referenced by variables, arrays, tables or objects — ThomasW <x.zupftom@...>
Hi,
Is this ok? But it still use variable :(
Thairuby ->a, b {a + b} wrote:
[#347261] calling 'C' code from Ruby — Rajinder Yadav <devguy.ca@...>
Hi all,
Rajinder Yadav wrote:
[#347267] Is it possible to eliminate the temporary variable — Li Chen <chen_li3@...>
Hi all,
[#347270] Regular expression question — Jim Burgess <jack.zelig@...>
Why does:
Hi --
Vielen Dank f端r deine Antwort :-)
Thanks for the comprehensive explanation. That helps me greatly.
[#347299] Getting a valid URL from a command line — Hunt Jon <jona.hunt777@...>
Hi - I'm working on the script below, which attempts at getting
[#347301] regex problem for comments line — Ahmet Kilic <ahmedkilic@...>
str = " uses
[#347305] Internationalization, Localization and Encodings — Mohit Sindhwani <mo_mail@...>
Hi, I'm sorry that this is a bit Off Topic, but I was wondering if
[#347316] format problem — Li Chen <chen_li3@...>
Hi all,
At 2009-09-28 09:38AM, "Li Chen" wrote:
[#347319] Ruby and PostgreSQL? — pete <peterbattaglia@...>
Hi-
[#347327] l10n-simplified-0.9 died in Ruby 1.9.1 / Rails 2.3.3 — Fernando Calatayud <fernando@...>
As lot of people, I suposse, I'm trying to move my Rails 2.1.2 app to
[#347328] Re: Sequel accessor methods — Jeremy Evans <code@...>
Jake Brightmatter wrote:
> def new_house( self_id )
Jake Brightmatter wrote:
Let's assume for a second that I understood 50% of what you said. Based
Morning Jake,
> def find_unused_house_id(start_point = 0)
[#347335] RubyGems woes — Tony Arcieri <tony@...>
We're trying to support both MRI and JRuby for a project, and have a number
[#347339] Noob - loop indexing — Simon Willard <simonwillard@...>
I try to make Ruby loops using "each" like this:
[#347354] How do I use nitpick — "Michael W. Ryder" <_mwryder@...>
I was looking for a program like lint in C and came across nitpick. I
On Mon, Sep 28, 2009 at 9:25 PM, Michael W. Ryder
Hassan Schroeder wrote:
Ryan Davis wrote:
Ryan Davis wrote:
Ryan Davis wrote:
On Sep 30, 2009, at 11:50 AM, Michael W. Ryder wrote:
[#347364] Group by unique entries of a hash — Ne Scripter <stuart.clarke@...>
I have two data sets loaded into a hash to give the following output
On Tue, Sep 29, 2009 at 12:43 PM, Ne Scripter
* Paul Smith <paul@pollyandpaul.co.uk> (2009-09-29) schrieb:
I am having real problems with my array. As expected my array contents
[#347369] gem install activerecord--adapter — Thufir <hawat.thufir@...>
I seem to be missing a gem, yet, according to gem list, I seem to have
[#347371] How do you determine CPU time in a Ruby program? — Mason Kelsey <masonkelsey@...>
Thanks to all who helped me understand Ruby's treatment of multidimensional
[#347381] syntax translation Java - Ruby — Jake Brightmatter <brightmatter@...>
have this code in Java:
[#347410] if process.exist then . . . ??? — Bigmac Turdsplash <i8igmac@...>
im trying to monitor a process, if this process is closed then i want to
[#347443] Get current working copy version in subversion/git — Anthony Metcalf <anthony.metcalf@...>
Hi,
Ryan Davis wrote:
[#347456] SystemStackError: stack level too deep > how make it deeper? — Joshua Muheim <forum@...>
Hi all
On Wed, Sep 30, 2009 at 3:47 PM, Joshua Muheim <forum@josh.ch> wrote:
Jason Roelofs wrote:
> Or a problem from Project Euler... ;-)
On Wed, Sep 30, 2009 at 4:56 PM, Joshua Muheim <forum@josh.ch> wrote:
[#347464] Control of Priority Queue Order? And size limits on queues? — Mason Kelsey <masonkelsey@...>
I've successfully used the Priority Queue to sort ascending items for
On Wed, Sep 30, 2009 at 1:50 PM, Mason Kelsey <masonkelsey@gmail.com> wrote:
[#347470] Can you make a clock? — Scott Andrechek <scottandrechek@...>
'Ello. I was just wandering how you update the time in a ruby program
[#347474] Monitors on data structures — Russell Fulton <r.fulton@...>
Hi
Re: How Are Variables Kept Independent of Each Other Yet Pass Values?
the easy way is you can have another temp variable to which u have to assig= n the old value.and assing the temp value to new. in this case when u chang= e the new the temp will change but not old. =20 temp var =3D old var new var =3D temp var // here u can do what ever u want on new. unless u directly change any thin= g on temp ur old var is safe. =20 ps:this is a work around=2C i dont recommend it. =20 =20 -V =20 > Date: Thu=2C 10 Sep 2009 12:24:05 +0900 > From: masonkelsey@gmail.com > Subject: How Are Variables Kept Independent of Each Other Yet Pass Values= ? > To: ruby-talk@ruby-lang.org >=20 > Somewhere in the several books I've been learning Ruby from there was the > note that when you create a new variable and assign it a value from anoth= er > variable that you really haven't created an independent variable at all b= ut > just another name for the source variable. So if you code "new_var =3D > old_var" the new_var simply points to the location of the value for > old_var. Consequently=2C if you change one variable=2C you have changed b= oth. > I've tested this and it appears to be true. I've made bold the crucial pa= rt > of the code. >=20 > In the following code verifies that variables are not independent in > assignments: >=20 > # Test to Determine how 2 Dimentional Arrays Work > current_state =3D [[1=2C 3=2C 6]=2C [5=2C 0=2C 2]=2C [4=2C 7=2C 8]] > #new_state =3D [[1=2C 3=2C 6]=2C [5=2C 0=2C 2]=2C [4=2C 7=2C 8]] > *new_state =3D current_state* > puts "Current State =3D " + current_state.to_s > puts "current_state[1][1] is " + current_state[1][1].to_s > puts "current_state[2][1] is " + current_state[2][1].to_s > # Exchange positions > new_state[1][1] =3D current_state[2][1] > new_state[2][1] =3D current_state[1][1] > # Show changed values > puts "New State[1][1] =3D " + new_state[1][1].to_s > puts "New State[2][1] =3D " + new_state[2][1].to_s >=20 > Gives the results: >=20 > >ruby Simple_Test_Class_EightPuzzle.rb > Current State =3D 136502478 > current_state[1][1] is 0 *<=3D=3D Values before the change* > current_state[2][1] is 7 *<=3D=3D Values before the change* > *New State[1][1] =3D 7 <=3D=3D Values after the change > New State[2][1] =3D 7 <=3D=3D Values after the change. Due to new_state a= nd > current_state pointing to the same value. > *>Exit code: 0 >=20 > Which would only happen if new_state and current_state point to the same > value! >=20 > If I execute the code with the above bold line commented out and the comm= ent > line above it executed=2C then the exchange occurs properly because new_s= tate > and current_state are two independent variables. Thus=2C >=20 > # Test to Determine how 2 Dimentional Arrays Work > current_state =3D [[1=2C 3=2C 6]=2C [5=2C 0=2C 2]=2C [4=2C 7=2C 8]] > *new_state =3D [[1=2C 3=2C 6]=2C [5=2C 0=2C 2]=2C [4=2C 7=2C 8]] > *#new_state =3D current_state > puts "Current State =3D " + current_state.to_s > puts "current_state[1][1] is " + current_state[1][1].to_s > puts "current_state[2][1] is " + current_state[2][1].to_s > # Exchange positions > new_state[1][1] =3D current_state[2][1] > new_state[2][1] =3D current_state[1][1] > # Show changed values > puts "New State[1][1] =3D " + new_state[1][1].to_s > puts "New State[2][1] =3D " + new_state[2][1].to_s >=20 > produces the desired results=2C as >=20 > >ruby Simple_Test_Class_EightPuzzle.rb > Current State =3D 136502478 > current_state[1][1] is 0 > current_state[2][1] is 7 > *New State[1][1] =3D 7 > New State[2][1] =3D 0 <=3D=3D Proper exchange occurred because new_state = and > current_state are independent. > *>Exit code: 0 > Now=2C my problem is that I *must* give new_state the value that current_= state > has but keep them independent=2C because I need to save the original > configuration of values. How do I pass a value to a new variable from a > source variable yet keep them independent? I'm sure there is a way=2C I j= ust > cannot remember where I read it in the books and the indexes are not > helpful. >=20 > Thanks in advance! >=20 > No Sam _________________________________________________________________ Sports=2C news=2C fashion and entertainment. Pick it all up in a package ca= lled MSN India http://in.msn.com=