I was surprised to see that the source code for Hacker News is just one big file containing a fl开发者_开发问答at list of function definitions.
This is the Hacker News ranking algorithm, which I think is a simple way of ranking things, espcially if users are voting on items, but I really dnt understand this, can this be converted to PHP, so I