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

    S This user is from outside of this forum
    S This user is from outside of this forum
    slotos@feddit.nl
    wrote last edited by
    #11

    The size of that changeset means that it’s inherently unreviewable.

    The commit history is something I’ve seen only in the PRs that even the most dysfunctional companies would demand a rewrite for.

    Also, 2-3 weeks review? PostgreSQL support could be added in that time without the need for a damn „vibe check”. Hell, it would probably take less time than that.

    M 1 Reply Last reply
    0
    • dojan@pawb.socialD dojan@pawb.social

      Send push notifications to your phone or desktop using PUT/POST

      I'm sorry, how many lines of code for that?

      lime@feddit.nuL This user is from outside of this forum
      lime@feddit.nuL This user is from outside of this forum
      lime@feddit.nu
      wrote last edited by
      #12

      if you want to send one notification from your desktop to your phone, it's easy. but from any device to (m)any other, with guaranteed delivery and no doubles? shit gets complicated.

      dojan@pawb.socialD 1 Reply Last reply
      0
      • S slotos@feddit.nl

        The size of that changeset means that it’s inherently unreviewable.

        The commit history is something I’ve seen only in the PRs that even the most dysfunctional companies would demand a rewrite for.

        Also, 2-3 weeks review? PostgreSQL support could be added in that time without the need for a damn „vibe check”. Hell, it would probably take less time than that.

        M This user is from outside of this forum
        M This user is from outside of this forum
        mirrorgiraffe@piefed.social
        wrote last edited by
        #13

        To be fair they would have needed to spend time testing the manual implementation as well.

        The problem I see mainly is that even if this rolls out perfectly, the erratic and changing nature if llms still make it pointless as a proof of concept. Next time Claude might fuck up in a fringe way that's not covered by unit tests and is missed by manual tests.

        On the other hand I guess I've been guilty myself on numerous occasions to implement fringe bugs into production code, but at least I learn from it.

        S 1 Reply Last reply
        0
        • D d15d@feddit.org

          They are not even trusting it themselves. This is from the release notes

          I'll not instantly switch ntfy.sh over. Instead, I'm kindly asking the community to test the Postgres support and report back to me if things are working

          Fuck that.

          M This user is from outside of this forum
          M This user is from outside of this forum
          mirrorgiraffe@piefed.social
          wrote last edited by
          #14

          Classic "test in production" strategy, very solid!

          R C 2 Replies Last reply
          0
          • lime@feddit.nuL lime@feddit.nu

            if you want to send one notification from your desktop to your phone, it's easy. but from any device to (m)any other, with guaranteed delivery and no doubles? shit gets complicated.

            dojan@pawb.socialD This user is from outside of this forum
            dojan@pawb.socialD This user is from outside of this forum
            dojan@pawb.social
            wrote last edited by
            #15

            So it's a little more than just sending notifications, then.

            lime@feddit.nuL 1 Reply Last reply
            0
            • dojan@pawb.socialD dojan@pawb.social

              So it's a little more than just sending notifications, then.

              lime@feddit.nuL This user is from outside of this forum
              lime@feddit.nuL This user is from outside of this forum
              lime@feddit.nu
              wrote last edited by
              #16

              no, it's literally all in service of sending notifications. but there's a lot involved. android doesn't have a way to receive them natively for example, you need to go through google's services. so ntfy has to emulate the firebase api. then there's the "exactly once" requirement, which is basically the two generals problem turned up to eleven because every platform syncs differently and you need some way to store messages that are in the process of transmitting. then there's the matter of punching through NAT, so you need a STUN/TURN setup on the server.

              and that's on top of the fact that every platform requires different build options, manifests, certificates, etc.

              1 Reply Last reply
              0
              • M mirrorgiraffe@piefed.social

                To be fair they would have needed to spend time testing the manual implementation as well.

                The problem I see mainly is that even if this rolls out perfectly, the erratic and changing nature if llms still make it pointless as a proof of concept. Next time Claude might fuck up in a fringe way that's not covered by unit tests and is missed by manual tests.

                On the other hand I guess I've been guilty myself on numerous occasions to implement fringe bugs into production code, but at least I learn from it.

                S This user is from outside of this forum
                S This user is from outside of this forum
                slotos@feddit.nl
                wrote last edited by
                #17

                I made my statement as a BDD/TDD practitioner.

                The code goal of software engineering is not to deliver said code, but to deliver it in a framework that lets others—and consequently me in a week’s time—to contribute easily. This makes both future improvements and bug fixes easier.

                Dumping a ~25000 lines changeset with a git history that’s almost designed to confuse is antithetical to both engineering and open source.

                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?

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

                  I just set up a ntfy server for Unified Push earlier this week to use with Matrix. Now I have to turn around and immediately replace it...

                  S L 2 Replies Last reply
                  0
                  • natanox@discuss.tchncs.deN natanox@discuss.tchncs.de

                    Yeah, this is now inherently untrustworthy. Better to switch to an alternative.

                    exu@feditown.comE This user is from outside of this forum
                    exu@feditown.comE This user is from outside of this forum
                    exu@feditown.com
                    wrote last edited by
                    #19

                    Do you know any? I've never really looked beyond ntfy.sh until now

                    natanox@discuss.tchncs.deN sunny@slrpnk.netS november@piefed.blahaj.zoneN kilgore_trout@feddit.itK trustedtyrant@sopuli.xyzT 5 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?

                      nfreak@lemmy.mlN This user is from outside of this forum
                      nfreak@lemmy.mlN This user is from outside of this forum
                      nfreak@lemmy.ml
                      wrote last edited by
                      #20

                      Definitely time to find an alternative. What the actual fuck is 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?

                        B This user is from outside of this forum
                        B This user is from outside of this forum
                        black_flag@lemmy.dbzer0.com
                        wrote last edited by
                        #21

                        NOOOOOOOOO

                        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?

                          U This user is from outside of this forum
                          U This user is from outside of this forum
                          uzay@infosec.pub
                          wrote last edited by
                          #22

                          Oh ffs..

                          Thanks for the heads-up

                          1 Reply Last reply
                          0
                          • exu@feditown.comE exu@feditown.com

                            Do you know any? I've never really looked beyond ntfy.sh until now

                            natanox@discuss.tchncs.deN This user is from outside of this forum
                            natanox@discuss.tchncs.deN This user is from outside of this forum
                            natanox@discuss.tchncs.de
                            wrote last edited by
                            #23

                            I only know NextPush (Nextcloud App), but there is also something called Autopush I think?

                            1 Reply Last reply
                            0
                            • M mirrorgiraffe@piefed.social

                              Classic "test in production" strategy, very solid!

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

                              Test in production is the best. We spent months warning from data bugs and nobody bat an eye (upstream bug, not our responsibility but we noticed)
                              When it was d launched in prod we just pointed out the bug that nobody fixed was still there and immediately a war room was formed and the bug fixed within an hour.

                              It honestly seems more efficient to let shit hit the fan than to fight everybody to do their job.

                              x00z@lemmy.worldX M H 3 Replies Last reply
                              0
                              • kevinwells@lemmy.worldK kevinwells@lemmy.world

                                I just set up a ntfy server for Unified Push earlier this week to use with Matrix. Now I have to turn around and immediately replace it...

                                S This user is from outside of this forum
                                S This user is from outside of this forum
                                starfighter@discuss.tchncs.de
                                wrote last edited by
                                #25

                                Same here. Literally just set it up and now this.

                                I hope the author will roll this back or someone else makes a fork. I don't want to immediately switch technology to XMPP/Matrix/... and have to do it all over again.

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

                                  Test in production is the best. We spent months warning from data bugs and nobody bat an eye (upstream bug, not our responsibility but we noticed)
                                  When it was d launched in prod we just pointed out the bug that nobody fixed was still there and immediately a war room was formed and the bug fixed within an hour.

                                  It honestly seems more efficient to let shit hit the fan than to fight everybody to do their job.

                                  x00z@lemmy.worldX This user is from outside of this forum
                                  x00z@lemmy.worldX This user is from outside of this forum
                                  x00z@lemmy.world
                                  wrote last edited by
                                  #26

                                  You're implying a shitty capitalist company that nobody cares for if it burns down. A tool like this though that is self-hosted by a lot of people (29.1k stars on GH!) and that is internet-facing is very different.

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

                                    Test in production is the best. We spent months warning from data bugs and nobody bat an eye (upstream bug, not our responsibility but we noticed)
                                    When it was d launched in prod we just pointed out the bug that nobody fixed was still there and immediately a war room was formed and the bug fixed within an hour.

                                    It honestly seems more efficient to let shit hit the fan than to fight everybody to do their job.

                                    M This user is from outside of this forum
                                    M This user is from outside of this forum
                                    mirrorgiraffe@piefed.social
                                    wrote last edited by
                                    #27

                                    For sure, the song of the hero who fixed the production bug is oft sang at meetings but the loser who prevented the bug to begin with gets no credit.

                                    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?

                                      x00z@lemmy.worldX This user is from outside of this forum
                                      x00z@lemmy.worldX This user is from outside of this forum
                                      x00z@lemmy.world
                                      wrote last edited by
                                      #28

                                      I'll embrace the inevitable fork.

                                      1 Reply Last reply
                                      0
                                      • povoq@slrpnk.netP povoq@slrpnk.net

                                        If you use ntfy mainly as a Unified Push distributor on Android, then I highly recommend switching to a XMPP client that can do the same.

                                        phase@lemmy.8th.worldP This user is from outside of this forum
                                        phase@lemmy.8th.worldP This user is from outside of this forum
                                        phase@lemmy.8th.world
                                        wrote last edited by
                                        #29

                                        Do you recommend an app?

                                        povoq@slrpnk.netP 1 Reply Last reply
                                        0
                                        • exu@feditown.comE exu@feditown.com

                                          Do you know any? I've never really looked beyond ntfy.sh until now

                                          sunny@slrpnk.netS This user is from outside of this forum
                                          sunny@slrpnk.netS This user is from outside of this forum
                                          sunny@slrpnk.net
                                          wrote last edited by
                                          #30

                                          Gotify is supposedly a good alternative. Looking into it myself now.

                                          T 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