Sherlock

Having watched season 1 and the first episode of season 2 of Sherlock, I absolutely love the show, although 2×01 was very weird; very slow, very drawn-out, you think they’ve wrapped it up then discover that it was just the beginning. A bit like those games I shall not name where you play for 20 or 30 hours before you realize that was just the tutorial. Continue reading “Sherlock”

You are always the product

I just discovered that Amazon allows anyone to “follow” a Kindle user, and there is no way to turn that feature off or to block followers. They say your followers can only see notes that you explicitly make public, but they don’t say anything about whether they can see your book list, which is the union of books you’ve bought, books you’ve reviewed and books on your wish lists—and not just eBooks, but paper books as well. Wish lists can be made private, but the FAQ doesn’t say whether that means they don’t appear in my book list on kindle.amazon.com.

This makes me extremely uncomfortable. Continue reading “You are always the product”

On testing

Last fall, I wrote a completely new configuration parser for OpenPAM Lycopsida. Although the new parser was far more robust than the one it replaced, it was large, unwieldy, and suffered from a number of issues relating to whitespace handling, which stemmed from reusing some old code which unfortunately was thoroughly documented and therefore could not be easily modified. So I decided to rewrite it again, from scratch this time.

Then I did what I should have done last fall but didn’t: I wrote some unit tests. And of the first dozen or so tests I came up with, three failed, revealing two different bugs—one of them fairly serious.

There’s a lesson in here somewhere…

Downtime

I haven’t been able to read email sent to des@des.no or des@freebsd.org for five days, due to a series of unfortunate incidents involving dodgy power supplies and the fragility of ZFS boot in FreeBSD. Work and other duties prevented me from addressing the issue in a more timely manner, but I am now regaining control. Luckily, neither my ~30 GB IMAP spool nor any other data was lost, nor did my backup MX bounce any mail. My IMAP server is now back up with a small UFS SU+J boot / root partition instead of ZFS. I am still unable to read email, but that should be fixed within 24 hours.

I also uncovered an annoying but luckily not fatal bug in the Cyrus IMAP server. When TLS is configured, the IMAP daemon stores state for each TLS session in a DB file. If that file is corrupted, the server will start, but it will refuse any incoming IMAP or LMTP connections, and will instead spit out a stream of completely unhelpful error messages. The only recourse is to delete the TLS session state database; I set up an rc script to do that at boot time, so hopefully this won’t bite me again.

Wires and switches

ESR is at it again:

I can best introduce you to our concerns by quoting another of our
philosopher / elders, John Gilmore. He said: “The Internet interprets
censorship as damage and routes around it.”

To understand that, you have to grasp that “the Internet” isn’t just a
network of wires and switches, it’s also a sort of reactive social
organism composed of the people who keep those wires humming and those
switches clicking. John Gilmore is one of them. I’m another. And there
are some things we will not stand having done to our network.

Dear ESR,

I’m pretty sure John Gilmore knows that wires aren’t supposed to hum and switches aren’t supposed to click. It seems you don’t. Perhaps it would be best if you stepped away from the Internet before you break something expensive.