
2025-06-13 12:48:31
Inside every developer there are two wolves.
One wolf worries about cache invalidation.
The other wolf ponders deeply about the naming of things.
The third wolf makes off-by-one errors.
#programming #humor
Inside every developer there are two wolves.
One wolf worries about cache invalidation.
The other wolf ponders deeply about the naming of things.
The third wolf makes off-by-one errors.
#programming #humor
Being rather frustrated with programming Clojure in IntelliJ, (mainly because Cursive and IdeaVim don't like each other) I tried to set up Neovim with the Conjure plugin and it 's an absolute blast to use the REPL with it.
Also I discovered that there is a Lisp on top of Lua called Fennel, which I'm looking forward to play with
#Programming
The Pathfinder 2E character sheet continues. The current "components" are all now linked to actual character sheet data. The skill functions all do what they're supposed to including some interesting edge cases. The ability scores can be edited, and the sheet auto-updates which took longer than it should have. I'm still not a fan of JavaScript/Vue though.
#programming
Programmers:
My text files mostly have lines that end in:
#programming #poll #text #windows
#GrugBrainedDeveloper guide to simple #programming wisdom 🧠 Complexity is the apex predator of developers - say "no" to unnecessary features & abstractions. Focus on #debugging
So, making slow progress as I learn `rust` things. Instead of going with my usual `union`/`struct` combination in C, I'm resorting to not overflowing/underflowing primitive types and doing things more safely. This snippet of code took far longer than it should've, but it gets the job done.
#programming
Telling it like it is (to Copilot just now).
#AI #LLM #Copilot #softwareEngineering #programming #technology #AI_slop
It's not a language or a framework that I ever use, but I think that "don't be too clever" is one of the most important rules that every software developer should abide by.
#SoftwareEngineering #Programming #coding
Shower thought: Algebraic effects are isomorphic to checked Aspect Oriented Programming, in the same way that checked exceptions are isomorphic to a Result Type.
#Programming
Today, I learned (the hard way) that `abs(MIN_INT) == MIN_INT` is true. 🤦
How's your day going? 😅
#TIL #Godot #Programming
#AI #programming assist has been helpful for me. But I'm not losing my job anytime soon. Here's a simple example of why.
I have a script with
`cmd1`
I prompt GPT-4.1 to "now invoke cmd2 and cmd3 at the end". Good:
`cmd1`
`cmd2`
`cmd3`
"Add a 15 second pau…
Programming socks? Not quite, just plain black ones, sadly. 😔
Luckily I found a site where I can order programming socks in gender-fluid colors. 😊
#ProgrammingSocks #ProgrammingHumor
The lovely thing about Clojure (or any LISP for that matter) is that you start with
step 1: learning its data structures,
then you proceed to
step 2: learning the syntax, which you've already done in step 1
#programming #Clojure
🏗️ Compiling a Lisp: Lambda lifting
#software
Alle Welt belustigt sich über Monsterwortkomposita wie den Donaudampfschifffahrtsgesellschaftskapitänsmützenreiniger im Deutschen.
Aber habt ihr mal einen Blick auf typische Methodenbezeichner in Java-, C#-, $Whatever-Code geworfen?
#programming
Is there anyone with Norwegian language setup on a desktop or mobile browser?
I need to know what your browser declares in `accept-language` header?
Is it nb-NO or no-NO? Or maybe both?
Boost for visibility please!
#webdev #programming
How to do it? Open any web…
#Programming's Greatest Mistakes
https://www.youtube.com/watch?v=Y9clBHENy4Q
How do you pronounce char?
Do you say car?
Do you say care - since it is the beginning of the word character?
or do you say it like the beginning of the word charcoal?
#programming #programmers
Fell in love with #IntelliJIDEA’s way of dynamically adding parts of the file’s path to the caption of the buffer’s tab if I have opened two files with identical names.
#programming #coding…
I really like the ideas. So far this is my set of 🤓 nerdy cards (although Agile Poker is not really a game).
Especially the "Exploding Git Commits" is nice, since I'm an Exploding Kittens fan. 💥🐱
Cash you recommend other games?
#programming #programmers
I hate it when I get a great idea for how to rewrite a library I've already written, but way better.
#PHP #Programming
The amount of pointless, useless, overly-complex indirection I see in so many well-established, popular projects makes me very sad.
Except when I am trying to debug it; then it makes me very angry.
#PHP #Programming
Got the Roll Dice dialog box themed up about as nice as its going to get. Still might make it a touch smaller though.
#pathfinder2e #python #programming
😲 Started getting complaints that an email newsletter signup form I forgot about years ago quit working -- at such a rate that I must have accumulated at least a thousand emails in a DynamoDB table
#programming #sysadmin
and then it all breaks down #coding #programming #javascript #python
#Github #copilot now supports an instructions file.
Here's mine:
"Go Away!"
#ai #programming
Got the initial dice rolling implementation in the #Pathfinder2E character sheet. Not the prettiest, but it works pretty damned well. `[Ctrl] [D]` to open the dialog window, `[Esc]` to close, and `[Enter]` rolls the dice.
#programming
Every time Slack throws a "do you want to enable AI huh huh do you huh" message at someone who is not the Workspace admin, Sam Altman kills a kitten.
#Programming
A coding problem that sounded simple, but to implement it with good performance was quite a challenge::
Given a number n, find the next number m where m > n, with m containing the same digits as n
So given 12 this would be 21
113 -> 131
534987 -> 537489
111 -> no solution, -1, error or whatever
EDIT: changed the solution of example for 534987
#programming
C# Programmers:
Your IDE(s) of choice.
#programming #dotnet #csharp #ide
OH: "writing test isn't fun. But gotta say, kinda really helps with my anxiety."
#programming #PHP
You know what's the difference between a human programmer and an "#AI coding assistant"?
Sure, human programmers make mistakes. And rookies often make "worse" mistakes than an #LLM can come up with. However, the difference is that humans can actually learn. Teaching them comes with a payoff; not always and not necessarily for your project, but there's a good chance that they'll become better programmers and contribute back to the community.
Sure, human programmers sometimes plagiarize. And of course they need to look at some code while they learn. However, they actually can think on their own and come up with something original. And they can learn that plagiarism is wrong.
And most importantly, usually they don't lie if they don't have to, and there are limits to their smugness. You can build a healthy community with them.
You can't build a community with unethical bullshit-spitting machines.
#programming #FreeSoftware #OpenSource
Since #FakeRelay is shutting down, does anyone know of a good relay for #Linux #programming #DevOps interested fo…
AHAHAHA COME AT ME AI
#programming #python #mos6502 #assembly
I did not expect Martin Fowler to be so anti-CQRS. Anyone have other writeups that have a more balanced perspective?
#Programming r…
Seriously, who decided that "request," "response," and "result" should all begin with the same two letters? Damnit, English, could you spare *one* second for folks trying to write HTTP handling logic?
#Programming #PHP
#Copilot "Think Deeper" mode is much more useful than Quick Response. For coding, it has a "Senior Dev" posture (even alludes to it) including saying "ping if you've a question" and talking vague, defensive BS in circles.
That's a ✅ on ego and mumbo-jumbo parts of senior dev.
#AI #LLM #programming
A large chunk of client JS code is just this over and over and over again. In case *I* removed a necessary element when *I* wasn't watching. 🤦♂️
```
const x = document.getElementById("X");
if (!x) {
console.error("X element not found.");
return;
}
//later
alert("Check console.");
```
#technology #programming #JavaScript #defensiveProgramming
I have a lot of cool pictures to share from hikes and such, but first I have some stylesheets with cascading speculations to fight, I mean write. 😟
#technology #webdev #programming #life #nerd
Any code segment is a 1-liner if you have composition. 🙄
#technology #programming #complexity #complicated #sarcasm
Promises are a JavaScript programmer's way of saying "I promise you this code is complicated." 🤓
#technology #JavaScript #programming #nerd #joke #nerdJoke