TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

List of Special Elevator Modes

326 pointsby altrusalmost 4 years ago

30 comments

svatalmost 4 years ago
Donald Knuth&#x27;s <i>The Art of Computer Programming</i> has, in its first volume, a lengthy section on simulating an elevator. It is a single regular elevator (nothing &quot;special&quot; going on as in the post here), but even so, as he tries to make things precise, you realize how much detail is involved, and get some appreciation for the task of programming.<p>It occupies about 15 pages (plus several pages of exercises and solutions). Knuth started working on TAOCP when he was a PhD student at Caltech:<p>&gt; <i>The program developed below simulates the elevator system in the Mathematics building of the California Institute of Technology. The results of such a simulation will perhaps be of use only to people who make reasonably frequent visits to Caltech; and even for them, it may be simpler just to try using the elevator several times instead of writing a computer program.</i> […]<p>&gt; <i>The algorithm we will now study may not reflect the elevator’s true principles of operation, but it is believed to be the simplest set of rules that explain all the phenomena observed during several hours of experimentation by the author during the writing of this section.</i> […]<p>&gt; <i>The elevator system described above is quite complicated by comparison with other algorithms we have seen in this book, but the choice of a real-life system is more typical of a simulation problem than any cooked-up “textbook example” would ever be.</i><p>It ends with:<p>&gt; <i>It is hoped that some reader will learn as much about simulation from the example above as the author learned about elevators while the example was being prepared.</i><p>And one of the exercises adds:<p>&gt; <i>It is perhaps significant to note that although the author had used the elevator system for years and thought he knew it well, it wasn’t until he attempted to write this section that he realized there were quite a few facts about the elevator’s system of choosing directions that he did not know. He went back to experiment with the elevator six separate times, each time believing he had finally achieved a complete understanding of its</i> modus operandi. <i>(Now he is reluctant to ride it for fear that some new facet of its operation will appear, contradicting the algorithms given.) We often fail to realize how little we know about a thing until we attempt to simulate it on a computer.</i>
评论 #27779954 未加载
评论 #27779843 未加载
评论 #27779598 未加载
评论 #27780807 未加载
评论 #27779712 未加载
lozfalmost 4 years ago
Deviant Ollam &amp; Howard Payne did a great talk on Elevator Hacking at Def Con 22.<p>You can catch it at:<p><a href="https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;Defcon22_Talk29&#x2F;DEF+CON+22+Hacking+Conference+Presentation+By+Deviant+Ollam+%26+Howard+Payne+-+Elevator+Hacking+-+From+the+Pit+to+the+Penthouse+-+Video+and+Slides.m4v#" rel="nofollow">https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;Defcon22_Talk29&#x2F;DEF+CON+22+Hacki...</a><p>or<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=oHf1vD5_b5I" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=oHf1vD5_b5I</a> [01:00:15]
评论 #27779303 未加载
评论 #27779245 未加载
1024corealmost 4 years ago
I found a &quot;mode&quot; in an elevator in India that I have not seen anywhere else: if a destination floor number is highlighted, and you press it twice, it gets cancelled. I have used this magic power just once, when an obnoxious man got on and insisted on having a loud conversation on his phone. Since he wasn&#x27;t paying attention, I double-tapped his floor number and made him skip. I happened to get off at the floor before his, so the elevator went down to the first floor after dropping me off. Small pleasures....
评论 #27777980 未加载
评论 #27779365 未加载
评论 #27782244 未加载
评论 #27781792 未加载
评论 #27781510 未加载
评论 #27790201 未加载
评论 #27782239 未加载
grensleyalmost 4 years ago
My favorite interview question is &quot;how do elevators work&quot;?<p>0. If they immediately blurt out something like &quot;I know how elevators work&quot;, probably don&#x27;t hire them.<p>1. You can find out what areas they&#x27;re most interested in. Do they jump straight to the physical mechanics? The programming? The UI? The abstraction that they&#x27;re solving a problem?<p>2. Eventually, they reach a point where they just have to say &quot;I don&#x27;t know&quot;. The rabbit hole really just keeps going with elevators. You could know this question is coming and we will still easily reach the knowledge boundary.<p>3. If they &quot;don&#x27;t know&quot; you can ask them to guess how a system might work. Or give them time to research it and follow up with you later.
评论 #27779185 未加载
praptakalmost 4 years ago
The elevator in the apartment building I currently live in has a quirk which adds ~2s to the travel. If you know this quirk you can save the ~2s on each use.<p>So if you just pick the floor then it waits 2 seconds before closing the door. Obviously the elevator waits for the door to get fully shut before it starts moving.<p>If you first press the &quot;shut door&quot; button and then the floor button, then the door shuts within any delays, which means the elevator starts moving 2 seconds earlier.
评论 #27782052 未加载
royjacobsalmost 4 years ago
If you&#x27;re interested in elevators and the hacking thereof I would also highly recommend this talk: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;ZUvGfuLlZus" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;ZUvGfuLlZus</a>
评论 #27777045 未加载
matsemannalmost 4 years ago
Related, Elevator Saga. <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27487111" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27487111</a><p>A game where you program the logic of elevators to move people around efficiently. Surprisingly complicated.
评论 #27793324 未加载
sillysaurusxalmost 4 years ago
One time when working as a pentester, we were doing redteaming (read: breaking into target buildings, physically). Well, they were doing redteaming; I always wanted to, but never quite got the opportunity.<p>One of the ideas thrown around for achieving the objective was to somehow get ahold of an elevator key, stop it, and hide in there until the building closed.<p>I don&#x27;t know if they actually did that, but it would&#x27;ve been hilarious to see them pop out like a scoobie doo villain and jack into an ethernet port while the janitor has no idea what&#x27;s going on.
评论 #27778041 未加载
评论 #27778887 未加载
geephrohalmost 4 years ago
Slightly off-topic, but I&#x27;d definitely recommend Colson Whitehead&#x27;s _The Intuitionist_[1] for anyone interested in the intersection of elevators and speculative mysteries. Never thought I&#x27;d get the chance to post this to an HN thread...<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;The_Intuitionist" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;The_Intuitionist</a>
评论 #27793310 未加载
评论 #27778908 未加载
trhwayalmost 4 years ago
&quot;pet mode&quot; reminded about my cat many years ago - we lived on the 5th floor of an apartment building, and going outside the cat would walk the stairs down, yet coming back the cat would sit near elevator on the ground floor until somebody would come to use the elevator and everybody knew that &quot;the white cat rides to the 5th floor&quot; so they would let him out there.
teruakohatualmost 4 years ago
If says this about &#x27;Pet Mode&#x27;<p>&gt; Does not infect other passengers if the animal has an infection<p>I think this must be a mistranslation. There are very few infectious diseases that a human can get from being around a house pet. I think they mean allergies.
评论 #27781652 未加载
评论 #27780192 未加载
ortusduxalmost 4 years ago
I had read somewhere that holding the boor close button along with your desired floor button will override the que in many elevators, taking you directly to that floor. I successfully tested the button combo in the elevator in my building. It came in handy when a kid pressed all the buttons and then stuck his tongue out at me.
teameatalmost 4 years ago
Another dumb story from &quot;back in my day&quot;. When I was in college way back in 1976, me and my Best friend back then both had graduated early and had to live in the dorm the first year until we were 18. The dorm they made us stay in was 6 stories and had a crappy old elevator. Being a couple of goofy hacker types with nothing better to do on a weekend, we figured out how to get up on top of the elevator and to use the alternate control panel up there. We sat up there and could control it, people would get on, we could listen to them talk, stop the elevator between floors and they would get all scared, we would flicker the lights on and off, make it go to the wrong floor and so forth. Pretty fun stuff for a couple of nerds.<p>We got bored with that pretty quickly until, 4 gals form the girls floor decided they were going to camp out in there and set the Guinness record for the longest stay in an elevator. Some of the bigger dudes knew that we had hacked the elevator and asked us if we wanted to mess them up. Well... Of course. So we got on top and were listen to them yakkedy yak. Then we took it to between the 6th and 5th floors and locked it in place, then opened the upper doors on the 6th floor where a bunch of guys with big trash cans full of water were waiting.<p>We thought they were just going to douse them good. So we opened the ceiling trap door to the elevator with the lights off and those gals were screaming and squealing like crazy. Then come dude tossed a string of fire crackers in there followed by two giant Garbage cans of water right after that. Must have been at least a couple hundred gallons of water, who knows.<p>Then we set the thing to go to the first floor and jumped off. Waiting on the first floor where a bunch of people who were in on it with cameras to capture the whole things as the doors opened it was like the seas parting and flooding out as these poor drenched young ladies came floating out. Picture was on the front page of the school paper &quot;Guinness Elevator Record Attempt Drenched&quot; or something.<p>They called the cops and all that but no one squealed on us and it was all in good fun but to teach everyone a lesson they shut down the elevators for 3 weeks. Young people don&#x27;t care, worth a climb of the stairs for all the fun!<p>BTW, I ended up marrying one of the gals on the elevator and yes I told her I was in on it, later. She loved that for some reason :)
评论 #27784628 未加载
评论 #27779861 未加载
banana_giraffealmost 4 years ago
Another such list is on Wikipedia: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Elevator#Special_operating_modes" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Elevator#Special_operating_mod...</a><p>Wiki lists a &quot;Riot mode&quot;, which is just amazing if it&#x27;s a thing.
评论 #27780772 未加载
dqvalmost 4 years ago
Since we’re talking about elevators, it would appear anyone can call the elevator’s emergency phone line. Which is good, but also has unintended consequences: <a href="https:&#x2F;&#x2F;vm.tiktok.com&#x2F;ZMdXyQ5ra&#x2F;" rel="nofollow">https:&#x2F;&#x2F;vm.tiktok.com&#x2F;ZMdXyQ5ra&#x2F;</a>
评论 #27781778 未加载
评论 #27780749 未加载
llampxalmost 4 years ago
I wondered why, during the pandemic, it wasn&#x27;t common to let elevators &quot;air out&quot; while they were idle. Given what we know about COVID-19 and how it spreads with aerosols. From looking at this list, it appears that that&#x27;s not a mode they would have by default.
评论 #27780734 未加载
评论 #27777746 未加载
mmastracalmost 4 years ago
My university had an elevator with a special three-button keypress that took you to a dark sub-basement full of asbestos warnings and terrifyingly dark that wasn&#x27;t listed on the display.
评论 #27777813 未加载
评论 #27792028 未加载
vintermannalmost 4 years ago
ALMOST HUMAN<p><pre><code> The thinking elevator, so the makers proudly say, will optimize its program in an almost human way. And truly, the resemblance is uncomfortably strong: it isn&#x27;t merely thinking, it is even thinking wrong. </code></pre> (Piet Hein, 1973)
rightbytealmost 4 years ago
I wish &#x27;hold to deselect&#x27; was standard. It only works on some elevators and it can be quite annoying if some kid presses all floors ...
评论 #27777240 未加载
mpdalmost 4 years ago
I ran into <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ZUvGfuLlZus" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ZUvGfuLlZus</a> (Elevator Hacking: From the Pit to the Penthouse) awhile back, and it was so interesting to me that I ended up watching the entire 2 hours in one sitting.
phnofivealmost 4 years ago
Pet mode is interesting; it allows you to take your pet on an express ride to your desired floor at the cost of a slightly slower speed.
评论 #27777061 未加载
评论 #27777109 未加载
评论 #27777394 未加载
theHIDninjaalmost 4 years ago
There is also riot mode, where it won&#x27;t stop on the first floor. It&#x27;s used to stop people from just running in off the street and using elevators.
评论 #27780764 未加载
dinklebergalmost 4 years ago
Maybe this is common knowledge, but I never knew people used fandom for topics like this. I’m amazed that it had 800+ articles and over 1000 videos on a wiki dedicated to elevators.
评论 #27777561 未加载
评论 #27777302 未加载
评论 #27777144 未加载
评论 #27777428 未加载
评论 #27780233 未加载
评论 #27780143 未加载
tgsovlerkhgselalmost 4 years ago
The elevator in my building only lets you select one floor. Accidentally press the one above yours? Now you have to go there first.<p>Any idea what the purpose of that is? Price discrimination? Abuse prevention? &quot;Well, the ancient elevator did it that way and we want the new one to be the same&quot; backwards &quot;compatibility&quot;?
评论 #27780759 未加载
mmazingalmost 4 years ago
I recall hearing of a mode one time where elevators would only go to the 2nd floor and not the 1st. Something for crime, etc.<p>Maybe it was from a movie or something ...<p>Edit : Thanks! Found it - <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Elevator#Riot_mode" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Elevator#Riot_mode</a>
评论 #27777025 未加载
评论 #27777725 未加载
natchalmost 4 years ago
I’ll just leave this here… I love this guy, he is so passionate about mechanical stuff. A bit on the odd side but a lot of heart.<p><a href="https:&#x2F;&#x2F;youtube.com&#x2F;c&#x2F;WestCoastElevators" rel="nofollow">https:&#x2F;&#x2F;youtube.com&#x2F;c&#x2F;WestCoastElevators</a>
k12sossealmost 4 years ago
I was electrocuted fucking around with an old elevator once. Now I just get on it and travel to my destination. :) A very humbling experience to have happen in front of your peers.
评论 #27781478 未加载
aaron695almost 4 years ago
Not sure if it&#x27;s still true, but if to pick up the emergence phone (but don&#x27;t push the call button) you could often use DTMF tones to call a number for free.
hawk_almost 4 years ago
my personal favorite is the Sabbath mode <a href="https:&#x2F;&#x2F;elevation.fandom.com&#x2F;wiki&#x2F;Sabbath_service_(SHO)" rel="nofollow">https:&#x2F;&#x2F;elevation.fandom.com&#x2F;wiki&#x2F;Sabbath_service_(SHO)</a><p>not to pick on a specific belief system, but it&#x27;s quite interesting the lengths people go to follow the letter but not the spirit of things.
评论 #27777237 未加载
评论 #27777662 未加载
评论 #27777127 未加载
评论 #27778265 未加载
评论 #27777174 未加载
评论 #27777227 未加载
评论 #27777280 未加载
评论 #27780146 未加载
评论 #27778231 未加载
评论 #27777091 未加载
评论 #27778662 未加载
评论 #27779002 未加载
评论 #27781078 未加载
评论 #27777554 未加载
评论 #27777685 未加载
dbcurtisalmost 4 years ago
Pfft. List is far from complete. I have done 3rd party interfaces to several elevator controllers. I am highly encumbered by NDA’s, so won’t say much. But I still wonder what “Korean Lunch 2” mode does???
评论 #27777275 未加载
评论 #27777149 未加载
评论 #27778568 未加载
评论 #27777179 未加载