Apple dictionaries, part 2

After I wrote my post about Apple's dictionary files, I got a mysterious email showing up in my inbox. The email was from someone who's spent some time writing code to do the same thing, but doesn't want to post it under his own name in case he falls fowl…

Reverse engineering Apple Dictionaries

Edit: Part 2 is up I've spent this morning doing some cursory reverse engineering to access the dictionaries on my mac laptop. I'll post some code soon to access them, but in the meantime here's the story of some of the process I went through to recover that data. Because…

In the long run, GPL code becomes irrelevant.

I wrote this in response to a comment thread on hackernews Defending GCC considered futile. There's been a megathread in the last week about whether Emacs should support LLVM, with Richard Stallman and now Eric Raymond joining the frey. Personally, I use a BSD license for all my code and…

ALU in boilerplate

I've been taking a break from serious programming to spend some time messing around with boilerplate again. Its a hunk of boilerplate logic which can add or subtract (!!) any two numbers. The two numbers come in on the top left. They're represented in binary with the high bit at the…

Goodbye SF

Its nearly 2 am and I'm sitting up alone in some airbnb apartment in a shitty neighbourhood in SF. Work paid for a week long trip here - full of meetings that I'm mostly running, planning out a bunch of software I've been wanting to write for years. And will…

Bug hunting with American Fuzzy Lop

I read about American Fuzzy Lop (AFL) the other day, and wanted to try it. For the non-technical, fuzzers are testing tools for finding obscure bugs. They work by effectively sitting a million monkeys at keyboards pressing buttons in your program, to see if it crashes or hangs. AFL is…