you are viewing a single comment's thread
view the rest of the comments
[–] 65 points 7 months ago (22 children)

I didn't know what piefed was, so I took a peek at a repository

A Lemmy/Mbin alternative written in Python with Flask. Clean, simple code that is easy to understand and contribute to. No fancy design patterns or algorithms.

That's all I need to see to know to never touch that software.

  • source
  • hideshow 22 child comments
  • [–] 52 points 7 months ago*

    No fancy design patterns or algorithms.

    This is like when liberals insist that an assessment is "unbiased" or "non-ideological". It's impossible. What they mean by "no design pattern" is "no design patterns I don't like".

  • source
  • parent
  • [–] 50 points 7 months ago* (1 child)

    Man software is hard. They're always saying stuff like "Lberry is a branch of the Fortnitely bootlickLoader made for asynchronous thread calls on the VersTop backend".

    And then I open a plugin up and see completely uncommented code like

    If x.getParent(struct.key(2).getIsPresent("present")) = 3.rad(y):
            buttLoader.load(buttSettings.buttSetting(new butt))
    
    Else:
       x.setIsTrueIfFalse(true)
    

    And their newest git update is how they're excited to be moving to Android while their documentation is 20% complete and their newest feature I actually like is a pull request from some 17 year-old in Nebraska using legacy code to do something in 3 lines I spent 10 hours figuring out how to make but better.

    (And yes, the first if statement is an assignment because obviously someone modifying the code knows that the get method of x also assesses 3 arbitrary attributes and returns a bool)

  • source
  • parent
  • hideshow 1 child comment
  • [–] 49 points 7 months ago* (last edited 7 months ago) (3 children)

    No fancy design patterns or algorithms

    Is such a red flag TBH, depending on how it's meant

  • source
  • parent
  • hideshow 3 child comments
  • [–] 32 points 7 months ago (2 children)

    The flag is so red, Stuart Semple would make it illegal for Anish Kapoor to use it

  • source
  • parent
  • hideshow 2 child comments
  • [–] 43 points 7 months ago (11 children)

    Clean, simple code that is easy to understand and contribute to.

    Given how ad-hoc the snippets of codes RedWizard and others have posted, I strongly suspect Pifed's code to be a horrible spaghetti mess.

  • source
  • parent
  • hideshow 11 child comments
  • [+] 37 points 7 months ago* (last edited 7 months ago) (6 children)
  • [–] 34 points 7 months ago* (2 children)

    images > 2000px tend to be real photos instead of 4chan screenshots. chan posts usually contain the text 'Anonymous' and ' No.12345'

    "usually" "tend to" is not a fucking good filter, there'll be a lot of false flags.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 29 points 7 months ago

    Yeah, Python was a warning sign when I first heard of Piefed. I then decided I didn't want anything to do with it or instances running it when I learned that hexbear and lemmygrad blocks are hardcoded in the source code. This is also touched upon in more detail in the original thread where @RedWizard@hexbear.net posted the analysis.

  • source
  • parent
  • [–] 15 points 7 months ago

    No fancy design patterns or algorithms.

    I'm choosing to parse that as "No (fancy design patterns) or (algorithms)" rather than "no fancy (design patterns or algorithms)" because it's funnier to me.

  • source
  • parent