Editing 1395: Power Cord

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 97: Line 97:
  
 
The title text involves some jokes on {{w|Unix}} systems. On Unix, {{w|everything is a file}}; even most of the hardware can be referenced by a (virtual) file. These virtual files usually are in /dev or another virtual filesystem like /sys or /proc. While /dev/input really exists and points to the input system (mice, keyboards, gamepads, etc.), /dev/inside doesn't. {{w|gzip}} is a common tool to compress files. The first joke is to compress the air inside the laptop (with the command <code>gzip /dev/inside</code>) in order to deflate the laptop back to normal size. It is a pun with the literal meaning of "deflate", which is also the {{w|DEFLATE}} algorithm used by gzip (compressing files is also called "deflating"). Another joke is "{{w|Pipeline (Unix)|piping}}", the act of using the output of one operation as the input to another. As the output of the gzip command would be compressed air, a ''physical'' pipe could be used to direct the air somewhere useful. The output of a command can also be redirected to a file. Since the hardware is a file, the suggestion is to direct the air to /dev/input (which, in this case, means the keyboard, but would actually be a directory on real system, which can't normally be piped into) to clean it, similar to "compressed air" dusting cans. The complete command would be <code>gzip /dev/inside | /dev/input</code>. As this might cause a spray of unpleasant detritus (compare [[237: Keyboards are Disgusting]]), the reader is advised to avert their eyes.
 
The title text involves some jokes on {{w|Unix}} systems. On Unix, {{w|everything is a file}}; even most of the hardware can be referenced by a (virtual) file. These virtual files usually are in /dev or another virtual filesystem like /sys or /proc. While /dev/input really exists and points to the input system (mice, keyboards, gamepads, etc.), /dev/inside doesn't. {{w|gzip}} is a common tool to compress files. The first joke is to compress the air inside the laptop (with the command <code>gzip /dev/inside</code>) in order to deflate the laptop back to normal size. It is a pun with the literal meaning of "deflate", which is also the {{w|DEFLATE}} algorithm used by gzip (compressing files is also called "deflating"). Another joke is "{{w|Pipeline (Unix)|piping}}", the act of using the output of one operation as the input to another. As the output of the gzip command would be compressed air, a ''physical'' pipe could be used to direct the air somewhere useful. The output of a command can also be redirected to a file. Since the hardware is a file, the suggestion is to direct the air to /dev/input (which, in this case, means the keyboard, but would actually be a directory on real system, which can't normally be piped into) to clean it, similar to "compressed air" dusting cans. The complete command would be <code>gzip /dev/inside | /dev/input</code>. As this might cause a spray of unpleasant detritus (compare [[237: Keyboards are Disgusting]]), the reader is advised to avert their eyes.
 +
 +
==Connection to previous comic==
 +
[[1394]] was about weak powers. This comic is about no power.
  
 
==Transcript==
 
==Transcript==

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)