• stevestevesteve@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    2 hours ago

    And if everything had moved to one of those, almost surely there would also be similar impacts in a similar cve to point at to say “we should be using something else!”

  • glimse@lemmy.world
    link
    fedilink
    arrow-up
    21
    arrow-down
    2
    ·
    5 hours ago

    “well…it’s too late now”

    Why is that written on an Office Space screenshot? That doesn’t make any sense. It’s not even close to anything said in that scene.

    Why do people insist on shoving memes into everything? Did they not think their post was good enough on its own?

    • Funkt4st1c@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      5 hours ago

      Memes are funny because its a reference to a thing we both know and thus an inside joke elevated by that fact.

      Modern ones are either that, or kind of just “heres a funny picture with text thats kind of funny next to this picture”

      • glimse@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        4 hours ago

        How does the picture make it funnier here?

        I don’t think I’ll ever understand the affinity for it. It’s the Internet equivalent of that annoying kid in middle school who couldn’t have a conversation without quoting The Simpsons or South Park lol

    • DacoTaco@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      As backend code, yes. As a web (web, not api. As an api platform they’re great) platform… No.
      Asp.net and mvc were imo a disaster, silverlight was… Oof.
      Then there is maui which could have done it using blazor but just… Didnt.
      … And then there is blazor itself. Though blazor is imo the best of all the web platforms they had, and i like it, it still has very rough edges and is not gonna replace javascript any time soon.
      Hell, microsoft cant even decently support their own web ui platform ( fluentui ) because their backbone ( webcomponents ) is completely broke ( or did v3 FINALLY release? ). There are other platforms but they all seem to not take full advantage of blazor and its disgusting.

  • ZILtoid1991@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    6 hours ago

    Time traveler: Moves a chair

    The resulting timeline: PHP is dead for good. However, after some vibe coding caused massive errors in the ADSF framework (that replaced PHP), people are running to vibecode a fix, only to that cause another issue.

    • Victor@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      5 hours ago

      Oh my gosh if I could time travel and prevent generative AI from happening I would do it so fast. Although I do want to keep the academic and medical usage domains of AI. 🤔 HMM.

    • Ftumch@lemmy.today
      link
      fedilink
      arrow-up
      11
      ·
      4 hours ago

      While the language has improved over the years, I’ve personally never seen a PHP codebase that made me happy.

    • Err(()).unwrap()@lemmy.world
      link
      fedilink
      arrow-up
      31
      arrow-down
      9
      ·
      10 hours ago

      Or, if you spin it another way: you could’ve picked up the skills to develop for and support various frameworks, or get stuck in a rut for 30 years with just a single antiquated server-side language.

      • HerbGrower@slrpnk.net
        link
        fedilink
        arrow-up
        17
        arrow-down
        1
        ·
        8 hours ago

        If its so antiquated why is it still used? For a lot of things its perfectly fine. Even this vulnerability is just a case of run the update command for your package manager.

        • Err(()).unwrap()@lemmy.world
          link
          fedilink
          arrow-up
          13
          arrow-down
          2
          ·
          edit-2
          8 hours ago

          It’s still used because momentum is a powerful factor. That doesn’t make PHP better, but it can make it a more expedient choice.

          PHP is a preprocessor that grew too big for its britches. It’s a monolithic monster that runs only one thread per request in an interpreter. It works well enough if you need to manage the data of an internet forum, but it becomes increasingly unsuitable as the task’s complexity grows. If you need threading or background tasks, or if scalability is important, PHP is not it; just read any number of Nextcloud vs OpenCloud comparisons.

          • kunaltyagi@programming.dev
            link
            fedilink
            arrow-up
            12
            arrow-down
            1
            ·
            8 hours ago

            “one thread per request” , “interpreter”

            (Looks confusingly) That’s JS and Python as well

            PS: being obtuse on purpose, but PHP lends itself well to typical requirements of web hosting and you can always call out to a diff process if needed

          • HerbGrower@slrpnk.net
            link
            fedilink
            arrow-up
            6
            ·
            7 hours ago

            Fair, but a lot of sites don’t need anything more complex than an internet forum, often less than even that.

      • SkaveRat@discuss.tchncs.de
        link
        fedilink
        arrow-up
        7
        arrow-down
        4
        ·
        6 hours ago

        You realize that the language evolved over the years and it’s not even close to the same language it was 15 years ago?

        The fact that you also mix frameworks and languages also tells me that you have no idea what you’re talking about

  • cub Gucci@lemmy.today
    link
    fedilink
    arrow-up
    16
    ·
    9 hours ago

    Everyone has forgotten java applets+ java servlets combo. I have no idea why it didn’t survive, but if it would have, it’d defeated PHP (in amount of vulnerabilities ofc)

    • zod000@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      2
      ·
      3 hours ago

      I was told in school that Java applets were the future and they made us take a class that focused heavily on them. I did make a few games in applets, but they were always janky and I am glad they are dead.

  • PieMePlenty@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    10 hours ago

    When I was a wee high school kid, asp.net was windows only back then and getting cheap windows hosting was harder than it was getting cheap linux hosting, so I focused on PHP more.
    I haven’t touched it in forever, but its probably still good, right?

    • MangoCats@feddit.it
      link
      fedilink
      arrow-up
      19
      arrow-down
      2
      ·
      13 hours ago

      Python was an even bigger mess in 2022 than it was in 2010. The version control hellscape intensifies with the more things there are to have version incompatibilities with.

      • im_fine_sandy@nord.pub
        link
        fedilink
        English
        arrow-up
        10
        arrow-down
        2
        ·
        edit-2
        8 hours ago

        I have lots of experience with node and a little with python.

        Python seems great for working with large data sets and I really like jupyter notebooks. The available libraries are really great.

        However, the thought of installing a Python CLI app makes me twitchy.

        I suspect that node has all the same problems and that I’m used to working around them, but all the Python environment stuff is a nightmare.

        Edit: dear python dweebs: I don’t care.

        • MangoCats@feddit.it
          link
          fedilink
          arrow-up
          1
          ·
          4 hours ago

          The available libraries are the ONLY excuse for Python.

          When you need tools more sophisticated (and labor intense) than your tool to make your tool functional, it’s time to re-examine your choice of toolchain.

        • esc@piefed.social
          link
          fedilink
          English
          arrow-up
          13
          arrow-down
          1
          ·
          12 hours ago

          Yeah, absolute nightmare of writing pipx install programname.

        • Joe@discuss.tchncs.de
          link
          fedilink
          arrow-up
          5
          ·
          10 hours ago

          Python is great for standalone scripts/CLIs with standard system dependencies. For actual apps you want venvs, probably managed by uv these days.

          I’ve written 1000s of python CLIs/scripts over the years, typically wrapping APIs for otherwise shitty enterprise and SaaS software (also many one-off scripts for ETL).

          Nowadays, AI writes these scripts in a fraction of the time (and reads the shitty API docs / otherwise figures it out) and my CLI toolkit is better than ever (with $0 ongoing cost). Calling MCPs from CLIs is also interesting, as some vendors never had usable APIs before now.

        • grue@lemmy.world
          link
          fedilink
          arrow-up
          5
          arrow-down
          1
          ·
          11 hours ago

          Python environment/packaging sucks, but at least the language itself doesn’t.

          • MangoCats@feddit.it
            link
            fedilink
            arrow-up
            2
            ·
            4 hours ago

            I learned basic programming in BASIC in the 80s. Back then when you needed more speed, you grafted in assembly calls, and the speed difference was dramatic.

            Straight Python feels as slow as BASIC - it’s got nifty speedy library calls to stuff written in other languages, but if you need something that’s not available in a library, now you’re writing a library function for Python, in another language, and why not just write the whole thing in that other language and ditch the heavy toolchain?

          • esc@piefed.social
            link
            fedilink
            English
            arrow-up
            7
            arrow-down
            1
            ·
            11 hours ago

            It’s fine actually, all of the problemswith python packaging and env are overblown to insane degree.

            • grue@lemmy.world
              link
              fedilink
              arrow-up
              5
              ·
              edit-2
              9 hours ago

              I used to work at a place that used Jython (which never got updated to Python 3, BTW) and was responsible for trying to keep that shit working even as various libraries started dropping Python 2 support.

              I still get a thousand-yard stare when I think about it.

              (Still worth it vs. writing actual Java code, though.)

              • esc@piefed.social
                link
                fedilink
                English
                arrow-up
                3
                ·
                9 hours ago

                Yep, they are.

                Just recently there was an article here, where a person claimed that recommended python tooling is inadequate because they needes to read two paragraphs of documentation. Endemic problem really.