What I learned today

I found a couple of new and interesting bits about languages and applications I use on a daily basis. I love it when that happens.

Scala

  • Option(null) returns None (in 2.8)
  • Option(_) where _ is a non-null value returns Some(_) (in 2.8)

Vim

When navigating in normal mode after leaving insert mode gi can be used to jump back to insert mode at the location of the last edit.

I also learned Ubuntu, in 9.10 (Karmic Koala), is using CouchDB to store a number of application specific settings.