3 ms·
sleep sort originated in /prog/ [0] . There's quite a few HN lurkers that were active in the sleep sort thread. Perhaps xena is also one of them? :) [0] https:
by sleep_sort_ 3y ago
sleep sort originated in /prog/ [0] . There's quite a few HN lurkers that were active in the sleep sort thread. Perhaps xena is also one of them? :)
[0] https://www.cs.princeton.edu/courses/archive/fall13/cos226/lectures/52Tries.pdf https://www.cs.princeton.edu/courses/archive/fall13/cos226/l...
- jackblemming 3y agoIf I load gunpowder into a cannon based on the current number, such that bigger numbers get more gunpowder and are launched farther, and then I walk the distance and collect the numbers along the way, is this a physics sort?
- oneshtein 3y agoYou can just make holes bigger and bigger, until the [number] will fall in. For example: https://www.youtube.com/watch?v=ZKbJ1REQ-EA https://www.youtube.com/watch?v=ZKbJ1REQ-EA
- weard_beard 3y agoMy favorite physics sort: https://youtube.com/watch?v=Nz8ssH7LiB0 https://youtube.com/watch?v=Nz8ssH7LiB0
- gybon 3y agoHaven't thought of /prog/ for a very long while. My favourite post was someone's apprentice programmer inventing the "<=>" operator, for when you want to test for less than or equal to or greater than. Genius!
- unnah 3y agoThen someone submitted <=> to the very serious people at the C++ standards committee, and they went on to ratify it in the standard.