News for hackers. Stuff that matters.
Re:Movim 0.16 – A federated web-based social XMPP client by Leace on Monday November 18, 2019 @06:35AM (#21563484)
> IMO we need something simpler, websocket and JSON based.

Why JSON? JSON is the packaging format of this decade but remember when XMPP was conceived XML was the packaging format of that decade.

Maybe CBOR would be more appropriate. No need to encode binary data (signatures, encryption) in base64 wrappers and more efficient encoding of frequently used stuff (no need for Whatsapp-stype FunXMPP).

Re:Movim 0.16 – A federated web-based social XMPP client by ponyous on Monday November 18, 2019 @07:10AM (#21563656)
For the sake of simplicity. Because JSON is native to web. And web is the biggest platform you have imo. It's annoying that you have to bring in XML parsing libraries if you want to implement XMPP in javascript environment.
Re:Movim 0.16 – A federated web-based social XMPP client by shantly on Monday November 18, 2019 @08:17AM (#21564034)
> web

> annoying that you have to bring in XML parsing libraries

Uhhhhhh...

https://developer.mozilla.org/en-US/docs/Web/Guide/Parsing_a...

Re:Movim 0.16 – A federated web-based social XMPP client by ponyous on Monday November 18, 2019 @09:17AM (#21564443)
Ok yeah, if you target web exclusively this will work. But if you target Android JSC runtime for example it won't, because you have no access to DOM.

When I said web I should really say javascript. If you replace it my point still stands.

Re:Movim 0.16 – A federated web-based social XMPP client by ktosobcy on Monday November 18, 2019 @10:29AM (#21565019)
> And web is the biggest platform you have imo.

I thought we are in "mobile first" era already...

Re:Movim 0.16 – A federated web-based social XMPP client by xellisx on Monday November 18, 2019 @10:26PM (#21570408)