Thursday, February 18th, 2010
Robert Biswas-Diener wrote an article on CNN coining the term “incubator” for people who seem like procrastinators but are actually a different breed. I felt that this article described my own work habits perfectly.
Incubators have a clear sense of deadlines, gets things done on time, and produce quality work. Before performing an important task, such
[read more]
Tuesday, December 8th, 2009
Back in college, I had a professor pose an interesting question on an exam. It was worded like this:
“On the back of this paper, write out every keystroke and mouseclick you would take to add five spaces at the beginning of the first 10 lines of a file in a text editor.”
Naturally, some people protested.
[read more]
Friday, September 18th, 2009
I went to a great talk by Douglas Crockford today. If you’re a JavaScript programmer and haven’t read any of his articles, head over to his site and get started. It’s more important than reading this blog. Seriously.
Alright. I want to show an example he used that doesn’t seem to be included in any of
[read more]
Thursday, August 27th, 2009
I’ve heard a lot of mantras regarding how to handle exceptions properly in programming languages that support checked exceptions (eg Java). Sometimes these mantras are regarded a little too highly, even doing harm in some situations. I’d like to dissect a couple of these.
Never Sometimes catch the top-level “Exception” class.
There are times when it is
[read more]
Friday, April 10th, 2009
Found a very interesting bug in Windows Media Player (WMP). An embedded player will fail to play if the URL of the page it is embedded into is too long.
This is fun because you can see this on any website. I have only tried this in Firefox and Internet Explorer 7 on Windows, but
[read more]