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)
In honor of the great director Jonathan Demme who died yesterday, please enjoy this bloopers reel from his classic film Silence of the Lambs. More horror film blooper reels at TVOvermind.
A Canadian goose declared it open season on cops, as this Clarksville, Tennessee detective found out. This cop-hating honker takes a gander at this cop, then puts him down. Just when the cop’s goose is cooked…
Nope. This Super Mario children’s birthday party cupcake arrangement did not turn out as planned.
Bamboo has lots of uses beyond just being panda food. Things like bikes, roads, scaffolding, and musical instruments are made from the fast-growing grass. But unless you are participating in a tropical-themed LARP, you probably wouldn’t want a shirt made from bamboo stalks. So why do bamboo bed sheets make any sense? Because yarn extracted from […]
If you want to work in tech, but don’t have any desire to code web apps to help businesses sell things to other business, you might want to consider a career in cybersecurity. Judging from the apparent complete infiltration of Russian hackers in American cyberspace, it seems fair to speculate that there’s a major shortage of […]
All moms are different. But all moms like getting flowers on Mother’s Day, and that’s a fact (not, however a fact we can document in any fashion.) Instead of getting chewed out for forgetting to call her on the second Sunday of May, you can take care of it ahead of time with Teleflora’s flower […]