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/)Q
Posts
140
Comments
680
Joined
3 yr. ago

I joined Lemmy back in 2020 and have been using it as @qaz@lemmy.ml until somewhere in 2023 when I switched to lemmy.world. I'm interested in systemd/Linux, FOSS, and Selfhosting.

  • Wasn't that only blocking slurs and not specific communities?

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

  • Let's not make those assumptions based on an old filter list

  • I don't think that's the reason. The code mentions it filtering out "low-effort" communities so the devs probably didn't like seeing so many posts from it on their frontpage.

     py
        
    # sort out the 'seven things you can't say on tv' names (cursewords), plus some
    # "low effort" communities
    
      
  • It's helpful if you want to watch foreign news I guess

  • If you have free / cheap electricity

  • That doesn't make any sense because it doesn't block the new 196 community because it uses letters

  • 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 has been removed from 2/3 places in the codebase. I'm guessing they missed the other list so I've opened an issue and PR on Codeberg.

  • I think the communities were added manually

  • Now you mention it, I haven't seen your community either.

    EDIT: It was also filtered out, I had to add it manually

  • I definitely understand wanting to filter out obscenities, but I think the filtered communities should be a seperate configurable list.

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

  • Yes, it starts with swear words, the names of some communities are also thrown in.

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

  • the OS maintains a pool of zeroed pages

    TIL, I didn't know that.