More notifications for heavily-liked posts

AI-generated summary

The discussion revolves around the proposal to send notifications for heavily-liked posts. riking suggests sending notifications for milestones such as 1, 5, 10, 50, 100, and 500 likes, arguing that a post with multiple likes indicates enjoyment from many people. codinghorror and zogstrip agree with the idea, finding the current like rollups to be not optimal. However, sam disagrees, believing that badges, which are awarded at 10, 25, and 50 likes, already fill this role.

Right now, a notification is only sent for the first like on any of your posts.

But I think there’s a big difference between a post being liked once and 10 times. The second shows enjoyment of the post by many people, instead of just one.

I’m proposing that we show a notification (that gets collapsed into the previous ones, just like the n replies) for 1, 5, 10, 50, 100, 500, … likes.

Sample code for checking the number: (ruby-ish pseudocode, I don’t feel like looking up the math function names)

def should_notify?(total_likes)
  return true if total_likes == 1
  normalized = total_likes / pow(10, floor(log10(total_likes)))
  (normalized.is_integer? && (normalized == 1 || normalized == 5))
end
7개의 좋아요

Yes, excellent idea. The current like rollups are not optimal.

This has always bugged me. PR to fix that more than welcome! :slight_smile:

2개의 좋아요

I don’t think we need this any more.

The badges fill this role, you get a badge at 10-25-50 likes which is plenty.

2개의 좋아요