[#377882] remove array bracket — Kamarulnizam Rahim <niezam54@...>

Hi when i run my script, the output is as followed:

18 messages 2011/02/02

[#378046] Setter method for Hash value — Rolf Pedersen <rolfhsp@...>

Hi

20 messages 2011/02/03
[#378052] Re: Setter method for Hash value — Brian Candler <b.candler@...> 2011/02/03

Rolf Pedersen wrote in post #979431:

[#378056] Re: Setter method for Hash value — Rolf Pedersen <rolfhsp@...> 2011/02/03

Hi Brian (and others who have contributed with suggestions along the same

[#378144] C extension: How to check if a VALUE is still alive (not being GC'ed)? — Iñaki Baz Castillo <ibc@...>

Hi, I'm coding an async DNS resolver for EventMachine based on udns (a

13 messages 2011/02/05
[#378171] Re: C extension: How to check if a VALUE is still alive (not being GC'ed)? — Tony Arcieri <tony.arcieri@...> 2011/02/06

On Sat, Feb 5, 2011 at 4:02 PM, I=F1aki Baz Castillo <ibc@aliax.net> wrote:

[#378179] Re: C extension: How to check if a VALUE is still alive (not being GC'ed)? — Iñaki Baz Castillo <ibc@...> 2011/02/06

2011/2/6 Tony Arcieri <tony.arcieri@medioh.com>:

[#378199] Choosing an office suite — Hilary Bailey <my77elephants@...>

I am trying to decide which office suite to choose from. The only

30 messages 2011/02/07
[#378229] Re: Choosing an office suite — Phillip Gawlowski <cmdjackryan@...> 2011/02/07

On Mon, Feb 7, 2011 at 11:15 AM, Hilary Bailey <my77elephants@gmail.com> wrote:

[#378202] making hash key from arrays — Arihan Sinha <arihan_sinha@...>

Hi All,

11 messages 2011/02/07

[#378254] "permission denied" happening too often — Peter Bailey <pbailey@...>

Hello,

15 messages 2011/02/08
[#378256] Re: "permission denied" happening too often — Anurag Priyam <anurag08priyam@...> 2011/02/08

> I've got Ruby scripts that have been working fine for years now. But,

[#378257] Re: "permission denied" happening too often — Markus Schirp <mbj@...> 2011/02/08

You can also try to strace your script. In the logs you'll find the system

[#378259] Re: "permission denied" happening too often — Peter Bailey <pbailey@...> 2011/02/08

Markus Schirp wrote in post #980289:

[#378307] undefined class/module YAML::PrivateType - Error — "Priya D." <dharsininitt@...>

Hi,

11 messages 2011/02/09

[#378341] System calls with ` in parameters — "Gerad S." <geradstemke@...>

Hi All,

12 messages 2011/02/09

[#378618] Defining class methods — Tony Arcieri <tony.arcieri@...>

It seems there are 3 ways of defining class methods (at least in common

12 messages 2011/02/16

[#378685] LiveAST: a pure Ruby 1.9.2 library obtaining live abstract syntax trees — "James M. Lawrence" <quixoticsycophant@...>

= LiveAST

13 messages 2011/02/18

[#378753] posix_mq : Problem installing on HPUX — Tadeusz Bochan <tad.bochan@...>

Hello,

13 messages 2011/02/20

[#378890] a, b = Array.new(2).map!{|x| data.dup} — Stefan Salewski <mail@...>

I think I can replace this code

19 messages 2011/02/23
[#378892] Re: a, b = Array.new(2).map!{|x| data.dup} — niklas | brueckenschlaeger <niklas@...> 2011/02/23

Are you sure you can't rework your code to *not* copy data 5x? I assume

[#378899] Re: a, b = Array.new(2).map!{|x| data.dup} — Stefan Salewski <mail@...> 2011/02/23

On Thu, 2011-02-24 at 07:00 +0900, niklas | brueckenschlaeger wrote:

[#378941] Automatic question generator libs in Ruby Language — Sniper Abandon <sathish.salem.1984@...>

is there any Automatic question generator libraries in Ruby Language ?

20 messages 2011/02/24
[#379058] Re: Automatic question generator libs in Ruby Language — Sniper Abandon <sathish.salem.1984@...> 2011/02/27

suppose if i have a paragraph (arround 250 words)

[#379172] Re: Automatic question generator libs in Ruby Language — Shadowfirebird <shadowfirebird@...> 2011/03/01

> i want to get all the possible question from that paragraph

[#379174] Re: Automatic question generator libs in Ruby Language — Peter Zotov <whitequark@...> 2011/03/01

On Tue, 1 Mar 2011 19:31:36 +0900, Shadowfirebird wrote:

[#379175] Re: Automatic question generator libs in Ruby Language — Adam Prescott <mentionuse@...> 2011/03/01

On Tue, Mar 1, 2011 at 10:55 AM, Peter Zotov <whitequark@whitequark.org>wrote:

[#379177] Re: Automatic question generator libs in Ruby Language — Peter Zotov <whitequark@...> 2011/03/01

On Tue, 1 Mar 2011 20:02:13 +0900, Adam Prescott wrote:

[#379179] Re: Automatic question generator libs in Ruby Language — Adam Prescott <mentionuse@...> 2011/03/01

On Tue, Mar 1, 2011 at 12:28 PM, Peter Zotov <whitequark@whitequark.org>wrote:

[#378949] why is $1 in a grep() equal to nil? — 7stud -- <bbxx789_05ss@...>

class DataSource

16 messages 2011/02/24
[#378953] Re: why is $1 in a grep() equal to nil? — Eric Christopherson <echristopherson@...> 2011/02/25

On Thu, Feb 24, 2011 at 2:59 PM, 7stud -- <bbxx789_05ss@yahoo.com> wrote:

[#378958] parsing rule for this code? — 7stud -- <bbxx789_05ss@...>

1)

11 messages 2011/02/25

[#379000] Symbol#to_proc helping out with #select to beat Scala-s solution — Jarmo Pertman <jarmo.p@...>

Hey!

9 messages 2011/02/25

[#379074] finding a tag in a binary file — rob stanton <tnotnats@...>

I have a binary file in which I'd like to find multiple strings of 10

12 messages 2011/02/27

Re: 2011: Which Ruby books have you read? And which would you recommend?

From: serialhex <serialhex@...>
Date: 2011-02-01 00:26:54 UTC
List: ruby-talk #377803
+1 http://rubybestpractices.com/ i'm really enjoying reading this book, the
pdf is a permanent tab in chrome for me.  I'm learning a lot from this book!

i have both the 2nd & 3rd editions of the pickaxe (rb 1.8 & 1.9 resp.
 technically i also have access to the first - online for free)  i love it
for the reference.  i cant seem to get over needing a *physical* book to
turn pages on.  and the fact that i can browse the std lib just by flipping
pages.  linkage: http://pragprog.com/titles/ruby3/programming-ruby-1-9

<http://pragprog.com/titles/ruby3/programming-ruby-1-9>i rather like the
ruby cookbook by o'reilly http://oreilly.com/catalog/9780596523695.  it's
helped me learn a number of things that some people just *assume* you know.
 though i'm sure one can learn alot thats in this book by googling or
looking up source, having this much info at your fingertips is worth the $50
IMO.  unfortunately it dosnt cover ruby 1.9 & if your an experienced
developer it probably wont be much help, but for someone just starting i do
recommend it.

recently i found a book called clever algorithms
http://www.cleveralgorithms.com/ and while it's more aimed toward people
dealing with optimization problems & A.I. all of the example code is written
in ruby (not in a very ruby-ish way, but it's minimalist implementations of
the algorithms).  this book isn't necessarily for everybody, but for those
interested in A.I. & such it's really cool.  AND it's free (print version
~$20).  (this especially rocks cause i found it on my B-day - which was
saturday, and A.I. is my main field of interest, so a ruby book dealing with
A.I. thats free on my B-day... who could pass that up??)

lastly, the book that **REALLY** got me interested in ruby is why's
(poignant) guide to ruby ( http://mislav.uniqpath.com/poignant-guide/ is the
first archive i found, they're all over) and really helped me learn ruby
when i was first starting out.  i highly recommend it to anybody who hasn't
read it just because it's a very interesting artistic work (if nothing else)
and an interesting way to learn a programming language.  i'd really like
more intro-to-this-language books like this.

that's really it for me.  next?

hex



On Mon, Jan 31, 2011 at 6:46 PM, James Nathan <badlands_2004@yahoo.com>wrote:

> I have Beginning Ruby and Beginning Rails. but no training as a programmers
> the real world do not want to help us with the questions about Ruby
> James
>
> --- On Mon, 1/31/11, Anurag Priyam <anurag08priyam@gmail.com> wrote:
>
> From: Anurag Priyam <anurag08priyam@gmail.com>
> Subject: Re: 2011: Which Ruby books have you read? And which would you
> recommend?
> To: "ruby-talk ML" <ruby-talk@ruby-lang.org>
> Date: Monday, January 31, 2011, 1:24 PM
>
> > I know there are a lot of threads about books, but some of them are as
> > old as 2006 - and I think it would be nice to get a more up to date list
> > of hot Ruby books, especially for anyone interested in learning the
> > latest version of Ruby, 1.9 (it's still ok to recommend older books if
> > you feel they are still relevant).
>
> Makes sense :).
>
> > I for one will be very eager to see which of the books you have read you
> > have 'fallen in love with' - they're the ones I will most likely get
> > first :)
>
> I have read, and absolutely love "The Ruby Programming Language" by
> Flannagan and Matz, and "Ruby Best Practices" by Gregory Brown. While
> the former serves as a fantastic reference, the later deals with Ruby
> programming practices in real projects and picking up a lot or Ruby
> idioms.
>
> Another interesting book that I had a chance to lay my hands on was
> "Practical Ruby Projects" by Topher Cyll. I found it more fun than
> practical; even the author sub-titles it "ideas for the eclectic
> programmer". It deals with things like: generating SVG animations,
> implementing Lisp in Ruby (loved this chapter), creating music with
> MIDI, Mac OS X GUI, Genetic Algorithms. Would suggest reading it in
> leisure time, or at an intermediate level.
>
> Hal Fulton's "The Ruby Way" is another book that I have read. It was
> the first Ruby book that I bought as The Pickaxe was way expensive in
> India back then. I was able to learn a good deal from it as a
> beginner. I would not recommend it though (not even to a beginner) as
> you can learn the same thing (without paying for the book) from the
> Ruby documentation, or Google. For the same reasons, I think it has
> lost much of its significance now.
>
> I have done some light reading on "Enterprise Integration with Ruby",
> and "Practical Ruby for System Administration". They contain some
> decent examples, but have a very beginner-ish and closed feeling to
> it. I don't think that they don't teach you anything concrete, rather
> gives you the answer to some closed form problems that you could have
> come up with (think, google, think, implement) with any way.
>
> Some books that have got good reviews, and I am looking forward to
> read (waiting for cheaper Indian reprint to come out :)) are "Design
> Patterns in Ruby", and "Refactoring - Ruby Edition". I think these
> books are relevant as they teach you something concrete - patterns,
> styles, and practices that you can apply, and reapply to different
> problems later. Would refrain from commenting more as I have not
> actually read them.
>
> tl;dr - Learn Ruby by reading "The Ruby Programming Language" while
> get better at it by writing, and reading a lot of code (FOSS, fun
> projects, rewriting class room assignments in Ruby). And yeah, "Ruby
> Best Practices is excellent, and free (I love advertising it :)).
>
> --
> Anurag Priyam
> http://about.me/yeban/
>
>
>
>
>
>

In This Thread