home.social

#programminghorror — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #programminghorror, aggregated by home.social.

  1. Rust devs think #C++ is like a horror film where memory leaks are the monster that keeps coming back for sequels nobody wanted. 😂 Meanwhile, C++ devs are proudly riding that memory leak rollercoaster, proving the point with every malloc-mishap! 🎢💥
    babaei.net/blog/rust-devs-thin #Rust #memoryleaks #programminghorror #developerhumor #codinglife #HackerNews #ngated

  2. 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.

    #ProgrammingHorror

  3. Why? Why would you do this?

    Does anyone know which
    JSESSIONID cookie wins in this case? Based on my empirical studies, it is the last one, but I don't know it for sure.

    #WebDev #ProgrammingHorror

  4. 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.

    #programminghorror

  5. It's been a while since I fixed something by carefully crafting a `setTimeout`. #JavaScript #ProgrammingHorror

  6. freelancers, man

    “my yarn build script fails, I’ll run `composer update`”
    “shit, that didn’t help, I’ll install a new version of yarn”
    “nope, let me just reinstall all the node_modules with this new version of yarn”
    “yessss, it works now, time to push it”
    “hey, dude, your build pipeline fails on my code, fix it”

    #ProgrammingHorror

  7. *eye twitch*
    *eye twitch*
    *eye twitch*
    *eye twitch*

    I never thought I would be sorry to see our current SAP integration gone, but this freakshow is making me rethink that.

    #ProgrammingHorror

  8. that sinking feeling when you realize this project has 100+ tests using #Symfony DomCrawler to open routes and submit forms, but they don’t have a single assert to verify the received response codes

    #ProgrammingHorror

  9. I'm going to share a terribly embarrassing secret:

    In a recent programming assignment I created a doubly linked list. Somehow I had a bug that wasn't always assigning a previous value to a node. Couldn't track it down for the life of me!

    So... rather than tracking down the bug in the limited amount of time left before the assignment was due, I created a function that traveled down the list to compare previous and next values and force them to match.

    It is the hackiest thing I have ever written and I hope the professor never finds it!

    #programming #ProgrammingHorror #ProgrammingHumor