Tomasz Kramkowski

Blog

Option Parsing On a Budget

Recently I was writing a little code generation utility which took lots of positional arguments. I wanted to add two optional features to this utility, these options would take no arguments. I decided to use getopt but realised that this would make the code depend on POSIX, I liked the idea of staying dependency free so I quickly investigated really simple solutions for option parsing (without compromises) which would be equivalent to POSIX and GNU getopt.

Read more...

N900 Fast GPS Fix

If anyone is, like me, still using the N900, they may have noticed that acquiring an initial GPS fix can take minutes. The reason for this is that even in the latest CSSU, supl.nokia.com no longer works as a location server. The fix for this is actually relatively quick and easy and will make an initial GPS fix take seconds rather than minutes.

Read more...

DNSSEC

As of today my domain finally supports DNSSEC. It was much simpler than I thought it would be. It seems namecheap now officially allows you to publish DS records in the parent zone of your domain (limited only to TLDs which support it). This is one of the last things that I wanted to set up on my server.

Read more...