Lemmygrad
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
illectrility@lemmy.world to Programmer Humor@lemmy.ml · 3 years ago

I still have nightmares (not OC)

lemmy.world

message-square
14
link
fedilink
63

I still have nightmares (not OC)

lemmy.world

illectrility@lemmy.world to Programmer Humor@lemmy.ml · 3 years ago
message-square
14
link
fedilink
alert-triangle
You must log in or # to comment.
  • CannotSleep420
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 years ago

    I once had a professor ask to solve the tower of hanoi using only 2 pegs.

    • illectrility@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 years ago

      How did that turn out?

      • CannotSleep420
        link
        fedilink
        English
        arrow-up
        6
        ·
        3 years ago

        It was a trick question.

        • illectrility@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 years ago

          Yeah of course but what did he expect to happen?

          • CannotSleep420
            link
            fedilink
            English
            arrow-up
            5
            ·
            3 years ago

            Realize it was impossible I guess?

            • illectrility@lemmy.worldOP
              link
              fedilink
              English
              arrow-up
              2
              ·
              3 years ago

              Hm, okay. The word “professor” made me think that it may be something really interesting and not just “do this” — “not possible” — “yeah, you’re right”

  • Papamousse@beehaw.org
    link
    fedilink
    arrow-up
    5
    ·
    3 years ago

    Oh god Hanoi’s towers… Incredible that I programmed it in BASIC on my ZX81 in the 80s, and now at 50+yo I would have no clue how to program it lol

  • Preston Maness ☭
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    3 years ago

    And then someone starts talking about dining philosophers…

  • Cassilda
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    M-x hanoi

    • assa123@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      Good ol’ emacs, relevant xkcd (although I don’t think there’s anyone that hasn’t seen it).

    • NotYourSocialWorker@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      Sure, but can you shut it off?

  • gylotip@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    deleted by creator

    • sweetlemon@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      The meme basically shows how a non-programmer sees the Towers of Hanoi game as a fun little puzzle, while a programmer sees it as a traumatizing experience due to the recursive nature of the algorithm behind it

  • legalpenguin@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    Any other recursive algorithm was no problem for me, but I couldn’t wrap my head around this game.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

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

  • 15 users / day
  • 1.39K users / week
  • 2.08K users / month
  • 7.64K users / 6 months
  • 160 local subscribers
  • 39.5K subscribers
  • 2.13K Posts
  • 37.6K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org