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

memes

20859 readers
2604 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 2 years ago
MODERATORS
373
Permanently Deleted (lemmy.world)
submitted 3 months ago* (last edited 3 months ago) by qaz@lemmy.world to c/memes@lemmy.world
 

Permanently Deleted

you are viewing a single comment's thread
view the rest of the comments
[–] darkevilmac@lemmy.zip 60 points 3 months ago (2 children)

Jesus that's a lot of spaghetti code, and why are they hardcoding a bunch of terms? Is this just for a public facing site, or does every deployed instance effectively filter these out?

[–] qaz@lemmy.world 77 points 3 months ago* (last edited 3 months ago) (2 children)

It's hardcoded in the PieFed source code, so every instance does this by default unless you patch it like I did.

The combined swearwords + excluded communities list seems to appear at least 3 times in the codebase (not referenced, copied verbatim).

Let's just say that it wouldn't pass my code review if I saw this at work

EDIT: It has been removed from 2/3 places in the codebase.

[–] SatansMaggotyCumFart@piefed.world 11 points 3 months ago (1 children)

The piefed.world instance has some of these edited out but I don’t think they all are.

[–] qaz@lemmy.world 4 points 3 months ago (1 children)

I think the communities were added manually

[–] SatansMaggotyCumFart@piefed.world 2 points 3 months ago (2 children)

How do you manually add communities?

[–] Skavau@piefed.social 3 points 3 months ago

You just try to go to the community from that instance, and it'll say "community not found" and you just click it. Then someone local needs to subscribe to it for new content from there to federate.

[–] qaz@lemmy.world 2 points 3 months ago

You go to https://INSTANCE_DOMAIN/c/COMMUNITY_NAME@COMMUNITY_DOMAIN and press Join

[–] realitista@lemmus.org 3 points 3 months ago (1 children)
[–] qaz@lemmy.world 2 points 3 months ago (1 children)
[–] realitista@lemmus.org 2 points 3 months ago
[–] BruisedMoose@piefed.social 12 points 3 months ago (1 children)

Yeah. The list should be in the site config. Go ahead and include those as defaults to block, but allow sites to override that.

OP, are you saying that the federation is blocked on the OUTGOING side? Because then that just seems bass ackwards.

[–] qaz@lemmy.world 9 points 3 months ago

No, it's incoming. When you first set up an instance you have to kickstart the federation process by adding communities to federate. The linked code excludes those specified communities from that. Once federated, they won't be blocked AFAIK.