who ]
first ] random ] last ] calendar ]
links ]

 «  2001/02/16  »   1637

programming bumblesort 

Catcode, David Eisenberg's home page. Code tutorials and such. Inventor of the fabled "bumblesort":

1. Pick two elements at random from a list and swap them.
2. See if the swap coincidentally resulted in the entire list being perfectly sorted.
3. If not, go back to step one.

The vaguely useful aspect of this algorithm is that it'll suck up resources of your favourite/most hated computer.

[Comment on the above]

Recent comments

2010/08/03 Hwan I won't say that all is well (for I don't believe it to be so), but I am better. Thanks to all for asking!
2010/07/20 QYV Expected range for Creatinine for guys is 60 - 110 umol/L
2010/07/20 llamariffic Hmm, macrocytosis here as well, but to be honest I've had it since before I truly embarked on drinking as a proper hobby. Similarly, stopped drinking entirely, and it didn't go away. Just one of those things, I think.
2010/07/19 girl ack!! It's weird to think that I am now a parental unit. It was nice to see you hwan!
2010/05/21 Hwan I recall trying earplugs well back in my undergrad years, to mixed results. My sleep was troubled by feelings of claustrophobia. I also have a, perhaps unfounded, fear of not hearing the essential alarm in the mornings. However, I may give these another go, thanks.
2010/05/21 llamatron Have you tried sleeping with earplugs? My flat faces out onto a main road, so I've started using the standard foam plugs. It took a few nights to get used to them, but they make a big difference.
2010/05/21 girl The original swedish title: "Men who hate women". I'm not sure if it's the fault of the translation, but I never liked the reporter dude.
2001/03/07 Hwan Damn.. it seems Unweb has since died. http://www.gamegrene.com/node/183
2001/03/07 TY SHARDEL YOU CAN TRADE WITH THE UNIVERSE AND ENABLE SOCIAL NEEDS, OR PERHAPS POST WISH LISTS, HUG THE GLOBE LIKE A BIG OCTOPUS... TY
2010/03/24 Hwan I am amused by the John Irving comparison. http://en.wikipedia.org/wiki/John_Irving#Recurring_themes

[X]

Google