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
 

Maybe I'm blind, but is there a setting to change the default sort method for comments? It always defaults to "hot" and I want to default to "top". It's kind of annoying to have to click "top" every single time I open a comment section.

top 4 comments
sorted by: hot top controversial new old
[–] SteveDinn 2 points 2 years ago (2 children)

Never understood this on Reddit either… What’s the difference between “Top” and “Hot”?

[–] subigo 3 points 2 years ago

"Top" sorts by comments with the most upvotes. "Hot" are new comments that are receiving upvotes quickly (at least on Reddit).

[–] bionicjoey 1 points 2 years ago (1 children)

"Hot" has some time-weighting, while "Top" is strictly ordered by karma

[–] Undearius 4 points 2 years ago

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