this post was submitted on 02 Feb 2026
148 points (82.7% liked)

Memes

54155 readers
1549 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 6 years ago
MODERATORS
 

cross-posted from: https://mander.xyz/post/46665693

PieFed blocks !enoughmuskspam@lemmy.world (and a few other communities) by default. At the time of writing this post, you can search for the comm on many PieFed instances and you will not find it.

The block is only by default. The admin can choose to override it. Many big instances have done so, including

  • piefed.social
  • piefed.world
  • piefed.zip

See more information here.

you are viewing a single comment's thread
view the rest of the comments
[–] apotheotic@beehaw.org -3 points 19 hours ago* (last edited 19 hours ago) (4 children)

Anyone who wants the whole story, since there's misinfo/cherry-picked info flying both ways (god I sound like a fucking centrist please believe me I hate elon musk and everything he stands for and cant wait for the collapse of the imperial powers)

The code defines a default list of "bad words" which includes the names of some communities they consider low effort

seven_things_plus = [
            'shit', 'piss', 'fuck',
            'cunt', 'cocksucker', 'motherfucker', 'tits',
            'memes', 'piracy', 'greentext', 'usauthoritarianism',
            'enoughmuskspam', 'political_weirdos', '4chan'
        ]

And filters these bad words/low effort communities out by default

# sort out the 'seven things you can't say on tv' names (cursewords), plus some
            # "low effort" communities
            if any(badword in community['name'].lower() for badword in seven_things_plus):
                bad_words_count += 1
                continue

            else:
                candidate_communities.append(community)

Decide for yourself if you think that community qualifies as low effort, but it isn't a "hardcode" in the way most people think of it. Its just as much of a hardcode as setting default values for any other variable in your function definition.

[–] Shatur@lemmy.ml 11 points 12 hours ago* (last edited 12 hours ago)

but it isn’t a “hardcode”

But you showed a constant with the words. Even if you can disable this, I'd call it a "hardcoded list".

[–] KimBongUn420@lemmy.ml 13 points 17 hours ago (1 children)
[–] hamid@crazypeople.online 22 points 19 hours ago* (last edited 19 hours ago)

That literally is what hard coding is. I mean literally as literally and not figuratively. They literally hard coded "usauthoritarianism" into a list of no no words for delicate sensibilities.

Have to protect white liberals from calling out US Authoritarianism and bad words

[–] BB84@mander.xyz 1 points 11 hours ago (1 children)

Hey. I saw your comment but didn't get to reply before you deleted it. I think you should restore it. Ignore the tankies bullying you.

I fully stand by my wording that it is "hardcoded", but it is good that you show the code, so people can judge for themselves.

[–] apotheotic@beehaw.org 1 points 4 hours ago

I appreciate the sentiment. I just don't have the energy to deal with people being mean atm. And for what its worth, I don't agree with my own take on the use of the word hardcoded anymore, I think you were justified to say it is hardcoded.