Happy New Year 2013!

We’ve managed to avoid devastation just days prior to Christmas as the Mayan calendar took a new turn. We’ve even survived celebrating the New Year, although some of us weren’t so lucky due to careless handling of fireworks.

If you’re into computer science, then Don Knuth‘s 18th Annual Christmas Tree Lecture entitled “Trees and chordal graphs” might cheer you up.

Relocating the Client-side Caching database in Windows 7 and 8

Sometimes the default location of the Client-side Caching database is just plain unsuitable. Client-side Caching, or CSC, is used for storing offline files, local copies of files normally stored on Windows shares, stored on Windows servers. (The Norwegian term is «frakoblede filer».)

The default location for the CSC database is C:\Windows\CSC. If you like to keep the OS and the software separate from any user data, or want to store the CSC database on a dedicated local partition, then it might be useful to change the location to, e.g. D:\CSC. Continue reading

Making your own FreeBSD Subversion repository mirror

Not long ago was it 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 in the Subversion repository being exported to the old CVS repository, but no date has been announced when that Subversion to CVS transfer will be shut down. Stay tuned for more information.

Nonetheless, this is a Good Time™ to begin the transition from CVSup to Subversion once and for all. And why not set up your own FreeBSD Subversion repository mirror for both the main source tree and the ports tree well ahead of the transition? Continue reading

How many IPv4 addresses are there?

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 addresses usable on the public internet. Continue reading