Rimu@piefed.social to Fediverse@lemmy.worldEnglish · edit-21 year agoLemmy devs are considering making all votes public - have your saygithub.comexternal-linkmessage-square853fedilinkarrow-up1828arrow-down119file-text
arrow-up1809arrow-down1external-linkLemmy devs are considering making all votes public - have your saygithub.comRimu@piefed.social to Fediverse@lemmy.worldEnglish · edit-21 year agomessage-square853fedilinkfile-text
Probably better to post in the github issue rather than replying here. https://github.com/LemmyNet/lemmy/issues/4967
minus-squarem3t00🌎@lemmy.worldlinkfedilinkEnglisharrow-up3·1 year agoseems 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?
minus-squareAdanisi@lemmy.ziplinkfedilinkEnglisharrow-up1·1 year agoBecause then people can vote an unlimited number of times. There needs to be some sort of identifier
minus-squarem3t00🌎@lemmy.worldlinkfedilinkEnglisharrow-up1·1 year agoarray votes[post_id, vote]; // for storing in user profile not public but can be hashed if you don’t trust your dba
minus-squareAdanisi@lemmy.ziplinkfedilinkEnglisharrow-up2·1 year agoEnumerating every user to get the vote count on every single post/comment seems too computationally expensive.
minus-squarem3t00🌎@lemmy.worldlinkfedilinkEnglisharrow-up1arrow-down1·1 year agopost has it’s own count, this was about a user’s vote history in their profile
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