• 22 Posts
  • 206 Comments
Joined 2 years ago
cake
Cake day: July 13th, 2024

help-circle
  • BB84@mander.xyzOPtoMemes@lemmy.ml"content curation"
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    11 days ago

    Putin’s Russia is a nationalist and imperialist state. The Russian army has committed countless war crimes in Ukraine.

    The PRC is an authoritarian state with a deeply corrupted party, extreme capitalist culture, and very little regards for individual privacy or rights. It is also engaged in homogenization campaigns suppressing the social and cultural identities of Uyghur people, constituting an ethnocide.

    PieFed is promoted by people claiming they want to take influence away from the tankies who support Russia and the PRC. But from the hardcoded behavior discussed in this very thread we can see the PieFed’s devs and promoters intend to suppress criticisms against the (countries|institutions|capitalists) who they support, even though these entities have committed no less evil than Russia and the PRC.

    Does that satisfy you?

    We’ll see if I get banned from .ml now (not being snarky. i genuinely am curious to see if they will ban me).


  • BB84@mander.xyzOPtoMemes@lemmy.ml"content curation"
    link
    fedilink
    English
    arrow-up
    3
    ·
    12 days ago

    How would you go about changing the seven_things_plus variable via the GUI?

    You can’t. You can get around the filtering by other means, but that doesn’t make seven_things_plus any less hardcoded.

    Maybe the term hardcoded have some particular negative connotations for you. In that case please explain what that connotation may be.

    The correct definition just means data in the code rather than loaded at runtime. It is not necessarily a bad thing (things like unit conversion factors are perfectly reasonable to hardcode). In this case, I’ll let everyone judge for themselves if hardcoding ‘enoughmuskspam’ is acceptable.


  • BB84@mander.xyzOPtoMemes@lemmy.ml"content curation"
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    2
    ·
    12 days ago

    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.






  • BB84@mander.xyzOPtoFediverse memes@feddit.uk"content curation"
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    12
    ·
    13 days ago

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


  • BB84@mander.xyzOPtoFediverse memes@feddit.uk"content curation"
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    18
    ·
    13 days ago

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


  • BB84@mander.xyzOPtoFediverse memes@feddit.uk"content curation"
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    12
    ·
    13 days ago

    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.


  • BB84@mander.xyzOPtoFediverse memes@feddit.uk"content curation"
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    14
    ·
    13 days ago

    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.




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