/dev/scream

Computer entertainment is a wide field, and it’s easy to forget that it’s not all jut vidja gmaes. Por ejemplo.

On Linux machines, there is a system “device” called /dev/zero. If you pipe its cont ents into something else, like a file, it provides an endless stream of zero bits.

Someone, going off of that idea, created another virtual device called /dev/one. It produces an endless sequence of 1 bits. Usually this takes the form of 255 bytes, which are binary 11111111.

/dev/zero is more useful than /dev/one, since zero bits also make zero bytes. Usually, if you’re using /dev/zero, you don’t actually care much about the data you get anyway. /dev/one is mostly for the entertainment of a weird sort of Linux user, presumably one that makes jokes about vi and Emacs.

Well to that kind of person, /dev/scream should be 20% more entertaining still. (A 20% increase should rightfully, I think, be called a “Dash.”) It produces an endless randomized sequence of two characters, capital and lowercase A, and capital and lowercase H. So:

“AHAhaHaAAHHahaaAhAhHAHaAhAAHHhah”

The fact that it could be interpreted as either a sequence of screaming, or a sequence of laughing, could be taken as either a bug or a feature.

/dev/scream (GitHub)

Subscribe to get Set Side B content via email.

Set Side B will never share or use your email address for any purpose except delivering our posts.