I got a broken gameboy printer off ebay for a few pounds. i resoldered all its joints and cleaned it with vinegar and alcohol.
that made the light come on, but the link port was badly damaged too. i managed to fix it by prying all the pins into the right shape with a pair of pliers and squeezing them around a folded up piece of a ripped up Something For You card.
we were in a pawn shop just before new lockdown, and they had a gameboy camera for sale
it’s a way for sites on snootclub to verify a snootclub user.
how does it work?
it is hosted at /auth on any snoot site that wants auth.
when you, a user, click the listen in the browser, it starts a GET request
which makes the server open a unix
socket that’s owned by your
user in /snoot/auth/socks/{your-uid}.sock.
there is an ssh
server running on
port 2424, which has ForceCommand set to a program called
succeed.
when you run the ssh command, succeed(1) writes the word "success" to the socket belonging to your user then exits.
In the http server, listen’s GET request handler receives the "success" in the socket and returns, setting a cookie for you on the snoot subdomain you are on.
and now on the server, there is a file that belongs to the snoot user whose site you are on that contains your token:
it’s also read-writeable by the snootauth program, so it can delete or replace tokens when the user logs out or reauthenticates.
so now the server code for the snoot whose site you are on can check any cookies it receives against the token in /snoots/auth/sessions/{their-name}.{my-name} — chee (hi@chee.party) 2020-11-17
today i went to the dental hygenist. they really name that in such a way that if
you don’t know what it is, well, i don’t think i would have gone if it had been
called “dental scraping”. my mouth bled a lot, there was lots of blood, and
flakes. shards flying around the room!
“calcified yuck” they said, is what the shards were.
the train home
on the train home i made this:
using a cassette recorder, the op-1 and the wired
heart which i
got with a voucher for doing a marketing interview with bitwig.
op-1 split drum
the drum kit on “teeth scrape teeth” is the op1’s built-in AWA Beef kit,
which i fed through the tape recorder and back into the op-1 and chopped it up.
i wanted to share the kit with kara, but the op-1
stores kits as a single AIF instead of separate samples for each drum. luckily
peoplehavereverse engineered the drum format
plenty. it has some embedded json in it, a bit of (standards
compliant!)
trickiness with the AIFC
spec. the
json has the start and end points for each sample (as a frame. like, you take
the start value (big number) and divide it by 44100 (for the sample rate) and
divide that by 4096 (for the block size) and that’s the start time in seconds).
so i threw together a scrappy script to
parse the json and extract the segments with ffmpeg.
it has exposed GPIO pins, a micro SD slot, two micro HDMI, 3 usb-a ports and an
ethernet port. usb-c charging. bluetooth 5.0, ble.
i want this as my work computer.
they’re £67.50 alone, or about £95 with a mouse, microsd, power supply and
beginners guide.
they’ve added a heatsink and overclocked the CPU so it’s a quad-core 1.8ghz,
rather than 1.5ghz.
if the office still existed, this would be perfect for it. little 2020 zx
spectrum. love that for me.
they would be so good for school too, everyone gets a keyboard with their name
on it at the start of the year. you can keep it in a cupboard, or in your bag if
you have a screen at home. the IT room is just a room of monitors.
i should get one and make it boot straight to a repl. maybe the python repl, and
leave some glossy magazine printouts of pygame source code. or a lisp repl. or
emacs.