Daily Tech Briefing
AI 科技速览
每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。
Hacker News · 2026/8/2 15:26:47
Mosh in a Lift (2012)
AI 中文解读
核心亮点:2012年一位程序员被困电梯,靠一款叫Mosh的网络工具成功发出求救邮件,最终获救。这则真实故事完美展示了“网络连接不稳定时,靠谱工具能救命”。
通俗解读:Mosh是一款远程登录工具,普通网络工具在信号差时容易断线,但Mosh特别能“扛”,就算网络丢包严重、时断时续,它依然能保持连接。作者当时困在金属电梯里,手机信号几乎为零,幸好电梯靠近自家WiFi,他用Mosh连上了服务器,在浏览器和短信都失灵的情况下,硬是发出了一封求救邮件,消防员很快赶到。简单说,就是网络再烂,Mosh也能让你“说上话”。
实际影响:我们平时用微信、刷网页,遇到信号不好只会抱怨“加载慢”,但从没想过在紧急情况下,这种不稳定的网络可能耽误大事。Mosh这类工具告诉我们,技术不一定追求“快”,而是在最恶劣条件下依然可靠。对普通人来说,这个案例提醒我们:关键时刻,多一个备用通信手段(比如能扛丢包的软件)也许就能化险为夷。如今很多远程办公、物联网场景也在借鉴这种“抗干扰”设计,让网络连接更坚韧。
[Mosh in a Lift, 8/22/2012, by Iain Learmonth CC-BY-SA]
[URL: gopher://sdf.org:70/0/users/irl/blog/2012-08-22-mosh-in-a-lift.md]
Every quater, me and my flatmate pay about _80 to the Aberdeen City
Council for maintainence of the lifts in our building. As I write this, I
am trapped in one of these lifts. It appears that none of the buttons
work except for the alarm button. You'd think this would connect you to
an operator somewhere who would dispatch a repair team, but no. This
sounds a loud alarm and nothing else.
I have used the button many times so far, I'm about 20 minutes in, but I
have no idea if anyone heard it or even knew what it was when they did. I
certainly had no idea that was the noise that the lift made when someone
needed assistance.
Why would you build a metal box, which shields almost all radio from
working, and not put a telephone in it? I have managed to get a few text
messages to my flatmate who hopefully has phoned the council.
Unfortunately, the message asking him to phone the council has not been
sent yet, but he knows I'm trapped in a lift and have barely any signal.
I have literally only been able to send two text messages in the time
I've been in here.
I've started to settle in now. I've got my stuff arranged on the floor
and I'm sat here quite happily typing away, but I can't help but wonder
what I'm going to do when I need to take a piss.
**The following was written once I left the lift.**
After the first hour, I started to panic a bit. The alarm button wasn't
getting anyone's attention except for two people who used the other lift
at some point that started to mock me for being stuck in the lift. Wtf?
After pacing up and down in this lift, dispite the lack of pacing space,
I decided it was time to try other methods of contacting the outside
world.
I'm still in a metal box, but at this point the lift had moved to be
close enough to my flat to connect to the wifi. My first thought was
Twitter although this was pretty much a non-starter. The interface
wouldn't load properly in the web browser and I imagine I was seeing
quite heavy packet loss. Once I left the lift, I could see the tweet had
posted, but while in the lift I had no confirmation of it at all.
Then, [mosh][] and the [SDF MetaArray][] to the rescue. mosh can cope
with this high level of packet loss and worked a hell of a lot better
than I'd expected to. I managed to get logged in to the SDF MetaArray,
open mutt and send an email. Within minutes, the fire brigade had been
called and were on their way to rescue me.
Then, the lift started working again miraculously and let me out. I was
sitting on the floor so I just threw my MacBook, hoody and bag out of the
lift and jumped after them. As I did, the door to the lift closed behind
me. The fire brigade arrived and tested the lifts were working, but I
took the stairs back up to the flat. I think it'll be a while until I
trust those lifts again. I might look into boosting the signal on my WiFi
access point so that I can use mosh again if this happens to occur again.
[mosh]: http://mosh.org/
[SDF MetaArray]: http://sdf.org/?tutorials/metaarray
分享
阅读原文 ↗