News for hackers. Stuff that matters.
Re:Matrix 1.0 – Are We Ready Yet? by bmn__ on Monday March 18, 2019 @08:06AM (#19420386)
> XML where parsing is order of magniture more complex than JSON

You're supposed to use an off-the-shelf XML/JSON parser, not write it yourself.

Re:Matrix 1.0 – Are We Ready Yet? by JeremyBanks on Monday March 18, 2019 @08:34AM (#19420513)
Even if you don't parse it yourself, XMLs data model is usually more of a chore to consume.
Re:Matrix 1.0 – Are We Ready Yet? by tannhaeuser on Monday March 18, 2019 @08:59AM (#19420644)
XML/SGML is highly appropriate for representing rich text, though, which is the purpose of chat apps/logs. Using JSON you'd have to invent ad-hoc markup on top of JSON, loosing any advantage it may have.
Re:Matrix 1.0 – Are We Ready Yet? by JeremyBanks on Monday March 18, 2019 @09:44AM (#19420907)
Nobody uses rich text formatting, and even if they did, the message body is only a small fraction of the total protocol content.
Re:Matrix 1.0 – Are We Ready Yet? by Boulth on Monday March 18, 2019 @09:20AM (#19420762)
> Using JSON you'd have to invent ad-hoc markup on top of JSON

That's basically a description of ActivityPub that wraps HTML in JSON!

Re:Matrix 1.0 – Are We Ready Yet? by hedora on Monday March 18, 2019 @12:40PM (#19422645)
Will activitypub let me do:

  <body> markdown text </body>
And ship some js to convert to html?
Re:Matrix 1.0 – Are We Ready Yet? by Boulth on Monday March 18, 2019 @03:53PM (#19424545)
No, each server has their own rules what and how will they present content. Usually they accept limited subset of HTML and filter out everything else.