this post was submitted on 18 Aug 2024
784 points (98.2% liked)

Fediverse

28496 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 !moderators@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
 

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
[–] m3t00@lemmy.world 2 points 3 months ago (1 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@lemmy.zip 0 points 3 months ago (1 children)

Because then people can vote an unlimited number of times.

There needs to be some sort of identifier

[–] m3t00@lemmy.world 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@lemmy.zip 2 points 3 months ago (1 children)

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

[–] m3t00@lemmy.world 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@lemmy.zip 2 points 3 months ago