this post was submitted on 11 Jun 2023
3 points (80.0% liked)
Lemmy.ca's Main Community
3051 readers
2 users here now
Welcome to the lemmy.ca/c/main community!
All new users on lemmy.ca are automatically subscribed to this community, so this is the place to read announcements, make suggestions, and chat about the goings-on of lemmy.ca.
For support requests specific to lemmy.ca, you can use [email protected].
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Never understood this on Reddit either… What’s the difference between “Top” and “Hot”?
"Top" sorts by comments with the most upvotes. "Hot" are new comments that are receiving upvotes quickly (at least on Reddit).
"Hot" has some time-weighting, while "Top" is strictly ordered by karma
The beauty of open-source. We can view the code that does it. "Hot" is basically just a ratio of votes over time with some weighted factors involved.
Rank = ScaleFactor * sign(Score) * log(1 + abs(Score)) / (Time + 2)^Gravity
https://github.com/LemmyNet/lemmy/blob/ecc9469a02e63eab4e19093007c7ba6db0dca079/migrations/2019-03-30-212058_create_post_view/up.sql#LL8C2-L8C2