According to the release:

Adds experimental PostgreSQL support

The code was written by Cursor and Claude

14,997 added lines of code, and 10,202 lines removed

reviewed and heavily tested over 2-3 weeks

This makes me uneasy, especially as ntfy is an internet facing service. I am now looking for alternatives.

Am I overreacting or do you all share the same concern?

    • NoFun4You@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      21 hours ago

      Like ppl thinking skilled engineers cannot vet AI output. AI is pretty good for programming.

      • Ohi@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        13 hours ago

        You’re absolutely right, and the vast majority of people on this platform seem to get offended by anything AI related. Software engineers have been reviewing code made by other people since the dawn of the craft. Guess what y’all, AI generated code looks exactly the same, if not better on the first pass at creating a thing.

        Down vote me all you want homies. You’re living in a fantasy if you think all AI is slop. Sure, I can see how it’s ruining some content on the Internet, but for code related tasks, its going to dramatically change the world for the better.

      • mic_check_one_two@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        20 hours ago

        And yet there are cases like the Huntarr debacle, where the dev simply thought “and make sure your code complies with best security practices” to their vibe code prompts actually made it secure.

        They added 14k lines of code in a week, and ripped out 10k lines of existing code. That’s not something that a skilled programmer can reasonably vet in that amount of time. This is showing all the signs of AI slop, and none of the signs of debugged or vetted code.

      • thedeadwalking4242@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        20 hours ago

        It’s not. That’s the problem. It actually sucks ass. It’s super low quality for anything more complex they s very simple CRUD app or a simple function. I say this as someone who s a heavy LLM user. It’s just bad code. It makes all kinds of simple mistakes. Just because code compiles doesn’t mean it’s good or does what you need it to do

      • IphtashuFitz@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        20 hours ago

        I have a few decades programming experience, as a professional software engineer, an open source developer, and a DevOps engineer. There is no way in hell I would do a code review where 15k lines were added and a similar amount of lines removed without having a long discussion with the person who made those changes. I’d want to ask a lot of detailed questions about the changes, questions that an LLM isn’t likely to answer, and most definitely not questions I’d be inclined to try to type into an LLM to try to get an answer.

        Over the years I’ve dealt with all manner of bugs, from overflows & underflows, to bad assumptions about logic flow, and much much more. The whole purpose of pointed questioning of the author is to be comfortable with decisions made in the code and to minimize the chances of all sorts of potential bugs.

  • Nalivai@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 day ago

    This doesn’t make me uneasy. It makes me resentful, a little angry, and a lot tired. Thanks for bringing it to attention, I will make sure that nothing of that project or from that author will ever cross my ecosystem again.

    • NoFun4You@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      21 hours ago

      You’re gonna have a lot of hate in your blood if you go around acting like the most skilled engineers aren’t using AI to write code.

      • Nalivai@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        8 hours ago

        Most skilled engineers, and even mildly skilled engineers don’t use slopgenerators to write code. Some of them use it sometimes to do some menial tasks, although I’m not convinced it actually saves them time. It sure doesn’t every time we measure it.
        There is however a plague of low skilled people who convinced themselves that they’ve found a shortcut to being an engineer. Those people are producing bad things at a fast pace, and the only reason we’re not in an unsolvable crisis yet is that their slop isn’t hitting prod very often on account of being bad.

      • mic_check_one_two@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        17 hours ago

        There’s a massive difference between “using AI to write code” and refactoring almost 15k lines in a single push.

        The “best” uses of AI in coding are for small blocks. You don’t just tell it “I need a program that does X, Y, and Z” because that will (at best) result in horrible code. Instead, it’s best practice to use it for small blocks of code, where you tell it something more akin to “I need a function that takes {a} as a variable, does {thing}, and outputs {x}.” That way you’re not using it to generate giant swaths of code all at once, you’re just using it to generate individual functions that you can then use as needed.

        But it also means that the “most skilled” (as you put it) programmers are basically putting themselves in a permanent debugging seat instead of working as a developer. And in many cases, debugging code can be just as (or more) difficult than writing the initial code. It’s also why senior devs exist to audit code from junior devs, because it’s assumed that junior devs will inevitably make mistakes that need debugging, or will make code that clashes with code from other junior devs. And it’s the senior dev’s job to ensure that the code is both functional and integrated properly.

        And this “adding 15k lines of code and ripping out 10k lines” push smells a lot like the former “write me a program to do {thing}” usage.

  • deathbird@mander.xyz
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 day ago

    “but reviewed and heavily tested over 2-3 weeks by me. I created comparison documents, went through all queries multiple times and reviewed the logic over and over again. I also did load tests and manual regression tests, which took lots of evenings.”

    This is the way.

    • Jhex@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      that’s nowhere near enough testing for such a large change… special one written by the slop machine

        • riccardo@lemmy.ml
          link
          fedilink
          English
          arrow-up
          0
          ·
          20 hours ago

          At my company we have been using AI very heavily to write code lately, and if that sentence was used to justify a 10k+ diff, whoever wrote it/vetted the change would have their access to the codebase revoked

    • douglasg14b@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      Pretty much.

      I’ve started using AI on a project last week and the first thing I do is write tests. Lots of tests.

      With enough guardrails, you could actually get pretty decent quality output out of it and with enough regression tests, you can ensure that nothing’s actually breaking.

      Similarly, reviewing its changes and actually reading the code that’s being generated to ensure correctness is necessary. However, I am finding ways to automate that and reduce the incident rate of problems to even lower than my co-workers.

      • dogs0n@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day ago

        At that point, I think: Why not just write the code yourself?

        Writing the code is more fun that reviewing code, not to mention less error prone.

        • rumba@lemmy.zip
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 day ago

          A many-month-long refactor on code you’ve already written is less than fun. While I don’t love seeing a project I’m using being 80% replaced by Claude code, I’ve had Claude code look at some of my old projects and find underlying issues I was able to verify, and then suggested a more best-practice approach that I wasn’t even aware of. The real question is, was the claude output better than the original code? If it is and it has unit tests and many eyes on it, it’s quite possible that it’s better off now.

          I’ll sit on my current versions for a few months and let everyone else test it out :)

          • dogs0n@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            0
            ·
            1 day ago

            I agree with you, though even when I have just made a change myself, I am looking through the git diff like a crazy person.

            So, still I think refactoring my own code is much more fun than telling AI to do it for me and then proceeding to review and test it for weeks (allegedly, lol).

            You seem to be using it responsibly by asking it how things could be better.

            I’d never copy and paste output from an AI or give it free roam to make a PR, etc myself.

            I’ll probably be sitting out on this update for a while too until I gage the general reactions of people heh :)

  • shirro@aussie.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 day ago

    I can see the pragmatic appeal. Maintaining a lot of code for an open source project is thankless. Go is designed for idiots like me so it makes sense that an llm should be able to emit code that mostly works. There are classes of errors that are less likely in Go and the compiler and linting will prevent some foot guns and then it would have been tested.

    Ethically I hate anything to do with the llm industry and all it represents. I hate the environmental impacts. The social impacts. The disregard for intellectual property. The devaluing of human effort. The scam economics. I won’t use anything touched by it on principle and if that means walking away from a dead Internet so be it. There is enough pre-2020s books, audiobooks, movies, music and code to keep me interested for the rest of my life.

  • SanPe_@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 day ago

    I’m so tired of that.

    I’m using it for scripts notifications + unifiedpush. I don’t know where to start to find the fitting alternative.

    • douglasg14b@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      The maintainer you and said that they tirelessly tested, reviewed and verified changes over the course of 3 weeks to make sure that things were running and operating correctly.

      This is how it should be done. It’s not like they’re vibe coding this.

      • mic_check_one_two@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        17 hours ago

        And the lead dev for Huntarr said they were following best practices, and had a heavy background in cybersecurity. And we’ve all seen how that turned out.

        This change 100% smells like vibe code. They refactored nearly 15k lines of code in a single push. That’s not something you just do on a whim without a team of full time devs or vibe coding. And we know they don’t have the former, so it is almost certainly the latter.

      • SanPe_@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day ago

        Non-sense comment. The project was fine without AI. And it’s so stupid: how do you expect people to contribute if there’s only AI? How do you expect developers to learn to code if everything is AI?

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      23 hours ago

      True

      That also means nobody is forcing me to use it. I respect the Dev but vibe coded anything is not for me.

    • GreenKnight23@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 days ago

      been using EMQX plus an MQTT client on my phone for a few months now, I like it better than gotify since the app was chewing through my battery like a vampire.

      it might be better now since my issues happened three-ish years ago.

      • SayCyberOnceMore@feddit.uk
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day ago

        This EMQX?

        Seems it’s no longer FOSS?

        I’ve been using Gotify for a few notifications from Home Assistant and it doesn’t appear to be eating my battery.

        It’s a little more responsive than ntfy - sometimes ntfy doesn’t alert for ages after the trigger (could be phone power saving the wifi…), but then I also get realerts from yesterday… not had that with Gotify.

        • GreenKnight23@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 day ago

          that’s the one.

          FOSS or not, it still runs just fine on my infra. I prefer it over something like rabbitmq because it has a pretty slick admin webgui.

          I’ll have to give gotify another try.

    • osanna@lemmy.vg
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 days ago

      Ntfy.sh is the hosted version. Hosted by the author. Ntfy (android, ios) is the app that you use as a client.

      • Lumisal@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 days ago

        I’ve never used ntfy.sh

        I’ve only used Ntfy app for Universal Push that some apps need, and they recommend ntfy. Does this affect the app then? Ah, if so, what alternative can I use for just that purpose?

        • osanna@lemmy.vg
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 days ago

          Gotify is probably the next best thing, at least in terms of self hosted. Though doesn’t have the wide support of ntfy.

  • newtothis3@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    In reality how big of a risk it currently is? I just started to use it just for fun and personal projects. If previous version didn’t have security vulnerabilties then then there is no rush to update or am i missing something?

  • patrick@lemmy.bestiver.se
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    It looks like that tool is more or less built by a single developer (you already trust their judgment anyways!), and even though the code came through in a single PR it was a merge from a branch that had 79 separate commits: https://github.com/binwiederhier/ntfy/pull/1619

    Also glancing through it a bit, huge portions of that are straightforward refactors or even just formatting changes caused by adding a new backend option.

    I’m not going to say it’s fine, but they didn’t just throw Claude at a problem and let it rewrite 25k lines of code unnecessarily.

    • fccview@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      Yeah, I mean, with or without AI, I’ve always only had a big pull request for releases, from a stable release branch into the main branch, the release branch would be a merge of various branches or just be worked on directly on various stages.

      One big pull request doesn’t really mean anything.

    • mudkip@lemdro.id
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      Any AI usage immediately discredits the software for me, because it calls into question all of their past and future work.

    • sloppy_diffuser@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 days ago

      Something like https://graphite.com/ to create stacked PRs that are reviewable probably would have helped. Can be replicated with local LLMs or remote AI providers with locally configured agentic workflows. Never used graphite personally, but I’ve seen some open source maintainers use it to split up large PRs.

  • Phoenixz@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    I’m a developer

    I sometimes sometimes use AI for an answer to a complicated problem because normally I’d open up 20 pages , have to go through them all to find the right answer

    AI gets me the answer right away, though it likely is completely wrong or at least partially wrong. Either way, it gives me a general direction and with that I only have to search through one or two pages to confirm, so the same process is just a little faster.

    I laso have used AI on a couple of occasions to ask it to write code for a complicated problem. Again, you don’t copy the code, god no, it’s always the worst, and it is in 80% of the cases still at least riddled with bugs, or just complete bullshit. However, it might give me an alternative idea or a direction to take to implement or fix this complicated feature problem.

    That’s the extent to which I’ve used AI and for the foreseeable future that won’t change because AI still can’t code. It’s still wildly flailing around and it might produce something that implements a certain functionality, but it’s a guarantee that that functionality will have more bugs and security holes than features

    • DonutsRMeh@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 days ago

      I understand this comment. AI sometimes saves a ton of mental power and time when I’m stuck on an issue. It can give some really good suggestions. Also, AI is a godsend for frontend shit. I don’t care what y’all say, I’m never touching CSS and HTML ever again. lmao.

      • Phoenixz@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        22 hours ago

        Nah, wouldn’t do that. CSS needs to be well designed to function properly, you need actual developers for that or you’ll screw over your users.

        But yeah, to give quick pointers and ideas to flesh out, it’s reasonably useful

        If that is enough to warrant it’s extreme energy use, the spread of AI slop everywhere, the pollution, the uncontrolled datacenter expansions, the explosion in hardware costs it created, the countless death and suffering it caused through AI psychosis, the AI childporn bots (hello grok, are you still the world’s biggest child porn producer or did Elmo finally reign you in to again be mecha Hitler?), the…

        Long story short, AI will likely end this world in a long list of fucked up ways, I don’t think it’s worth it

        Until then, I’ll use it as a suggestion tool, not much more

        • DonutsRMeh@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          6 hours ago

          Bro, what the hell. Lmao. “Hey AI is horrible in all ways and is doing harm to the planet and people and kids, but I’ll use it regardless. Hear me I’m a good guy. I hate AI, but I’ll use it”. That’s virtu signaling, isn’t it?

    • s3rvant@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 days ago

      I am also a developer and agree entirely.

      Asking for advice, examples or the occasional boilerplate is at most how I use AI and certainly not integrated directly into my IDE.