2026-07-07 17:56:04
Do the simplest thing that will work, except for when you need to do the most robust and forward-thinking thing that will work.
Determining when to do which, that's the rub.
#Programming
Do the simplest thing that will work, except for when you need to do the most robust and forward-thinking thing that will work.
Determining when to do which, that's the rub.
#Programming
Check out the #ProgrammingHistorian currently 119 tutorials for using tech in historical and genealogical research. https://programminghistorian.org/en/lessons/
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
#ProgrammingLanguages, targets, and platforms
I started as a #Java developer, but for some time now, I have broadened my horizons. Recently, I thought about how early languages were dedicated to a single target and platform, and now they are broadening their focus. In this post, I want to …
Sonarcube issue: You have 0% coverage for your test class.
Alright, so it's asking who surveys the surveyors, I guess? :morty:
#programming #sonarcube
Been coding a lot lately. If anyone is looking for a selfhosted git repository manager, Forgejo is absolutely great to work with! #selfhosted #programming #git
C won because of #NewJersey
#programming
BTW I’m still angry that nobody told me that left recursion in recursive descent parsers generated from PEGs was a solved problem
#programming
Hrmm, Zig is an interesting language...figured I'd kick the tires and figure out what's going on. So far it's been pretty nice.
#zig #programming
I have now reached the "how did this ever work?" stage of debugging.
#PHP #Programming
I've started building a CLI PeerTube client using the API just for fun...in Haskell 😀
#Haskell #PeerTube #API #Programming
"Sharla Boehm earned a teaching degree from the University of California, Los Angeles, before she channeled her talent for math into computer #programming While working at the RAND Corporation, she built a groundbreaking simulation, originally conceived to strengthen military communications during the cold war. The simulation—and her work—would ultimately lay the foundation for the moder…
Code that used to work but now doesn't is the bane of my existence. And yes, there are tests. That doesn't answer *why* this thing no longer works, despite no changes to the relevant files.
#Programming #Debugging
Kennt sich jemand mit roboter programmierung aus ? Suche bausatz für Anfänger
Gerne boosten
#robotics #anfaenger #bausatz
There is an I you feel. Located, bounded, looking out at the world from somewhere behind your eyes. Geneosophy is not interested in that I.
https://www.ocrampal.com/the-ground-beneath-the-i/
RE: #Programming
Do the simplest thing that will work, except for when you need to do the most robust and forward-thinking thing that will work.
Determining when to do which, that's the rub.
#Programming
Incompetent managers, take note...
#Programming
Every major intellectual revolution has a Galileo moment: when the object of inquiry becomes clear, the method takes shape, and the formal language is still being forged.
https://www.ocrampal.com/the-galileo-moment/
RE: #Programming
Reminder: "I dislike $X" and "$X is bad" are two completely independent statements, and one does not imply the other.
(Update to use variable names, because there's always that one joker..)
#Programming #Art