I'm sure many of you have played, or at least heard of, Beer Pong. For those of you who haven't, read this first. Remember the word problems you had to solve and that you hated? Well, I have one for you, except it's a bit more complex than anything you'd have to solve in elementary... Continue Reading →
Lesson from Haskell: Eliminating Null-Pointer Nonsense
We've all had a null-pointer exception. We go to do something with a value, and the thing is null, which causes the program to crash. We wanted something to be there...and it just wasn't! Why and how does that even happen? One of the most common ways to throw a null pointer exception is to... Continue Reading →
A great lesson in Positional Chess
Watch this youtube video first (it's only three minutes, and worth your time even if you're only remotely interested in chess). Mato Jelic is one of my favorite chess commentators. He typically does a really nice job of analyzing GM games. In this particular video, we see a fantastic lesson in positional chess. Positional chess,... Continue Reading →
Haskell: The Mathematician’s Language? Or a Leaky Abstraction?
I've been playing around with Haskell a bit. I have to admit, that although I was originally pretty frustrated with the language, I'm really beginning to like it. It's like a fine wine: it gets better with time, and it's an acquired taste. The coolest thing I've found so far is how infinite lists work,... Continue Reading →