Archive for September, 2009

New favorite site

September 30th, 2009 | Category: general

my new most favorite site:

http://www.fmylife.com/

“Today, I fell asleep during my division emergency meeting. As I about to head home that evening, my boss patted me on the back saying “Wrong move. Good luck”. Turned out, it was a meeting to determine who will be kicked out of the company due to recession. My name was written first on the list. FML”

2 comments

Grad school is harder because…

September 25th, 2009 | Category: from the road

One thing about undergrad studies is that since you’re generally so new and green, you can look at a subject and say to yourself, ‘this may not be interesting but I will probably need to know this later in life.’

By the time you arrive in graduate school, hopefully with some career and life experience, you can conclusively look at your books and say ‘i’ll never need this again in my entire life.’

How to motivate yourself?
Sent from my Verizon Wireless BlackBerry

No comments

ScrubyT traverse_for_match: undefined method each for nil:NilClass

September 20th, 2009 | Category: geek out,popular

Using ScrubyT, a Ruby on Rails plugin, on a Linux system such as my CentOS 5 VPS, you can get an error message and stack trace like this:

/usr/lib/ruby/gems/1.8/gems/scrubyt-0.4.06/lib/scrubyt/utils/shared_utils.rb:43:in `traverse_for_match’: undefined method `each’ for nil:NilClass (NoMethodError)

If you see this, go to shared_utils.rb in the path above, and change this block:

node.children.each { |child| traverse_for_m….

into this:

if node.children
node.children.each { |child| traverse_for_m….
end

Thanks to Deginzabi who wrote about it in Japanese. This article is a translation of what he said. Hope this makes the next ScrubyT release! It is a great project.


1 comment

Oskar beer

September 10th, 2009 | Category: from the road

Simon I got it! Can’t wait to taste it!

Sent from my Verizon Wireless BlackBerry
IMG00079-20090910-1239

4 comments

busy busy busy!

September 09th, 2009 | Category: general

Super busy! School has started, and I’ve moved to my new apartment for the year. Just had an awesome weekend with Joya, Melissa, Mitch and Caroline. Home work has started, but I don’t mind because it is infinitely better than cubicle life :)

Later this week I will be planning a very exciting trip to Kolkata for my winter break…

No comments