Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Selfhosted
  3. ntfy.sh v2.18.0 was written by AI

ntfy.sh v2.18.0 was written by AI

Scheduled Pinned Locked Moved Selfhosted
selfhosted
142 Posts 95 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P patrick@lemmy.bestiver.se

    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.worldF This user is from outside of this forum
    fccview@lemmy.worldF This user is from outside of this forum
    fccview@lemmy.world
    wrote last edited by
    #122

    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.

    1 Reply Last reply
    0
    • D deathbird@mander.xyz

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

      douglasg14b@lemmy.worldD This user is from outside of this forum
      douglasg14b@lemmy.worldD This user is from outside of this forum
      douglasg14b@lemmy.world
      wrote last edited by
      #123

      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.

      D 1 Reply Last reply
      0
      • S sanpe_@lemmy.world

        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.worldD This user is from outside of this forum
        douglasg14b@lemmy.worldD This user is from outside of this forum
        douglasg14b@lemmy.world
        wrote last edited by
        #124

        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.

        1 Reply Last reply
        0
        • U ueiqkkwhuwjw@lemmy.world

          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?

          N This user is from outside of this forum
          N This user is from outside of this forum
          nalivai@lemmy.world
          wrote last edited by
          #125

          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.

          N 1 Reply Last reply
          0
          • november@piefed.blahaj.zoneN november@piefed.blahaj.zone

            How about you tell me what you see that I missed?

            kilgore_trout@feddit.itK This user is from outside of this forum
            kilgore_trout@feddit.itK This user is from outside of this forum
            kilgore_trout@feddit.it
            wrote last edited by
            #126

            Self-host

            It is possible to host your own Autopush server. Autopush is designed to work with Google BigTable but it is also possible to use it with redis.

            For this:

            1. Clone Autopush

            # mozilla-services/autopush-rs

            Autopush-rs

            Mozilla Push server built with Rust.

            By using Sunup, your are going to have to trust Mozilla.

            1 Reply Last reply
            0
            • douglasg14b@lemmy.worldD douglasg14b@lemmy.world

              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.

              D This user is from outside of this forum
              D This user is from outside of this forum
              dogs0n@sh.itjust.works
              wrote last edited by
              #127

              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.

              R 1 Reply Last reply
              0
              • D deathbird@mander.xyz

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

                J This user is from outside of this forum
                J This user is from outside of this forum
                jhex@lemmy.world
                wrote last edited by
                #128

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

                1 Reply Last reply
                0
                • D dogs0n@sh.itjust.works

                  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.

                  R This user is from outside of this forum
                  R This user is from outside of this forum
                  rumba@lemmy.zip
                  wrote last edited by
                  #129

                  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 🙂

                  D 1 Reply Last reply
                  0
                  • R rumba@lemmy.zip

                    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 🙂

                    D This user is from outside of this forum
                    D This user is from outside of this forum
                    dogs0n@sh.itjust.works
                    wrote last edited by
                    #130

                    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 🙂

                    N 1 Reply Last reply
                    0
                    • W witten@lemmy.world

                      Lol my project has an AGENTS.md and its contents are basically, "Don't use AI agents on this codebase."

                      earmaster@lemmy.worldE This user is from outside of this forum
                      earmaster@lemmy.worldE This user is from outside of this forum
                      earmaster@lemmy.world
                      wrote last edited by
                      #131

                      Well it's AI slop then - at least by the definition of most users here.

                      1 Reply Last reply
                      0
                      • U ueiqkkwhuwjw@lemmy.world

                        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?

                        possiblylinux127@lemmy.zipP This user is from outside of this forum
                        possiblylinux127@lemmy.zipP This user is from outside of this forum
                        possiblylinux127@lemmy.zip
                        wrote last edited by
                        #132

                        I'd run for the hills

                        There are so many issues with AI

                        N 1 Reply Last reply
                        0
                        • U usernamenotfound404@sh.itjust.works

                          Lot of hate for a project maintained by a volunteer and offered for free here. Nobody forces this free stuff on you.

                          possiblylinux127@lemmy.zipP This user is from outside of this forum
                          possiblylinux127@lemmy.zipP This user is from outside of this forum
                          possiblylinux127@lemmy.zip
                          wrote last edited by
                          #133

                          True

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

                          1 Reply Last reply
                          0
                          • R railcar8095@lemmy.world

                            which is mainly driven by incompetence of project managers.

                            I completely agree. I work on an internal solution, which is a part of a very large product. It's not a live product, only part of a pipeline that runs on a predetermined schedule. Our bit is the only one with actual business/performance KPIs, most of the other teams measure only "user story/CR points". If the other teams screw up, it will impact our performance unless we prove it's their fault. And of it's their fault, they open a US/bug which improves their metrics (one more US closed).
                            Our team has to think ahead and try to do things well in one go, because our bugfixing doesn't count as work. But our speed is measured against people who benefits from half doing stuff.
                            When we did massive effort, we got complaints we were slow. Now we do less effort and once every blue moon we have to do a hotfix.
                            Most often than not when we have an production issue is due to the other teams that run before us on the pipeline, so we even had to develop checks to our input because they won't add checks to their outputs. And they won't because that's a CR that requires extra funding that's not approved, but we had to create them for our own sanity.

                            Yes, I'm looking to move out haha

                            H This user is from outside of this forum
                            H This user is from outside of this forum
                            hornedfiend@piefed.social
                            wrote last edited by
                            #134

                            A project is as good as its weakest point. While people might get butthurt by getting pointed at, a project is a group effort. Segregated teams are always a problem and almost always becomes a vulnerability,

                            Given current micro services architectures, we all have to get along with each other,for the greater good and the interest of the customer.

                            You sell shit, you get shit back. You sell high quality products with less obvious faults, you profit in the long run.

                            But no: "Let's test in production"...

                            R 1 Reply Last reply
                            0
                            • S sanpe_@lemmy.world

                              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?

                              S This user is from outside of this forum
                              S This user is from outside of this forum
                              shayeta@feddit.org
                              wrote last edited by
                              #135

                              Same as always - by coding.

                              1 Reply Last reply
                              0
                              • donutsrmeh@lemmy.worldD donutsrmeh@lemmy.world

                                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.

                                P This user is from outside of this forum
                                P This user is from outside of this forum
                                phoenixz@lemmy.ca
                                wrote last edited by
                                #136

                                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

                                1 Reply Last reply
                                0
                                • G This user is from outside of this forum
                                  G This user is from outside of this forum
                                  gregmiranda@lemmy.ml
                                  wrote last edited by
                                  #137

                                  That’s it. Fuck AI.

                                  1 Reply Last reply
                                  0
                                  • H hornedfiend@piefed.social

                                    A project is as good as its weakest point. While people might get butthurt by getting pointed at, a project is a group effort. Segregated teams are always a problem and almost always becomes a vulnerability,

                                    Given current micro services architectures, we all have to get along with each other,for the greater good and the interest of the customer.

                                    You sell shit, you get shit back. You sell high quality products with less obvious faults, you profit in the long run.

                                    But no: "Let's test in production"...

                                    R This user is from outside of this forum
                                    R This user is from outside of this forum
                                    railcar8095@lemmy.world
                                    wrote last edited by
                                    #138

                                    Again, I agree and I've fought for that. But this needs to be top to bottom. We have budget slashed, morale in the ground across the board. Those who keep trying for the best fight a losing battle with those who already have up trying.

                                    If the bosses don't care about the interest of the "customer", I don't either. I've already openly spoken to my team saying I'm now ready for things to blow up and get the attention we need from the ones really high up. I'm done working overtime because anther team is already working overtime in something else or because some bullshit political 4D chess were they throw us under the bus for their failings or try to make theirs our work.

                                    Had an annoying day with this things, sorry for dumping this here haha

                                    1 Reply Last reply
                                    0
                                    • possiblylinux127@lemmy.zipP possiblylinux127@lemmy.zip

                                      I'd run for the hills

                                      There are so many issues with AI

                                      N This user is from outside of this forum
                                      N This user is from outside of this forum
                                      nofun4you@lemmy.world
                                      wrote last edited by
                                      #139

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

                                      1 Reply Last reply
                                      0
                                      • N nalivai@lemmy.world

                                        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.

                                        N This user is from outside of this forum
                                        N This user is from outside of this forum
                                        nofun4you@lemmy.world
                                        wrote last edited by
                                        #140

                                        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.

                                        1 Reply Last reply
                                        0
                                        • D dogs0n@sh.itjust.works

                                          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 🙂

                                          N This user is from outside of this forum
                                          N This user is from outside of this forum
                                          nofun4you@lemmy.world
                                          wrote last edited by
                                          #141

                                          You'd be amazed at how much an LLM can accomplish while you take a shit.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups