2011 Jun 20, 2:20"Genius sorting algorithm: Sleep sort 1 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
"
humor programming code technical 4chan bash sort sleep-sort sleep 2009 Dec 23, 10:03"Christopher “moot” Poole, the young founder of the irascible online forum 4chan, will speak in February at the TED conference, the elite gathering of thought leaders whose video-taped talks have
become immensely popular online." Its like TED is just asking for it.
ted 4chan christopher-poole moot