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-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
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