News for hackers. Stuff that matters.
Re:Elevator Algorithms by ChillyWater on Wednesday December 14, 2011 @02:49PM (#3353299)
I think elevators are usually counter-balanced so that the motor doesn't have to really lift anything except the occupants. Maybe not though ...
Re:Elevator Algorithms by srl on Wednesday December 14, 2011 @03:29PM (#3353451)
The are, with the effect (and I'm guessing intent) that an electrical/motor failure won't lead to the elevator plunging 20 stories and killing all occupants.

Software engineering could (and should) learn a few things from mechanical engineering. People have been saying that for decades, but it bears repeating...

Re:Elevator Algorithms by nialo on Thursday December 15, 2011 @01:15PM (#3357234)
There's a separate emergency brake system to prevent the elevator from falling, because you also need to be safe if the cables holding the elevator up break (this is actually the technology that lead to the first elevators). The counterweight is probably primarily just to reduce power/energy requirements.
Re:Elevator Algorithms by ww520 on Wednesday December 14, 2011 @10:52PM (#3354954)
Crash driven design. Design your software such that it can recover from a crash to a known state and continue. Make life so much simpler. Shutdown is just a matter of power off. Startup always does a recovery before starting.