this post was submitted on 11 Jun 2023
3 points (80.0% liked)

Lemmy.ca's Main Community

2875 readers
114 users here now

Welcome to lemmy.ca's c/main!

Since everyone on lemmy.ca gets subscribed here, this is the place to chat about the goings on at lemmy.ca, support-type items, suggestions, etc.

Announcements can be found at https://lemmy.ca/c/meta

For support related to this instance, use https://lemmy.ca/c/lemmy_ca_support

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