There might be a case when you need to write an expression and don't feel like calculating it yourself. If you're using Vim, then from insert mode you can hit Ctrl+R and then =, and you will then be able to type an expression to be evaluated. So...
One of the pretty cool things about Haskell is the ability to have infinite lists, thanks to Haskell's laziness. You can create a list containing all the Fibonacci numbers, or all the digits of π, or something like that.
Turns out that Scala can do it...
I'm fairly certain that anybody actually reading this blog and is able to go to this is already planning on going, but in the odd case that you are not I would highly recommend you check out CUSEC 2010 if you are at all interested in software...
Turns out Vim 7 and higher has a built-in spellcheck. To turn it on, do::set spellIt's a bit annoying for code, but maybe it will help people spell things properly in their comments ;) It's also really good for LaTeX documents (if you're old school and...
After fixing up sdljava, I decided to try it out with Scala. Turns out it works really well!
Here is the code to get a simple window that closes when you click the close button:import sdljava.SDLMain
import sdljava.video.{SDLVideo, SDLSurface}
import...