I avoid reranking all the stories by keeping them in
sorted order, and whenever I generate a frontpage for
someone logged in, reinserting one randomly
chosen story near the top (where all the change is).
I also reinsert any story that gets voted on.
Interesting. Right now, I have no data, making testing difficult -- especially for anything that will change hotness depending on distribution of mods in a given time.
It's been something I've been thinking about for a bit, and want to get it out of my head to focus on building something that people use so I can actually get the data.
Comments
The way I do it is points divided by age in hours (plus two) to the 1.25th power. This is probably not optimal, but it's simple.
I avoid reranking all the stories by keeping them in sorted order, and whenever I generate a frontpage for someone logged in, reinserting one randomly chosen story near the top (where all the change is). I also reinsert any story that gets voted on.Thanks for sharing that Paul. Most people guard that knowledge like it's the lost grail.
Kudo to you for being open about it.
Indeed
Interesting. Right now, I have no data, making testing difficult -- especially for anything that will change hotness depending on distribution of mods in a given time.
It's been something I've been thinking about for a bit, and want to get it out of my head to focus on building something that people use so I can actually get the data.
Why not just start with a simple hotness algorithm and evolve it after data starts coming in?
That's exactly what I'll do.