this post was submitted on 18 Aug 2024
812 points (98.0% liked)
Fediverse
28480 readers
731 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
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world 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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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?
Because then people can vote an unlimited number of times.
There needs to be some sort of identifier
array votes[post_id, vote]; // for storing in user profile not public but can be hashed if you don't trust your dba
Enumerating every user to get the vote count on every single post/comment seems too computationally expensive.
post has it's own count, this was about a user's vote history in their profile
Ah okay