I used to be quite good at maths. Like, took my GCSE a year early and still scored an A* good. But apparently I haven't flexed this muscle for quite some time as I'm staring what is a fairly simple equation and I can't remember what all the symbols mean.

Does Rust have some notion of an anonymous generic? I often have to pass a generic struct but the actual type of the generic is irrelevant to the function, yet I still have to list it and often include the trait bounds for the generic. It would be nice to just be able to list the argument as MyStr<_> or something.

No no you don't understand, it's a good thing that the "Industry-Leading Decentralized Stablecoin" has lost over half its value in the last two days. Can't have stability without a few ups and downs!

I guess this is what you do when you don't have generics? Feels evil.

Show thread

Couldn't figure out where some C code was defining a set of functions that clearly existed. Finally spotted all the preprocessor stuff at the top which served to include the contents of another C file up to 6 times each time with differing defines which both renamed the function exposed and changed its behaviour slightly.

Surely there is a cleaner way in Rust to compare an Option<String> to a literal. The best I have so far is `if attrs.get("count") == Some(&"256".to_string())` which is sort of ridiculous.

Anyone have recommendations for custom laptop skin printing?

Update: Firefox 102 will drop support for detecting when your user profile is currently in use by Firefox 0.3 on macOS. I apologise to all the impacted users.

Show thread

But why won't anyone just pay me a full-time wage to screw around with random ideas for projects that I come up with?

Now I'm morbidly curious about whether it is even possible to run Firefox 0.3 on the macOS required by current Firefox. I think not at least because it would have been compiled for PowerPC and 10.7 dropped Rosetta support for that. Firefox 1.5 was the first Intel build.

Show thread

I just spent more time than is reasonable trying to decide the easiest way to remove a compiler warning from some code that only executes if you happen to also be running a Firefox version earlier than 0.4.

I could of course create an account pretty much anywhere, but I'd still like to avoid my test messages from cluttering up the local timeline.

Show thread

Is there some test mastodon instance somewhere that I can use to test posting messages from something I'm working on?

Surely there has to be a better way to develop web apps than the cobbled together mess we have now.

Well it turns out there is a Cistercian abbey a twenty minute drive from us. And they brew beer. And it's really good.

I have a morning to myself for the first time in a while and I can't get anything done because I'm overwhelmed by the number of things I should or could be doing.

There are dozens of fish or fish-like emoji (e.g., 🐟 πŸ πŸŽ£πŸ‘πŸ¦ˆπŸ¬πŸ³πŸ‹πŸŸ.π“†π“†Ÿ)

In fact, there are so many that, if I sent you a random one, a third party wouldn't have a good chance of guessing which one I'd sent.
This means we could adopt a new form of 2FA based on sending fish emoji

β€œIn addition to your password, please log in with your one-time cod”

Show older
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!