this post was submitted on 11 May 2026
1118 points (98.9% liked)

Technology

84539 readers
5076 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] mesamunefire@piefed.social 3 points 23 hours ago* (last edited 23 hours ago) (1 children)

Good questions. Its been a bit since ive looked at lemmys code so im going to dive in again.

Here is the docs for the votes themselves. https://github.com/LemmyNet/lemmy-docs/blob/main/src/users/03-votes-and-ranking.md

You can see this in action here: https://lemvotes.org/ if I recall.

I know the vote model is here . You can see the logic here. It checks to see if the post is actually available in the community with other functions and other such checks. It doesnt ask any lemmy instance for totals (unless theres something im not aware of), it tallies based on real time data. Which can also include fediverse actions(not necessarily lemmy/piefed/mbin/etc... but also mastodon, gotosocial, and other such services).

One of the things piefed does a bit differently is it bunches up votes for sending to other instances. And there is a backfill operation when puling from new communities or users. I would argue its a bit better than lemmys system at least from a technical perspective. But its a VERY minor one. Its nice we have multiple ways of getting to the same result-ish.

Hope that helps! I dont know everything but I know a little bit.

[–] cadekat@pawb.social 0 points 18 hours ago (1 children)

That's quite interesting, thank you! So for an instance to manipulate votes, they'd have to stream a bunch of fake events.

[–] mesamunefire@piefed.social 2 points 14 hours ago

Essentailly. Theres a couple of peertube instances that had that issue if i recall. Filters started to go up a coupke of years ago. Admins can see it pretty easy in the logs most of the time once its pointed out. Its a timing thing. Some software is beyter at it than others.