Archive for September, 2009
New favorite site
my new most favorite site:
“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 commentsGrad school is harder because…
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
ScrubyT traverse_for_match: undefined method each for nil:NilClass
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.
busy busy busy!
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
