Ruby Black Belt

On 3/31/06, Austin Z. [email protected] wrote:

On 3/29/06, [email protected] [email protected] wrote:

On Thu, 30 Mar 2006, [email protected] wrote:

I can understand how some people are worried about the word
certification, fearing that it would create some kind of hierarchy of
insiders, with everyone else being outsiders. Maybe this is because of
the nature of the word “certification”.
I share that fear. I’d hate to see people brand themselves as
outsiders by getting Ruby “certification” :slight_smile:

…although it might be arguable that many Ruby programmers are certifiable.

Might? I thought it was a requirement. You mean you’re therapist
didn’t tell you to sign up for this list? I know mine did.

On 3/31/06, Hampton [email protected] wrote:

Maybe the next one will have ever heard of Ruby. Doubt it.

was this supposed to go to the list?

What about something like Programming Challenges
(www.programming-challenges.com)?
It could use those problems or even the Ruby Q. ones.
What would you guys think?

I really like that site.

On 29 Mar 2006, at 19:34, Pistos C. wrote:

Gregory B. wrote:

Certainly, if there were a site that advertised itself with “Want
to get
better at Ruby and have fun doing it? Visit http://…” I
would click
in an instant. :slight_smile:

rubyquiz.com

Yes yes… but I meant BESIDES that. :wink:

Kind of rubyquizlets.com?

Actually, I probably shouldn’t be saying this…

Peter S. and myself are currently working on a Ruby version
of the pythonchallenge.com project.

We’ve registered the rubychallenge.com domain, and we’ve talked
to the Nadav who created pythonchallenge.com. In fact Nadav actually
offered to join us and give us all of his puzzles to port over to ruby.

We’ve decided to not go that route, although it will take a bit
longer we felt that original content would be better in the long run.

We have registered the project on rubyforge and hopefully
we’ll have something available soon for people to see and play with.

We’ve got some really innovative ideas happening, this is not going to
be a port, in fact its not going to be like anything else on the market.

I’ll be at Canada on Rails in Vancouver on April 13-14 and hopefully
will have something to show people by that time.

Bill G. wrote:

On 3/31/06, Austin Z. [email protected] wrote:

…although it might be arguable that many Ruby programmers are certifiable.

Might? I thought it was a requirement. You mean you’re therapist
didn’t tell you to sign up for this list? I know mine did.

Must be a quack.

:slight_smile:


James B.

http://www.ruby-doc.org - Ruby Help & Documentation
Ruby Code & Style - The Journal By & For Rubyists
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://refreshingcities.org - Design, technology, usability

Alex C. wrote:

Peter S. and myself are currently working on a Ruby version
of the pythonchallenge.com project.

I look forward to the first public release of this. Please keep us
informed. :slight_smile:

Pistos

Marcel Molina Jr. wrote:

It’s not pretty but…:

h = { 0 => 0, 1 => 2, 2 => 3, 4 => 4 }
=> {0=>0, 1=>2, 2=>3, 4=>4}

Hash[*h.select { |k,v| k % 2 == 0 }.flatten].each_value {|v|
p v}
0
3
4
=> {0=>0, 2=>3, 4=>4}

What about splitting that up a little…

class Hash
def select_hash &blk
Hash[ *select{ |k,v| yield k, v }.flatten ]
end
end

h = { 0 => 0, 1 => 2, 2 => 3, 4 => 4 }
h.select_hash{ |k,v| k % 2 == 0 }.select_hash{ |k,v| k > 0 }

You can chain all you want, and it isn’t so ugly. =)

Zach

Giles B. wrote:

That is so cool!

Please make the higher levels as weird and wiggy as you possibly can.
Well, that won’t be a problem at all :wink: We have to make a lot of
decisions and have some issues to resolve, but to craft some weird
levels is definitely not among them :wink:

Also, if you need help, I wouldn’t mind porting some puzzles from
Python. It’s absolutely alliterative.
Well, we would like to come out with a first design and a basic set of
riddles, but after this we would definitely like to ask the community
members to contribute with ideas.
What do you mean by ‘porting some puzzles from Python’? If you mean
from pythonchallenge, we decided to drop that idea (as we would not like
to viloate the copyright or something).

Cheers,
Peter

That is so cool!

Please make the higher levels as weird and wiggy as you possibly can.

Also, if you need help, I wouldn’t mind porting some puzzles from
Python. It’s absolutely alliterative.


Giles B.
www.gilesgoatboy.org

On 4/7/06, Peter S. [email protected] wrote:

Well, we would like to come out with a first design and a basic set of
riddles, but after this we would definitely like to ask the community
members to contribute with ideas.
What do you mean by ‘porting some puzzles from Python’? If you mean
from pythonchallenge, we decided to drop that idea (as we would not like
to viloate the copyright or something).

The creator of python challenge offered to give us (Peter and me) the
source to
all the puzzles he has hosted on his website, he is really quite cool.
He also said that he has had it in mind to do this sort of thing for
quite
some time, but I guess he is busy just like the rest of us and just
never found
the time. I have no idea where Peter and myself are finding the time,
we both work
full-time as well as take schooling, but somehow we’re managing.

But regarding the content at pythonchallenge.com as Peter said, we’ve
decided we don’t want to copy that content, many people have already
solved those puzzles as they’re quite generic.

We will be more than happy to look at any original work from authors
after we make our
initial release.