15,893 karma · joined Dec 8, 2010 (15y ago) · 2,629 submissions
comment 4d ago · link · parent
comment 5d ago · link · parent
comment 5d ago · link · parent
Amdocs acquired the companies which hired the team who created Matrix, who happened to be based in UK and France. So no, we’re not Israeli telecom guys, and left Amdocs almost 10 years ago.
comment 5d ago · link · parent
comment 5d ago · link · parent
comment 5d ago · link · parent
Yes, arewemlsyet.com is stale as it refers to a much earlier project to swap Olm/Megolm for MLS, which lost funding in 2023. But these days the work is progressing again, as per the linked talks. We'll update arewemlsyet.com to reflect that.
In terms of Matrix's encryption being a "disaster" - the only concrete problem I'm aware of is the fact that group membership is server-controlled, so that a malicious server could add a visible malicious user (not device) to a room by spoofing an invite. The MLS work and other projects is addressing that, but how big a problem this really is in practice depends on their threat model.
comment 5d ago · link · parent
Then, whenever the state of the chatroom changes (e.g. you join it, or someone else joins it), each server has to resolve its view of the state of the room with the proposed change. We call this merge conflict resolution algorithm 'state resolution', and it's typically where the heaviness comes from, as a naive implementation loads up all the state events for the room in order to calculate and store the new state.
In exchange, you get fully decentralised access control, and an eventually consistent zero-trust distributed key-value store, with resilience to network partitions (including in P2P environments) - unlike (say) vanilla XMPP which applies access control and KV on a single given server per-conversation.
Now, the key thing is that *there is nothing in the protocol which makes this intrinsically heavy to implement*. The only reason that servers can be heavyweight today is simply because more time has been invested in chasing down more pressing issues like encryption issues, investing in client SDKs, speeding up sync responses, switching to OIDC for auth, etc.
The problem is made worse by the fact that Synapse (the original Python server) has historically been particularly clunky, skewing perception. Over the last few years this has improved significantly, although it could still be way better - at the Matrix Conference last month (https://youtu.be/kdEDxI2MCjA?list=PLFDUAtPqCX98&t=329) we showed off a fork which had improved CPU 10x by shifting the hot path entirely to Rust from Python. (It turns out that over 2026, we wrote as much Rust for Synapse as we did Python, ignoring tests). Further improvements would be to memoize the state res and calculate it incrementally rather than starting from scratch every time. Similarly, there are 100x improvements to be had on storage usage - e.g. by storing state temporally (c.f. my https://docs.google.com/presentation/d/1pKtLl4vCV3-8xz8crvxW... spike from last year).
So, why haven't these improvements landed yet? In practice, the team at Element who builds Synapse have had to focus on customer-driven work instead in order to keep the lights on, and frustratingly performance is lower down the todo list than other feature-work. On the plus side, over the last year or so Element has got into a much healthier state - hence us being able to show off the 10x improvements in Synapse last month (although they still need to land).
Meanwhile, elsewhere in Matrix there are other servers which are more actively focused on being lightweight right now (e.g. continuwuity), but don't have the maturity of Synapse (or the commercially supported distribution that Element provides). And even then, there's still a lot of headroom for speeding up and shrinking things - it should be very very doable to run Matrix on a tiny host like an RPi.
It's not a perfect analogy but I think of it as being similar to the evolution of DVCS systems. There's nothing intrinsically heavy or hard about replicating DAGs of source code between hosts, but Monotone was pretty slow and clunky while Git showed that a smarter implementation could be more than performant enough. The race is on to build the equivalent for Matrix.
comment 1w ago · link · parent
comment 2w ago · link · parent
comment 2w ago · link · parent
comment 2w ago · link · parent
comment 3w ago · link · parent
comment 3w ago · link · parent
comment 1mo ago · link · parent
comment 1mo ago · link · parent
* In the current Matrix implementation, server tells the clients what the group membership is, so a server could spoof an invite to add a malicious user to a room and you'd have to rely on social mechanisms to spot it.
* There's no way to force everyone to rotate the sender key at the same time.
* On the plus side, it decentralises relatively well.
The concrete disadvantages of MLS are:
* Vanilla MLS needs a centralised sequencing function for changing group membership.
* The key bundles are much larger.
* On the plus side, only clients within the group can add new users/devices, and everyone in a given epoch shares the same group secret, so when someone rotates everyone has to rotate to participate in the new epoch.
Now, the server-controlled membership problem can be solved with Olm/Megolm if you instead have the client control the membership, using Matrix itself to define which users are authorised to be in the room, by running the Matrix DAG merge resolution on the client as well as the server. I did this a few weeks ago (in prep for The Matrix Conference next week) to show viability; it works, and has the advantage that you don't have to blow up the whole crypto implementation.
On the other hand, MLS can also be made to decentralise. DiMLS (draft-xue-mls-decentralized) isn't the only option here; DeMLS is the one we've been working with (using the Phoenix DeMLS OpenMLS fork) on the Matrix side - and works by letting MLS epochs fork and then merge again later, using puncturable functions to avoid undermining forward secrecy. This is a much bigger change; we experimented with it a few months back; details here: https://www.youtube.com/watch?v=jc7yfec3iIQ. It's promising, it works, but is much more complex and experimental.
So, TL;DR: it's possible to use olm/megolm securely (even if it's had a mixed record); I doubt strafe is doing fancy client-controlled group membership though. Separately, MLS can be used too, but it is way more complex and has its own complications. On the Matrix side we're still pursuing both (and finally making some progress, although it's a very slow burn).
comment 2mo ago · link · parent
comment 2mo ago · link · parent
comment 2mo ago · link · parent
> speaking of weird: how is it that these models, in a sandbox, with supposedly no way to communicate with other agents, manage to find the same public wikis as a scratch pad for agent communication?
It feels somewhat plausible that they're defaulting to the same search and picking the same top result?
comment 2mo ago · link · parent
The "portable Matrix" idea is currently nicknamed Tachyon, and is earlier stage at this point, although I did a Matrix Live about it a few months back: https://www.youtube.com/watch?v=jc7yfec3iIQ
comment 4mo ago · link · parent
Speaking as the CTO at Element (and proj lead for Matrix), i feel like i've spent a bit too much time coming to chat about Matrix on HN over the years ;)
That said, I agree that Bluesky is doing well in terms of breaking through into mainstream awareness - much more so than Matrix (although obviously big-world-social-media is something of a different beast to distributed-instant-messaging).
The reason Matrix hasn't done better here is primarily economic: we spent too much time and money building out Matrix for everyone in the early days... and not enough time focusing on building either consumer (as Bluesky has) or enterprise or government specialised products. We then got traction at Element on the government side of things (https://element.io/en/matrix-in-europe etc) as it turns out governments love their digital sovereign communications - which in turn meant that in order to get sustainable and survive we had to focus hard on building stuff for that market. Now, ideally the stuff which works for Govt would work for mainstream too (after all, we're generally competing with Signal and WhatsApp, which are of course mainstream apps) - but in practice it has been hard to get that balance right. You can see my <del>TED Talk</del> FOSDEM 2025 talk about the road to mainstream matrix here: https://www.youtube.com/watch?v=lkCKhP1jxdk
Meanwhile, the plan on Matrix is to get to profitability via Govtech and then invest the money back into improving Element (and Matrix) so it also works well for mainstream usage - so hopefully we'll get back on the radar then. It's a long haul though. Meanwhile, kudos to Bluesky for getting to focus on the mainstream use case; I'm jealous, and I hope they find a good sustainability model!
comment 4mo ago · link · parent
* Projection (it seems to love to describe one data structure as a projection of another)
* Strand (if some data gets isolated/stuck, it's "on a strand" or simply "a strand")
* Load-bearing (obviously)
* Frontier (the leaf on a tree)
* Quiescence (waiting for an algorithm to settle - I guess this one is legit)
* Honest (obviously)
* Residuals (any kind of data which hasn't been consumed by an algorithm)
* Rescission (something which has been rescinded; rather than saying "a rescinded offer" it enthusiastically calls it A Rescission!)
* Supersession (it's not a session which is a superset of another session... it's the word supercession; something that supercedes; similar to preferring the participle form of rescind).
I wonder how much of this is due to it mirroring proximate things to my code's own weird vocab though.
My favourite so far has been that I accused it at one point of playing whackamole by patching issues rather than getting to the bottom of a problem, and a few hours later it started to say things like "and i found mole 2 in CI" etc. For one minute I thought it was talking about the avogadro constant or backdoors or something until I realised it had committed to start calling newly discovered bugs 'moles' in its ongoing game of whackamole...