Dunno if you’re fussed about this sort of stuff, but this meme was already posted very recently: https://crazypeople.online/post/14691687 (sidenote: lemmy’s default UI doesn’t do inline displays of avif files, it seems)
freamon
Mostly just used for moderation.
Main account is https://piefed.social/u/andrew_s
- 0 Posts
- 8 Comments
Not the first time that bug’s reared its head either.
Example from here:
'nsfw': post.nsfw if post.nsfw is not None else FalseA meme about PieFed half-arsing database migrations might not be funny, but would at least be valid, and less wearisome than OP’s post.
I’ve contributed code to PieFed in the past, but nothing recently. If someone comes across something I’ve written and finds it amateurish, then that’s a reasonable assessment. There’s no need for you to delete your comment, as I’m not a fan of features over fixes approach either.
The “People’s Front of Judea” remark relates to a Monty Python sketch from the The Life Of Brian (youtube link) - it’s a swipe at leftist infighting (swap out “The only people we hate more than the Romans is the Judean’s People’s Front” with “The only site we hate more than Reddit is PieFed” I suppose).
The OP linked to the function with the ‘enoughmuskspam’ filter in it: it’s here (line 352 if it doesn’t auto-scroll down).
As mentioned, it’s a bulk-community import function, that new admins can optionally use to kick-start a new instance.
The code you’ve linked to is another convenience function, for users this time, that will optionally add the relevant values to their content filters for the ‘All’ feed. It’s also not a federation block, and it’s common enough for fediverse users to want to hide posts about those people that it’s value arguably overrides any perceived messiness about ‘hard-coding’ their names.
Anyone who takes the time to understand PieFed’s codebase could find plenty of things to legitimately criticise. To my mind, though, it seems against the social contract around open-sourcing one’s hobbyist project, only for people to then be snarky about it online. If there’s bits of code that look like they were written on someone’s lunch break, that’s because they were.
The frustrating thing about this post, and the (now deleted) post before it, is that someone has taken more time to create some shit meme than they have reading the code they’re haphazardly attacking. I’ve no idea why PieFed has suddenly come under some Lemmy users sights, especially since the whole point of federated social media is that it shouldn’t matter what client someone uses, and how much it reeks of “People Front of Judea” bullshit.
This has come up before. Hopefully you’re just not understanding the code, rather than deliberately misrepresenting it to others. Even a casual scan should clue people in to the fact that the linked function isn’t concerned with federation blocks (the same list that ‘enoughmuskspam’ is in also contains ‘memes’ and ‘piracy’, which every PieFed instance has without any overrides required).
I’ll copy-paste my comment from last time (I can’t link to it 'cos is was in reply to a deleted post). The first 2 paras are the most relevant bits:
The code that OP has linked to is part of a convenience function for admins to add content to their new instances. It can query individual remote instances (e.g. lemmy.world), or it can query lemmyverse.net, and fetch communities that look to be popular and active.
It’s completely unrelated to routine federation, and doesn’t prevent anyone subscribing to communities that may have those words in their names.
The admin function could potentially be used to fetch hundreds of communities. It runs as a background process, so you don’t know what they were until after they’d been followed. The “bad words” list acts as a safeguard against bringing in things you might not want or expect. One reason is that you may want to curate the first impression you give new visitors, as there as some that will be put off by the “fuck this” and “shitpost that” reddit-isms. Another is that you don’t typically want communities that are disproportionately popular than others (e.g. if you bring in the default 25 communities, and one of is 196, then it completely dominate your front page).
If there’s a particular community that you are interested in (e.g. because you moderate it), using this function isn’t an efficient way to add it. In addition to the “bad words” filters, it will also exclude communities that are NSFW, or below thresholds for popularity and activity. Rather than fetching a bunch of communities at the same time, and hoping that the one you want is included, it’s better to just add it manually (via a ! link or by using the “Add remote community” link) in much the same way as you would on any other platform.
The code that OP has linked to is part of a convenience function for admins to add content to their new instances. It can query individual remote instances (e.g. lemmy.world), or it can query lemmyverse.net, and fetch communities that look to be popular and active.
It’s completely unrelated to routine federation, and doesn’t prevent anyone subscribing to communities that may have those words in their names.
The admin function could potentially be used to fetch hundreds of communities. It runs as a background process, so you don’t know what they were until after they’d been followed. The “bad words” list acts as a safeguard against bringing in things you might not want or expect. One reason is that you may want to curate the first impression you give new visitors, as there as some that will be put off by the “fuck this” and “shitpost that” reddit-isms. Another is that you don’t typically want communities that are disproportionately popular than others (e.g. if you bring in the default 25 communities, and one of is 196, then it completely dominate your front page).
If there’s a particular community that you are interested in (e.g. because you moderate it), using this function isn’t an efficient way to add it. In addition to the “bad words” filters, it will also exclude communities that are NSFW, or below thresholds for popularity and activity. Rather than fetching a bunch of communities at the same time, and hoping that the one you want is included, it’s better to just add it manually (via a
!link or by using the “Add remote community” link) in much the same way as you would on any other platform.
freamon@lemmy.worldto
[DORMANT] Trending Communities@feddit.nl•Trending Communities for Sunday 17th March 2024English
0·3 years ago“active users” are defined by lemmy: posts + comments + votes
The bot is trying to catch upwards trend in the amount of active users. This tends to be communities that were dead or fairly dead, and then one or two posts got some engagement and spiked the number up.
In terms of absolute active numbers, there’s no need for a bot because lemmy can tell you that. The bigger communities tend to swing up and down in terms of activity (cancelling themselves out).
For example, tenforward@lemmy.world had 65 posts this week, but active users ended up pretty much where it was. The table below has 28 entries as the crawler at lemmyverse usually reports 4 times a day, so it’s for about 7 days:
posts subscribers active users 903 2466 3233 902 2461 3259 902 2461 3259 895 2453 3194 894 2447 3455 894 2447 3455 888 2443 3392 888 2443 3392 883 2440 3447 883 2440 3447 879 2437 3493 879 2437 3493 875 2434 3467 872 2424 3631 872 2424 3631 868 2426 3588 868 2426 3588 863 2413 3457 863 2413 3457 856 2407 3446 856 2407 3446 854 2402 3247 854 2402 3247 847 2391 3188 847 2391 3188 844 2386 3081 844 2386 3081 838 2384 3235


The API provides it, which means that many of the clients will also have a way of displaying them.
Your instance provides an alternative UI via the ‘Photon’ client at https://p.feddit.org/ - you can use this on desktop to view your profile and select the ‘Upvoted’ view.
The command-line equivalent would be
curl --header 'authorization: Bearer LOGIN_TOKEN' 'https://feddit.org/api/v3/post/list?liked_only=true&page=1&limit=50' | jq .posts[].post.id | xargs -I {} echo "https://feddit.org/post/%7B%7D"but it’s nowhere near as convenient as getting a client to do it for you.
The other site mentioned - https://lemvotes.org/ - doesn’t use the API and is a bit controversial: it tends to be used to see who else voted for a post, and isn’t guaranteed to be a reliable way to show what posts you personally voted for.