Christopher

@shrydar
85 Followers
129 Following
353 Posts
4th Doctor, Python, 6502, Rust, C64. Hair dye and heels, code optimisation and data compression. Former Driv{e3}r2?/Stuntman dev. he/him
C64 scenehttps://csdb.dk/scener/?id=8958
bskyhttps://bsky.app/profile/shrydar.bsky.social

Got my "extrapolated for a machine with more RAM" 1BRC-in-Rust time down to 2 seconds on my M1 MacBook Air, pretty happy with that. Not bad for a 5½yo fanless laptop.

(I just use 3e8 entries and divide the time by 0.3; the benchmark assumes a warm start and enough RAM to cache the entire file, which I don't quite have)

So that was weird. Yesterday a nail tech was using UV to cure my nail repair, and this morning a dental tech was using UV to cure the new filling my dentist just replaced an old and cracked one with. I wonder what tomorrow will bring…

New games for an old console: Meet the new generation of Game Boy developers

https://www.abc.net.au/news/2026-03-22/australian-gameboy-developers-gumpy-function-orlando-mee/106470676

> A small community of game developers is releasing new games for Nintendo's decades-old video game console, harnessing the nostalgia of these classic devices.

New games for an old console, meet the new generation of Game Boy developers

A small community of game developers is releasing new games for Nintendo's decades-old video game console, harnessing the nostalgia of these classic devices.

god varargs in C is annoying. Thank fuck $predecessor already vendored the fragments of an external library I just needed to add a 'va_list accepting' variant for one of its functions.

In the 1980s, I worked in Australia's Commonwealth Employment Service. I came to the conclusion that, with few exceptions, people want to feel that they're contributing to their community. The “Dole Bludger” is mythical.

Totalitarian Capitalism does not serve the nation well. Australia is rich enough to afford every resident the necessities of life and opportunities to do something that's meaningful to them.
“They felt a higher degree of trust in their own future but also in their fellow citizens and public institutions.”

“… how can global capital maintain its momentum if the workers with bad jobs in bad places are given the chance to plan for a better future?”

“People want to work. And that includes work that’s not itemised or valued by capital.”
https://thepoint.com.au/opinions/260311-what-if-we-just-gave-people-money-the-economics-of-time-and-freedom
#AusPol #UBI

What if we just gave people money? The economics of time and freedom

The idea that there’s only so much money to go around makes a bastard kind of sense to the poor. If impossible decisions abound in their lives, it must be true of governments, too. Certainly, that’s how federal budgets are framed. But beyond impressionism, we know the household budget is not analogous to state budgets in any meaningful way.

Haskell Curry's mom: "But my son /did/ apply himself"
Haskell Curry's teacher: "Yes, but only partially"
"texting a message used to take a time approximately proportional to the sum of the alphabetical indices of the message's characters modulo 3" is one of those things that is absolutely true but also 100% sounds like a shitpost if you weren't around for that era.
Today we had a fire alarm in the office. A colleague wrote to a Slack channel 'Fire alarm in the office building', to start a thread if somebody knows any details. We have AI assistant Glean integrated into the Slack, and it answered privately to her: "today's siren is just a scheduled test and you do not need to leave your workplace". It was not a test or a drill, it was a real fire alarm. Someday, AI will kill us.
@notgull (I'm not here very much, still mostly on bsky and twitter)

@notgull Hello! I liked your post on block patterns at https://notgull.net/block-pattern/ ; I do this too.

What I'm really missing from Rust is something like R's right assignment operator; the block pattern would be so much more readable if you could put the destination variable *after* the block like this:
{
let x=1;
let y=2;
x+y
} -> z;

Rust’s Block Pattern

Here’s a little idiom that I haven’t really seen discussed anywhere, that I think makes Rust code much cleaner and more robust.

notgull