Greenwich Mean Time GMT

gameboy printer

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

photos of abe and chee coming out of the gameboy printer

— chee (hi@chee.party) 2020-11-18

Greenwich Mean Time GMT

snootauth

can i tell you about this thing i wrote? it involves ssh and cookies and the setuid and setgid bits.

it’s called snootauth.

what is it?

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.

abe.snoot.club/auth/chee showing link labeled “listen”, and an ssh command to run

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.

the ssh command being run in a terminal. “Thank-you, you can return to your browser now.”

when you run the ssh command, succeed(1) writes the word "success" to the socket belonging to your user then exits.

Web browser saying “Thank-you! Enjoy your cookie”

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.

Devtools showing the cookie set for this subdomain.

and now on the server, there is a file that belongs to the snoot user whose site you are on that contains your token:

ls -l showing file permission abe:snootauth

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

Greenwich Mean Time GMT

public dump

i made a website yesterday

💔 https://cc0.snoot.club/

i call it the public dump

if you register as a Copyright Holder, you can create Collections and add Pieces to those Collections

💔 here (was) an example collection

it contains some parts of songs i’ve started making but don’t know how to finish. and so they’ve been released to public domain.

you can upload any kind of file, and it will be added to the Collection and displayed with a CC0 license, dedicating it to the public domain.

if it’s a sound or a picture or a video it will be displayed with a little preview. registrations are open.

e-mail me with your legal name (for the dedication mark) and desired username, and i’ll send you a password.

Greenwich Mean Time GMT

2020-11-04

dentite

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 people have reverse 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.

if you want it, here it is:

Greenwich Mean Time GMT

raspberry pi 400

raspberry pi foundation have announced a new computer that is built into a keyboard.

https://www.raspberrypi.org/products/raspberry-pi-400/

rpi-400-with-friends.jpg

the raspberry pi 400 pictured with the mouse, memory card, power supply and guidebook that come as part of its pack

this is so good!! it’s like a little amiga!

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.

rpi400.png

the raspberry pi 400 pictured from behind showing its ports and pins

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.

install emacs as /sbin/init – http://www.informatimago.com/linux/emacs-on-user-mode-linux.html

— chee (hi@chee.party) 2020-11-02