Hacker News new | past | comments | ask | show | jobs | submit login

IIRC this is how fortune[1] selects a message fairly given the crappy database format it uses (possible fortunes are separated by lines containing just '%'

[1] http://en.wikipedia.org/wiki/Fortune_(Unix)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: