this post was submitted on 01 Oct 2026
25 points (100.0% liked)
Fediverse
44085 readers
1520 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, Mbin, 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)
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The main challenge is that we'd need to run the 'get posts' database query twice - once with no filters and once with the filters. These are big queries so they're slow and hard to optimize. You really really don't want to run them more than once per page load.
If you wanted a breakdown of which filter caused how many posts then you'd need to run one query per filter and compare it with the no-filter version to see the difference. So, about 6x. Impractical.
If all the filtering was done in the app logic (rather than on the DB server, using SQL) then it would be trivial to count up which filter did what, as the code looped through the posts. But I'm very sceptical about the performance potential of this, there's a reason why we do as much filtering as possible on the DB... It'd be an interesting experiment to try.
Would a non-counting/identifying version be simpler? Like a "some comments have been hidden by your blocks or filters" label?
For comments (not posts), the parent post has a count of the replies saved on it so it would be simple to compare that with the current number of comments the viewer is getting.
But without knowing which filter was causing it, that message would just be annoying.
@CovertOperative @rimu ɢʀᴇᴇᴛɪɴɢs, ᴜꜱᴇʀ!
ᴏᴜʀ ᴀᴜᴛᴏᴍᴀᴛᴇᴅ ꜱʏꜱᴛᴇᴍꜱ ᴅᴇᴛᴇᴄᴛᴇᴅ ᴀ ᴍɪɴᴏʀ ɪʀʀᴇɢᴜʟᴀʀɪᴛʏ ᴡɪᴛʜ ʏᴏᴜʀ ᴀᴄᴄᴏᴜɴᴛ ᴀᴄᴛɪᴠɪᴛʏ.
ᴛᴏ ʀᴇꜱᴛᴏʀᴇ ꜰᴜʟʟ ᴠɪsɪʙɪʟɪᴛʏ ᴀɴᴅ ᴀᴄᴄᴇꜱꜱ, ᴘʟᴇᴀꜱᴇ ᴄᴏᴍᴘʟᴇᴛᴇ ᴛʜᴇ ᴠᴇʀɪꜰɪᴄᴀᴛɪᴏɴ ᴘʀᴏᴄᴇꜱꜱ.
→ ᴘʀᴏᴄᴇᴇᴅ ʜᴇʀᴇ: 🔗 https://mastodon.hnwind.com/231088901
ᴛʜᴀɴᴋ ʏᴏᴜ ꜰᴏʀ ʏᴏᴜʀ ᴜɴᴅᴇʀsᴛᴀɴᴅɪɴɢ!
Ah, ok that makes sense. That would be wasteful for something that is only useful on the rare occasion.
In that case, a troubleshooting mode might work better, where the user can run tests somewhere in the user settings. Or a button somewhere on the feed that the user can click on to run the analysis on demand.
Yes, good idea.