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/)B
Posts
19
Comments
162
Joined
2 yr. ago

  • Removed

    "content curation"

    Jump
  • Hard coding (also hard-coding or hardcoding) is the software development practice of embedding data directly into the source code of a program or other executable object, as opposed to obtaining the data from external sources or generating it at runtime.

    Hardcoding has nothing to do with whether or not the filter can be disabled. It is about how the filter is implemented (comparing against a string in the code, as opposed to a string loaded from config file or database).

  • Removed

    "content curation"

    Jump
  • Hard coding (also hard-coding or hardcoding) is the software development practice of embedding data directly into the source code of a program or other executable object, as opposed to obtaining the data from external sources or generating it at runtime.

    Hardcoding has nothing to do with whether or not the filter can be disabled. It is about how the filter is implemented (comparing against a string in the code, as opposed to a string loaded from config file or database).

  • Removed

    "content curation"

    Jump
  • Hard-coded data typically can be modified only by editing the source code and recompiling the executable, although it can be changed in memory or on disk using a debugger or hex editor.

    Exactly. If you want to make the same code logic block "notenoughmuskspam" (for example) instead, you would have to patch the source code. In this case there is no "recompiling the executable", since its Python. I don't really see that undermining my point though.

    Your comments sound very angry so I am blocking you for the sake of the mental wellbeing of both of us. Have a nice day.

  • Removed

    "content curation"

    Jump
  • do you not know what hardcoding is

    Yes, to quote from Wikipedia

    Hard coding (also hard-coding or hardcoding) is the software development practice of embedding data directly into the source code of a program or other executable object, as opposed to obtaining the data from external sources or generating it at runtime.

    This is precisely what PieFed does.

    As I have noted in the post, the block can be disabled/circumvented by the admin. But the rule is still in the .py file where all the business logic are, hence hardcoded.

  • Hardcoded means the filter is in the source code (as opposed to being in a config file or database). Whether or not it can be disabled/circumvented is a different matter.

  • Having features does not make it good software. It remains true that the code quality is abysmal and there ARE hardcoded blocks based on what the dev(s) dislike.

    What we see from time to time is people spreading literal misinformation about Piefed, saying that those filters can't be disabled by an admin (they can), and/or that a fork is needed to do so (it's not) .

    I hope I am not spreading any misinformation. If any of my complaints is factually incorrect, please point it out.

  • Did you put the right URL? That URL links to a comment about the 4-chan image blocking and reputation loss.

    If this is the feature you consider to be missing from Lemmy, then yes, please let it remain missing. I definitely don't want anything like it.

  • I just want to make sure people know what they're getting into before they decide to use PieFed. If you know about the issues and decide to use it, I totally respect that decision.

  • So there are two purposes for this "bad list"

    • for filtering which communities to federate with in the beginning
    • to calculate user reputation score

    correct?

    The federation filtering is blocking IMO. It affects what comms users of the instance can find (via search).

    Anyway maybe in Your PR You should make a separately configurable list for each purpose. I don't see a reason why it should be the same list.

  • That's what I thought. Thanks for confirming.

  • Okay. It's still unclear to me why piracy was not picked up by default. It's a very big comm.

    Anyhow, good luck on the merge request! Would be great to let the admin decide what to block instead of the weirdly random selection of comms and words on the list now.

  • Piefed.co.za is less than a day old and likely has done no federation at all yet.

    That cannot be true. I can see a bunch of communities federated on that website. For example, search for 'news': https://piefed.co.za/communities?search=news&language_id=0

    In it, he excluded federation from communities with certain keywords that you have already bought up.

    Okay. I call that a hardcoded block (that can be manually worked around).

  • Just to confirm, did You find the 'piracy' comm in the search menu (like I was trying to)? Or did You have to manually type in the URL and subscribe first for it to federate?

    If You found it in the search menu, then my understanding of the code must be wrong. In that case would You please explain.

    PS: The musk community is against musk. Apologies about not using Your pronouns earlier.

  • Can you explain what it does then? Below is my understanding. Correct me where I am wrong.

    The "bad list" blocks any community with that name from being federated. So for example if I go to a random PieFed instance and search for the 'piracy' community, I get no results

    https://piefed.co.za/communities?search=piracy&language_id=0

    The admin can circumvent this by manually adding the community. Some big instances (including yours) have done that, but smaller ones (like the one I linked) haven't.