November 5th, 2008 by proj
Found a nice collection of hash routines written in D. These are easy to convert to other languages. I was just looking for Robert Sedgewick’s hash function since I didn’t have his book handy.
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
No related posts.
Posted in d, algorithms | No Comments »
October 31st, 2008 by proj
Since my new nForce mobo supported sata raid I figured it would be worthwhile to have a bit of redundancy for my data in the event of a drive failure. I picked up a couple Half TB drives at Fry’s and put them into a SATA raid-1 configuration. This seemed like a safe bet and while it was fairly slow to bring this configuration online everything seemed fine.
About a week later I bring my machine up to notice some flashing red text in the BIOS. Once windows was up I had two drives and the nVidia tray icon was bothering me about my drives being in a ‘degraded’ state. This is just a fancy way of saying that the RAID setup failed and that I would have to choose a drive that would have the master data and rebuild the array from the BIOS. Note that nothing out of the ordinary had happened on my machine to cause this to happen. I closely examined the data, figured out which drive was on which controller port and dutifully rebuilt the array. I wasted a good evening going through this because I didn’t want to lose any data. I had some critical music data on the drive and wanted to make sure I wouldn’t lose everything. This was a night I normally would have been writing some useful code or recording some music.
To make a long story short this has happened over and over again. I have run integrity checks on the drives and they are both fine. Any time the machine crashes, the drives will go into a degraded state and require yet another manual rebuild. This of course is a complete waste of my time and really there is no excuse for a RAID solution to fail this UN-gracefully. The whole point is to keep me from having to deal with this kind of hassle. Not routinely force me to deal with it for no good reason. So here I am writing this post while I figure out again which drives have the latest files. I am done with NVIDIA SATA RAID. It is a complete and total epic fail. I would not recommend this to anyone.

Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
No related posts.
Posted in hardware, nvidia, fail | No Comments »
October 20th, 2008 by proj
Just a small post, maybe more to come detailing actual implementation details:
Tree Structured Indexes
Design of BTRFS
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
No related posts.
Posted in algorithms, db | No Comments »