Cygwin now switched to 1.9

2012-09-05 Thread Robert Klemme
Folks, good news for all Windows users: the Cygwin version of Ruby is now 1.9.3p194 http://cygwin.com/packages/ruby/ Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ -- You received this message because you are subscribed to the Go

Re: best coding for limiting a value

2012-09-05 Thread Robert Klemme
On Wed, Sep 5, 2012 at 11:46 AM, Nathan Weldegorges wrote: > haha good one ;) And it wasn't even intended as joke. I can think of various goals which will prompt different responses, e.g. - performance - readability - shortness Without knowing the goal the question is incomplete and cannot

Re: Parsing Newb Help

2012-09-05 Thread Robert Klemme
On Wed, Sep 5, 2012 at 3:40 AM, 7stud -- wrote: > I'm not at all clear what the *specific* things are that you want to > extract from the website. > > In any case, you need to click on View/Source in your browser and > examine the raw html to figure out what tags you need to extract and how > to

Re: faster CSV process only one row!

2012-09-05 Thread Robert Klemme
On Tue, Sep 4, 2012 at 7:31 PM, ajay paswan wrote: > Robert Klemme wrote in post #1074649: >> On Tue, Sep 4, 2012 at 3:25 PM, ajay paswan >> wrote: >>> Suppose I have a string s, which is basically a CSV, how can I get it as >>> array using fastercsv? Or any simple way? >> >> How about looking at

Re: Socket Decorator

2012-09-05 Thread Robert Klemme
On Tue, Sep 4, 2012 at 7:53 PM, Bernhard Brodowsky wrote: > Robert Klemme wrote in post #1074648: >> On Tue, Sep 4, 2012 at 2:34 PM, Bernhard Brodowsky >> wrote: >>> Hi, I am implementing a special kind of socket that takes an io object >>> (usually a socket) as its argument and then behaves like