Unable to load image

"JSON doesn't define, specify, guarantee, or even in practice reliably offer any kind of stable, deterministic, or (ha!) bijective encoding" :marseyraging:

https://lobste.rs/s/wvi9xw/why_not_matrix#c_i3ai7i

Follower of Christ :marseyandjesus: Tech lover, IT Admin, heckin pupper lover and occasionally troll. I hold back feelings or opinions, right or wrong because I dislike conflict.

27
Jump in the discussion.

No email address required.

What the frick? Who gives a shit if its bijective? First of all, the Web was a mistake. Second of all, if you must send signed data over http as text, just do it, I don't see the problem. It seems (not fully reading) like the concern here is that their stack is so complicated they're unable to send a json object without it being molested and re-encoded in transit, breaking signatures. If this is a real problem for your software then you need to delete all your git repositories, set fire to the server room, and start over from scratch.

Jump in the discussion.

No email address required.

I guess it makes it harder because it's a federated system so you'd expect to use many different implementations IRL? Maybe language X has a standard JSON library that follows the spec but another is strict, but like…this is incredibly neurodivergent. If matrix fails it won't be over JSON canonicalization.


Follower of Christ :marseyandjesus: Tech lover, IT Admin, heckin pupper lover and occasionally troll. I hold back feelings or opinions, right or wrong because I dislike conflict.

Jump in the discussion.

No email address required.

XML was a mistake and therefore HTML was a mistake

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.