Yo Yo! You must login or signup first!

7mztw70g59151

Submission   2,200

About

"Shuf" also referred to as "78 Billion Lines" is a meme about the ability of the Bash command to randomly get a large number of lines from a text file using a technique called reservoir sampling. The meme is also associated with a 78 billion line text file.

Origin

"Shuf" originates from a Stack Overflow post by user121196 asking how to select random lines from a file. The top answer, given by a user by the name of dogbane, recommended that user121196 use shuf, a command in Bash, to get the desired random lines. A user by the name of Ash then commented that the they tried it a 78 billion line text and that it did the job in less than minute.

Spread

Shuf first made waves on Reddit 8 years after the Stack Overflow post was made. u/Nexuist made a post about the aforementioned Stack Overflow Post titled The joys of StackOverflow on r/programmerhumor. It rapidly grew from there, reaching 21.9k upvotes on Reddit.


Share Pin

Recent Images 0 total

There are no recent images.


Recent Videos 0 total

There are no recent videos.





Shuf

Shuf

Updated May 31, 2020 at 04:26AM EDT by Y F.

Added May 30, 2020 at 11:54AM EDT by Leshuffler.

PROTIP: Press 'i' to view the image gallery, 'v' to view the video gallery, or 'r' to view a random entry.

This submission is currently being researched & evaluated!

You can help confirm this entry by contributing facts, media, and other evidence of notability and mutation.

About

"Shuf" also referred to as "78 Billion Lines" is a meme about the ability of the Bash command to randomly get a large number of lines from a text file using a technique called reservoir sampling. The meme is also associated with a 78 billion line text file.

Origin

"Shuf" originates from a Stack Overflow post by user121196 asking how to select random lines from a file. The top answer, given by a user by the name of dogbane, recommended that user121196 use shuf, a command in Bash, to get the desired random lines. A user by the name of Ash then commented that the they tried it a 78 billion line text and that it did the job in less than minute.

Spread

Shuf first made waves on Reddit 8 years after the Stack Overflow post was made. u/Nexuist made a post about the aforementioned Stack Overflow Post titled The joys of StackOverflow on r/programmerhumor. It rapidly grew from there, reaching 21.9k upvotes on Reddit.

Recent Videos

There are no videos currently available.

Recent Images

There are no images currently available.



+ Add a Comment

Comments (0)

There are no comments currently available.

Display Comments

Add a Comment