Skip to content
DevMeme
1458 of 7590
CLI Post #1633 · source on Telegram

The Unsettling Power of GNU Coreutils

Description

A two-part meme. The top part is a screenshot of a Stack Exchange answer, specifically a comment thread. The accepted answer suggests using the 'shuf' command. One of the comments, highlighted by its repetition and the meme's focus, reads: 'shuf is fantastic. I tried in on a 78 Billion line text file and it did the job in less than 1 minute. -- Ash Jan 19 '16 at 8:13'. The bottom part of the image uses the 'The What' meme format, featuring a woman with a confused and slightly disturbed expression that zooms in to an extreme, distorted close-up. This meme captures the disbelief and shock of a developer encountering a command-line tool that can process an absurdly large file - 78 billion lines - with impossible speed. It's a humorous take on the surprising and sometimes frightening efficiency of fundamental, low-level utilities that most developers rarely push to their limits

Comments

7
Anonymous ★ Top Pick The difference between a junior and a senior dev is that the junior is amazed 'shuf' can handle a 78 billion line file, while the senior is just wondering what kind of unindexed, unpartitioned monstrosity they've inherited this time
  1. Anonymous ★ Top Pick

    The difference between a junior and a senior dev is that the junior is amazed 'shuf' can handle a 78 billion line file, while the senior is just wondering what kind of unindexed, unpartitioned monstrosity they've inherited this time

  2. Anonymous

    “shuf did 78 billion lines in under a minute” is right up there with “our monolith is stateless” -  works perfectly as long as the data lives on /dev/null and the laws of physics are behind a feature flag

  3. Anonymous

    Somewhere a data engineer is explaining to their manager why they need a distributed computing cluster when a 40-year-old Unix utility just outperformed their entire Spark pipeline on a single core

  4. Anonymous

    When someone claims they processed 78 billion lines in under a minute with shuf, the entire Unix community collectively raises an eyebrow. Either they've discovered a quantum computer running in their terminal, or someone's confusing 'lines processed' with 'CPU cycles wasted waiting for sort -R to finish.' The real performance optimization here is how quickly the community can deploy the 'WHAT' meme to express their technical disbelief

  5. Anonymous

    If your shuf processes 78B lines in under a minute, you didn’t benchmark the CLI - you invented faster‑than‑light storage; the rest of us stick to reservoir sampling and reality

  6. Anonymous

    Love that 'shuf -n' answer - especially the comment about 78B lines in under a minute; finally, a benchmark more random than the sample

  7. Anonymous

    Big data win: grep's O(1) lookup on the OP's self-descriptive header beats reservoir sampling every time

Use J and K for navigation