Update: M Tang's explanation for this is wrong, but Seth Schoen sent us a great correction
There's a GNU-coreutils program called yes whose function is to "output a string repeatedly until killed." M Tang tried piping the output of one yes command into another. It ended badly:
Taking a look at the source code for yes, it looks like the single argument is being stored in a char array, then, in a while(true) and for loop, each character is printed to the stdout, followed by a new line (\n) character.
So when we use the output of one yes command as the argument for another, the outer yes command fills up the computer’s memory with the output of the inner yes command. Then I have to restart my computer and feel stupid.
yes 'yes no'
(via Hacker News)
Frinkiac allows you to type in a quote from The Simpsons and it’ll find the matching stills from a database of 3 million screen caps. I expect that its creators will be acquihired soon by Compu-Global-Hyper-Mega-Net. (Thanks, Brad Kreit!)
images from @mimo (via Laughing Squid)
Bo and Matthew, “two best friends, achieve lifelong dream of sneaking into a movie theatre in one set of clothing.” So fun!
Plastic is so 2013. You don’t want to buy something only to throw it away or lose it and barely care. You like nice things and want to hang onto them. The Plazmatic lighter here is a high quality, high tech alternative to the typical cheap, plastic lighter you get at the old gas station. […]
Real engineers build things. Super cool engineers build things with their hands and fingers, like our engineering forefathers did. No idea where to even begin to do that? This step by step Arduino course is now 92% off and is going to get you up and running, from zero to hero, in no time. So […]
How do Google and YouTube really work? It turns out, Python kind of runs things around those parts. And with this bootcamp, you’ll get whipped into shape and ready to start programming yourself. Whether you’re a Python pro and just want to sharpen your skills, or a total tech newbie with little or no coding […]