this post was submitted on 20 Aug 2023
11 points (57.1% liked)

Firefox

20351 readers
126 users here now

/c/firefox

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


Rules

1. Adhere to the instance rules

2. Be kind to one another

3. Communicate in a civil manner


Reporting

If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.


founded 5 years ago
MODERATORS
 

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

top 31 comments
sorted by: hot top controversial new old
[–] CAPSLOCKFTW@lemmy.ml 51 points 2 years ago (2 children)

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

[–] KazuyaDarklight@lemmy.world 13 points 2 years ago

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

[–] Yoru@lemmy.ml 9 points 2 years ago (1 children)

all good, I just made it for fun anyways 🫡

[–] Ward@lemmy.nz 1 points 2 years ago
[–] strawberry@artemis.camp 28 points 2 years ago (1 children)

honestly, can we just let that die with reddit?

[–] Yoru@lemmy.ml 2 points 2 years 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.

[–] Schlemmy@lemmy.ml 9 points 2 years ago (2 children)

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

[–] hal_5700X@lemmy.world 6 points 2 years ago

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

[–] Yoru@lemmy.ml 6 points 2 years ago
[–] strawberry@artemis.camp 1 points 2 years ago (1 children)

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

[–] Nerd02@lemmy.basedcount.com 2 points 2 years ago (1 children)

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

[–] strawberry@artemis.camp 1 points 2 years ago

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

[–] HappyMeatbag@beehaw.org 21 points 2 years ago* (last edited 2 years ago) (1 children)

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.

[–] Yoru@lemmy.ml 1 points 2 years ago (1 children)

well, I was going to change its name to score or something anyways bcuz karma belongs to reddit (at least I think so)

[–] HappyMeatbag@beehaw.org 1 points 2 years ago

Hey, I’m just a battle-scarred reddit refugee. Do what you want!

[–] queermunist@lemmy.ml 20 points 2 years ago (1 children)
[–] Yoru@lemmy.ml 14 points 2 years 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

[–] Blaze@discuss.tchncs.de 6 points 2 years ago (1 children)
[–] Yoru@lemmy.ml 5 points 2 years ago (1 children)
[–] Blaze@discuss.tchncs.de 1 points 2 years ago
[–] CaptainBasculin@lemmy.ml 2 points 2 years ago
[–] hal_5700X@lemmy.world 2 points 2 years ago* (last edited 2 years 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?~~

[–] Yoru@lemmy.ml 4 points 2 years ago

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

[–] humanplayer2@lemmy.ml 2 points 2 years ago (1 children)

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

[–] Yoru@lemmy.ml 1 points 2 years 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

[–] humanplayer2@lemmy.ml 1 points 2 years ago (1 children)

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

[–] Yoru@lemmy.ml 1 points 2 years ago (1 children)

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

[–] humanplayer2@lemmy.ml 1 points 2 years 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.

[–] Disgusted_Tadpole@lemmy.ml 2 points 2 years ago (1 children)
[–] Yoru@lemmy.ml 2 points 2 years ago

Thanks! Lmk if you have any suggestions :D

[–] Crul@lemm.ee 2 points 2 years ago* (last edited 2 years ago)

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

https://mlmym.org/lemm.ee/u/Yoru@lemmy.ml

https://old.lemmy.world/u/Yoru@lemmy.ml