programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
learnbyexample to ProgrammingEnglish · 1 year ago

The code worked differently when the moon was full

www.hanselman.com

external-link
message-square
10
link
fedilink
70
external-link

The code worked differently when the moon was full

www.hanselman.com

learnbyexample to ProgrammingEnglish · 1 year ago
message-square
10
link
fedilink
I love a good bug, especially ones that are initially hard to explain but then ...
alert-triangle
You must log in or register to comment.
  • mox@lemmy.sdf.org
    link
    fedilink
    arrow-up
    41
    ·
    1 year ago

    “We can’t send mail farther than 500 miles from here…”

    http://www.ibiblio.org/harris/500milemail.html

    • hallettj@leminal.space
      link
      fedilink
      English
      arrow-up
      15
      ·
      1 year ago

      I love these stories! There’s also,

      • radioactive cows
      • the high-tide bug
      • OpenOffice does not print on Tuesdays

      And now that I’ve gone searching for these I see that they’ve all been helpfully collected on http://beza1e1.tuxen.de/lore/index.html

      • Pantrygheist
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        Those are great stories, thanks for sharing!

      • jkrtn@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        http://www.penzba.co.uk/GreybeardStories/TheBlackTeam.html

        • gravitas_deficiency@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          Apparently, back in the days when a hard drive was the size of a clothes dryer, some enterprising engineering students would hack the device drivers so they could make the thing gradually scoot itself across the room using nothing but well-timed drive head thrashing.

          • jkrtn@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            That’s awesome. What a student thing to do, as well!

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

    tldr: the code worked differently when a signed version of gettickcount was negative, giving a change that repeats over 49.7 days

  • Hector_McG
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    edit-2
    1 year ago

    The moon phase cycle is 29.5 days. The reported bug cycle is 49 days. Yet somehow, “Not strictly the cycle of the moon but close”.

    With that sort of logical analysis ability, no wonder this guy struggles with stupid bugs.

  • WalrusByte@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    That code has a werewolf in it!

  • anti-idpol action
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    impure functions and their consequences

Programming

programming

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 the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



Visibility: Public
globe

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

  • 74 users / day
  • 586 users / week
  • 2.72K users / month
  • 7.04K users / 6 months
  • 2.71K local subscribers
  • 20.1K subscribers
  • 2.17K Posts
  • 34.9K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • MaungaHikoi@lemmy.nz
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org