Category Archives: Uncategorized

[Comment] Re: Iterating over a Hash in Ruby

Yep, cool. Thanks, Tony!

irb(main):043:0> h1.each{|k,v| puts "#{k} ---> #{v}"}
a ---> 1
b ---> 2
c ---> 3
=> {"a"=>1, "b"=>2, "c"=>3}

This reminds me of something else that has been bugging me since I saw it. What does this syntax mean?

def list
  @category_pages, @categories = paginate :category, :per_page => 10, :order_by => 'category'
end

How can Ruby return two values from the paginate method?!

[Comment] Re: Bill Maher takes a beating

That's what I was going to write on my blog! Jesus H. Christ does that guy get on your last nerve, or what? Not that some of the talking heads on the right aren't just as annoying, but, at least they're on my side – they trust the president – they know the definition of the word enemy – and they love this country. Great Blog!

[Comment] Re: Bill Maher takes a beating

That's what I was going to write on my blog! Jesus H. Christ does that guy get on your last nerve, or what? Not that some of the talking heads on the right aren't just as annoying, but, at least they're on my side – they trust the president – they know the definition of the word enemy – and they love this country. Great Blog!

[Comment] Re: Java the Hut

Anyone remember Lotusnotes (later renamed domino)? That was a platform alright. A giant one.

Some people, frustrated with Domino, started complaining how it looks more and more like 'a giant solution in search of a problem'.

Today, some of us are starting to feel that J2EE is another one of those 'giant solutions in search of a problem.' Yes, you may get paid big bucks for doing some J2EE work today, but back in the mid-late '90s, you could've done the same with Domino. Today? I honestly doubt it.

J2EE is slowly turning into the legacy platform. It is going the way om mainframes. That is to say, the way of dynosaurs.

The handwriting is clearly on the wall. Get out while there is still an opportunity.