News for hackers. Stuff that matters.
Re:How Hacker News ranking algorithm works by callmeed on Monday October 11, 2010 @04:59PM (#1781241)
So, if you're implementing this in a framework like Django or Rails, can you get a result set in this order directly from a query? Or do you have to query then sort?
Re:How Hacker News ranking algorithm works by endtime on Monday October 11, 2010 @05:19PM (#1781322)
In Django, you could make the ranking score a property of the model and then do query.order_by('-score').