this post was submitted on 18 Aug 2024
812 points (98.0% liked)

Fediverse

28544 readers
360 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 2 years ago
MODERATORS
 

Probably better to post in the github issue rather than replying here.

https://github.com/LemmyNet/lemmy/issues/4967

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 3 months ago (5 children)

seems trivial to check for a login/subscribed etc. then increment up//down votes. why link each vote to an account in public? maybe for mods an account(s) to be banned for botting votes?

[–] Adanisi 1 points 3 months ago (1 children)

Because then people can vote an unlimited number of times.

There needs to be some sort of identifier

[–] [email protected] 1 points 3 months ago (1 children)

array votes[post_id, vote]; // for storing in user profile not public but can be hashed if you don't trust your dba

[–] Adanisi 2 points 3 months ago (1 children)

Enumerating every user to get the vote count on every single post/comment seems too computationally expensive.

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

post has it's own count, this was about a user's vote history in their profile

[–] Adanisi 2 points 3 months ago
load more comments (3 replies)