Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Genius sorting algorithm: Sleep sort

Name: Anonymous 2011-01-20 12:22

Man, am I a genius. Check out this sorting algorithm I just invented.


#!/bin/bash
function f() {
    sleep "$1"
    echo "$1"
}
while [ -n "$1" ]
do
    f "$1" &
    shift
done
wait


example usage:
./sleepsort.bash 5 3 6 3 6 3 1 4 7

Name: Anonymous 2011-06-24 8:37

>>382
My view is that those that frequent anonymous boards, are in a temporary autism state common to nerdy young men.  They realize that wasting time on the internet is a sad deviation resulting from their immaturity and inability to interact in an emotionally-mature outgoing manner. Therefore the desire for a fixed username and a status that goes with that username is not important as it is already known to be insignificant once they can move on to the real world.
Those that frequent forums and sites involving usernames and a gradual increase in perceived status based on efforts put into that site are the true autists.  This is all they have.  They have no potential for success in the real world. They have no life, and no potential for life.

Newer Posts