83
submitted 4 months ago* (last edited 4 months ago) by qaz@lemmy.world to c/memes@lemmy.world

Code for people interested https://codeberg.org/rimu/pyfedi/src/branch/main/app/admin/routes.py#L373

I commented it out, rebuild the Docker containers and it works now 👍

you are viewing a single comment's thread
view the rest of the comments
[-] degenerate_neutron_matter@fedia.io 54 points 4 months ago

List of blocked words in community names:

shit
piss
fuck
cunt
cocksucker
motherfucker
tits
memes
piracy
196
greentext
usauthoritarianism
enoughmuskspam
political_weirdos
4chan

Seems like one of the PieFed devs has some opinions about the kind of content they dislike, and are unilaterally forcing that on every PieFed instance. I can somewhat understand filtering out curse words, but specific communities should not blocked by default, and definitely not hidden in a hardcoded list in the source code.

Edit: Important context here: https://lemmy.world/comment/21323475 Seems this blocklist is more limited in scope; it's not blocking federation entirely, just blocking (from what I can tell) their appearance in search and automatically federating with them when adding an instance. Still problematic to exclude specific communities in a non-configurable way with little justification IMO.

[-] Zoot@reddthat.com 32 points 4 months ago

Damn this should honestly be spread and talked about more. I don't think many people know this is a thing?

[-] 4am@lemmy.zip 54 points 4 months ago

Considering PieFed users won’t shut the fuck up about how much better and less politically opinionated it is, yeah we should probably shout this from the rooftops.

Reminds me of Brave browser users a bit

[-] pivot_root@lemmy.world 8 points 4 months ago* (last edited 4 months ago)

One of PyFed's selling points was that it was easier to work with than Lemmy. It's going to be amusing when that takes a 180 turn and people start complaining.

Python is great for prototyping and iterating on small projects or as glue for modules written in C and C++. What it isn't great at is linearly scaling on a single node. When the day that throwing more powerful hardware at the problem stops being an option, Kubernetes is going to walk through that door and fuck any semblance of simplicity up.

[-] vga@sopuli.xyz 4 points 4 months ago* (last edited 4 months ago)

I would agree with that sentiment, but seems like peoples' actual experiences are a bit different: https://jeena.net/lemmy-switch-to-piefed

Possibly a testament of how software architecture can be more important than any lower level technical decisions.

[-] mushroomman_toad@lemmy.dbzer0.com 1 points 4 months ago

I think Lemmy has some in-memory data structures that limit the backend to a single node, too. Also postgres is great, but Lemmy really fucked up their database performance somehow.

But yeah large python codebases turn into spaghetti really quickly.

[-] jerkface@lemmy.ca 24 points 4 months ago

This isn't the first time I've encountered an extremely pointed line of code in piefed meant to fuck over one person specifically. It's very concerning now that it's a pattern.

[-] degenerate_neutron_matter@fedia.io 11 points 4 months ago

Got any other specific examples?

[-] Vespair@lemmy.zip 16 points 4 months ago

I'm not okay with them filtering profanity, who the fuck are they to define what is or is not acceptable?

[-] degenerate_neutron_matter@fedia.io 8 points 4 months ago

I don't think it's a good idea either, but it's less egregious than filtering specific communities.

[-] Vespair@lemmy.zip 6 points 4 months ago

I probably agree, but frankly I find neither acceptable

[-] Kolanaki@pawb.social 15 points 4 months ago* (last edited 4 months ago)

They also put "memes" and "enoughmuskspam."

The latter I guess could be used to stop Musk spam (since the community is literally nothing but Elon Musk news) but not allowing the word "memes" in a community name?

Utterly stupid.

But they do appear to be fans of Carlin based on the first 7 banned words.

There's no racial slurs in there either. I might have assumed this was merely an example an operator is meant to edit themselves, but these are some weird ass choices for even that.

[-] user224@lemmy.sdf.org 5 points 4 months ago
[-] kittenzrulz123@lemmy.dbzer0.com 5 points 4 months ago

I wonder why the dev had an issue with 196

[-] user224@lemmy.sdf.org 10 points 4 months ago
[-] AtariDump@lemmy.world 5 points 4 months ago

George Carlin would be amused.

[-] JackbyDev@programming.dev 3 points 4 months ago

Isn't there a Java based Lemmy compatible thing too? I forgot what it was called but I think there is one.

[-] tdawg@lemmy.world -1 points 4 months ago

They're pretty explicit about what they don't like when you sign up. That's why I joined it

[-] degenerate_neutron_matter@fedia.io 19 points 4 months ago

Each instance should be free to set their own rules. Individual instances blocking those communities is fine, but the PieFed devs hardcoding a blocklist that applies to all instances (especially one as opinionated and arbitrary as this) is absolutely not.

[-] OpenStars@piefed.social 0 points 4 months ago

Each instance should be free to set their own rules.

They... are though? Maybe I am dumb, but I do not understand why each instance setting its own rules would apply to all other instances? Say if you made your own instance, you would set your own rules, but the other instances are free to set theirs as well? Like if you want to allow communities such as "4chan", then go ahead, but if others want to block that, then why shouldn't they be allowed to?

Definitely agree that this issue should be made much more transparent and easier to change, like not hard-coding it.

[-] degenerate_neutron_matter@fedia.io 11 points 4 months ago

This filter is not part of any specific instance, it's hardcoded into PieFed's code. That means it applies to every PieFed instance unless the instance admin explicitly patches the code to remove it.

this post was submitted on 01 Jan 2026
83 points (97.7% liked)

memes

21338 readers
478 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/Ads/AI SlopNo advertisements or spam. This is an instance rule and the only way to live. We also consider AI slop to be spam in this community and is subject to removal.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 3 years ago
MODERATORS