this post was submitted on 20 Aug 2023
6 points (54.2% liked)

Firefox

17301 readers
50 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 30 comments
sorted by: hot top controversial new old
[–] [email protected] 42 points 1 year ago (3 children)

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

[–] KazuyaDarklight 11 points 1 year ago

Agreed, non-cumulative metrics are a pro, not a con.

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

all good, I just made it for fun anyways 🫡

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

People can vote. So you do have karma, but you can't see it.

[–] KazuyaDarklight 1 points 1 year ago

Yes/no, clearly it can be calculated, but it's not like it's a hidden value. Also becomes a little skewed given that some instances have downvote turned off entirely.

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

honestly, can we just let that die with reddit?

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

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] 7 points 1 year ago (2 children)

Yes, but people will be starting to react or act to get 'score'. It incentivises certain behaviour.

[–] hal_5700X 5 points 1 year ago

You have to install the extension to see your karma score. Don't install it. Problem gone.

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

afaik score is just per post, not a cumulative thing visible on ur account

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

No I think there's a total score that is saved in your account but is hidden from the frontend

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

dunno. either way, im on kbin, so could be different

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

I just noticed it only works for lemmy.ml and lemmy.world, my fault. Will be publishing the fix in a bit. I was a little too excited XD

[–] [email protected] 4 points 1 year ago (1 children)
[–] [email protected] 3 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

mlmym frontend shows it, although it shows different values depending on the instance:

https://mlmym.org/lemm.ee/u/[email protected]

https://old.lemmy.world/u/[email protected]

[–] [email protected] 2 points 1 year ago
[–] [email protected] 2 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.

[–] hal_5700X 2 points 1 year ago* (last edited 1 year ago) (1 children)

I don't see the point of downvoting this. You have to install the extension to see your karma score. So I don't see what's the big deal is. Clam down, people.

~~EDIT My biggest problem is this add-on needs access your data for all websites. Why not Lemmy sites only?~~

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

because there are too many lemmeny instances, cannot possibly add them all

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

Thanks! Lmk if you have any suggestions :D