Live data from Hacker News

Code together in real time with Teletype for Atom

blog.atom.io

201–210 of 230 posts

Re: Code together in real time with Teletype for Atom

#201

Every time I see one of these "code together in real time" announcements I remember SubEthaEdit, which did this flawlessly 14 years ago, and released the collab part as a library that other apps can use: Coda uses (or at least used, I haven't used Coda in years) it and is/was compatible for sharing. https://subethaedit.net

Too bad it had a terrible name...

Re: Code together in real time with Teletype for Atom

#202
"Sharing the same physical machine is impossible for remote teams" -- if only there was some kind of network that would allow people to log into a machine remotely...

More seriously, though, in the mid-90s, I worked at a place where most work stations were Sun Sparcs. One way of "coding together" was that one person did an xhost+ to allow a second frame of an Emacs running on a second person's machine to be opened on the first person's display. It was used only very rarely, though.

Re: Code together in real time with Teletype for Atom

#204
So glad to see that they've implemented this algorithm in JS! https://github.com/atom/teletype-crdt

I've tried implementing a very similar algorithm (one could say it's the same approach) in the beginning of this year, but had one remaining issue with concurrent overlapping deletions that I couldn't figure out (and the paper I was basing the algorithm on didn't account for it: http://www.sciencedirect.com/science/article/pii/S1474034616...): https://github.com/jure/rgass

Weihai Yu's implementation does account for it, however: https://dl.acm.org/citation.cfm?doid=2660398.2660401 , but his implementation is in Lisp, and I've never had the stamina to work through it for that one edge case.

Kudos to the team at GitHub, I'll be studying this implementation closely.

Re: Code together in real time with Teletype for Atom

#205

It's amusing to see this while building in Second Life. The Second Life build tools are a 3D CAD system with real-time collaboration in virtual reality. Several people can be editing the same set of 3D objects simultaneously. Others can stand around and watch, from different viewpoints. Doing this for text is trivial by comparison.

Your comment led me to figuring out if Second Life is still really a thing. And I can't really figure it out. Apparently Linden Lab has over 200 employees so there must be some revenue on it. But is the user base growing, and how big is it?

Re: Code together in real time with Teletype for Atom

#206
post #195
post #121

Earlier quoted context omitted.

That's why I've been using Atom instead. Since 1.17 or so it got quite usable and it's getting better with every iteration. Nowhere near as fast as Sublime Text but usable for daily coding. I disabled the git plugin because we're using fossil. I hope it doesn't become an IDE like VS Code. At least they made the IDE packages separate.

Regarding fossil, do you use fossil for tickets and self-hosting? How well do fossil tickets work compared to Github issues? Do you use any custom themes for fossil tickets?

We used tickets somewhat and we are self hosting through a nginx proxy in order to log the http activity and proxy over https. The ticketing has markdown support. We use a custom theme, not for tickets but for the whole repo. Fossil tickets are only used internally, we use osticket regular ticketing.

There is also a service for hosting fossil repos called Chisel, but it's nowhere near as useful as Github.

http://chiselapp.com/

Re: Code together in real time with Teletype for Atom

#207

Earlier quoted context omitted.

That VS Code is not Emacs-like, that’s my problem with it. In my experience nothing beats Emacs at editing text. Vim has better shortcuts, but Emacs is just smart about everything. My problem with Emacs is that it’s showing its age, it’s hard to configure and you have to learn an old and obscure LISP dialect for it. On the other hand I’ve heard that VS Code plugins are a joy to develop, MS apparently did a good job a…

> you have to learn an old and obscure LISP dialect for it As someone who is glancingly familiar with emacs (I have only ever written one elisp function, that too with help) it's a really stupid question, but couldn't emacs have bindings for lua or python or something? That would increase the number of people who can program for it and customize it. > in 20 years from now Emacs will still be around I think the real r…

> but couldn't emacs have bindings for lua or python or something?

It can, and here is an example: https://blag.bcc32.com/ecaml-getting-started/2017/11/05/emac...

And here is a better link I guess: http://diobla.info/blog-archive/modules-tut.html

Re: Code together in real time with Teletype for Atom

#208

Earlier quoted context omitted.

That VS Code is not Emacs-like, that’s my problem with it. In my experience nothing beats Emacs at editing text. Vim has better shortcuts, but Emacs is just smart about everything. My problem with Emacs is that it’s showing its age, it’s hard to configure and you have to learn an old and obscure LISP dialect for it. On the other hand I’ve heard that VS Code plugins are a joy to develop, MS apparently did a good job a…

> you have to learn an old and obscure LISP dialect for it As someone who is glancingly familiar with emacs (I have only ever written one elisp function, that too with help) it's a really stupid question, but couldn't emacs have bindings for lua or python or something? That would increase the number of people who can program for it and customize it. > in 20 years from now Emacs will still be around I think the real r…

But there is an Emacs clone with JS bindings, and it's called Atom.

Re: Code together in real time with Teletype for Atom

#209
post #75

Am I the only one who finds it ironic that the development teams behind the top two open source editors introduce support for collaborative editing on the dame day, apparently unaware that they were both working on the same thing, and there being no evidence of collaboration between the two?

> top two open source editors I must have missed the announcements for vim and Notepad++.

Interesting way to spell Emacs
Post reply on HN