Today, I decided to upgrade PostgreSQL from 9.1.5 to 9.2.0 on one of my computers. Ironically, PostgreSQL 9.2.1 was released today, but until the FreeBSD ports hierarchy catches up, the most recent version available is 9.2.0, unless of course you want to do everything yourself.

Read More → Upgrading PostgreSQL from 9.1.5 to 9.2.0

Not long ago it was announced that the FreeBSD ports tree will cease exporting its Subversion repository to CVS, and subsequently any use of CVSup for updating the ports tree will be discontinued by February 28th 2013. FreeBSD’s main source tree repository has been served by Subversion since late May 2008 with every commit done […]

Read More → Making your own FreeBSD Subversion repository mirror

An acquaintant posted the following question on an IRC channel earlier today: How many IPv4 addresses are there? The quick and simple answer is 232 = 4,294,967,296 addresses. Is this an accurate answer? Yes, in a strict interpretation of the original question. A far more interesting puzzle is if you want to account for all the IPv4 […]

Read More → How many IPv4 addresses are there?

ICANN #44 is taking place in Prague these days. Sadly I was unable to attend, but the presentations are available in the open. Today’s IPv6 session would be the highlight in my very biased opinion.

Read More → ICANN #44

Someone found my old ZFS snapshot script rather useful and wanted to improve it. Unfortunately I used the GPLv2 license in the original script. To accommodate my friend, I have re-released the snapshot script under the 2-clause BSD license. Feel free to use whichever license, 2-clause BSD or GPLv2, that suits your needs.

Read More → Periodic ZFS snapshots – 2-clause BSD license

Someone named “Edward M” posted on the freebsd-questions mailing list a question of when should we create a ZFS filesystem. I didn’t reply to any of the messages, but I decided to write this post expressing my view. In short, whenever a part of the filesystem hierarchy exhibits different characteristics, create one or more ZFS […]

Read More → When to create a ZFS filesystem?

A few days ago I resurrected all my files from a desktop system I haven’t used for almost six years. Below is my implementation of secret splitting as described in Bruce Schneier’s book “Applied Cryptography, 2nd edition”. The idea is basically: generate a random keystream, xor the plaintext with the random keystream, use separate couriers […]

Read More → Secret splitting

Jeg børstet støvet av noen tilårskomne filer forleden dag. Jeg fant et lite program som jeg skrev en gang i 2000. Programmet teller ned til slutten av Unix-epoken. Den opprinnelige definisjonen av datatypen time_t, 32-bit heltall med fortegn, vil få overflyt i midten av januar 2038. Moderne 64-bit OS som FreeBSD/amd64 9.0 har for lengst […]

Read More → endofepoch.c