With the closing of The Ringling Bros. and Barnum & Bailey Circus it appears my backup plan of running away to join the circus is less of a viable option.
read moremismatch_cnt, RAID1, and a clever fix
This past weekend my computer showed an ominous error:
Jan 1 04:06:16 lister mdadm[8317]: RebuildFinished event detected on md device /dev/md/0, component device mismatches found: 9856 (on raid level 1)
Huh, that doesn't look particularly good. Mismatches between drives tend to lead to bad things …
read moreStupid JavaScript Tricks
> bar = ['width', 'height'] [ 'width', 'height' ] > bar [ 'width', 'height' ] // Nothing up my sleeve > bar.indexOf['length'] 1 // Presto!
In case you haven't guessed what's up here: JavaScript automatically surfaces a value called 'length' in all arrays. So you can get the length of bar by typing
read morebar.length
andbar['length' …
Habit tracking: Shaving
I've been quietly implementing a new habit for myself. As part of the Habit Guide from Zen Habits I've decided to start with a ridiculously small habit in order to get myself back into the habit of making good habits. (Play along at home with the "Craig says 'habit"" game …
read moreTwas a few nights before Christmas...