1. Learning Challenge: Addendum

    Last night I was looking for some details on Z80 assembly and I decided to look at my blog. (Surely there was somewhere that I had a screenshot of a safe memory location for ORG). As I wandered through my previous learning challenges I noticed a pattern:

    • I had a …
    read more
  2. What about plan C?

    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 more
  3. mismatch_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 more
  4. Stupid 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 bar.length and bar['length' …

    read more

links

social