Does anyone else wake up in the middle of the night and suddenly realize they have a subtle bug in their code, e.g., an off-by-one error?
Does anyone else wake up in the middle of the night and suddenly realize they have a subtle bug in their code, e.g., an off-by-one error?
❗️
The 80.000-line monster: How our entire company lived in a single server.js https://www.reddit.com/r/programminghorror/comments/1n4y7xd/the_80000line_monster_how_our_entire_company/ #JavaScript #DailyWTF #ProgrammingHorror
in python, made by me, not as a joke
Rust Devs Think We’re Hopeless; Let’s Prove Them Wrong (with C++ Memory Leaks)! When Rust developers think of us C++ folks, they picture a cursed bloodline — generational trauma passed down from malloc to free. To them, every line of C++ we write is like playing Russian Roulette — except all six chambers are loaded with undefined behavior. They look at us like we’re hopeless. Like we’re one dangling pointer away from therapy. But you know what? We don’t need a compiler nanny. No borrow checker. No lifetimes. No ownership models. No black magic. Not even Valgrind is required. Just raw pointers, raw determination, and a bit of questionable sanity. So in this video, I’m going to show you how to hunt down memory leaks like you were born with a pointer in one hand and a debugger in the other. If that sounds unreasonably dangerous — and incredibly fun — smash that subscribe button, and let’s dive into the deep end of the heap.
live footage of me reading the #limesurvey docs only to realise that there are no `else` or `else if` statements. don't mind me just nesting 50 `if` statements. 
As a programmer slash reverse engineer with two decades of experience, I have seen many things. But today I saw something new. A full SaaS application with its entire backend interface built as … a single <canvas> tag.
That’s right, everything — user/permission management, uploaded file browser, system configuration screens — everything is painstakingly drawn programmatically as individual shapes and texts. Thank fuck I’m here as a user and not a developer.
JSESSIONID cookie wins in this case? Based on my empirical studies, it is the last one, but I don't know it for sure.I don't know who needs to hear this, but you can't change IIS settings on a web server to force `Accept-Encoding: br` onto every HTTP request that comes in.