Alternative ZFS layout

I’ve been experimenting with FreeBSD 10.0-CURRENT and an alternative ZFS layout for more than a year. The idea is to have a simple way of switching between boot environments. Thus, you have the opportunity of reverting to a previous boot environment without resorting to snapshots and rollbacks as you would with a sole boot environment. At the same time we avoid using the immediate top-level ZFS filesystem. Continue reading Alternative ZFS layout

FizzBuzz

An acquaintant posted on IRC a link to Jeff Atwood’s Coding Horror blog and his post entitled “Why Can’t Programmers.. Program?“.

The task should be straightforward:

Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.

Continue reading FizzBuzz