Bored? How about trying a Linux speed run?

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

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?》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

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

深入浅出强化学习:原理入门

深入浅出强化学习:原理入门

郭宪、方勇纯 / 电子工业出版社 / 2018-1 / 79

《深入浅出强化学习:原理入门》用通俗易懂的语言深入浅出地介绍了强化学习的基本原理,覆盖了传统的强化学习基本方法和当前炙手可热的深度强化学习方法。开篇从最基本的马尔科夫决策过程入手,将强化学习问题纳入到严谨的数学框架中,接着阐述了解决此类问题最基本的方法——动态规划方法,并从中总结出解决强化学习问题的基本思路:交互迭代策略评估和策略改善。基于这个思路,分别介绍了基于值函数的强化学习方法和基于直接策略......一起来看看 《深入浅出强化学习:原理入门》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

在线进制转换器
在线进制转换器

各进制数互转换器

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

Markdown 在线编辑器