News for hackers. Stuff that matters.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Perceptes on Sunday May 29, 2016 @01:14AM (#11794914)
Just about every week now there is a top story on HN about the disastrous state of interoperable messaging in the digital world. Every time it comes up, I implore people to look into Matrix (https://matrix.org), a system with an open specification that checks all the boxes in terms of features (not quite end-to-end encryption yet, but it's being worked on) and is not controlled by a company. I really hope to see it enter people's consciousness as one of the most serious contenders for messaging systems.

Matrix is very usable today via the Vector client (https://vector.im/). You can connect to the public server run by matrix.org, or you can run your own server that federates with all the others if you'd like to maintain ownership of your data. Matrix can also bridge to existing systems like IRC, so there isn't necessarily the need to convince your friends and family to "switch" with you. There are interoperable clients being developed for other operating systems including mobile platforms. Even with client support not all the way there yet, the spec and the system are more promising than anything else out there today.

If you're interested in Rust, you might also want to take a look at my project, Ruma (https://www.ruma.io/), which is a Rust implementation of the Matrix system. It's in very early stages, so don't expect to use it at this point, but it's progressing steadily.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by weisser on Sunday May 29, 2016 @01:24AM (#11794942)
> a system with an open specification that checks all the boxes in terms of features (not quite end-to-end encryption yet, but it's being worked on) and is not controlled by a company

Half of the people reading tune out very quickly around this point.

Most people want something that solves 80% of their problems with 20% reduction in headaches.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by zanny on Sunday May 29, 2016 @01:32AM (#11794959)
The only major problem I still have with Vector is that despite Matrix the protocol specifying ways to register and authenticate accounts using various web apis like oauth[1] Vector is always pushed as the premium Matrix webclient but it doesn't support anything but username / password.

You would be amazed how many people simply refuse to create new username / password pairs in 2016. And its a good thing. We should be past username / password. Support oauth2, openid connect, and for the privacy minded... keep complaining to Mozilla that they shutdown Persona.

http://matrix.org/docs/spec/r0.0.1/client_server.html#oauth2...

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Arathorn on Sunday May 29, 2016 @05:25AM (#11795653)
Actually, Vector does support alternative auth mechanisms (although it's quite buried) - it implements the web fallback mechanism, both on web, iOS & Android, such that any unrecognised auth mechanisms can be handled by whatever webpage fragment hosted by the server, as per: https://matrix.org/docs/spec/r0.0.1/client_server.html#fallb...

For instance, we have a workplace deployment of Vector knocking around that uses CAS for auth, and the whole CAS flow is handled by the fallback mechanism. (This CAS happens to be user/pass, but it could easily be 2FA or whatever instead).

That said, it's still beta, and not super-documented.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Freak_NL on Sunday May 29, 2016 @05:36AM (#11795697)
I have no qualms about OpenID Connect itself — it is a sound standard, using JSON Web Tokens is a particularly nice feature — but I dislike encouraging users to identify themselves for every service they use with Facebook or Google accounts. Way too much information about your digital life centralised with a single commercial party.

I'd much rather see the use of password managers become more common, or even better, stimulate user-friendly two-factor authentication standards such as FIDO U2F.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by StavrosK on Sunday May 29, 2016 @05:39AM (#11795710)
OpenID Connect supports discoverability, which enables a protocol like Mozilla Persona to work over it. That's exactly what some others and I are working on, hopefully we will make some headway and greatly increase the usability of authentication again.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Freak_NL on Sunday May 29, 2016 @07:01AM (#11795916)
Sounds like a good initiative, be sure to post on HN when you reach significant milestones.

What I worry about with OpenID Connect on the open internet (as opposed to OpenID Connect used in a corporate setting, or to provide single sign-on solutions for specific partnered services) is how it almost always results in a service asking you to use Google or Facebook to authenticate, with huge coloured buttons, followed by a tiny de-emphasized grey link where you can sign up using email and a password.

Is this something we can prevent?

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by zanny on Sunday May 29, 2016 @11:14AM (#11796614)
They only provide Google / Facebook buttons because they are by far the most popular option. In practice the vast majority of major online web services support some from of openid / oauth signon, from Github to Steam to Wordpress and more.

As a site developer, it is your job to figure out what buttons your user demographic will use. If it is all facebook / google, then provide those, and most of these sites know providing more obscure options only confuses their potential users.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by StavrosK on Monday May 30, 2016 @07:14AM (#11800735)
I think it is, because the "Google" or "Facebook" part isn't static in OpenID Connect, they're just popular defaults. OIDC doesn't care where it goes to authenticate, you can just as well enter your email, [email protected] and the server will try discovery and authentication against example.com (which can then be running your own OIDC provider).

What we're working on (we will definitely post about it) is basically OIDC with a nicer UX, where the user enters their email, the domain is parsed out, discovery (of OIDC or whatever other protocol) is done, and the user is redirected to either their provider, if found, or to a default method of authentication (currently a link sent over email) to log in.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by lqdc13 on Sunday May 29, 2016 @02:58AM (#11795245)
So what you're saying is that username/password is still the only choice for privacy minded people.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by chris_wot on Sunday May 29, 2016 @04:24AM (#11795499)
Google Talk did have XMPP functionality, which allowed for SASL. [1] But of course, they killed this off because they wanted to dominate chat and messaging with their own proprietary protocol.

If they had not followed this strategy they would be killing in this market, even whilst supporting XMPP Federation. But they have chosen to release multiple proprietary products, so they aren't the lead in the market. Silly of them really, and it just shows you they aren't really the nimble company they once were.

1. https://developers.google.com/talk/open_communications

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Freak_NL on Sunday May 29, 2016 @05:43AM (#11795721)
I doubt the decision to close up their protocols was taking lightly. You can bet that user lock-in is part of their current strategy.

Did any Google engineers ever reveal Google's true intentions for shutting down their XMPP offerings?

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by smoyer on Sunday May 29, 2016 @06:27AM (#11795829)
I'm still using XMPP to connect to GChat ... I use it every workday (via Pidgin).
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by forand on Sunday May 29, 2016 @06:53AM (#11795891)
Google stopped supporting XMPP in the sense that they stopped trying to change XMPP to fit their needs. They also started killing off support for arbitrary XMPP servers, e.g. you cannot run your own and expect it to work with Google Chat. (This was the most up to date link I could find.)[https://xmpp.org/2015/03/no-its-not-the-end-of-xmpp-for-goog...]
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by zanny on Sunday May 29, 2016 @12:09PM (#11796846)
You can still somewhat use it, but it does not work well. Groupchats do not work at all anymore, and there is no message synchronization over it so any Hangouts client will populate messages an XMPP client never sees, and you cannot request chat history from the remote.

It is definitely not a high quality XMPP experience. If you want to use XMPP, you should probably be using duckduckgo's XMPP offering.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by chris_wot on Sunday May 29, 2016 @06:30AM (#11795838)
One day it will go away...
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by kyrra on Sunday May 29, 2016 @01:52PM (#11797390)
They killed it because Microsoft was leaching contact data from them without giving back.

https://news.ycombinator.com/item?id=11794776

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by JupiterMoon on Sunday May 29, 2016 @03:54AM (#11795420)
We are pretty much past needing to remember them. Checkout password managers. There are lots of options in that space these days.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Perceptes on Sunday May 29, 2016 @01:39AM (#11794979)
Do you mean end users, as in the type of people systems like Slack market to, or are you referring to the failures of previous systems that made open specs and interoperability a goal?

If the former, Matrix the specification and overall system is not what would be sold to the end user. Like you say, most of them don't care how it works or about the philosophical or political reasons why you might choose a system like this. They just want to be able to talk to friends, family, and coworkers and have a good user experience. That's something any company could package and sell in a way that resonated with people, using Matrix as its underlying system.

In other words, Super Awesome Chat, Inc. could create a really slick hosted Matrix service and client with great usability, and the end user wouldn't necessarily know or care about how it worked. In mentioning the open specification, it's not for the benefit of that type of user, but at the HN reader who is likely more informed or interested in the details of the technology, the philosophy, or political/sociological implications.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by ucy on Sunday May 29, 2016 @02:59AM (#11795246)
That was exactly the deal with the old google talk. Most of its users never knew or cared about xmpp and interserver comunication. It just worked.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Bromskloss on Sunday May 29, 2016 @12:36PM (#11796973)
Haha! I just tried Vector on iOS and apparently moved about in such a way that I accidentally triggered the greatest notification message:

> You seem to be shaking the phone in frustration. Would you like to submit a bug report?

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by matthewmacleod on Sunday May 29, 2016 @03:13PM (#11797774)
I've seen this UI in other apps, and I absolutely fucking hate it. Google Maps was a particularly egregious offender, where rotating the device or calibrating the compass would prompt for feedback, usually in the middle of trying to use a map. And who shakes a device in annoyance anyway?!
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by StephenConnell on Sunday May 29, 2016 @05:05PM (#11798217)
No kidding. Especially annoying when using Google Maps and driving a stick shift.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by drewm1980 on Monday May 30, 2016 @04:36PM (#11803035)
The stick shift gesture should notify the police of your location and destination.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by untog on Monday May 30, 2016 @12:38PM (#11802034)
This is so, so dumb. Who actually shakes their phone in anger? Very few people. How many people accidentally trigger things like this in the course of everyday usage? Everyone.

Google Maps has the same thing and it just strikes me as some cutesy feature a developer thought would be funny, but is actually very annoying.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by drewm1980 on Monday May 30, 2016 @04:39PM (#11803048)
Having an app developer available to be shaken in anger was deemed impractical.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by marvy on Sunday May 29, 2016 @01:07PM (#11797110)
Wow. I am truly impressed.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by gcr on Sunday May 29, 2016 @02:09PM (#11797471)
A lot of companies use the "shake the phone hard" as a way of sending feedback.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by marvy on Sunday May 29, 2016 @04:38PM (#11798094)
Neat!
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by LoSboccacc on Sunday May 29, 2016 @03:06AM (#11795271)
We had jabber for a decade at least. The battle for messaging market share doesn't seem technological.

Heck you even had the option to federate private servers so one could address users across hosts.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by sparkie on Sunday May 29, 2016 @03:11AM (#11795282)
But Jabber was XML based. Matrix is JSON Based!

If only we would've chosen the right technology, people would've used it.

https://xmpp.org/extensions/xep-0295.html

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by LeoPanthera on Sunday May 29, 2016 @03:21AM (#11795314)
edit: it's a joke. I'm an idiot.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Kiro on Sunday May 29, 2016 @04:31AM (#11795519)
You're missing the sarcasm.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by fucking_tragedy on Sunday May 29, 2016 @03:22AM (#11795317)
If you believe that's the point the OP was making, you did not click the link in the post you're replying to.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by LeoPanthera on Sunday May 29, 2016 @03:23AM (#11795321)
Edit: still an idiot.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by fucking_tragedy on Sunday May 29, 2016 @03:27AM (#11795336)
Please read, comprehend and then post. From the page you didn't read that was linked in the OP:

> NOTICE: This document is Humorous. It MAY provide amusement but SHOULD NOT be taken seriously.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by RDeckard on Tuesday May 31, 2016 @01:44AM (#11804855)
Thank You. Brightened up my evening.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by voltagex_ on Sunday May 29, 2016 @01:40AM (#11794983)
I really really like the ideas of Matrix, but the problem is none of my friends are on it. I had the same problem when I started to use Signal.

WhatsApp actually seems like the lesser of two evils right now - even though it's controlled by Facebook, they've added encryption and some of my friends are on it.

Who'd have thought we'd look back on the days of MSN, AIM and ICQ as the golden age of interoperable messaging? At least I could talk to everyone I needed to through Gaim (Pidgin) or Trillian.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by bad_user on Sunday May 29, 2016 @04:08AM (#11795463)
Being able to use Gaim/Pidgin doesn't count as interoperability dude. Those protocols worked only because somebody bothered to reverse engineer them and this "interoperability" only worked half the time. I know because I was using Gaim/Pidgin for Yahoo! Messenger back then.

Today at least they are using web technologies and I get to use Facebook's Messenger, WhatsApp, Hangouts and Slack on Linux without headaches.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by mkhpalm on Sunday May 29, 2016 @04:59PM (#11798198)
For a short period, most of those old proprietary clients started supporting XMPP. That was the golden age of instant messaging. I couldn't help but notice that somewhere around that time is also when Apple released iMessage and FaceTime. Suddenly, everybody ran back to walled gardens and we de-evolved to a point where people are suddenly okay paying for a service that they can only sort of integrate with. Thats how low the bar has gotten now.

Personally, if I were a place like Google where the content is more important than the product. I would be having very pointed discussions with the people in charge of things like Hangouts and Allo. There seems to be a lack of vision compared to what is easily doable in this space. Knowing enough of the XMPP spec to see what was never done, I have to agree that the author is right. Google never understood what they had with GChat.

To put it another way. Imagine if everybody ran around trying to make their own SMTP or HTTP protocols? Thats what everybody is trying to do with chat right now.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by bad_user on Monday May 30, 2016 @02:43PM (#11802498)
Oh, I totally get what you're saying, except that I don't find usage of XMPP clients to be that useful. Yes, I know that Facebook supported at some point XMPP clients. I never cared about it.

Real interoperability is federation. If we had federation, the problem of using your favorite client would be moot. My argument is that there never was a "golden age" of chat, unless you refer to IRC back in the nineties and even that would be debatable.

And out of the big boys I can only name Google's Talk as supporting federation, only to be killed and replaced by Hangouts, that doesn't support federation because, wouldn't you know, they needed to innovate and couldn't do that while supporting XMPP, allegedly. And even if Hangouts pushed WebRTC forward, I'm glad it's not used and I'm glad that it suffers a slow death, because this proves that the innovation argument is bullshit. And I'm fairly certain that Google Talk was more popular than Hangouts, even if Hangouts got pushed down the throats of every Android user.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by codemac on Sunday May 29, 2016 @01:43AM (#11794997)
> I really really like the ideas of Matrix, but the problem is none of my friends are on it.

Build a whatsapp bridge for matrix? I mean, it's built for the exact case where people aren't "on" it.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Arathorn on Sunday May 29, 2016 @05:27AM (#11795661)
Precisely. There's already the beginnings of a WhatsApp bridge for Matrix (and indeed anything that libpurple can speak) at https://github.com/matrix-org/node-purple/tree/master/appser.... It just needs tuits for people to work on and finish off. Meanwhile, the IRC & Slack bridges are live and work relatively well today (although a lot more work still to be done).
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by reitanqild on Sunday May 29, 2016 @02:49AM (#11795213)
The problem is Whatsapp is actively hostile to any kind of attempts to creating 3rd party clients or APIs.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by voltagex_ on Sunday May 29, 2016 @03:53AM (#11795419)
Exactly, and this is the problem with the state of messaging in 2016. The companies have built their walled gardens and are now actively defending them against "outsiders". It's to the point where I've considered buying an iDevice just to communicate with a few friends on iMessage.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by herbst on Sunday May 29, 2016 @05:35AM (#11795690)
Strange thing is this was always the case and just recently started to change. MSN API was a joke, you needed a desktop environment on the server to run the actual client to use SOME of the functionality. Nearly the same with Skype. Gchat removed Jabber pretty fast. Facebook chat also removed the outside functionality of their XMPP clone. Whatsapp is not even able to provide a web client, but only a weired bridge because they crippled to xmpp they are using way to much. No experience with the Apple services but i assume they are similar.

Next to that we always had open protocols, that worked perfectly, had plenty of clients and apps and nobody used them.

It is a stupid market.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by RileyKyeden on Sunday May 29, 2016 @09:26AM (#11796280)
Convince them to get Telegram. It works on most devices, and has extensibility built in:

https://telegram.org/blog/bot-revolution

https://core.telegram.org/api

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Bromskloss on Sunday May 29, 2016 @11:19AM (#11796629)
I just installed the Telegram app. Why is it asking for my phone number?
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by zanny on Sunday May 29, 2016 @12:11PM (#11796848)
They use phone number as account name rather than email on mobile.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Bromskloss on Sunday May 29, 2016 @12:12PM (#11796852)
What if I don't want to use it on a phone?
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by RileyKyeden on Sunday May 29, 2016 @12:56PM (#11797058)
The web and desktop versions can send an SMS to authenticate if you don't want to or can't use the phone app.

https://web.telegram.org/#/login

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Bromskloss on Sunday May 29, 2016 @02:35PM (#11797588)
I see. I don't really want to tie it to a phone number, though.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by reitanqild on Sunday May 29, 2016 @09:35AM (#11796304)
Already did with the in-laws. :-)
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by drdaeman on Sunday May 29, 2016 @06:10AM (#11795795)
Wasn't really a problem with ICQ, even though they had actively struggled and tried to change protocols frequently (and broke unofficial clients once in few months).

The community was large, and there was a significant demand for good clients (official one was shit). I guess now the difference must be that either official client is good enough for most users, or that users' attitude to how they want things had changed and they learned to submit to whatever service providers dictate.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by thaumasiotes on Sunday May 29, 2016 @06:06AM (#11795791)
So was AIM, though. That didn't stop the third party clients.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by smcnally on Sunday May 29, 2016 @05:24PM (#11798306)
AOL worked actively to stop third-party AIM clients in the same ways as mentioned above from icq through WhatsApp -- changing protocols and central auth mechanisms.

http://www.cnn.com/TECH/computing/9909/06/aol.vsms.idg/index...

http://articles.latimes.com/1999/jul/24/business/fi-59086

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by thaumasiotes on Sunday May 29, 2016 @05:55PM (#11798414)
Right, the point is "whatsapp is hostile to third-party clients" makes no sense as an explanation of why we don't have third-party clients for whatsapp, because all third-party clients for everything have had to deal with hostility from the first party.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Certhas on Sunday May 29, 2016 @06:33AM (#11795848)
I have had some success with getting people on signal, though now that Whatsapp is encrypted by the same technology there doesn't seem to be a big benefit anymore. Generally it seems to me people are not so adverse to having several messanging sollutions installed these days.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by hughes on Sunday May 29, 2016 @01:39AM (#11794982)
"Decentralized persistent communication", as long as you either use a centralized homeserver you don't control, or run a hugely resource-hungry and crash-prone homeserver yourself.

I tried running my own for a few months, and resource demands for even a single user in a few moderately popular channels brought down my small ec2 instance.

Eventually I had to shut it down, but now I've lost my ability to authenticate as the user I identified as during that time, until I set up my homeserver again.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Perceptes on Sunday May 29, 2016 @01:57AM (#11795031)
For anyone else reading, it's worth noting that these issues are with Synapse, the "reference implementation" homeserver built by the team developing the Matrix spec. Performance issues are a focus for its development now. There are also other projects (like my project Ruma) that provide alternative implementations that won't necessarily have these performance issues (hopefully!) The nice part about having a spec is that anyone has the opportunity to provide a superior implementation.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by hughes on Sunday May 29, 2016 @01:58AM (#11795037)
That's interesting, I'll check it out!
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Arathorn on Sunday May 29, 2016 @05:30AM (#11795671)
Yup. the Synapse server implementation is still beta, and we are working away on the performance issues (yay, Python/Twisted). In the last few months we've reduced the memory footprint by about 2-3x (by string interning, better caching, and letting the cache size be configurable). The only stability issue we're aware of currently is the risk of being OOMed on small VPSes.

That said, we're really hoping that having almost finished fleshing out the whole ecosystem now, the future will be much tighter and svelter homeservers like Perceptes' ruma implementation.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by insane_dreamer on Sunday May 29, 2016 @01:51AM (#11795017)
Problem is the greatest system in the world is useless unless a quorum of people in your circle are using it. I've been trying to get my friends to use Wire for a year but still have to run skype
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Perceptes on Sunday May 29, 2016 @01:54AM (#11795025)
That's where bridging with other services comes in, e.g. using Matrix on your side to talk to contacts on IRC or whatever else without the people on the other side having to change what system or software they use.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Karunamon on Sunday May 29, 2016 @02:17AM (#11795100)
Does this require control of the server being bridged to implement, or could I do something like, say, set up an instance that lets me be on both Rizon and Freenode at the same time on one client connection?
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Perceptes on Sunday May 29, 2016 @02:42AM (#11795190)
My understanding is that bridges are implemented via application services (the Matrix term for privileged plugins that extend the capability of the server,) so a user's ability to communicate over non-Matrix protocols is dependent on the homeserver where their user account is based. The best known example of this is that the public matrix.org homeserver is bridged to the Freenode IRC network, and certain channels are synced to each other, e.g. (#matrix on Freenode is the same thing as #matrix:matrix.org on matrix.org.)

I'm not sure how this works for non-public communication, like private messages on IRC or services like Facebook where it wouldn't be safe for the Matrix homeserver to have access to a user's Facebook account.

At this point I'm not super well-versed on the details of application services so hopefully one of the Matrix team members will reply to you directly.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Arathorn on Sunday May 29, 2016 @05:32AM (#11795682)
It generally doesn't require input from the target network being bridged, unless you're running a large public bridge like the ones we host on matrix.org. You do however currently have to run your own homeserver in order to run your own bridge (although in future we're looking at ways of getting around this for 'personal' bridging purposes).

If you run your own homeserver, and your own bridge to Rhizome/wherever, you can think of the end result being a bit like bitlbee or a pidgin-in-the-cloud... but decentralised, and with the richness of Matrix's conversation semantics (e.g. arbitrary data types) rather than being limited to IRC.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by johntash on Tuesday May 31, 2016 @12:16AM (#11804528)
> If you run your own homeserver, and your own bridge to Rhizome/wherever, you can think of the end result being a bit like bitlbee or a pidgin-in-the-cloud... but decentralised

Wouldn't this still be centralized to your home server?

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by amelius on Sunday May 29, 2016 @05:45AM (#11795732)
Wasn't open chat already solved by Jabber decades ago?
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by cpach on Sunday May 29, 2016 @06:02AM (#11795778)
Moxie Marlinspike recently published an interesting essay that adressed this question.

”XMPP is an example of a federated protocol that advertises itself as a ’living standard.’ Despite its capacity for protocol ’extensions,’ however, it's undeniable that XMPP still largely resembles a synchronous protocol with limited support for rich media, which can't realistically be deployed on mobile devices. If XMPP is so extensible, why haven't those extensions quickly brought it up to speed with the modern world?

Like any federated protocol, extensions don't mean much unless everyone applies them, and that's an almost impossible task in a truly federated landscape. What we have instead is a complicated morass of XEPs that aren't consistently applied anywhere. The implications of that are severe, because someone's choice to use an XMPP client or server that doesn't support video or some other arbitrary feature doesn't only effect them, it effects everyone who tries to communicate with them. It creates a climate of uncertainty, never knowing whether things will work or not. In the consumer space, fractured client support is often worse than no client support at all, because consistency is incredibly important for creating a compelling user experience.”

https://whispersystems.org/blog/the-ecosystem-is-moving/

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Perceptes on Sunday May 29, 2016 @06:16AM (#11795809)
I am hoping the Matrix team will write a blog post about their viewpoint on Moxie's post, given that they are out to do something Moxie doesn't believe can succeed. I'm also curious to hear how they respond to the specific section you quoted: how is Matrix going to avoid the same fate XMPP suffered here?
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Arathorn on Sunday May 29, 2016 @06:53AM (#11795895)
We haven't had a chance to write a formal response yet; too busy getting Matrix out of beta. I responded at the time at https://news.ycombinator.com/item?id=11669681 though.

A quick specific answer w.r.t. XMPP is that Matrix aims for a very coarser granularity of modularity, published as a single consistent spec, and mandates feature profiles to determine which modules should get used where. In other words, there is only one official set of endpoints specified for Matrix for a given use case (e.g. mobile IM+VoIP). So it ends up being under tighter control (whilst still very much taking proposals and PRs from the overall community), and is easier to swap out the higher level layers to rapidly evolve functionality - rather than suffering the proliferation of XEPs which is XMPP's double-edged sword.

This is always going to move slower than a centralised service, but we think the freedom of being able to select your clients/servers/services is well worth that cost in agility - and does not have to compromise privacy if engineered correctly.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Perceptes on Sunday May 29, 2016 @07:26AM (#11795968)
Thanks for the response and the link to the previous response. I'd missed that! Both are great answers. :}
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by drdaeman on Sunday May 29, 2016 @06:34AM (#11795851)
> Like any federated protocol, extensions don't mean much unless everyone applies them, and that's an almost impossible task in a truly federated landscape. What we have instead is a complicated morass of XEPs that aren't consistently applied anywhere.

The problem is, without actual numbers - how many clients support what - this statement is just a personal opinion, not a rule.

We can say exactly the same about the web. It's also federated, it also has fractured client support (although, sadly, core engines can be counted on fingers) and it's also full of extensions. While I won't praise the web, and I'll surely admit that the trends for siloing are strong (for many, a single big social network site of their choice is the "web"), it still manages to provide somehow decent user experience.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by choosername on Sunday May 29, 2016 @08:09AM (#11796064)
There is the w3 and other standards comitties joined by industrie leaders and a lot of experts and public eyeballs. Chat hardly compares. Perhaps the W3 should concern itself with chat. The IETF released SIP. The w3c offers IRC channels.

A broken browser is a pain, new standars improve the user experience (e.g. html video). For the public user there is no discernable difference in any basic chat's protocol and implemetation.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by andrey_utkin on Sunday May 29, 2016 @09:27AM (#11796284)
IETF has also standartized XMPP.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by jitl on Sunday May 29, 2016 @06:03AM (#11795783)
Jabber/XMPP has a number of problems that make it unsuitable for modern chat environments where clients (read: smartphones) have poor connections and frequently want to sleep to conserve power.

For example, XMPP wants an always-on TCP connection between the client and the server for the client to appear "online". There's an extension which allows for sleeping, but having async mobile connections in an extension means that you need the right pair of server and client to enable this feature. Plus, there's no handling of syncing messages between multiple clients. If you've got a smartphone and a desktop client, to compete with Facebook Messenger you need detailed conversation transcripts on both clients -- and an intelligent way to ping your clients and tell which should receive sound notifications.

see more at https://op-co.de/blog/posts/mobile_xmpp_in_2014/

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Zash on Sunday May 29, 2016 @07:12AM (#11795939)
Emphasis on in 2014, that was forever ago in Internet time. XMPP is steadily moving forward and the things mentioned in that post have improved a lot. Check out https://conversations.im/ for example.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by digi_owl on Sunday May 29, 2016 @05:06PM (#11798225)
That was not only XMPPs problem. It is what sunk most of the desktop IM systems, making way for the mobile ones.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by XorNot on Sunday May 29, 2016 @07:04AM (#11795921)
Jabber doesn't do offline messaging well at all, nor push particularly well (not out of the box, so to speak).

The "standard library" of messaging has expanded a lot lately.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by nnain on Sunday May 29, 2016 @01:26AM (#11794946)
This is cool. But IMHO the point of the article is about Google losing its first-mover advantage in chat apps due to wrong branding and prediction for GChat, not interoperability.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by dba7dba on Sunday May 29, 2016 @04:02AM (#11795447)
I force my friends to use Gchat when the chat is turning into long conversation and I want to type on my PC keyboard instead of my cell.

But I'm not sad Google missed out with Gchat. One less product Google dominates with means some other company can innovate in that area and compete.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Perceptes on Sunday May 29, 2016 @01:41AM (#11794989)
True. My comment is not a response to the particulars of this article, but more about the area of software of which GChat was a member. Apologies for turning it into my own soapbox.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by calanya on Sunday May 29, 2016 @02:21AM (#11795112)
I have a computer which is always on and always connected.

It's my smartphone.

Can I just run a 'homeserver' on that and be connected?

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Perceptes on Sunday May 29, 2016 @02:35AM (#11795155)
Sure. Homeserver software doesn't care where it's hosted. If you want it to federate with other homeservers on the Internet, it will need to be accessible from outside your local network, of course.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by calanya on Sunday May 29, 2016 @02:45AM (#11795202)
Is anyone working on it that I could help?
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Perceptes on Sunday May 29, 2016 @03:06AM (#11795269)
I'm not sure exactly what you're asking. The only practically usable homeserver software right now is Synapse (https://github.com/matrix-org/synapse), an implementation in Python built by the Matrix core developer team.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Arathorn on Sunday May 29, 2016 @05:33AM (#11795686)
Synapse only runs serverside. In future we'd love to evolve things to be able to run clientside - e.g. our P2P Matrix GSoC project: https://github.com/matrix-org/GSoC/blob/master/IDEAS.md#peer...
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by PeterisP on Sunday May 29, 2016 @05:36AM (#11795698)
So, why did you answer "Sure" to his question if the answer is actually "No, you can not run a homeserver right now on your smartphone" ?

I mean, a python app for posix systems is not really close to being run on unrooted android and iOS.

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Perceptes on Sunday May 29, 2016 @05:57AM (#11795768)
I somehow didn't process the "it's a smartphone part" and completely misunderstood his question as a result. I'll edit my original reply to correct that. Edit: Apparently I can't edit it anymore. :{
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by calanya on Sunday May 29, 2016 @06:24AM (#11795820)
That's fine. I am really interested in the possibility of running a 'homeserver' directly on a phone.

Do you think that would be possible?

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Perceptes on Sunday May 29, 2016 @06:56AM (#11795902)
Yes, it is possible. Ultimately, a homeserver is just a program that implements the client-server, and optionally the federation, APIs. The only feature-complete homeserver right now is Synapse, which is written in Python, and as of this moment has performance issues even running on a server, so it's not realistic that it could be modified to run on a phone. My homeserver Ruma is written in Rust, which is a systems language that actually is suited for mobile and embedded systems development, although I am currently not targeting that use case, nor is Ruma mature enough to be practically useful yet. If you're interested in the possibility of developing your own homeserver implementation specifically targeting your use case, you should take a look through the Matrix specification documents: https://matrix.org/docs/spec/
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by StavrosK on Sunday May 29, 2016 @05:44AM (#11795727)
It was a "sure, in principle".
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by rglullis on Sunday May 29, 2016 @11:31AM (#11796682)
Always connected? I really envy you.

I mean, can you even take the subway or go on an overseas travel and still be sure that your smartphone is your single point of failure?

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by kuschku on Sunday May 29, 2016 @09:00AM (#11796206)
If you are on Android or iOS, it’s not always connected – and you can’t actually run things in background all the time anymore either.
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by frigo_1337 on Sunday May 29, 2016 @07:46AM (#11796015)
I really like the ideas behind Matrix. Sure, the existing (open) clients aren't all that sexy, and synapse can be a bit slow sometimes. But implementing your own client is a breeze and bridging other networks through application services makes it incredibly powerful.

My experience with the matrix.org community has been very pleasant so far. Keep up the good work, folks!

Re:Gchat Was the Future of Messaging, but Google Didn’t Know by skykooler on Sunday May 29, 2016 @01:54AM (#11795027)
Matrix looks interesting. But, damn, that animation on the homepage slows my browser to a crawl!
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by gcr on Sunday May 29, 2016 @02:08PM (#11797466)
How is the feature set any different than XMPP?
Re:Gchat Was the Future of Messaging, but Google Didn’t Know by Perceptes on Sunday May 29, 2016 @04:50PM (#11798149)
They have a good explanation of how Matrix compares to XMPP in their FAQ: https://matrix.org/docs/guides/faq.html#what-is-the-differen...