‹ BackHN Continuity

Thread

Show HN: Elevators

1668 points · 413 comments · Jrh0203

  1. peterldowns · · focus · HN ↗
    Back in highschool, simulating different elevator algorithms was one of the projects I implemented during my CS class. It wasn't for the class — AP CS did not require anything like actual programming — but it was a fun project.

    A cool connection is that a spinning-disk hard drive (HDD) is actually kind of like one really long elevator, just wrapped around a spindle instead of perfectly vertical. The SCAN algorithm is actually a disk-scheduling algorithm!

    <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Elevator_algorithm" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Elevator_algorithm

    1. liesliy · · focus · HN ↗
      The elevator algorithm → disk scheduling connection is such a perfect example of how CS concepts keep showing up in unexpected places. Same idea, completely different domain. It makes me wonder how many other &quot;unrelated&quot; problems we&#x27;re solving today already have decades-old algorithms waiting to be rediscovered for them. Robot motion planning is basically just elevator scheduling with more degrees of freedom.
      1. sobani · · focus · HN ↗
        FYI: all your comments are [flagged][dead]

        I don&#x27;t know why, because they all look fine to me...

        1. shmageggy · · focus · HN ↗
          LLM text tells, particularly in their other comments. Definitely AI generated.
          1. NetMageSCW · · focus · HN ↗
            Just like yours is.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.