this post was submitted on 18 Aug 2024
814 points (97.9% liked)
Fediverse
28380 readers
1717 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 !moderators@lemmy.world!
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 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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