Fresh bread
March 30, 2006
I bought a breadbaker on Saturday and am now reaping the rewards: warm, freshly baked bread (with almost no effort on my part!) for breakfast. I baked a plain white bread after a recipe that came with the breadbaker. The crumb is nice and soft and the crust is golden and deliciously crispy. It tastes lovely with strawberry conserve.
GGTL 2.1.3 released
March 26, 2006
The new getter/setter interface I introduced in 2.1.2 was, quite frankly, horrible. I’ve resorted to having explicit ggtl_set_float() and ggtl_get_float() functions for now. Maybe someday in the future I can think of a nicer interface for both. Sorry about the interface breakage but since the interface I’m breaking has been out only for a week, I hope you’ll forgive me.
Available for download here.
GGTL 2.1.2 released
March 20, 2006
After getting some input on GGTL 2.x from Steven Goodwin I’ve ended up hacking on it a bit this weekend. He reported some minor stylistic and distribution issues and asked some interesting questions. One of them was if I had thought about using a floating-point value in seconds for the time to search in seconds.
I have indeed thought about this without getting around to it, but his prodding gave me the little push I needed. The old code (which is still supported) took an integer argument representing the number of milliseconds to search for. The new option uses a double-precision floating point value for the number of seconds to search for thus allowing both longer and shorter search times.
I (as did Steve) expect that the ability to do sub-millisecond granularity searches is a lot more useful than searches that last longer than INT_MAX milliseconds…
Here’s the relevant ChangeLog entry:
- Allow sub-millisecond precision for iterative searches
- Deprecated MSEC option in favour of the new TIME option; this
takes a double-precision value in seconds, allowing for
sub-millisecond precision. - Introduced new
ggtl_getval()&ggtl_setval()functions capable
of setting/getting double-precision values (needed for TIME). - Bumped library version number to 1:0:1
- Don’t require a config.h header; pass in options on commandline
Target reached!
March 15, 2006
At the gym today I finally managed to meet the target set for me back in November last year: use a X-trainer and cover two arbitrary (as far as I’m concerned) units of distance at level 13 in less than 10 minutes. I clocked in at 9 minutes 58 seconds today, an improvement of 5 seconds on my previous best two days earlier.
I had a steady pulse of around 176 for the first eight minutes or so, then a little over 180 for the sprint. Six months ago this would probably have put me in a coma. Now, however, I was able to continue my program after having spent a minute sprawled over the machine gasping for air.
I’ve had fairly slow progress since the middle of January; I had a 3-week lapse over Christmas that made me unable to do more than about five minutes, so I pretty much had to start from scratch. Much to my surprise, however, the last week and a half things have suddenly started to fall into place and I’ve improved by over 30 seconds.
Napoleon Dynamite
March 11, 2006
So.. boring… Loosing.. will.. to.. live…
Presumably you have to stay awake for at least three days, drink all the participants of an AA meeting under the table and get high as a kite before this thing gets funny. I had to take many breaks while watching this film. Trying to watch it all in one go would have ended in me slashing my wrists from boredom.
Excellent Cheese
March 4, 2006
I’ve recently tried two varieties of Chaumes from Marks & Spencer. It’s a very nice and creamy soft cheese with an orange, edible rind. Absolutely gorgeous.
Blogged so I don’t forget.
Custom file templates in Xcode
March 4, 2006
When you create new files in Xcode they come prepopulated a certain way. Ever wanted to customise this?
The default templates used by Xcode can be found in /Library/Application Support/Apple/Developer Tools/File Templates/. Copy the template you want to change to ~/Library/Application Support/Apple/Developer Tools/File Templates/ and change them to your heart’s content and, voilá, the next time you create a new file in Xcode it has your custom content in it.
WordPress 2.0.1
March 3, 2006
I just upgraded to the latest WordPress, after seing they did a 2.0.1 release about a month ago. It may be just my imagination, but it “feels” faster than 2.0.0. Good job guys!