[#354195] Happy new Year — Ralf Mueller <ralf.mueller@...>
to all of you from germany!
[#354197] Getting Started w Ruby on MacOSX -- ri/RDoc error — "M. Norton" <remillard@...>
Hello,
[#354206] send emails — Ruby Newbee <rubynewbee@...>
Hello,
Ruby Newbee wrote:
On Fri, Jan 1, 2010 at 11:43 AM, Derek Smith
[#354233] Ruby & IRC — Rajinder Yadav <devguy.ca@...>
Hi I am thinking about playing around with IRC Internert Relay Chat
i've been pleasantly impressed with rif
[#354265] "Dummy" IO object to push and pull data? — Shay Hawkins <gohegdeh@...>
Hello,
Ryan Davis wrote:
Shay Hawkins wrote:
Oh, and there is also IO.pipe, which is unidirectional under most Unix
Brian Candler wrote:
On 1/2/10, Shay Hawkins <gohegdeh@comcast.net> wrote:
Caleb Clausen wrote:
On Sun, Jan 3, 2010 at 3:07 PM, Shay Hawkins <gohegdeh@comcast.net> wrote:
Tony Arcieri wrote:
Shay Hawkins wrote:
Brian Candler wrote:
Shay Hawkins wrote:
Brian Candler wrote:
Test program:
Shay Hawkins wrote:
Brian Candler wrote:
[#354268] Rounding float in ruby via .round — Marc Heiler <shevegen@...>
.round does not want arguments. Is there a reason why not?
[#354284] how to access something within an array — bingo bob <rupert@...>
I have this array...
[#354294] can't understand for this each — Ruby Newbee <rubynewbee@...>
Hello,
[#354314] rdp-arguments -- named arguments for 1.8 and 1.9! — Roger Pack <rogerpack2005@...>
Though I can't take much credit for this (the original author is maca
[#354321] use ruby for what? — Ruby Newbee <rubynewbee@...>
May I ask, what jobs are you using ruby for?
[#354325] Status update — Phillip Gawlowski <pg@...>
A (very slightly edited) post can be found on my blog, too. [0]
[#354334] Few clarifications on recursion — Panagiotis Atmatzidis <atma@...>
Hello,
>
[#354336] Ruby in Lisp, preLisp — Ruli Lupy <rulilupy@...>
On 01/03/2010 05:28 PM, Ruli Lupy wrote:
[#354347] A small internationalization issue? — tuti plain <hypermeister@...>
Hi all,
On Sun, Jan 3, 2010 at 1:40 PM, tuti plain <hypermeister@yahoo.com> wrote:
Hi, I am using Ruby 1.8.6, the One Click Installer version, running on
On Sun, Jan 3, 2010 at 8:07 PM, tuti plain <hypermeister@yahoo.com> wrote:
[#354360] bitwise shift help — Kvetch Kvetch <kvetch@...>
Hello, I am new to Ruby and was wondering if there is an easier/faster
[#354365] undefined method `conf' for IRB:Module — Reimundo Heluani <rheluani@...>
Hello, I'm trying to run dradis and I found a problem that might be on
On 04.01.2010 07:54, Reimundo Heluani wrote:
[#354375] how to capture all conditions using regex — Ruby Newbee <rubynewbee@...>
Hello,
[#354381] Is ruby's regex slower? — Ruby Newbee <rubynewbee@...>
Hi,
On Mon, Jan 4, 2010 at 2:54 AM, Ruby Newbee <rubynewbee@gmail.com> wrote:
Roger Pack wrote:
Kornelius Kalnbach wrote:
On 01/05/2010 12:37 PM, Marnen Laibow-Koser wrote:
Robert Klemme wrote:
On Tue, Jan 5, 2010 at 10:32 AM, Marnen Laibow-Koser <marnen@marnen.org> wr=
Charles Nutter wrote:
[#354386] regex =~ string or string =~ regex? — Ruby Newbee <rubynewbee@...>
Sometime I saw you wrote regex =~ string, while sometime you wrote
[#354391] How to know the childs PID of a given process? — Iñaki Baz Castillo <ibc@...>
Hi, I know that a Ruby process with PID 1000 (under Linux) has forked 4 tim=
On 01/04/2010 11:52 AM, I=F1aki Baz Castillo wrote:
[#354392] Parsing of Html/Text files — Hemant Bhargava <hemant.bhargava7@...>
Hi Guyz, back with a new problem :)
El Lunes, 4 de Enero de 2010, Hemant Bhargava escribi=C3=B3:
[#354432] Why does "warn" print a extra \n ? — Iñaki Baz Castillo <ibc@...>
Hi, by redirecting $stderr to a logger (Logger or SyslogLogger instance) I'=
[#354436] Interfacing with Ruby garbage collector - when returning value from C extension to Ruby — Benjie Chen <benjie@...>
Hi
On 1/4/10, Benjie Chen <benjie@lablife.org> wrote:
On Mon, Jan 4, 2010 at 7:23 PM, Caleb Clausen <vikkous@gmail.com> wrote:
On 1/4/10, Benjie Chen <benjie@lablife.org> wrote:
[#354445] Subclassing in a C extension — Eric Christopherson <echristopherson@...>
I've been trying to make a subclass written in C of the MySQL/Ruby
[#354467] stenography — Alexander Alexander <alexandrtarasjuk@...>
Hello. Is the following problem: write stenography information literally
[#354486] RCR: fork(n) {|n| } — Roger Pack <rogerpack2005@...>
Currently, it's surprising to me to have the semantics of fork differ
Roger Pack wrote:
> I don't think it gains you anything: in a fork the child process has a
2010/1/5 Roger Pack <rogerpack2005@gmail.com>:
[#354495] Controlling another browser window — Michael Winterstein <parzival@...>
I have a set of static html files with their own links (essentially a
[#354497] How Do I Debug This? — James Edward Gray II <james@...>
I'm getting an error in a test suite for an FFI project:
[#354502] what's String.hash — Ruby Newbee <rubynewbee@...>
irb(main):038:0* x="hello"
[#354505] being very confused about this hash — Ruby Newbee <rubynewbee@...>
Hi,
[#354519] group in the array — Kolya17 Kolya17 <lastdrv@...>
Hi!
Kolya17 Kolya17 wrote:
Kolya17 Kolya17 wrote:
On 01/06/2010 09:45 AM, Kolya17 Kolya17 wrote:
Robert Klemme wrote:
On 01/06/2010 03:56 PM, Ralf Mueller wrote:
On Wed, Jan 6, 2010 at 11:20 PM, Robert Klemme
[#354530] invoke javascript by clicking an image — Go Ma <gopinathmandala@...>
I am newbie to Ruby so pl pardon my ignorance.
[#354543] Script to interact with a database — Quee WM <qaiserwali@...>
I have an application in rails in which i am adding a new column in one
Quee WM wrote:
Quee WM wrote:
[#354544] Strings - foo[0,0] vs.. foo[-1,0] ? — Marc Heiler <shevegen@...>
Since some time I have used this to prepend something to a string:
[#354571] Is File.open deprecated? — Xeno Campanoli <xeno.campanoli@...>
I don't see it mentioned in the File chapter of the latest Pickaxe book? Is
[#354590] Help — Jagadeesh <mnjagadeesh@...>
hi Gurus,
Here is how I am trying to do with array
[#354598] nanoc 3.0.3 — Denis Defreyne <denis.defreyne@...>
Hi,
[#354603] Serialization ruby 1.8 vs ruby 1.9 — Florian Odronitz <odo@...>
Hi,
[#354610] encrypt message in html file — Gregory Biasky <alexandrtarasjuk@...>
Hello. How you can encrypt a message using as a container HTML file,
[#354616] What is ruby-web.exe — Michael Hughesdon <michael.hughesdon@...>
Newbie question!
[#354619] Non-blocking communication between Ruby processes — Iñaki Baz Castillo <ibc@...>
Hi, I run Unicorn which is a Rack http server using N forked worker process=
On 01/07/2010 02:18 PM, I=F1aki Baz Castillo wrote:
El Jueves, 7 de Enero de 2010, Robert Klemme escribi=F3:
On 01/07/2010 03:07 PM, I=F1aki Baz Castillo wrote:
El Jueves, 7 de Enero de 2010, Robert Klemme escribi=F3:
El Jueves, 7 de Enero de 2010, I=F1aki Baz Castillo escribi=F3:
On 07.01.2010 18:58, Iki Baz Castillo wrote:
El Jueves, 7 de Enero de 2010, Phillip Gawlowski escribi=F3:
On 07.01.2010 19:50, Iki Baz Castillo wrote:
On 01/07/2010 08:01 PM, Phillip Gawlowski wrote:
El Jueves, 7 de Enero de 2010, Robert Klemme escribi=F3:
On 01/07/2010 06:58 PM, I=F1aki Baz Castillo wrote:
El Jueves, 7 de Enero de 2010, Robert Klemme escribi=F3:
El Domingo, 10 de Enero de 2010, Gary Wright escribi=F3:
Iki Baz Castillo <ibc@aliax.net> wrote:
El Jueves, 7 de Enero de 2010, Eric Wong escribi=F3:
Iki Baz Castillo <ibc@aliax.net> wrote:
[#354633] How to create a pipe file ("mkfifo pipe_file") — Iñaki Baz Castillo <ibc@...>
Hi, I don't find the appropriate command to create a "pipe" file in Ruby.
El Jueves, 7 de Enero de 2010, I=C3=B1aki Baz Castillo escribi=C3=B3:
On 7 Jan 2010, at 16:05, I=F1aki Baz Castillo wrote:
[#354655] Setting recursion depth — Stuart Clarke <stuart.clarke1986@...>
Hi all,
Hello,
[#354656] Stopping String Escaping. — Phil Cooper-king <phil@...>
Hi,
Phil Cooper-king wrote:
> How are you parsing them?
Phil Cooper-king wrote:
> OK, then what I suggest is you make a standalone test case, outside of
Phil Cooper-king wrote:
> Hopefully it's clear from the above
Phil Cooper-king wrote:
Here's the kind of standalone test I was thinking of.
thanks again
[#354678] Digits of e (#226) — Daniel Moore <yahivin@...>
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=
Hello,
[#354706] can you explain code — Aashish Kiran <aashishkiran8@...>
[#354707] Something changed an instance variable ... and now I'm confused — Ralph Shnelvar <ralphs@...32.com>
Newbie here.
[#354724] File and Dir class problems — Spencer Rogers <spencerevanrogers@...>
I'm running into some problems when renaming and deleting files through
[#354734] Decimal in for loop? — Nathan Oyama <nate@...>
Hi, I have a quick question: How can I increase a valuable by a certain
[#354746] Ruby editing style rules and recommendation? — Nathan Oyama <nate@...>
I asked a question 'Decimal in for loop?' and two members were kind
On Sat, Jan 9, 2010 at 2:01 PM, Nathan Oyama <nate@culip.net> wrote:
Josh Cheek wrote:
[#354753] Confusing docs . . . how do I use gcd2? — Matt <mgregory22@...>
The standard library docs don't make sense to me a lot of the time.
On Jan 9, 8:32=A0pm, Matt <mgregor...@gmail.com> wrote:
[#354762] roll back to last command in irb — Ruby Newbee <rubynewbee@...>
Hello,
Ruby Newbee wrote:
On Sun, Jan 10, 2010 at 5:40 PM, Marvin G=C3=BClker <sutniuq@gmx.net> wrote=
[#354763] Recommended practice for Ruby 1.8.6 and Ruby 1.9.x on Windows — Mohit Sindhwani <mo_mail@...>
Hi there! Is there any recommended practice for using Ruby 1.8.6 and
[#354766] WEBrick has an Escape Sequence Injection vulnerability — Urabe Shyouhei <shyouhei@...>
WEBrick has an Escape Sequence Injection vulnerability
[#354779] Remote Rake without SSH — Anton Pirogovski <alien.the.zorg@...>
Is there a way to remotely complete Rake tasks/execute Rake files
Anton Pirogovski wrote:
[#354781] The Ruby GUI debacle — Ruby Student <ruby.student@...>
Team,
Ruby Student wrote:
James, I don't remember if the problems was with Netbeans or something
>=20
Hi Florian,
2010/1/11 Ruby Student <ruby.student@gmail.com>:
Hi Robert,
[#354806] OT: Setting up Paypal/Merchant processing — Rajinder Yadav <devguy.ca@...>
Hi is there a easy way for me to use the paypal merchant system though
[#354813] Help — Jagadeesh <mnjagadeesh@...>
Hi,
[#354814] fib.rb 1.9.1/1.8.6 source code conflicts/errors — jzakiya <jzakiya@...>
[#354838] Regex help — Chris Lervag <chris.lervag@...>
Hi
[#354867] File::exists?( "filename with a blank in it" ) — Ralph Shnelvar <ralphs@...32.com>
Newbie here/
[#354874] bellhop 1.0.0 released — Gregory Brown <gregory.t.brown@...>
Hi folks,
On Mon, Jan 11, 2010 at 2:51 PM, Gregory Brown
El Martes, 12 de Enero de 2010, Gregory Brown escribi=F3:
On Tue, Jan 12, 2010 at 2:02 PM, I=F1aki Baz Castillo <ibc@aliax.net> wrote=
And what is it?
[#354877] redirecting output ruby and from stdout results in blank file — "comp.lang.ruby" <steve.c.hanna@...>
Hi all, I'm executing a program from within my ruby script and
[#354901] How to close a TCP socket? (TCPSocket#close doesn't close it) — Iñaki Baz Castillo <ibc@...>
Hi, perhaps I miss something but when I close a TCP connection using=20
On Tue, Jan 12, 2010 at 11:43 AM, I=F1aki Baz Castillo <ibc@aliax.net> wrot=
El Martes, 12 de Enero de 2010, Lars Christensen escribi=F3:
El Martes, 12 de Enero de 2010, I=F1aki Baz Castillo escribi=F3:
[#354907] XML Manipulating — Anandh Kumar <anandhthiyagarajan@...>
Hi everybody
[#354910] Is 'rescue' expensive ? — "R. Kumar" <sentinel.2001@...>
If i use something like:
El Martes, 12 de Enero de 2010, R. Kumar escribi=C3=B3:
I単aki Baz Castillo wrote:
R. Kumar wrote:
[#354915] 3D with Ruby (Ogre ?) — Marc-antoine Kruzik <kadelfek@...>
Hello, I'm french, sorry for my mistakes.
Marc-antoine Kruzik wrote:
On Tue, Jan 12, 2010 at 8:55 AM, Brian Candler <b.candler@pobox.com> wrote:
ruby-processing, give you the 3D an OpenGL power Processing has:
Hello Marc-antoine and Brian:
2010/1/12 Michael Brooks <michael.brooks@shaw.ca>:
Hello Michal:
2010/1/15 Michael Brooks <michael.brooks@shaw.ca>:
On 15.01.2010 07:40, Michal Suchanek wrote:
2010/1/15 Phillip Gawlowski <pg@thimian.com>:
[#354930] Using underscores for "private" instance variables? — Jeff <cohen.jeff@...>
I noticed that Rails core is adopting a style of using an underscore
On Tue, Jan 12, 2010 at 10:33 AM, Jeff <cohen.jeff@gmail.com> wrote:
On Jan 12, 9:48=A0am, Gregory Brown <gregory.t.br...@gmail.com> wrote:
[#354932] Binding scope — Dave Birch <thisisdaveb@...>
Hi,
Dave Birch wrote:
Hi Marnen
Dave Birch wrote:
Marnen Laibow-Koser wrote:
[#354945] NOOB Question on Instance Variable — BlueHandTalking <jet@...>
I have a class photo. It belongs_to a project.
[#354946] TCPSocket doesn't detect remote disconnection inmediatelly — Iñaki Baz Castillo <ibc@...>
Hi, I'm experimenting an annoying issue when a server disconnects a TCP=20
I単aki Baz Castillo wrote:
El Martes, 12 de Enero de 2010, Brian Candler escribi=C3=B3:
On Tue, Jan 12, 2010 at 1:21 PM, I=F1aki Baz Castillo <ibc@aliax.net> wrote=
El Martes, 12 de Enero de 2010, Aaron Turner escribi=F3:
[#354951] SPOJ ? Test for end of file input — Aldric Giacomoni <aldric@...>
Here's the problem:
Aldric Giacomoni wrote:
[#354974] WIN32OLE memory leaks — Chuck Remes <cremes.devlist@...>
In my ruby code I am making a call out to a COM object that is
On Jan 12, 6:19=A0pm, Chuck Remes <cremes.devl...@mac.com> wrote:
On Wed, Jan 13, 2010 at 10:55 AM, Chuck Remes <cremes.devlist@mac.com> wrote:
Hello,
On Sat, Jan 16, 2010 at 01:59:55AM +0900, Chuck Remes wrote:
On Jan 16, 2010, at 5:25 AM, Masaki Suketa wrote:
Chuck Remes wrote:
On Mar 18, 2010, at 2:15 PM, William Rutiser wrote:
Chuck Remes wrote:
[#354983] ffi, kerberos — Daniel Berger <djberg96@...>
Hi,
[#354992] how to judge the command result of batch by Net::telnet — Liu Nuaadupu <nuaadupuliu@...>
telnet = Net::Telnet::new("Host" => "192.168.0.16",
[#355002] Ruby Regex — Sriram Varahan <sriram.varahan@...>
Hello,
Sriram Varahan wrote:
2010/1/13 Brian Candler <b.candler@pobox.com>:
Robert Klemme wrote:
Gary Wright wrote:
Marnen Laibow-Koser wrote:
[#355020] Bug with end of string characters in regex? — Justin Coyne <digger250@...>
/\A\n\Z/m.match("\n\n") => #<MatchData>
Looks like I've solved my own problem the \Z in ruby doesn't have the
On Wed, Jan 13, 2010 at 6:33 PM, Justin Coyne <digger250@gmail.com> wrote:
[#355036] Recommended Reading (also: Arrays/Hashes) — Zach Bartels <no@...>
Hi all,
Thanks for those replies all, I definitely got back more input than I
[#355044] Gem build issues Ubuntu 9.10 64 bit — Dale Ackerman <dale8458@...>
dale@dale-desktop:~$ sudo gem install mysql
[#355074] os gem: initial release: easier platform management — Roger Pack <rogerpack2005@...>
Initial release of the OS gem.
[#355085] How to know the OS architecture (32 or 64 bits)? — Iñaki Baz Castillo <ibc@...>
Hi, is there a reliable way under Ruby to know the OS architecture (32 or 6=
On 1/14/2010 4:12 PM, I単aki Baz Castillo wrote:
On 1/15/2010 9:36 AM, Walton Hoops wrote:
El Viernes, 15 de Enero de 2010, Walton Hoops escribi=C3=B3:
El Viernes, 15 de Enero de 2010, I=C3=B1aki Baz Castillo escribi=C3=B3:
On 1/15/2010 9:59 AM, I単aki Baz Castillo wrote:
On Fri, Jan 15, 2010 at 2:28 PM, Roger Pack <rogerpack2005@gmail.com> wrote=
[#355087] Building mysql extension/gem with MinGW (was Re: Gem build issues Ubuntu 9.10 64 bit) — Eric Christopherson <echristopherson@...>
On Thu, Jan 14, 2010 at 5:26 PM, Eric Christopherson
On Jan 14, 9:11=A0pm, Eric Christopherson <echristopher...@gmail.com>
[#355089] Notifying via Terminal in Linux — Kurtis Rainbolt-greene <thinkwritemute@...>
So I've got this idea for a linux CLI program, and one of the things I
El Viernes, 15 de Enero de 2010, Kurtis Rainbolt-greene escribi=C3=B3:
[#355102] Float Points error — "THAKUR PRASHANT SINGH" <Prashant_Singh.Thakur@...>
Hi,
On 15.01.2010 05:56, THAKUR PRASHANT SINGH wrote:
On 2010-01-15, Phillip Gawlowski <pg@thimian.com> wrote:
On 15.01.2010 09:00, Seebs wrote:
On Fri, Jan 15, 2010 at 8:08 AM, Phillip Gawlowski <pg@thimian.com> wrote:
On Sat, Jan 16, 2010 at 6:37 AM, Colin Bartlett <colinb2r@googlemail.com> wrote:
[#355122] End of line problem with xmlrpc — Hubert Martin-deidier <hubert.martin-deidier@...>
Hello all,
[#355131] Please Help I'm new in Ruby -- Input Problem — Nolly Mejia <nolly@...>
Hi,
Nolly Mejia wrote:
[#355146] Not able to create using rake — Jagadeesh <mnjagadeesh@...>
jagadeesh@jagadeesh-laptop ~/TODO/mysql $ rake db:create:all
[#355181] How to know if $stderr is reopened to /dev/null — Iñaki Baz Castillo <ibc@...>
Hi, how could I know if $stderr has been redirected to /dev/null?
On 2010-01-15, Iki Baz Castillo <ibc@aliax.net> wrote:
[#355200] How can I modify the xml file directly? — Milo Luo <lxybhbh@...>
Hi, folks
On 2010-01-16, Milo Luo <lxybhbh@gmail.com> wrote:
[#355202] Solar System (#227) — Daniel Moore <yahivin@...>
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=
[#355210] racc error on new 1.9 hash syntax — Michel Demazure <michel@...>
racc 1.4.6 does not understand when parsing " in: value "
On Sun, Jan 17, 2010 at 12:37:42AM +0900, Michel Demazure wrote:
Aaron Patterson wrote:
[#355218] Strange Encoding Behavior — Lui Kore <usurffx@...>
The encoding of __FILE__ is always the same as Encoding.default_external
[#355228] GPGME gem - cannot figure out how to decrypt data — Daniel Frank <ruby-talk-2597@...>
Hello,
Daniel Frank <ruby-talk-2597@danielfrank.net> writes:
Am 17.01.2010 13:24, schrieb Daiki Ueno:
Am 17.01.2010 14:19, schrieb Daiki Ueno:
Daniel Frank <ruby-talk-2597@danielfrank.net> writes:
Am 18.01.2010 08:08, schrieb Daiki Ueno:
[#355233] Which source file? — Ralph Shnelvar <ralphs@...32.com>
Windows development environment.
[#355239] capistrano: saving a result on var — botp <botpena@...>
Hi All,
[#355249] What does ||= represent in this situation? — John Merlino <stoicism1@...>
Hey all, || is equal to Or. So what would ||= in this situation?
John Merlino wrote:
On Sun, Jan 17, 2010 at 11:31 AM, John Merlino <stoicism1@aol.com> wrote:
[#355255] Can not install fxri — Ronald Fischer <rovf_via_ruby_forum@...>
I would like to install fxri:
[#355258] image processing in ruby — Michal Suchanek <hramrach@...>
Hello
[#355259] Newbie needs help getting started — Cary Swoveland <cary@...>
I have just written the code for my first Ruby program, one that finds
Cary Swoveland wrote:
AB & Justin,
Cary Swoveland wrote:
[#355265] name of method? — Ralph Shnelvar <ralphs@...32.com>
How do I get the name of a method?
[#355266] Can't install gems (Windows) — Sal <salbass575@...>
I am unable to install any gems now on my Windows 7 machine running
On Jan 17, 7:27=A0pm, Sal <salbass...@hotmail.com> wrote:
On Jan 17, 10:38=A0pm, Alpha Blue <jdezen...@gmail.com> wrote:
[#355272] java-inline 0.0.3, with Duby support — Charles Oliver Nutter <headius@...>
Just released java-inline 0.0.3, which now supports Duby as well.
Charles Nutter wrote:
[#355273] Manipulating big hunks of data — Seebs <usenet-nospam@...>
Is there any kind of container-like-thing in Ruby for the special case
[#355281] basic question: passing a modifiable argument to a routine — lalawawa <usenet@...>
Arguments to subroutines seem to be passed by value in ruby
[#355293] what does this mean? — Ruby Newbee <rubynewbee@...>
For this statement:
Ruby Newbee wrote:
[#355304] Ruby Array to Java Script Array — "THAKUR PRASHANT SINGH" <Prashant_Singh.Thakur@...>
Hi,
[#355324] MVC .... Many views and one controller — Ralph Shnelvar <ralphs@...32.com>
What's the right RoR way if a controller needs to display one of many
El Lunes, 18 de Enero de 2010, Ralph Shnelvar escribi=C3=B3:
[#355340] SNMP in rails — Atheeq Pasha <atheeq@...>
[#355374] Integer class error — Atheeq Pasha <atheeq@...>
Hello,
[#355378] Return class as Integer — Atheeq Pasha <atheeq@...>
hello,
[#355392] Creating GUI applications with Ruby 1.9.1 — Alpha Blue <jdezenzio@...>
I'm wanting to port over a GUI app I created into ruby so that it
On 19.01.2010 05:17, Alpha Blue wrote:
On Jan 19, 7:57=A0am, Stefano Crocco <stefano.cro...@alice.it> wrote:
Roger Pack wrote:
On Jan 19, 9:06=A0pm, Marnen Laibow-Koser <mar...@marnen.org> wrote:
Bosko Ivanisevic wrote:
I liked the look of wxruby as well so I went ahead and installed the
[#355405] string to int — Phillip Curry <philfo@...>
Is there a nice way to convert a string to an integer if it is in fact an
On Tue, Jan 19, 2010 at 11:13 AM, Phillip Curry <philfo@gmail.com> wrote:
[#355415] Working with SNMP — Atheeq Pasha <atheeq@...>
Hello,
[#355461] Looking for object.inherits?(Classname) — Xeno Campanoli <xeno.campanoli@...>
I'm looking for a way to make sure an object being passed is in some class
2010/1/20 Xeno Campanoli <xeno.campanoli@gmail.com>:
Robert Klemme wrote:
[#355464] what does the followed_by construct mean? — Dan Quach <danbus@...>
I'm reading some code and it states..
[#355473] help on a script — Ruby Newbee <rubynewbee@...>
Hi,
[#355475] New AES gem available -- fast-aes — Nate Wiger <nwiger@...>
I've just released a new AES gem for Ruby, written in C for speed.
[#355484] rubygems-sing 1.0.0 Released — Ryan Davis <ryand-ruby@...>
rubygems-sing version 1.0.0 has been released!
[#355487] Best practices when writing destructive code — Adam Akhtar <adamtemporary@...>
Im going to be making and removing lots of directories using ruby and Im
On 2010-01-20, Adam Akhtar <adamtemporary@gmail.com> wrote:
[#355491] WxRuby and DialogBlocks Questions — Alpha Blue <jdezenzio@...>
Hi everyone,
[#355498] Multi-threaded DBI causing segfault — Xavier No謖le <xavier.noelle@...>
Hello,
[#355504] Sending form data to a text file — "Will H." <iamblu37@...>
Hi,
[#355515] extending ruby: ruby_init() instacloses process — Nilbert Nullingsworth <yakahughes@...>
Hey guys, I am extending ruby in a C++ program. I have all the headers
[#355525] Follow TCP Stream in Ruby — "THAKUR PRASHANT SINGH" <Prashant_Singh.Thakur@...>
Hi,
[#355530] ruby bounties--list of bounties — Roger Pack <rogerdpack2@...>
Fifth time's a charm (durn spam filters)
On Thu, Jan 21, 2010 at 12:07 AM, Roger Pack <rogerdpack2@gmail.com> wrote:
On Sat, Jan 23, 2010 at 11:49 PM, Roger Pack <rogerpack2005@gmail.com> wrote:
On Sun, Jan 24, 2010 at 09:15:56PM +0900, Charles Oliver Nutter wrote:
On 25 Jan 2010, at 05:29, Aaron Patterson wrote:
On Mon, Jan 25, 2010 at 6:29 AM, Aaron Patterson
On Mon, Jan 25, 2010 at 7:37 AM, Charles Oliver Nutter
On Mon, Jan 25, 2010 at 6:25 PM, Mike Dalessio <mike.dalessio@gmail.com> wrote:
On Mon, Jan 25, 2010 at 1:12 PM, Charles Oliver Nutter
On Mon, Jan 25, 2010 at 2:17 PM, Chuck Remes <cremes.devlist@mac.com> wrote:
[#355541] Ruby equivalent of C# "using keword" and IDispose — Peter Alvin <form@...>
What is the most expedient way to do this C# construct in Ruby?
[#355547] Unexpected Hash#first return under Ruby1.9 — Iñaki Baz Castillo <ibc@...>
Hi, Ruby 1.9 implements "first" method for Hash (as Hash are ordered now).
在 2010-01-21四的 22:22 +0900,Iñaki Baz Castillo写道:
在 2010-01-21四的 22:22 +0900,Iñaki Baz Castillo写道:
El Jueves, 21 de Enero de 2010, Jeff Peng escribi=C3=B3:
Il 21/01/10 14.46, Iñaki Baz Castillo ha scritto:
[#355561] Should Nokogiri replace REXML? — Intransition <transfire@...>
This is probably more suited to the ruby-core mailing list, but as I
[#355563] Rails ADODB.Connection Error — gregarican <greg.kujawa@...>
I know this isn't exclusively a Rails list, so I apologize in advance.
[#355579] an elegant way to modify all lines from file by using map() function? — RobertGawron <mojwpisdao@...>
Hi all,
[#355582] Threads or Fibers - which should I use? — Alpha Blue <jdezenzio@...>
My application will perform a number of tasks. As it is a GUI
Alpha Blue wrote:
[#355599] thread example — Ruby Newbee <rubynewbee@...>
Hello,
[#355600] Ruby c extensions on windows — Philliam Auriemma <phil.auriemma@...>
Hey guys,
[#355604] Get time object from the web? — Jose Wong <josevemon7@...>
Hello there.
Jose Wong wrote:
Friday, January 22, 2010, 4:21:08 AM, you wrote:
On Fri, Jan 22, 2010 at 11:43 AM, Ralph Shnelvar <ralphs@dos32.com> wrote:
[#355608] problem with gem 1.3.2 upgrade — Nick Oconnor <nickoc123@...>
trying to update from gem 1.3.1 to 1.3.2. downloaded 1.3.2 to harddrive.
[#355625] Parse a String — Sean Warburton <sean_warburton@...>
Hello,
[#355638] Argh?! :) kEND, $end and kELSE in a simple program — Jet Koten <jetkoten@...>
Hi,
Judging from your error message, you might get a more helpful error
And for everyone's reference, my code now looks like this:
[#355664] newbie help — Se Ed <sethaedwards@...>
I am having a problem with using the test-unit gem
[#355667] How to use WIN32OLE to Save As PDF — Joe Peck <joep@...>
Hi,
On Jan 22, 2:08=A0pm, Joe Peck <j...@scimedsolutions.com> wrote:
Greg Kujawa wrote:
On 22.01.2010 20:27, Joe Peck wrote:
Alrighty, so I figured it out.
On Fri, Jan 22, 2010 at 3:05 PM, Joe Peck <joep@scimedsolutions.com> wrote:
[#355688] why is rails/ruby automatically rounding to whole numbers. — Morgan Morgan <nagromh@...>
@wtf= 751 / 750
[#355694] Use Ruby to make a MTU sweep utility (Ping) — Dale Ackerman <dale8458@...>
Hi
On 23.01.2010 03:40, Dale Ackerman wrote:
On Fri, Jan 22, 2010 at 11:03 PM, Dale Ackerman <dale8458@gmail.com> wrote:
On 23.01.2010 05:30, Dale Ackerman wrote:
[#355697] search datetime column for all records that start at 11:00 — Morgan Morgan <nagromh@...>
i have to count how many records are in a database that have a start
[#355704] Test for OS name from inside ruby script — Dale Ackerman <dale8458@...>
How do I test in my scripts for the OS type? So I can conditionally run
[#355708] LA Ruby Conf 2010 - All presentations / schedule is available now! — Coby Randquist <cobyr@...>
The presentations for LA Ruby Conference are published on the site now.
[#355717] Re: how to define []= — hagbard <sin3141592@...>
> But how do we define the set method `[]='?
[#355718] Problems with Telnet — Sean Warburton <sean_warburton@...>
Firstly I'm a total newbie not just to Ruby but programming full stop so
[#355728] Writing proper getter in a Ruby way — Benoit Daloze <eregontp@...>
Hi Rubyists !
Benoit Daloze wrote:
[#355730] Class variable inside block of defining instance method — Mikkel Kroman <mk@...>
Hello.
Ruby doesn't scope quite like that normally, but you can do it using
[#355745] Sup 0.10 released — William Morgan <wmorgan-ruby-talk@...>
I'm pleased to announce the release of Sup 0.10. This version is
[#355755] Invoking Ruby 1.9.1 interpreter within C, on OS X gcc — Paul Wuersig <paulwuersig@...>
As part of a project, I'm trying to set up a system that can run Ruby
[#355773] how to represent a single backslash? — lalawawa <usenet@...>
How do a put a single backslash into a string in Ruby?
[#355792] gsub problem — lalawawa <usenet@...>
I'm trying to use gsub to put escapes before single quotes.
[#355797] Nested hash with arrays for default value — Glen Holcomb <damnbigman@...>
I'm trying to find a "nice" way to make a nested hash with an empty array a=
On Mon, Jan 25, 2010 at 6:48 PM, Glen Holcomb <damnbigman@gmail.com> wrote:
2010/1/25 Jes=FAs Gabriel y Gal=E1n <jgabrielygalan@gmail.com>
On Mon, Jan 25, 2010 at 10:28 PM, Gary Wright <gwtmp01@mac.com> wrote:
2010/1/25 Jes=FAs Gabriel y Gal=E1n <jgabrielygalan@gmail.com>
On Mon, Jan 25, 2010 at 10:49 PM, Glen Holcomb <damnbigman@gmail.com> wrote=
2010/1/26 Jes=FAs Gabriel y Gal=E1n <jgabrielygalan@gmail.com>
[#355824] johnson 1.2.0 Released — John Barnette <jbarnette@...>
johnson version 1.2.0 has been released!
On Tue, Jan 26, 2010 at 2:58 AM, John Barnette <jbarnette@gmail.com> wrote:
[#355829] Basic XML POST using Ruby to Cisco Call Manager — jackster the jackle <johnsheahan@...>
I have been tasked with writing a ruby script to poll the XML/SOAP
[#355832] Build a hash from ARGV, the Ruby way — Toby Rodwell <trodwell@...>
I would like to build a hash from ARGV using UNIX type notation ie any
[#355846] anyone can help? — Rihana Liu <menglee638@...>
Hi
On 2010-01-26, David Masover <ninja@slaphack.com> wrote:
[#355859] Pass arguments to 'require' — Toby Rodwell <trodwell@...>
[You will be able to tell from what follows that I'm not a programmer -
[#355884] Installing Ruby Application — Tony Meier <tony4l@...>
What's the best way to install a Ruby (non-rails) application?
[#355891] Open Source Subversion Hosting — Intransition <transfire@...>
Looking for Rubyist's recommendations for free open-source Subversion
Thomas Sawyer wrote:
On Tue, Jan 26, 2010 at 11:48 AM, Marnen Laibow-Koser <marnen@marnen.org> w=
Gregory Brown wrote:
[#355907] Find the parameters of each method in a class — Chris Gunnels <rfsllc@...>
Is there a way to find the parameters of each method in a class? For
You can find the arity of said methods, but afaik not the names of the
[#355928] dynamically set named_scope based on current_user — John Merlino <stoicism1@...>
[#355933] Distressing Doc — lalawawa <usenet@...>
I was reading www.ruby-lang.org, and under "To Ruby From C and C++" it said
[#355937] Build an array using data from an exisiting array — Sean Warburton <sean_warburton@...>
I'm buiding a script at the moment and part of it receives a trigger via
How about something like:
[#355939] can't update and install gem — Johny ben <joh13ny@...>
os:win xp
[#355950] How to connect to Mysql & Query for Database Tables — Idealone Ideally <shekarls@...>
Hi Guys,
[#355959] first rails app failed — Ruby Newbee <rubynewbee@...>
I just started my lesson on rails and followed the steps in the book
Ruby Newbee wrote:
On Wed, Jan 27, 2010 at 5:31 PM, Brian Candler <b.candler@pobox.com> wrote:
[#355962] Why does `source .bashrc` complain "command not found"? — Adam Akhtar <adamtemporary@...>
Is it just me or is this something that just cant be done?
Adam Akhtar wrote:
Thank you very much for both of your replies. I just tried
[#355979] being confused about libraries — Ruby Newbee <rubynewbee@...>
Hello,
On 27.01.2010 13:20, Ruby Newbee wrote:
[#355986] Inconsistency - map/collect not returning enumerator — Brian Candler <b.candler@...>
This seems a bit of an anomoly:
[#355997] Class with Multi Constrcutor ( initialize ) — Mido Peace <mido.peace@...>
Hey ..
Hello Mido,
On 27.01.2010 16:58, Pierre Lecocq wrote:
Robert Klemme wrote:
[#356010] Use Non-Java Version of Gem — Bryan Richardson <btrichardson@...>
Hello all,
On Jan 27, 9:43=A0pm, Bryan Richardson <btrichard...@gmail.com> wrote:
Luis Lavena wrote:
On Thu, Jan 28, 2010 at 7:17 AM, Bryan Richardson
Hassan Schroeder wrote:
Bryan Richardson wrote:
Marnen Laibow-Koser wrote:
[#356014] String Manipulation Problems (decoding hex) — Oreo Shake <neil.matatall@...>
First, I'm a java guy. I have a file that contains hex (e.g.
[#356017] Add a class variable with a mixin — Gene Shuman <geneshuman@...>
Is it easily possible to add a class variable to a class via a Mixin?
[#356019] rubygems-sing 1.2.0 Released — Ryan Davis <ryand-ruby@...>
rubygems-sing version 1.2.0 has been released!
[#356034] Amazon AWS libraries? — Alex Young <alex@...>
I did some work last year with AWS, and at that time the RightScale
[#356042] gsub not working to replace a 'Chinese' Charater. — Ryan Smith <sunraise2005@...>
gsub not works for me when replace 'DBCS'(double byte character set)
On Thu, Jan 28, 2010 at 5:05 PM, Ryan Smith <sunraise2005@gmail.com> wrote:
[#356044] Regex or line.each seems to not be working. — Brad Mr <oshybrid@...>
I have been banging my head over this for 2 days. The following is to
Roger Pack wrote:
Brad Mr wrote:
[#356067] What am I doing wrong? — Ast Jay <azzzz@...>
I didn't see a beginners forum - hope it's ok to post this here.
[#356076] rdoc_osx_dictionary 1.0.1 Released — Ryan Davis <ryand-ruby@...>
rdoc_osx_dictionary version 1.0.1 has been released!
If installed gems share the same class name, eg. mime-types mimetype-fu
Ryan Davis wrote:
I had a similar problem, but with a merb gem (merb-slices). Output is
[#356079] bless roger's gnuplot as official? — bwv549 <jtprince@...>
I really like the original rgplot (aka 'gnuplot' gem). It is a great
[#356106] newbie help : Ruby Processin — Jerome david Sillinger <imran.nazir@...>
Hello, Looking at the code in the attached file can someone please
[#356108] How to debug capistrano? — Fritz Trapper <ajfrenzel@...>
I have a hard authentication problem with capistrano and want to track
On Jan 29, 2010, at 11:30 AM, Fritz Trapper wrote:
[#356117] Preventing TkRoot from resizing — Philliam Auriemma <phil.auriemma@...>
I have googled to no avail, so does anyone know how I would keep a
[#356118] newbie question: Accessiong non-Windows DLL's — Rich Maniscalco <tmprman@...>
Hello,
[#356134] How do I use a variable in a regexp search string? — joemac <joemacbusiness@...>
Hi All,
On Jan 29, 7:38=A0pm, Harry Kakueki <list.p...@gmail.com> wrote:
[#356153] "require 'rubygems'" In Your Library/App/Tests Is Wrong? — Joe Wangkauf <tmo1138@...>
On Sat, Jan 30, 2010 at 6:05 PM, Joe Wangkauf
I wonder how many people _don't_ use rubygems. What creates more work,
Josh Cheek:
On Sat, Jan 30, 2010 at 1:05 PM, Xavier Noria <fxn@hashref.com> wrote:
[#356162] Refining the use of file joins or file expand_path — Alpha Blue <jdezenzio@...>
Both bits of code process the same result which is finding .rb file
On Jan 30, 9:24=A0pm, Alpha Blue <jdezen...@gmail.com> wrote:
pharrington wrote:
Ryan Davis wrote:
Just to clarify what I mean about paradigms,
Gary Wright wrote:
I encountered a particular issue over the last couple of days when I
2010/2/1 Alpha Blue <jdezenzio@gmail.com>:
[#356190] Inheritance related problem — "R. Kumar" <sentinel.2001@...>
Note: this is *not* a ruby bug. its a general query.
> When Parent's printa is called, it calls its own printb.
Sean DeNigris wrote:
2010/1/31 R. Kumar <sentinel.2001@gmx.com>:
[#356198] Packaging source files on multiple OSs — Alpha Blue <jdezenzio@...>
Can anyone direct me to an article or site that shows how to package
Compiling a list of things I found so far:
GPGME gem - cannot figure out how to decrypt data
Hello,
I'm pretty new to ruby and this is my first real program I'm writing.
Currently I face an issue with the GPGME gem that I cannot figure out
how to solve: The GPGME::decrypt method does not seem to work as I
expect it, after reading the documentation.
In fact the program seems to hang somewhere during the decryption. My
guess is that something is wrong with my passphrase callback method, but
I cannot figure out how this needs to be done, as the examples for the
gem does not contain a decryption example, only a signing example from
which I have copied the passphrase callback method, but the method does
not seem to work, as the callback method seems to be called with no
arguments.
I have written a test script to work on this problem, it can be found at
the end of the email.
When it hangs after the passphrase callback, after waiting about 10
seconds I'm pressing ^C to interrupt the script. The output of the test
script is as follows:
$ RUBYOPT=rubygems ruby test.rb
pwd:
xxx
encrypting
dumping to file
decrypting
Passphrase callback
^C/var/ruby/1.8/gem_home/gems/gpgme-1.0.8/lib/gpgme.rb:1212:in
`decrypt_verify': Interrupt
from
/var/ruby/1.8/gem_home/gems/gpgme-1.0.8/lib/gpgme.rb:134:in `decrypt'
from
/var/ruby/1.8/gem_home/gems/gpgme-1.0.8/lib/gpgme.rb:943:in `new'
from
/var/ruby/1.8/gem_home/gems/gpgme-1.0.8/lib/gpgme.rb:130:in `decrypt'
from test.rb:51:in `decrypt'
from test.rb:43:in `run_test'
from test.rb:33:in `initialize'
from /usr/ruby/1.8/lib/ruby/1.8/singleton.rb:94:in `new'
from /usr/ruby/1.8/lib/ruby/1.8/singleton.rb:94:in `instance'
from test.rb:56
$ gpg --decrypt edata
You need a passphrase to unlock the secret key for
user: "xxxx xxxxxxxxxxxx <none@xxxx.xxxxxx.de>"
4096-bit RSA key, ID D2BBECEB, created 2010-01-12 (main key ID ADE8309D)
gpg: encrypted with 4096-bit RSA key, ID D2BBECEB, created 2010-01-12
"xxxx xxxxxxxxxxxx <none@xxxx.xxxxxx.de>"
Dummy test data
Dummy test data
Dummy test data
Dummy test data
Dummy test data
The fact that gpg is able to decrypt the data shows that the encryption
of the data is working perfectly fine, I just cannot figure out how to
do the decryption in GPGME.
A google search for GPGME::decrypt did not help, I could not find
anything besides the documentation of the module.
Script:
#!/usr/bin/env ruby
require 'singleton'
require 'gpgme'
class SMGConfig
include Singleton
attr_accessor :gpg_key
attr_accessor :gpg_password
def initialize()
@gpg_key = 'ADE8309D'
puts "pwd:"
@gpg_password = gets
end
end
#def passfunc(hook, uid_hint, passphrase_info, prev_was_bad, fd)
# config = SMGConfig.instance
# puts "Passphrase callback"
# io = IO.for_fd(fd, 'w')
# io.puts(config.gpg_password)
# io.flush
#end
def passfunc()
SMGConfig.instance.gpg_password
end
class GPG
include Singleton
def initialize()
@config = SMGConfig.instance
run_test()
end
def run_test()
# Run a test if gpg is able to start and encrypt and
decrypt data reliably with the known password
data = "Dummy test data\n" * 5
puts "encrypting"
edata = encrypt(data)
puts "dumping to file"
File.open('edata', 'w') { | f | f.write(edata) }
puts "decrypting"
ddata = decrypt(edata)
puts "GPG failed to initialize" if !(data.eql?(ddata))
puts "done run_test"
end
def encrypt(data)
edata = GPGME::encrypt(@config.gpg_key, data)
end
def decrypt(edata)
GPGME::decrypt(edata, { :passphrase_callback => passfunc })
end
end
$stdout.sync = true
x = GPG.instance