News for hackers. Stuff that matters.
Re:Open Sourcers Race to Build Better Versions of Slack by rekoros on Wednesday March 16, 2016 @05:39PM (#11300883)
Thank you!

We're so paranoid about getting shut down by Google (Hangouts, no API), Microsoft (Skype, no API), and Facebook (Messenger, no API) that we're not only not open sourcing any of our implementations, we're not even providing a commercial API in fear of having to deal with some form of abuse.

That said, the night is young. We hope to eventually gain enough leverage to get the big guys to listen to us.

Re:Open Sourcers Race to Build Better Versions of Slack by scrollaway on Wednesday March 16, 2016 @05:46PM (#11300938)
Ok. It's kind of good to hear the barrier to open sourcing is more legal than commercial. That means it's fixable :)

Can I ask you some details on how you went about working with Skype and Hangouts? Did you do the reverse engineering yourself? These are protocols several popular open source projects have been trying to support for years and haven't succeeded.

Can I also ask you about your tech stack/languages you used for Sameroom?

Re:Open Sourcers Race to Build Better Versions of Slack by rekoros on Wednesday March 16, 2016 @06:01PM (#11301019)
We implemented them ourselves, and it took quite a bit of work.

Our magic weapon is Erlang, which is a wonderful language for working with protocols, and a wonderful runtime for working with many things happening at the same time.

The other magic weapons are the Cowboy webserver and the Gun http client -- both written by Loïc Hoguin. Loïc doesn't work for us, but we've been sponsoring him financially for over two years (https://medium.com/@abs/what-we-learned-from-sponsoring-an-o...).

Our frontend doesn't really matter as much, since it's just a dashboard, but we use TypeScript with Flux and React (it's been great).

Re:Open Sourcers Race to Build Better Versions of Slack by derefr on Wednesday March 16, 2016 @11:36PM (#11302419)
I was just considering advocating within my employer (Cloudant, i.e. clustered-CouchDB-as-a-Service) to back Loïc too. CouchDB is still stuck in the past with Mochiweb, and while switching that out for Cowboy 1.X would be a nice-to-have, getting our hands on a stable release of Cowboy2 (i.e. "the HTTP/2 version") would let us optimize Couch's replication story immensely. I've just been trying to set up a single trivial Event Stream HTTP/2 loop_handler with the Cowboy2 master, and it's really just not there yet, so we could probably give him a push.
Re:Open Sourcers Race to Build Better Versions of Slack by rekoros on Wednesday March 16, 2016 @11:53PM (#11302473)
That would be great - I can put you in touch if you're not already ([email protected]).
Re:Open Sourcers Race to Build Better Versions of Slack by seivan on Wednesday March 16, 2016 @09:25PM (#11302005)
Care to share your webpack config for getting React and TypeScript to play ball? I'm collecting a bunch to try to figure out what works best.
Re:Open Sourcers Race to Build Better Versions of Slack by jlarky2012 on Wednesday March 16, 2016 @09:51PM (#11302094)
That's actually interesting topic :) Right now we use gulp and gulp-typescript. So far, I like approach that is used in https://github.com/Microsoft/TypeScriptSamples/tree/master/e... but I'm not sure if we are going to use it any time soon. As far as gulp config, what we use is pretty much close to gulp-typescript README examples
Re:Open Sourcers Race to Build Better Versions of Slack by seivan on Thursday March 17, 2016 @03:24PM (#11306861)
Thanks! Yeah it's hard to find good UP TO DATE reading material on this. I genuinely appreciate this.
Re:Open Sourcers Race to Build Better Versions of Slack by scrollaway on Wednesday March 16, 2016 @09:41PM (#11302068)
You can take a look at ours: https://github.com/hearthsim/joust
Re:Open Sourcers Race to Build Better Versions of Slack by zanny on Thursday March 17, 2016 @12:10AM (#11302520)
There are actually FOSS implementations of Hangouts wrappers (Hangups) Skype wrappers (SkypeWeb for libpurple) and Facebook wrappers (purple-facebook) and even a telepathy wrapper for the Facebook protocol.

Nobody is getting sued yet, and Pidgin supports all of them nowadays.

Re:Open Sourcers Race to Build Better Versions of Slack by vvanders on Wednesday March 16, 2016 @05:50PM (#11300956)
Re:Open Sourcers Race to Build Better Versions of Slack by pyre on Wednesday March 16, 2016 @06:56PM (#11301326)
Or how AOL's Oscar protocol got updated at one point to start requesting chunks of the AOL IM binary as authentication against open sources clients (because they couldn't distribute AOL's binary with their client).
Re:Open Sourcers Race to Build Better Versions of Slack by khc on Thursday March 17, 2016 @04:43AM (#11303210)
Do you have a source for this?
Re:Open Sourcers Race to Build Better Versions of Slack by quadrangle on Wednesday March 16, 2016 @09:27PM (#11302021)
Sounds like you just need the AGPL
Re:Open Sourcers Race to Build Better Versions of Slack by WoodenChair on Wednesday March 16, 2016 @09:45PM (#11302077)
Yeah because if you open source something under the right license, no abuse happens... What percentage of GPL violators has the FSF prosecuted? Or anyone else for that matter?
Re:Open Sourcers Race to Build Better Versions of Slack by chei0aiV on Thursday March 17, 2016 @04:21AM (#11303126)
The FSF isn't about prosecuting people, but about getting GPL compliance.

https://sfconservancy.org/copyleft-compliance/principles.htm...

Unfortunately working on GPL compliance is expensive, I would encourage anyone who cares about copyleft to support the Software Freedom Conservancy's efforts.

https://sfconservancy.org/supporter/

Re:Open Sourcers Race to Build Better Versions of Slack by scrollaway on Wednesday March 16, 2016 @09:43PM (#11302070)
Licensing has nothing to do with this.