Why are certain variables used in hot calculations?

I recently read a blog post about Redtit's "hotness" formula . Below is the formula shown below. There are a couple of variables that I don’t understand why they will be selected. I plan to use this formula as a reference for the application I am participating in, so I would like to know why these variables were used.

December 1, 8, 2005 - Why use this date? Also, why use offset time? Why not use the era? Was this arbitrary date used to be platform independent?

2nd - 45000 - Why use 45000 as a divisor? Is it an arbitrary number or has a specific meaning or purpose?

t = (time of entry post) - (Dec 8, 2005)
x = upvotes - downvotes

y = {1 if x > 0, 0 if x = 0, -1 if x < 0)
z = {1 if x < 0, otherwise x}

log(z) + (y * t)/45000
+3
source share
1 answer

December 1, 8, 2005 - Why use this date? Also, why use offset time? Why not use the era? Was this arbitrary date used to be platform independent?

I suspect it was an “era” date for Reddit source code. This would make it a good choice, as it will save a variable tstarting closer to zero, which will keep the functions more stable.

2nd - 45000 - Why use 45000 as a divisor? Is it an arbitrary number or has a specific meaning or purpose?

. , . , 45000, , , .

+4

All Articles