2026-04-01 19:29:15
🛠️ Comparing C/C unity build with regular build on a large codebase (2024)
#programming
🛠️ Comparing C/C unity build with regular build on a large codebase (2024)
#programming
I don't program in C or defend that language, but each time I read someone complain about the need to manage null-termination and such in C, I wonder if they'd have similar complaints about assembly programming. Sure, C is "higher level" than assembly but only barely? 🤔
#programming #reasoning
I've started building a CLI PeerTube client using the API just for fun...in Haskell 😀
#Haskell #PeerTube #API #Programming
After an unfortunate finger slip, I briefly tried to call the arse_url() function in PHP.
Now I kinda want to write an RFC to add it..
#PHP #Silliness #Programming
If, in computer science (e.g. in a database) you need to create a many-to-many-relationship where the hierarchical order is important, there is ONLY one game in town: Parent-Child.
#programming #database #dba
Reports of #code's death are greatly exaggerated
#programming
"And on the fourth day, GOD said, 'Lᴇᴛ'ꜱ ᴍᴀᴋᴇ ᴛʜɪꜱ ᴄᴏɴꜰɪɢᴜʀᴀʙʟᴇ.' So he spent the rest of eternity doing that and never reached day five."
#programming #dependencyhell #technology
There's roughly two ways I've acquired skills in programming languages in the past: the "hard" way for writing code (e.g., "Learn Python the Hard Way"), and the "easy" way for learning to read a new programming language by skimming the language specs or leafing through a book on the topic (e.g., "The Supercollider Book").
I suppose there's a third way now for me: Reading up on software architecture design (e.g., stuff like "500 lines or less"), so that co-creation skills with large language models are improved?
For example, Yoav Rubin's article on "An Archaeology-Inspired Database" in 500 lines or less really made me think about Clojure in a new way.
Thoughts on this?
#AIResearch #Software #programming
🐍 snakes.run, massively multiplayer Snake over SSH
#programming #software
I see a lot of people pushing to avoid libraries that use AI. We're soon going to need to figure out how we even define that, since it's not always obvious if a PR is AI-assisted.
We're going to need standards for "organic code." Which is... yeah, GFL with getting devs to agree on anything.
#Programming
Just went through a code file and replaced "target" with "recipient" in a bunch of docs and variable names, because I had had two senses of "target" and because I want to encourage less-combat-focused thinking among potential devs (which at the moment and for the foreseeable future is just me). Zero changes to code functionality (unless I messed up) and took maybe 30 minutes. Got me thinking about the goal of software development and who would view that time as "wasted".
From a short-sighted "measure user-facing functionality" standpoint there was basically zero progress made. From a "cultivating-code-understanding-entities" perspective, there are both immediate and long-term gains. I got a chance to review the entire file at a high level which improves my understanding of things even if no changes had been made. The changes increase clarity of a lot of documentation, as well as variable naming clarity in code which deals with both senses of "target" which now has clear separation between variables that refer to targets and recipients. If there are any other devs in the future, this will help them a lot. Even if not, by increasing my own development efficacy, the expected values for project-gets-shipped and overall-project-impact just went up. I've also helped myself not introduce the same ambiguity in all my future projects, because I'll remember this time investment, and I've bent the ideological flavor of the protect towards neutral/beneficial interactions between "initiators and recipients" instead of hostile interactions between "initiators and targets".
Overall, well worth the time investment if we consider all the subtler benefits, and not just a very crude measure of user-facing behavior. (Secretly, this is also a post about LLMs.)
#programming
Why is it every time I try to take the simple approach and not over-engineer things, I end up regretting it and needing to change it to the "I thought this would be over-engineered" approach?
Like, seriously, this happens all the time.
This is why I tend to "over-engineer" early, because I have been burned by this *so many times*.
#Programming
Kennt sich jemand mit roboter programmierung aus ? Suche bausatz für Anfänger
Gerne boosten
#robotics #anfaenger #bausatz
RE: #java #programming …
What's a good short name for a program that (1) syncs files and (2) runs builds?
#programming #askfedi
There is a derivative of Amdahl’s law that applies to this whole « vibe coding » thing. I spend maybe 5% of my time designing and writing code and 95% maintaining it. As far as I know LLMs make the former faster, which is pointless, and the latter harder and more time consuming, which is actually both bad and stupid. Go figure.
#programming
Version 2.0.0b5 should be the last version before the first "official" release of the client rewrite. So very, very close...lol
#programming #sisyphus
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/
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
php -S localhost:8000 -t .
HOLY CRAP!?! How have I never known that PHP has a built-in web server for development? How long has this been thing? (Rhetorical question as I'm about to look it up, just stating for emphasis on my surprise to have just found this option.)
#PHP
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/
🧲 zerobrew is a Rust-based, 5-20x faster drop-in Homebrew alternative
#software
Is it wrong of me to assume that if the CSS on your project's website is broken in stupid ways, your project itself is probably also broken in stupid ways?
It's at least a yellow flag, right?
#Programming