Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)QA
Posts
576
Comments
2,172
Joined
3 yr. ago

196 @lemmy.world

Indie media rule

NonCredibleDefense @sh.itjust.works

Maduro's hiding spot

NonCredibleDiplomacy @sh.itjust.works

Would you download a president?

NonCredibleDiplomacy @sh.itjust.works

I have kidnapped a head of state, join me at my luxury resort for details

  • I think a regex to filter out common slurs isn't really the same

    The regex:

     regex
        
    (fag(g|got|tard)?\b|cock\s?sucker(s|ing)?|ni((g{2,}|q)+|[gq]{2,})[e3r]+(s|z)?|mudslime?s?|kikes?|\bspi(c|k)s?\b|\bchinks?|gooks?|bitch(es|ing|y)?|whor(es?|ing)|\btr(a|@)nn?(y|ies?)|\b(b|re|r)tard(ed)?s?)
    
    
      

    Link to code

  • 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.

  • 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.

  • 196 @lemmy.world

    Perhaps I should write another test comment? Or maybe I should wait until its full moon?

    YUROP @lemmy.world

    Concerning.

    196 @lemmy.world

    blasphemy rule

    196 @lemmy.world

    advertising rule

    European Politics @feddit.org

    Russian patriotism and military spirit are instilled in children from pre-school: the Kremlin encourages children from the age of 4, who learn to march, obey orders and handle weapons

    Prism Launcher @lemmy.world

    Most used modloader with Prism*

    Prism Launcher @lemmy.world

    Most used mods with Prism Launcher*

    Programmer Humor @programming.dev

    MongoBleed is web scale

    YUROP @lemmy.world

    Outregulated

    Linux Gaming @lemmy.world

    21% of the people using Prism Launcher use Linux*

    Prism Launcher @lemmy.world

    Most played Minecraft version with Prism

    Technology @lemmy.world

    MongoBleed explained simply | MongoDB exploit

    MongoDB @programming.dev

    MongoBleed explained simply | MongoDB exploit

    196 @lemmy.world

    define rule

    Videos @lemmy.world

    What Makes Online Content Viral / This Video Will Make You Angry | CGP Grey

    Videos @lemmy.world

    This Is Kind of a Video About Filters | Angela Collier