Barnaby Walters

Arranging atoms and pressurising air in a variety of manners, such as:

Pronouns: they/he

  1. Brian Suda: digs around in an old NeXT box used by CERN to build the first graphical browser. Looking through the source code, this really was a grand experiment.pic.twitter.com/KpDDz3h1FI

    Please tell me that’s the original “this is a server, do not turn off” sticker?!

  2. Aitor García Rey: Today I Learned the Slavery Abolition Act of 1833 provided £20M for compensation payments to British Empire slave-owners. British government financed this massive amount (~5% GPD) w/ a £15M loan (banker Rothschild). It was not fully paid back until 2015! Bankers, we always win

    just imagine how long it would have taken if they had compensated the slaves :/

  3. about tcpdump, a very handy little command line utility for looking at network traffic. Not as fully featured as Wireshark, but nice if you want to e.g. pipe network traffic into another process. It’s also not >300MB :/

  4. When using the python2.7 gzip module with StringIO, it’s extremely important to call GzipFile.close() after you’ve finished writing to it. If you don’t, the archive will probably not be readable as the CRC record will not be appended, and you’ll get a bunch of IOErrors despite everything looking fine.

  5. I tried to plug in this LED strip I bought but nothing happens. 5400 LEDs but none of them turn on?! and when I tried to peel the backing off to stick it to something, all the LEDs fell out D: 0/10 would not buy again

    Picture shows a reel containing surface mount LEDs, ready to be fed into a pick and place machine.

  6. For anyone building theSlowGrowth’s Monome Arc clone project, here are the avrdude commands required to set the ATMega88p fuses, based on this fuse calculation:

    avrdude -V -p m88p -c YOUR_PROGRAMMER_ID -P YOUR_PROGRAMMER_PORT -B 10 -e -u -U lfuse:w:0xD6:m -U hfuse:w:0xDF:m -U efuse:w:0xF9:m -U lock:w:0xFF:m
    

    and then flashing the precompiled firmware is pretty straightfoward. USB board: (swap arc4_ for arc2_ in the unlikely event you’re building an arc2):

    avrdude -V -p m88p -c YOUR_PROGRAMMER_ID -P YOUR_PROGRAMMER_PORT -B 2 -U flash:w:./firmware/compiled_hex/arc4_firmware_usb_board_atmega88p.hex:i -U lock:w:0xFF:m
    

    and for each ring:

    avrdude -V -p m88p -c YOUR_PROGRAMMER_ID -P YOUR_PROGRAMMER_PORT -B 2 -U flash:w:./firmware/compiled_hex/firmware_pot_board_atmega88p.hex:i -U lock:w:0xFF:m
    

    Note that the verion of avrdude I’m using (5.8, from an old crosspack install I was using to compile some MI AVR code) doesn’t support the ATMega88p, and in order for any of this to work, you may need to edit the avrdude config file according to the instructions in the arc clone repo. Mine was in /usr/local/CrossPack-AVR-20100115/etc/avrdude.conf, and all I had to do was duplicate the config block for the ATMega88 and make the following changes:

    id               = "m88p";
    desc             = "ATMEGA88P";
    

    and

    signature        = 0x1e 0x93 0x0f;