Respect is Earned

A photo of the picturesque winery I visited today with the family.

A photo of the picturesque winery I visited today with the family.

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.

Tidbits 21 November 2009

Poedit is a useful tool for providing source files and having it extract text based on specific keywords. I used this for a Facebook application and it seems to be pretty speed, likely this is because it is “harcoded” so it essentially does a lookup. In any case this could be useful in languages other than PHP as well if there are libraries to interact with it.

A couple personal learning. I’ve been drinking more coffee lately. This started because of some rough nights and hence tired mornings but I discovered I’m actually enjoying it. Also my tastes in general seem to be changing. For example I had a tasty pickle the other day. I used to really dislike pickles.

Lastly for today I’ve come to accept I am in fact a smoker. I smoke infrequently because of the health concerns but I’ll smoke ‘em if you’ve got ‘en. I feel this is the same sort of important personal admission as admitting to a drinking problem.

More Writing Please

There have been a number of times where I’ve tried to start writing (words not code) more. I enjoy putting pen to paper and making the clackety noise to produce something. My problem is I’m never really sure what to write about.

A little while ago I realized I tend to learn new and useful things pretty often but then forfet them because I only need to use the knowledge once and don’t use the needed tricks to get the bit of information into my brain.

So here’s the plan, I’m going to try and write down and then write about the things I learn each day. I hope this works out for me and provides a useful reference.