this post was submitted on 20 Aug 2023
4 points (75.0% liked)

Firefox

17865 readers
12 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

source code is availabe here. I'd appreciate feedbacks!

top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago (1 children)

No offense, but I don't like this. Not having Karma is one of the main advantages lemmy has. Karma sucks.

[–] [email protected] 2 points 1 year ago

all good, I just made it for fun anyways 🫡

[–] [email protected] 2 points 1 year ago (1 children)

honestly, can we just let that die with reddit?

[–] [email protected] 0 points 1 year ago

well, it doesn't have to be called "Karma", it's called "Score" in Lemmy's API. I'm probably going to rename it.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

While I appreciate your effort and your generosity, unless I’m involved in a conversation about Buddhism, I would be perfectly happy to never hear the word “karma” again.

[–] [email protected] 0 points 1 year ago (1 children)

How do you tally it? I've seen lots of discussions about guesses about how the reddit system works.

[–] [email protected] 1 points 1 year ago (1 children)

I run an API request on loop until there are no posts/comments left. Then I somply add up their score. Sorry for the late response btw

[–] [email protected] 1 points 1 year ago (1 children)

Ko problem. Ok, so just the sum of all up- and downvotes. No dicounting for viral posts, etc.

[–] [email protected] 1 points 1 year ago (1 children)

I didn't really understand but it's basically (all upvoted) - (all downvotes)

[–] [email protected] 1 points 1 year ago

Ok. Reddit has some really elaborate system where the first upvotes gives 1 karma, then after upvote 500 or something, each only gives 0.5 karma or something, etc.

[–] [email protected] -1 points 1 year ago

You monster! 😉