programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Gollum@feddit.de to Programmer Humor · 1 year ago

Me after I got fired

feddit.de

message-square
69
link
fedilink
863

Me after I got fired

feddit.de

Gollum@feddit.de to Programmer Humor · 1 year ago
message-square
69
link
fedilink
  • IphtashuFitz@lemmy.world
    link
    fedilink
    English
    arrow-up
    17
    ·
    1 year ago

    Decades ago I had to debug a random crash. It only happened on Wednesdays. On Wednesdays in September. On Wednesdays in September after the 10th…

    • perviouslyiner@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      1 year ago

      only when your coordinates were within a train depot in Poland?

      https://www.youtube.com/watch?v=XrlrbfGZo2k

    • xia@links.hackliberty.org
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      I kinda want to hear more of this story… care to share the details? i.e. what was the root cause?

      • IphtashuFitz@lemmy.world
        link
        fedilink
        English
        arrow-up
        17
        ·
        1 year ago

        It was pure c code that was used to print reports, and included the date in a header. Whoever wrote it miscalculated the size of the buffer for the header by one byte. When the date was the longest month & day spelled out plus a two digit day of the month then it would overflow the buffer, resulting in the program crashing.

        • Fleamo@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          1 year ago

          That’s very funny.

      • perviouslyiner@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        deleted by creator

Programmer Humor

programmer_humor

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 546 users / day
  • 4.72K users / week
  • 8.29K users / month
  • 18.1K users / 6 months
  • 2.4K local subscribers
  • 23.3K subscribers
  • 1.39K Posts
  • 52.3K Comments
  • Modlog
  • mods:
  • adr1an
  • Feyter
  • BurningTurtle
  • Pierre-Yves Lapersonne
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org