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)
@nathan: “Barack Obama is the Nickelback of presidents.” @DJ_lcpl: “Barack Obama…bro, do you even lift!?” (Obama’s response: “Well, I lifted the ban on Cuban cigars, that’s worth something.”) @realDonaldTrump: “President Obama will go down as perhaps the worst president in the history of the United States!” (Obama’s response: “Well, @realDonaldTrump, at least I will go […]
Whisk yourself back to the days of bulky devices, outmoded physical media, and painfully obvious visual puns with these 1990s high-tech stock photos. Literal surfing and literal webs! Large format high resolution only $399 on some stock sites!
I’ve been noting humorous updatings of Ambrose Bierce’s 1906 humor classic The Devil’s Dictionary for years — there was the publishing edition, and this corker on copyright — but the Educational Technology edition, by New Storytelling author Bryan Alexander has a currency and an urgency that scores an acerbic bullseye.
Geek Fuel is a subscription delivery service that caters to those of us that love comics, gaming, and general geek culture. Every month, Geek Fuel will assemble a box of goodies with a value of $50 or over. The specific items are a mystery, but you’ll always get an exclusive t-shirt not found anywhere else, a full […]
If you like to DIY and you like helicopters, you’re going to really love the Flexbot Hexacopter Kit. This copter blows traditional models out of the water: it includes everything you need to actually build your own hexacopter, and then pilot it like a pro, too.The construction is complicated enough to give you a challenge, […]
This week’s top deals from the Boing Boing Store range from lobster to wine to desk organization. 1. Get Maine Lobster (50% Off)With these discounted packages from Get Maine Lobster, you can experience the sweet, fresh flavor of world-renowned Maine lobster right at your own dinner table. There are four options to choose from, each at […]