from my link log —
D as a C replacement.
https://theartofmachinery.com/2019/04/05/d_as_c_replacement.html
saved 2019-07-03 https://…
Just wrote a fun little algorithm for iterating through all grid positions within X euclidean distance from a center, roughly in order of distance but also mostly ensuring each position yielded is at least diagonally adjacent to the previous. It's a fun problem to think about with lots of design tradeoffs and many valid solutions.
My solution requires that the origin be on the grid (I think?) and uses a bunch of caching instead of a bajillion distance checks, although I don't actually know what the memory/speed tradeoff is like or whether there are any gains at all (could be net losses, which I'm starting to wonder about more as I write this post). Thankfully I don't expect performance to be very critical here anyways, and doing the caching actually helped separate some logic in a useful way.
A fun little diversion from bigger stuff in the project and a reminder of some of the joys of programming design at a small scope. Feels kinda like mastering the local town's minigame while you're stuck on the main quest in an RPG.
#programming
This is such a sweet story…
#bikeTooter #cycling
'Yesteryear,' a tradwife satire, understands Christianity better than most Americans
https://religionnews.com/2026/06/29/yesteryear-is-a-tradwife-satire-its-also-a-strikingly-accurate-portrait-of-american-religion/
🇺🇦 #NowPlaying on #BBC6Music's #HuwStephens
Truthpaste:
🎵 Never Gonna Give
#Truthpaste
#newRelease 🆕 single
https://open.spotify.com/track/2FmKeSugXWcZMlhynAgONf
🇺🇦 #NowPlaying on KEXP's #AfternoonShow
Queens of the Stone Age:
🎵 Keep Your Eyes Peeled
#QueensoftheStoneAge
https://qotsa.bandcamp.com/track/keep-your-eyes-peeled
https://open.spotify.com/track/3NsalxTTrWTFPnIrUjl3Ze
'Yesteryear,' a bestselling novel about tradwives, is spot on about American religion
https://religionnews.com/2026/06/29/yesteryear-is-a-tradwife-satire-its-also-a-strikingly-accurate-portrait-of-american-religion/
Åker en söndagstur i min favoritcykelrunda. Ett medley genom södra tunnelbanans förorter och skogar. Finns här https://happyride.se/turtips/bakvagen.141/
Nu paus i Nackareservatet
from my link log —
Thoughts on Rust bloat.
https://raphlinus.github.io/rust/2019/08/21/rust-bloat.html
saved 2019-08-22 https://