Hello! I am @andrewt and I have registered this side account so I can kvetch about tech without boring everyone who cares not one jot about it.
what if pianos were weird???
i mean, they so are, but like what if they really went to town with it? build a batshit piano and play cursed music on it!
this is what happens when i start writing code at midnight
I have made a version of Minesweeper where if you're forced to guess you'll always be safe — but if you guess when you didn't have to you'll always hit a mine.
Honestly, I have an ex-employer who if they did this would fold within about— who am I kidding, they'd do better because all their money comes from selling a decade-old PHP app that none of use ever agreed to touch.
what is "zero"? what purpose does it serve? mathematicians have speculated but nobody is sure
If you want to play what I have so far, it's here:
Plus: half-height walls! They do exactly the same thing as normal walls but you almost can't have a game without them because how else are you supposed to say to the player "look, here's a thing, no you can't have it"?
Anyway this whole thing has got medium out-of-hand and now I have forcefields that open on timed switches.
(If you've not used it, the Pico-8 is an emulator for a console that never existed. It has a 128x128 resolution, 16 colours, and a strictly limited number of operations per frame to simulate a ~SNES-era CPU.)
I built a terrible NPM module so you can use React components to render JSON payloads on the server! Perfect for making code and build process more convoluted and proving how clever you are!
Genuine refactor I did last week: validating a required checkbox
Old code: send the event to setCheckboxField, from props, from state (!), from member function, which calls checkFormState(event, 'checkbox'), which calls validateForms specifying "validateFieldByType", which calls validateFieldByType (that's all it can do) which calls validateCheckBox, (which is x => x), which deletes the checkbox name from the set of invalid components then enables the submit button if it's empty
New code: <input required>