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

    kushan@lemmy.worldK This user is from outside of this forum
    kushan@lemmy.worldK This user is from outside of this forum
    kushan@lemmy.world
    wrote last edited by
    #51

    Fuck, I love ntfy, it's one of the best self hosted push notification systems I've used. It has been flawless so far.

    Don't like this.

    1 Reply Last reply
    0
    • N notabot@piefed.social

      I'm assuming this is some sort of canary message to indicate that the code base has been compromised, the author can't talk about it, and everyone should immediately stop using the service. Surely no-one would be unwise enough to commit this otherwise?

      Even ignoring the huge red LLM flag, a 25kLOC delta in a single PR should be cause for instant rejection as there's no way to fully understand or test it, let alone in 2-3 weeks.

      E This user is from outside of this forum
      E This user is from outside of this forum
      exfed@programming.dev
      wrote last edited by
      #52

      25kLOC delta in a single PR should be cause for instant rejection

      Not to pick at nits, but it would be VERY different if it was 1k lines added and 24k lines removed. There's something extremely satisfying about removing 10k+ lines of unnecessary code.

      N 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?

        lnxtx@sopuli.xyzL This user is from outside of this forum
        lnxtx@sopuli.xyzL This user is from outside of this forum
        lnxtx@sopuli.xyz
        wrote last edited by
        #53

        No thumb down reaction emoji 🤔

        1 Reply Last reply
        0
        • R rozlav@lemmy.blahaj.zone

          there is this repo that lists some slopware :
          https://codeberg.org/small-hack/open-slopware
          maybe someone can add it

          addie@feddit.ukA This user is from outside of this forum
          addie@feddit.ukA This user is from outside of this forum
          addie@feddit.uk
          wrote last edited by
          #54

          Awesome page, thanks. Have bookmarked.

          Harfbuzz though? That's going to take some replacing. Hopefully someone will fork an earlier version. The thing that it does (accurate multi-script font shaping) is difficult to do; requires a lot of rule-of-thumb knowledge that's unlikely to be possessed by a single person, needs a lot of collaboration.

          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?

            F This user is from outside of this forum
            F This user is from outside of this forum
            fmstrat@lemmy.world
            wrote last edited by
            #55

            Uovote and comment on: https://github.com/binwiederhier/ntfy/issues/1645

            Please add this to the post.

            1 Reply Last reply
            0
            • H hendrik@palaver.p3x.de

              Uh. I'd really prefer if people experimented with new technology a bit more cautiously and not directly jump to "the biggest release [...] ever done".

              F This user is from outside of this forum
              F This user is from outside of this forum
              fmstrat@lemmy.world
              wrote last edited by
              #56

              Upvote and comment on: https://github.com/binwiederhier/ntfy/issues/1645

              correctalias@piefed.blahaj.zoneC H 2 Replies 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?

                M This user is from outside of this forum
                M This user is from outside of this forum
                mora@pawb.social
                wrote last edited by
                #57

                I switched to Gotify when I ran into an issue where ntfy would delete old api tokens when creating more than 20. Only thing missing in Gotify is UniversalPush, other than that it feels actually more solid than ntfy to me.

                1 Reply Last reply
                0
                • F floofloof@lemmy.ca

                  Time for a fork?

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

                  Time for a knife!^[I kid, I kid] Violence is the answer!

                  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?

                    M This user is from outside of this forum
                    M This user is from outside of this forum
                    moonshadow@slrpnk.net
                    wrote last edited by
                    #59

                    Oh goddamn it, I'm using this and don't have an alternative lined up

                    S kilgore_trout@feddit.itK 2 Replies 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?

                      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
                      #60

                      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

                      s3rvant@lemmy.mlS donutsrmeh@lemmy.worldD 2 Replies Last reply
                      0
                      • E exfed@programming.dev

                        25kLOC delta in a single PR should be cause for instant rejection

                        Not to pick at nits, but it would be VERY different if it was 1k lines added and 24k lines removed. There's something extremely satisfying about removing 10k+ lines of unnecessary code.

                        N This user is from outside of this forum
                        N This user is from outside of this forum
                        notabot@piefed.social
                        wrote last edited by
                        #61

                        Sure, that would be a little different, but unless you could make a convincing argument, backed up with a solid set of unit tests, at the least, as to why and how you were able to remove that much code whilst only adding a comparatively small amount, I'd still be inclined to reject it and ask for it to be broken down into smaller units.

                        Now, that explaination might be something along the lines of it being dead code that is not called from anywhere, or even that it was a patched version of an upstream library, and the patch is now included in that upstream, in which case, fair enough, good work, and thanks very much. As a rewrite or refactor though, it's too big to sensibly review and needs breaking down into separate features.

                        E 1 Reply Last reply
                        0
                        • F fmstrat@lemmy.world

                          Upvote and comment on: https://github.com/binwiederhier/ntfy/issues/1645

                          correctalias@piefed.blahaj.zoneC This user is from outside of this forum
                          correctalias@piefed.blahaj.zoneC This user is from outside of this forum
                          correctalias@piefed.blahaj.zone
                          wrote last edited by
                          #62

                          They just replied:

                          What gave you the idea that this was a full rewrite? I moved things around with AI and added postgres support for the queries. Nobody has ever reviewed and tested anything more thoroughly than I did with this branch.

                          You are twisting what it actually is. You are assuming something that is not true.

                          This makes me think that they didn't review or test it at all, lmao

                          F 1 Reply Last reply
                          0
                          • R rozlav@lemmy.blahaj.zone

                            there is this repo that lists some slopware :
                            https://codeberg.org/small-hack/open-slopware
                            maybe someone can add it

                            C This user is from outside of this forum
                            C This user is from outside of this forum
                            cecilkorik@piefed.ca
                            wrote last edited by
                            #63

                            I think there's room for a little bit of nuance that page doesn't do a great job of describing. In my opinion there's a huge difference between volunteer maintainers using AI PR checks as a screening measure to ease their review burden and focusing their actual reviews on PRs that pass the AI checks, and AI-deranged lone developers flooding the code with "AI features" and slopping out 10kloc PRs for no obvious reason.

                            Just because a project is using AI code reviews or has an AGENTS.md is not necessarily a red flag. A yellow flag, maybe, but the evidence that the Linux Kernel itself is on that list should serve as an example of why you can't just kneejerk anti-AI here. If you know anything about Linus Torvalds you know he has zero tolerance for bad code, and the use of AI is not going to change that despite everyone's fears. If it doesn't work out, Linus will be the first one to throw it under the bus.

                            baner@lemmy.zipB W 2 Replies Last reply
                            0
                            • november@piefed.blahaj.zoneN november@piefed.blahaj.zone

                              There's SunUp on F-droid, but I don't know anything about them.

                              povoq@slrpnk.netP This user is from outside of this forum
                              povoq@slrpnk.netP This user is from outside of this forum
                              povoq@slrpnk.net
                              wrote last edited by
                              #64

                              That's from Mozilla, another AI company...

                              november@piefed.blahaj.zoneN 1 Reply Last reply
                              0
                              • henfredemars@infosec.pubH henfredemars@infosec.pub

                                Definitely share your initial concern. Without strong review processes to ensure that every line of code follows the intent of the human developer, there’s no way of knowing what exactly is in there and the implications for the human users. And I’m not just talking about bugs.

                                They say it’s reviewed, but the temptation to blindly trust is there. In this case, developer appears to have taken some care.

                                The code was written by Cursor and Claude, 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.

                                Let us hope so. Handle with care to ensure responsibility is not offloaded to a machine instead of a person.

                                irotsoma@piefed.blahaj.zoneI This user is from outside of this forum
                                irotsoma@piefed.blahaj.zoneI This user is from outside of this forum
                                irotsoma@piefed.blahaj.zone
                                wrote last edited by
                                #65

                                Yeah, it could easily have added a couple of lines of code that sends everything to Northern Korean hackers because it found that in a bunch of repositories or just logging passwords to public logs or other things an experienced developer would never do. "AI" only replicates what it sees most often and as more spam and junk repos are added to its training data because "AI" companies are too concerned with profit to teach it properly, it could do tons of random stuff. It's like training a developer by giving them random examples from the internet rather than specific ones. Of course they pick up bad habits. Even if it "works" it is almost never efficient or secure.

                                1 Reply Last reply
                                0
                                • F fmstrat@lemmy.world

                                  Upvote and comment on: https://github.com/binwiederhier/ntfy/issues/1645

                                  H This user is from outside of this forum
                                  H This user is from outside of this forum
                                  hendrik@palaver.p3x.de
                                  wrote last edited by
                                  #66

                                  Thanks for the link! As a short aside for the other people here: Try not to spam developers. That usually achieves the opposite and makes them miserable, when we want them to not burn out, and write good software for us. A thumbs-up emoji is the correct reaction for the average person. Or for the pros - a code-review highlighting specific issues within the code.

                                  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?

                                    P This user is from outside of this forum
                                    P This user is from outside of this forum
                                    patrick@lemmy.bestiver.se
                                    wrote last edited by
                                    #67

                                    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.

                                    P S mudkip@lemdro.idM fccview@lemmy.worldF 4 Replies Last reply
                                    0
                                    • P phoenixz@lemmy.ca

                                      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

                                      s3rvant@lemmy.mlS This user is from outside of this forum
                                      s3rvant@lemmy.mlS This user is from outside of this forum
                                      s3rvant@lemmy.ml
                                      wrote last edited by
                                      #68

                                      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.

                                      1 Reply Last reply
                                      0
                                      • N notabot@piefed.social

                                        Sure, that would be a little different, but unless you could make a convincing argument, backed up with a solid set of unit tests, at the least, as to why and how you were able to remove that much code whilst only adding a comparatively small amount, I'd still be inclined to reject it and ask for it to be broken down into smaller units.

                                        Now, that explaination might be something along the lines of it being dead code that is not called from anywhere, or even that it was a patched version of an upstream library, and the patch is now included in that upstream, in which case, fair enough, good work, and thanks very much. As a rewrite or refactor though, it's too big to sensibly review and needs breaking down into separate features.

                                        E This user is from outside of this forum
                                        E This user is from outside of this forum
                                        exfed@programming.dev
                                        wrote last edited by
                                        #69

                                        Absolutely, the author needs to be able to reason about their changes, no matter what. However, the reason why I think the two situations are fundamentally different, though, is that it's a lot easier to validate the existence of features than it is the non-existence of bugs or malicious behavior. The biggest risk to removing code is breaking preexisting features, whereas the biggest risk to adding code is introducing malicious behavior.

                                        1 Reply Last reply
                                        0
                                        • M moonshadow@slrpnk.net

                                          Oh goddamn it, I'm using this and don't have an alternative lined up

                                          S This user is from outside of this forum
                                          S This user is from outside of this forum
                                          sunbeam60@feddit.uk
                                          wrote last edited by
                                          #70

                                          What is your concern? If it’s a generic “AI”, then I can assure you tha pretty much every software has AI code in it already. Heck, Linus is accepting PRs where AI has been used.

                                          AI is useful. It produces useful code.

                                          Like creative writing, it won’t produce something novel. But man, 75% of code is just boiler plate. AI can do a lot for boilerplate.

                                          That does not absolve anyone of committing crap code. Put your name to it. Own it. Take the consequence of delivering shit code or great code, no matter how it was written. Don’t let AI be a crutch. But you’d be god damn fool not to use it, where it’s right (boilerplate, test writing, tedious changes etc.)

                                          E M 2 Replies 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