Joshua Barretto
banner
jsbarretto.social.coop.ap.brid.gy
Joshua Barretto
@jsbarretto.social.coop.ap.brid.gy
Mostly libre software and system safety. Also gardening, DIY, dog photos. Founded @veloren and other projects. Really, really dislikes fascists, born at 364 ppm.

🌉 bridged from ⁂ https://social.coop/@jsbarretto, follow @ap.brid.gy to interact
I really want to clean up this code, but I'm finding it quite difficult. It's like a knot that's been shaken around until it's reached its canonical cardinality. Nothing can be removed without breaking functionality, but what remains is only just in the realm of comprehension.
November 20, 2025 at 11:09 PM
@mndflayr @JessTheUnstill Arguably the same is true elsewhere though, right? You know what a calorie is, you know what a joule is. But unless you're a physicist/brewer/nutritionist you probably can't go between them in your head.
November 18, 2025 at 9:55 AM
@mndflayr @JessTheUnstill Not in the slightest. Totally disparate parts of the brain. The km/miles conversion is pretty common, but that's about it. If you asked me to guess how many pints a litre is, I'd probably be off by a factor of at least 0.3x. Very strange.
November 18, 2025 at 9:54 AM
@mndflayr @JessTheUnstill Am British: most of these are correct, but should come with an additional "are you under the age of 35?" question. I have no idea what I weigh in imperial units!
November 18, 2025 at 2:00 AM
From last night: directional lanterns.

The most difficult part about this one was the closed-form ray/cone intersection maths for the diffuse effect - no SDF raymarching here! Cones specifically are a pain because they have so many intersection combos.

On top […]

[Original post on social.coop]
November 7, 2025 at 9:31 AM
November 6, 2025 at 2:40 PM
@MastodonEngineering Is there an easy way to determine which version my instance is currently running?
November 6, 2025 at 1:47 PM
@thibaultmol My brain just did the little Map Men jingle
November 1, 2025 at 7:10 PM
I am reminded of XKCD#2501). I don't want to launch into a stream of babble that only makes sense to 5 people, nor do I want to bore people with things that are common knowledge.
November 1, 2025 at 6:01 PM
@fasterthanlime I'm not sub-tooting, to be clear! I'm referring to an amorphous, blobby average that I think counts as a phenomenon. Very much enjoying watching your work on Facet.
November 1, 2025 at 4:44 PM
Melons are more of a challenge, y'know?
October 31, 2025 at 6:51 PM
@futurebird Necessarily! It's not a 'trick' as much as it is a necessary consequence of the laws of entropy. Building your own version of the library is surprisingly uncomplicated!

https://github.com/zesterer/babble/blob/master/src/main.py
babble/src/main.py at master · zesterer/babble
A (horrendously hackish) clean room reimplementation of the Library of Babel, originally at https://libraryofbabel.info (seriously, check it out) - zesterer/babble
github.com
October 30, 2025 at 10:18 AM
@bitprophet I have on occasion tried editors with it. I definitely appreciate it, but I was surprised a bit by how I personally failed to get much out of it. I mostly just found myself annoyed at how often it complained about code that was incomplete. I think if I had more control over when the […]
Original post on social.coop
social.coop
October 29, 2025 at 10:07 PM
If you're a professional software developer, so much of your life is dedicated to writing code that effectively just vanishes into a void, never to be seen again. Maybe it gets rewritten in a few months, maybe the project gets cancelled, maybe nobody uses the feature, maybe you leave your […]
Original post on social.coop
social.coop
October 29, 2025 at 9:40 PM