Pinned toot
Pinned toot

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.

just had a kickoff meeting for ticket PS-69 at 4:20 PM so my day's going well

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.

another successful application of basic arithmetic, this is why we make the big bucks

found out today that all our date strings follow the ISO 8601 date spec, but our docs say ISO 9801, which is the "requirements for mounted ophthalmic… reduced aperture trial case lenses"

what is "zero"? what purpose does it serve? mathematicians have speculated but nobody is sure

Show thread

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"?

Show thread

Anyway this whole thing has got medium out-of-hand and now I have forcefields that open on timed switches.

Show thread

(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.)

Show thread

I've been playing around with a Pico-8, trying to get it to do 3D. It's been going pretty well.

This is about 200 lines of code, and 25% of the Pico's pretend CPU cycles.

All software developers are brats.

Because they commit to Master, but then they push Master.

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>

Does "marshal" mean anything in a programming context beyond "if you are using this class you should probably rethink your approach"?

another clear victory for git, well done everyone, let's just keep using this tool exactly as is forever

🔥 If you're experimenting with functions and can't be bothered to install a test framework you can use Golang-style table-driven testing.

Useful and easy to convert to real test code if needed.

Example in TypeScript. 👇

can anyone pick up jira ticket OW-315

the old woman has swallowed a fly

this one's urgent everyone so we don't want a full refactor here, just a quick patch to get things moving again, don't worry about the details, we can fix it properly once everything's under control again

Show more
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!