@sir Python doctests are kinda cool. Good ones double as examples to explain to users what a function does.

But it's real easy to write bad tests especially if you're compelled to in order to meet some coverage goal.

I wrote a blag post about the dumb & convoluted way I run Mastodon with systemd's portable services.


If you read it, then my mom won't be the only person to read my blag before the next drive fails and my website is down for another week.

After having been away from Python for a couple months, I tried writing a new Python program and only just now realized how strange it is that the logging package is all camelCase.

sqwishy boosted

Valve hires KWin core developer Roman Gilg for gaming-related XServer and KWin improvements. Roman seems to have a ton of cool projects in the pipeline, and this makes me happy. #KDE


@sir I've been looking at capnproto.org/ recently. It more like protobuf than gql and designed for IPC instead of having text based queries/formats.

I don't think it's quite what you're looking but you might find some things interesting in their literature.

I got around to upgrading the mastodon instance today and they added polls. Is this good news?

I made a little timer thing in rust that runs in a browser with WebAssembly.

See it here: timer.froghat.ca/

Project link: gitlab.com/sqwishy/super-serio

FYI, some parts of iproute2 support -color and -json options.

@sir It looks like your desk has an adjustable height. Do you do anything in particular to keep your desktop from getting too far from the peripherals when you raise your desk? Like long cables or putting the machine higher up off the floor?

I keep my tower on the desk right now but sometimes it (and then the entire desk) vibrates and it's really difficult reading a vibrating monitor. ._.

One thing I enjoy is filling email address fields with root@localhost whenever I'm prompted to sign up for a newsletter without my asking.

It probably doesn't do anything, but I like to imagine that a machine somewhere at tomshardware has an inbox full of their own spam.

Maybe I'm getting older or dumber but it feels like I can more easily reason about threads than inheritance most of the time.

@sir who cares about good software? All I want is software for which its ongoing use requires maintenance that will secure me a salary vimeo.com/77199361


This is a super cool mastodon instance for super cool people only.