How do I track time? II
Recently, I showed how to use the command line and a ruby script to keep track of time. Due to popular demand, here is the full script (including time cloud generation).
The script is used as follows:
% I am back from lunch 0d 0:46'32" % I read mail 0d 0:12'05" % I fixed bug 20446 in Some.app for Acme 0d 1:38'12" % …
On monday, you can use --cloud to show the time cloud of last week. A time cloud is a tag cloud with all terms that appear in last week’s entries, weighted by frequency and duration of the containing entries. No stemming so far, but you can provide a stopword list in a separate file.
For example, my time cloud of last week looks as follows:
Installation instructions and more usage see script file.

October 22nd, 2008 at 23:07
And why not map the time of the day as a distance metric and then HEAD TO THE OBSERVATORY!
In which ‘the observatory’ of course is the landscape-hill-thingy, the height metric being the occurrences of the word.
October 23rd, 2008 at 21:32
I was giving it a try, got a:
track_my_time.rb:55:in `-’: undefined method `date’ for nil:NilClass (NoMethodError)
from track_my_time.rb:112:in `arguments_given’
from track_my_time.rb:99:in `main’
from track_my_time.rb:163
Any ideas? Running on Linux Debian unstable.
October 27th, 2008 at 13:34
@Toomas Römer
Issue fixed, checkout the latest version.
I added code to handle missing/empty text file