Bored? How about trying a Linux speed run?

栏目: IT技术 · 发布时间: 6年前

I have a lot of dumb ideas. I tend to write them down and then revisit them from time to time. Sometimes, the world and/or my own understanding of it has moved enough to where it can now be taken to a new place. Sometimes these ideas then "snap together" to inspire something else entirely. This is one of those times.

About 15 years ago, I mused about the idea of having a "desert island machine". This is where I'd put someone in a room with a box that has a couple of hard drives and a working network connection. HD #1 is blank. HD #2 has a few scraps of a (Linux) OS on it: bootloader, kernel, C library and compiler, that sort of thing. There's a network connection of some sort, and that's about it.

There are no editors and nothing more advanced than 'cat' to read files. You don't have jed, joe, emacs, pico, vi, or ed (eat flaming death). Don't even think about X. telnet, nc, ftp, ncftp, lftp, wget, curl, lynx, links? Luxury! Gone. Perl, Python and Ruby? Nope.

There's your situation. What do you do?

I realized a few years later that this was just an exercise in flexing the fact that I could probably bootstrap my way up from this with the C compiler to write a terrible editor, then write a terrible TCP client, find my way out to ftp.gnu.org, get wget, and keep going from there.

Assume that documentation is plentiful. You want a copy of the Stevens book so you can figure out how to do a DNS query by banging UDP over the network? Done.

Anyway, like I said, that was roughly 2005. Tonight, while revisiting it, I turned it into a new idea.

Put it this way, perhaps you are familiar with the notion of "speed runs". This is where people with insanely good twitch reflexes and a penchant for finding neat tricks rip their way through video games, making things faster and faster.

Now you see things like people managing to do the original Super Mario Bros game from the 80s in under five minutes, and I do mean people. There are actual humans frobbing plastic controllers doing this! Just dig around on your favorite giant video-streaming site if you need evidence of this happening.

So here's the pitch: Linux speedruns. By that, I don't mean "speedrunning a game on a Linux box" (like emulation, or something). Nope.

I mean speedrunning the Linux situation itself. Start with a minimal system and get yourself to the point where you can do something meaningful (like reading cat pictures on Reddit).

I imagine if people started doing this, then eventually there would be shortcuts. Someone would memorize the IP address to ftp.gnu.org so they didn't have to speak DNS in order to get there. Someone else would memorize the byte sequence of a binary and blast it through xxd to get cranking.

Then someone would decide it's too easy if you have this thing or that thing, and they'd cut down the starting conditions. Who knows how far down the stack this could go? How much insanity could we see? Considering most of humanity is holed up trying to avoid the rest of itself, maybe this is exactly the time for that kind of thing?

Go on, Internet. Surprise me.

It can be the Baseketball of system administration.


以上所述就是小编给大家介绍的《Bored? How about trying a Linux speed run?》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

浪潮之巅

浪潮之巅

吴军 / 电子工业出版社 / 2011-8 / 55.00元

近一百多年来,总有一些公司很幸运地、有意识或无意识地站在技术革命的浪尖之上。在这十几年间,它们代表着科技的浪潮,直到下一波浪潮的来临。 从一百年前算起,AT&T 公司、IBM 公司、苹果公司、英特尔公司、微软公司、思科公司、雅虎公司和Google公司都先后被幸运地推到了浪尖。虽然,它们来自不同的领域,中间有些已经衰落或正在衰落,但是它们都极度辉煌过。本书系统地介绍了这些公司成功的本质原因及科......一起来看看 《浪潮之巅》 这本书的介绍吧!

MD5 加密
MD5 加密

MD5 加密工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换