Highlights include Sliding Sync (instant login/launch/sync), Native OIDC (industry-standard authentication), Native Group VoIP (end-to-end encrypted large-scale voice & video conferencing) and Faster Joins (lazy-loading room state when your server joins a room).

  • @pezhore@lemmy.ml
    link
    fedilink
    16
    edit-2
    9 months ago

    Okay, help an old-timer out.

    Lemmy :: Reddit

    Mastodon :: Twitter (I refuse to call it “X”)

    Matrix :: ???

    Is it like discord? The olden days of AIM/ICQ/IRC?

    • @Byter
      link
      229 months ago

      Featureset-wise it falls somewhere between IRC and Discord.

      • λλλ
        link
        fedilink
        89 months ago

        2.0 seems to be closing the gap towards Discord more. Which I like.

      • @pezhore@lemmy.ml
        link
        fedilink
        19 months ago

        Does there tend to be logical groups for Matrix channels/servers? (Meaning you don’t really just join Matrix, you go to a Matrix instance for Jerjoba support, or other common interest like Hockey?)

        • Derin
          link
          fedilink
          49 months ago

          There do tend to be in logical groups, e.g. you’ll see all of Mozilla’s stuff in their server - but there are quite a few general purpose servers.

        • @Byter
          link
          29 months ago

          I’m not the best person to ask as I just chat on a few channels in a single server.

          There definitely are software projects that run their real-time support through Matrix in the same way others do it through IRC or Discord.

          At the same time most servers seem to have a General room (or similar) for off-topic chats.

          Peruse the big list of public rooms here. That might give you a sense of it.

    • @u_tamtam@programming.dev
      link
      fedilink
      89 months ago

      I will get shit for writing that, but Matrix in its current form shouldn’t have seen the light of the day, nor should have been let to spread with close to no technical scrutiny and based on empty promises/hype like it did.

      Just to be clear, I’m absolutely encouraging, in fact, actively promoting federated alternatives to things like WhatsApp, Messenger, Signal, Telegram, …
      But I don’t believe for a second that the foundations on which Matrix is built make sense, can be made to work well in practice, nor represent a problem worth spending so much time and effort solving. This article does a good job at introducing the “behind the scenes” of the protocol: https://telegra.ph/why-not-matrix-08-07

      The whole history of Matrix can be summarized as:

      • “let’s do this because it’s cool”

      • “shit, it’s hard/slow, but we will figure it out”

      • “I have a breakthrough, here comes a new version of the protocol/client/…” (the ecosystem reboots)

      (rinse and repeat)

      Matrix has seen more incompatible reincarnations of itself in the last 5 years than XMPP in the last 20. Arathorn, its lead contributor and evangelist will keep apologizing, promising that this time they have their stuff in order, that whatever buzzword will solve this or that aspect of the problem, while the elephant still is in the room. You practically can’t tell apart arathorn’s messages of 2015 from those of 2022 and that would be funny if it wasn’t so sad.

      IMO Matrix is broken beyond repair, while XMPP is quietly used by millions of users. I wish Matrix could carry its own weight and be so unambiguously better that we wouldn’t need competing alternatives there. To me, the better XMPP is XMPP itself, and I’d be happy to elaborate on that.

      • @rglullis@communick.newsOP
        link
        fedilink
        English
        189 months ago

        I agree in theory, but in practice my experience with Matrix has been infinitely better than with XMPP:

        • There is no decent client for all major platforms on XMPP. Conversations is “good” on Android, but what is its equivalent on iOS? On the desktop, Pidgin/Adium were ok if you wanted just to chat, but audio/video required a lot of work.
        • No decent web-based client for XMPP.
        • Setting up e2ee is a pain.
        • Setting up MUC is a pain.
        • To this day I did not manage to set up video chat on my XMPP server, or at least I never found someone on a different server that managed to connect with mine.

        Matrix may be technically complex, but at least it has managed to keep its ecosystem together. Whenever I’ve faced an issue with my server, all I needed to do was upgrade synapse. The “millions of users” in XMPP are mostly all on their own silos, while I am yet to have an issue where I want to chat with someone on Matrix but couldn’t because their client/server was not compatible with mine.

        • @u_tamtam@programming.dev
          link
          fedilink
          39 months ago

          Yep, I’m absolutely appreciative of the good work put together by the Matrix folks on the client side, element is overall okay (although slow, quirky, unstable, …) because of fighting a misguided and unstable server and protocol.

          To answer your points:

          • what is its equivalent on iOS?

          https://siskin.im/

          • No decent web-based client for XMPP.

          I would argue that https://movim.eu/ is at least as good as element web. https://conversejs.org/ does the job to bridge across native clients.

          • Setting up e2ee is a pain.

          What is there to set up? The experience is very comparable to Signal and al. What did you find painful?

          • Setting up MUC is a pain.

          How so? It depends on the client, but on Conversations it’s a matter of clicking on + → “Create private group chat” or “Create public channel”. In gajim it’s + → “Create group chat”

          • To this day I did not manage to set up video chat on my XMPP server, or at least I never found someone on a different server that managed to connect with mine.

          For calls to work, you need to use a stun/turn server (like everything everywhere else, including Matrix, Jitsi Meet, …). If you self-host, and you have a recent ejabberd, it’s configured out of the box and you just have to open server ports.

          Matrix may be technically complex, but at least it has managed to keep its ecosystem together.

          Another way to put it, is that matrix is technically so complex that only a single party can afford to develop and maintain a working implementation. The documentation is lacking and alternative implementations are incompatible in effect. This isn’t a sustainable situation (that those who define the standard are the ones implementing it) and we have started to see the cascading effects of that with the bitrot of the IRC bridge with libera.chat for instance.

          I am yet to have an issue where I want to chat with someone on Matrix but couldn’t because their client/server was not compatible with mine.

          it’s funny because I’ve never experienced that in the XMPP world where the protocol is so stable that you can just S2S/C2S with decades-old servers seamlessly, whereas failing to update synapse for a matter of weeks guarantees compatibility issues. And I’m not even talking about 3rd party implementations like conduit for which incompatibilities is a guarantee.

          • @rglullis@communick.newsOP
            link
            fedilink
            English
            19 months ago

            Not to dismiss the work of FOSS developers, but siskin seems quite primitive. It does provide the very basic functionality that you could expect from any messenger from about 10 years ago but that’s about it.

            For calls to work, you need to use a stun/turn server

            I may try to take another look, but I did have a ejabberd server that was passing pretty much all the tests in the conversations suite, but I did not manage to make calls between pidgin and conversations.

            Which is kind of my beef with frustration with XMPP. There was never a whole combination of client/servers that would work consistent.

            Another way to put it, is that matrix is technically so complex that only a single party can afford to develop and maintain a working implementation.

            As long as this working implementation is working and it is open source with some community oversight, I don’t mind having a clear leader in the project. The alternative is this eternal push-pull of forces that we had in XMPP, where we end up with a fragmented ecosystem which is never universally accessible.

            whereas failing to update synapse for a matter of weeks guarantees compatibility issues.

            Well, yeah… but since when it is a good idea to let a server unpatched/out-of-date in the public internet?

            • @u_tamtam@programming.dev
              link
              fedilink
              19 months ago

              Not to dismiss the work of FOSS developers, but siskin seems quite primitive.

              Fair, but it does that in ways that do not deceive its users, as in, what it does it does pretty well.

              It does provide the very basic functionality that you could expect from any messenger from about 10 years ago but that’s about it.

              As far as I’m concerned, Instant messaging was a solved problem 20 years ago, we had practically more features in Yahoo and MSN Messengers (of which XMPP was a superset, for bridging and compatibility purposes), and Whatsapp, telegram and the rest have been removing the most distracting features. What are you missing for effective communication essentially?

              I may try to take another look, but I did have a ejabberd server that was passing pretty much all the tests in the conversations suite

              Are you talking about the compliance suite? As far as I remember, it’s pretty upfront about testing the capability but not the implementation (because testing for things like calls is very difficult and network dependent, you won’t get the same behavior from being behind a NAT or a public IP, and the test passing is no guarantee that it will work in the wild. Even Google's own WebRTC STUN/TURN testing tool is full of gotchas but is a good step to add to your testing).

              Which is kind of my beef with frustration with XMPP. There was never a whole combination of client/servers that would work consistent.

              There will never be a client nor a server that will implement all XEPs, because that’s not desirable: some fringe/IoT/obsolete cases just have no meaning nor use for most users, though there are some compatibility levels, updated regularly, that all maintained clients and developers target (e g. https://xmpp.org/extensions/xep-0479.html ). Under those circumstances you have a pretty good user experience.

              As long as this working implementation is working and it is open source with some community oversight, I don’t mind having a clear leader in the project.

              But how about the implementation not working so well in practice and with enormous trade-offs, and the leader being essentially a marketing agency running for funds while covering up those trade-offs or blatantly lying about them?

              The alternative is this eternal push-pull of forces that we had in XMPP, where we end up with a fragmented ecosystem which is never universally accessible.

              Beyond the facade of new vector’s products, Matrix is as much fragmented if not more. Why would it be otherwise? Nothing is fundamentally better: there’s a spec and people chasing it. Except that in the case of Matrix, the spec is just there for reference and eventually consistent with what’s in the code of synapse running matrix.org, which is actually what matters (and might be quite different from what your server is doing for a bunch of good and bad reasons). I’ve bumped into more client to server and server to server incompatibilities hosting Matrix for few months than I did over years and years of operating XMPP. Things are just so much more stable and mature there (and slow, and boring, which users and admins alike tend to appreciate for something so central to their lives).

      • viq
        link
        fedilink
        89 months ago

        @u_tamtam @pezhore It’s not like XMPP doesn’t have issues. Finding a combination of clients and servers to get a coverage of the XEPs you want is quite an exercise. MUCs are painful, especially if you want to join from multiple clients. Cross-device trust between accounts for E2EE AFAIK still requires each device to trust all the other devices manually. Matrix has many more multimedia features.

        • @u_tamtam@programming.dev
          link
          fedilink
          19 months ago

          It’s not like XMPP doesn’t have issues.

          True, but the problems you mention really are a thing of the past (I’d like to get your feedback after using latest versions of maintained clients), and message delivery across multiple devices and networks does, in my experience, work much more seamlessly and reliably than on Matrix (I mean, there must be a reason why google is using XMPP behind the hood to push every single notification on every single Android device on earth, right?).

          And those are client/polish issues anyway, delivering messages at enormous scale has been a solved problem in XMPP for two decades, the protocol hasn’t changed, essentially, but Matrix still hasn’t found a solution to their self-inflicted problem: https://telegra.ph/why-not-matrix-08-07

      • @pezhore@lemmy.ml
        link
        fedilink
        29 months ago

        XMPP - now that’s a name I haven’t heard in a long time. I thought the woke Google chat federation and subsequent drop pretty much killed it off - but I’m glad to be wrong.

        Are there XMPP based group chat/Matrix/Discord alternatives?

        • @u_tamtam@programming.dev
          link
          fedilink
          29 months ago

          XMPP itself is the alternative, and the client you use shapes the user experience. If you want something that’s comfortable for large chat rooms and dealing with a handful of them on desktop, gajim is hard to beat IMO, if you want something web, movim and conversejs are good alternatives :)

        • viq
          link
          fedilink
          29 months ago

          @pezhore @u_tamtam Your question may require a bit of specifying. Discord is a product and a platform. XMPP and Matrix are protocols. So, uh, it’s a bit like asking whether there are any SMTP or IMAP alternatives to Google Groups? There are *many* servers and clients and supporting bots and libraries that do many things. What specific things are you interested in, to narrow it down somewhat?

          • @pezhore@lemmy.ml
            link
            fedilink
            2
            edit-2
            9 months ago

            Well, I’m slight embarrassed. I think that was part of my confusion about Matrix - it seemed to me that it was both a protocol and a platform. That colored my memory of XMPP too. IIRC, Jabber was the client and protocol before the protocol was renamed to XMPP.

            As for what I’m interested in - I’m not sure. I don’t really use discord save for a few Patreon follows; my friends use a group Signal chat. I think maybe I’m interested in recapturing the old IRC feeling of finding a chat room and just “hanging out”? I suppose I could always dig out my Irssi client config and just join Freenode again.

            (Ye gods, wtf happened here to Freenode/Librachat?)

            • viq
              link
              fedilink
              29 months ago

              @pezhore The confusion is somewhat warranted, since matrix.org is the main/largest instance of Matrix the protocol, using Synapse the server, and having web access via Element the client.
              For just text chat, anything will do. Matrix has the bonus of having a liberachat gateway, though it’s had issues recently.
              But, the experience is somewhat different. [1/n]

              • viq
                link
                fedilink
                19 months ago

                @pezhore XMPP and IRC (to my knowledge, which very well may be outdated) are quite similar - you join a room from a client, you get a nickname, maybe a few lines of history, you chat, you close your client or lose connectivity, you don’t know anymore what’s happening there. You want to join from another client, that’s a separate session, with a different presence and name on the channel. Your clients don’t share history etc. [2/n]

                • @u_tamtam@programming.dev
                  link
                  fedilink
                  19 months ago

                  XMPP and IRC (to my knowledge, which very well may be outdated) are quite similar - you join a room from a client, you get a nickname, maybe a few lines of history, you chat, you close your client or lose connectivity, you don’t know anymore what’s happening there.

                  That’s not true in the case of XMPP: upon reconnecting, any modern client will request from the server enough messages to recreate the missing history (of course it’s up to you/the client to put a limit to that if you want).

                  I think even IRC(v3) is taking that route.

                • viq
                  link
                  fedilink
                  19 months ago

                  @pezhore With Matrix, depending a bit on channel settings, your account joins the room and gets either all history or starting from the point of joining. And your account is in the channel. Regardless of what clients you use, and how many of them you use, and whether they’re online at the time or not, it’s your server keeping track of what’s going on in the channel, and keeping history of it, so you have one presence and same view regardless of type and count and connectivity of clients. [3/3]

      • @shrugal@lemm.ee
        link
        fedilink
        2
        edit-2
        9 months ago

        The counter points on the site you posted are either completely expected or even desired properties of distributed systems (like not being able to force a delete or room closure on another server), or just problems with specific implementation details or insufficient clarity in the specs (like interop hickups or handling of media files). As far as I can tell nothing on the list is an “unfixable” protocol bug or core design flaw.

        • @u_tamtam@programming.dev
          link
          fedilink
          19 months ago

          The counter points on the site you posted are either completely expected or even desired properties of distributed systems

          I agree that some are, and I think that the point being made in the article was that some of those properties might be surprising/deceiving for those who approach Matrix as another chat platform and not as a “distributed partially-replicated graph database”.

          What I consider “unfixable” is the fact that we are 10 years into this now, and that nothing has improved substantially: I sent a message yesterday which took 10 hours to deliver, and an enormous amount of resources at that. Matrix isn’t ready for mass adoption, it is still not reliable, it broke on its promise to be the “protocols of all protocols” by failing to allocate the funds to maintain the bridge with the largest IRC network, and the developers don’t see the overwhelming complexity of it all as a bug, but as a feature. To me, it looks like Matrix will remain a mediocre platform for the general public, aka. those who want something fast and that just work and don’t care about “distributed partially-replicated graph database”.

    • 👁️👄👁️
      link
      fedilink
      English
      59 months ago

      Kind of a mix between Discord and IRC. Although it doesn’t have servers like Discord and is more of individuals rooms. In fact they made bridges an important feature, so an IRC room and Matrix room can be merged together without either side really noticing a difference. Same with Discord and a ton of other programs.

      • Rootiest
        cake
        link
        fedilink
        English
        109 months ago

        Although it doesn’t have servers like Discord

        They’re called Spaces on Matrix

        • 👁️👄👁️
          link
          fedilink
          English
          3
          edit-2
          9 months ago

          If you actually tried spaces, you’d realize they’re incredibly clunky and not even close to discord rooms. You can’t even search for them. They’re not quite there yet, they leave a lot to be desired.

          • @AeroLemming@lemm.ee
            link
            fedilink
            English
            49 months ago

            Yeah, Matrix fucking sucks. The organization scheme is obtuse and confusing, it takes longer to send a message over Matrix than it does to post a comment on Lemmy, and it has those god-awful read indicators that you can’t turn off.

            Lemmy was written in Rust, while Matrix was written in Python. I can’t blame poor design on Python, but I’m sure the poor performance is not a coincidence.

            • 👁️👄👁️
              link
              fedilink
              English
              89 months ago

              The organization does suck, I do agree with that. It still needs a lot of UX improvements too. Though you can turn off read indicators in the settings, and I feel like it is a lot faster then commenting on Lemmy. Lemmy being written in rust is actually causing a lot of issues. It’s not a good language for web applications and it’s really starting to show. It also hasn’t prevented security issues either.

              Synapse, the most up to date matrix server, is really slow and resource intensive for sure. But, it’s currently in middle of being replaced with Dendrite. It doesn’t support all the bleeding edge features, but Dendrite has caught up enough to be able to run servers just fine now. In fact Dendrite is light enough to be ran in the mobile Element client, or at least that’s the plan in the near future while they work on p2p. You can read more about it here: https://matrix-org.github.io/dendrite/faq

              • @AeroLemming@lemm.ee
                link
                fedilink
                English
                19 months ago

                You can’t disable sending read indicators in Element last I checked, only receiving them. What kind of problems is Lemmy having?

                • 👁️👄👁️
                  link
                  fedilink
                  English
                  19 months ago

                  You can check the beehaw writeup if they didn’t defederate already. They’ve been having too many issues with Lemmy, and it’s been a battle with the developers. On Element desktop you can disable sending read receipts, but not mobile which is stupid.

                  • @AeroLemming@lemm.ee
                    link
                    fedilink
                    English
                    19 months ago

                    I found this if it’s what you mean, but all it mentions tech-wise is that Lemmy is slow to develop. This does make sense, is it what you’re referring to?

        • @caseyweederman@lemmy.ca
          link
          fedilink
          19 months ago

          I think you and those responding to you are conflating Matrix and Element and Synapse.
          Spaces are a UI feature in Element for grouping rooms. Element is only one of many Matrix clients.
          Element, the client, is written in typescript and kotlin.
          https://github.com/vector-im

          Synapse, a server implementation using the Matrix protocol, is indeed written in Python.
          There are several other servers, written in Go, Rust, C, and C++.
          https://matrix.org/ecosystem/servers/

          Matrix is the protocol itself. Blaming it for UI problems is like blaming TCP for the toolbars in Internet Explorer: very remotely correct.

          • Derin
            link
            fedilink
            109 months ago

            You’re not correct about spaces being a UI feature.

            Spaces are now part of the protocol and are stored server side with your account data. Other clients - like fluffychat - can work with spaces just like Element.

            They were element only back while they were being tested, but are now a direct replacement for the old - deprecated - groups functionality.

          • Rootiest
            cake
            link
            fedilink
            English
            29 months ago

            You had me second-guessing for a minute, but I think the other commenter is correct.

            One can definitely use Spaces in other clients, even Beeper supports them. So if it was an Element-specific feature, it doesn’t appear to be any longer.

            • @ReversalHatchery@beehaw.org
              link
              fedilink
              29 months ago

              Yeah, spaces need server side support too. Technically they are just rooms that are handled differently, but it’s not just a UI feature.

    • @Swedneck@discuss.tchncs.de
      link
      fedilink
      39 months ago

      technically it’s an eventually consistent federated database (or series of databases i guess? dunno), which just happens to primarily be used for instant messaging similar to discord but also inheriting features from IRC.