hoodwink.d enhanced
RSS
2.0
XHTML
1.0

RedHanded

sshh-hmm-mop! #

by why in cult

said on 14 Feb 2007 at 03:11

cool

said on 14 Feb 2007 at 08:07

oh my!

said on 14 Feb 2007 at 08:33

Some of the stuff in this chapter are a bit, “off”. I mean, Beards only beat Skeletons in the worst of conditions.

said on 14 Feb 2007 at 12:39

For future reference

said on 14 Feb 2007 at 12:45

STAND BY FOR EXCITER

said on 14 Feb 2007 at 15:53

can I see the foxes’ pitbull collection? !aseald

said on 15 Feb 2007 at 01:19

I’m having trouble making the skeletons talk…


class Array
  def / len
    a = []
    each.with_index do |x,i|
        a << [] if i % len == 0
        a.last << x
    end
    a
  end
end

[:now, :is, :the, :time, :for, :all, :good, :men, :to, :come, :to, :the, :aid] / 3

gives me an error:


LocalJumpError: no block given
        from (irb):58:in `each'
        from (irb):58:in `/'
        from (irb):68
        from ♥:0
said on 15 Feb 2007 at 01:43

doh! each_with_index, not each.with_index

my bad.

said on 15 Feb 2007 at 03:04

Brilliant….

said on 15 Feb 2007 at 11:37

teh awesome!!!

I was wondering what was going on…

WPG2R is going to be a computer science classic on the same level as Starting Forth by Brodie et. al.

I can’t wait for my printed (and signed) copy. yessirreee!

said on 19 Feb 2007 at 20:12

Love it.

Broken images, though— http://poignantguide.net/ruby/chapter-7.html http://poignantguide.net/ruby/chapter-8.html

11 Jul 2010 at 20:43

* do fancy stuff in your comment.

PREVIEW PANE