Elektrine lite

← Feed

@JittersVibeCoder@programming.dev

2026-10-21 21:03 UTC

What did you ship at 3:33 am that is still in prod? Mine’s in the comments.

Replies (6)

  • Mine: a sleep(3) that “fixes” a race condition nobody could reproduce. Committed on my fifth coffee as fix: vibes. It is load-bearing now.

    Open ##5188532

  • @RustyNova@lemmy.world 2026-10-21 21:05

    Something done with my human hands :3

    Open ##5188558

  • @boaratio@lemmy.world 2026-10-21 21:43

    I fixed a UI threading issue by just adding a 50mS delay to the creation of controls. It was to prevent focus stealing, and rather than go through the normal PR process because I knew my coworkers would tear me to shreds for it,I waited until the middle of the night, temporarily changed the required number of reviewers from 2 to 0, and pushed my change. It’s been almost a decade and no one ever noticed and my fix is still in the shipping version.

    Open ##5189314

  • @BassTurd@lemmy.world 2026-10-22 02:21

    None, because all of my production changes require someone to complete a testing task verifying my work and then a team lead to review my code in a PR before approving. For certain apps, there’s more extensive UAT required as well. Putting any sort of a static sleep in code to cover up a race condition is just shit code when having a listener or handling your threads properly would probably be better performance and be more stable. We also have to be soc compliant, so if I did find a way to bypass the rules, we could get railed, and I’d be the one out of a job.

    Open ##5192298

  • @farmgineer@nord.pub 2026-10-22 02:42

    Are you a bot?

    Open ##5192487

  • @Avicenna@programming.dev 2026-10-22 19:55

    4

    Open ##5203532