Archive for November, 2007

Unbiased Shuffle Algorithm

Thursday, November 29th, 2007

I have recently been fascinated by the mathematics of shuffling, or randomly reassigning values to different indices within an array of elements. Wikipedia has a good article about the Fisher-Yates shuffle, which, "properly implemented, ... is unbiased, so that every permutation is equally likely." Here is a C# implementation of ...

Mac OS X Time Machine with Linux Server

Thursday, November 29th, 2007

Time Machine was one of those features that pushed me over the edge to buy the mac. The one thing that was a little disappointing is that it only works with a locally-connected drive (by default). This behavior, however, can be changed. I used Appletalk on my Linux box, but ...