TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Code together in real time with Teletype for Atom

873 pointsby hswolffover 7 years ago

57 comments

holmanover 7 years ago
Lovely seeing Nathan and co ship this.<p>Interestingly enough, this feature is the primary reason behind Atom itself existing. We saw the first internal demo of &quot;Atom&quot; (I believe it was &quot;Thunderhorse&quot; at the time) 6-7 years ago, and the main idea was real-time collaboration on code. That sorta took a backseat for awhile as GitHub started to recognize that a collaborative editor was pretty swell in its own right, but glad to see that it&#x27;s finally all come full circle.
评论 #15708740 未加载
AriaMinaeiover 7 years ago
Is it only a coincidence that real-time collaboration is being announced both for Atom and VS Code (<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15704376" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15704376</a>) at the same time?
评论 #15704925 未加载
评论 #15705046 未加载
评论 #15705332 未加载
评论 #15705044 未加载
评论 #15704853 未加载
评论 #15704906 未加载
stephenrover 7 years ago
Every time I see one of these &quot;code together in real time&quot; announcements I remember SubEthaEdit, which did this flawlessly 14 years ago, <i>and</i> released the collab part as a library that other apps can use: Coda uses (or at least used, I haven&#x27;t used Coda in years) it and is&#x2F;was compatible for sharing.<p><a href="https:&#x2F;&#x2F;subethaedit.net" rel="nofollow">https:&#x2F;&#x2F;subethaedit.net</a>
评论 #15710742 未加载
评论 #15710737 未加载
评论 #15710933 未加载
mrspeakerover 7 years ago
Not sure this is wise, but I started a test portal 252510f8-e474-45e0-bec1-5714435fa305 if you want to give it a whirl.<p>Edit: it&#x27;s still working great even with 15+ people - very slick!<p>Also, here&#x27;s the madness in repo form - <a href="https:&#x2F;&#x2F;github.com&#x2F;mrspeaker&#x2F;teletest" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mrspeaker&#x2F;teletest</a>
评论 #15707586 未加载
评论 #15710196 未加载
jitlover 7 years ago
See also Floobits, which is a fully-realized, production ready service that allows collaborative real-time editing of your editors entire workspace.<p>Floobits has plugins for all major editors, including Vim and IntelliJ, as well as Google Hangouts.<p><a href="https:&#x2F;&#x2F;floobits.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;floobits.com&#x2F;</a><p>Disclosure: I used Floobits a few times and think it’s awesome 10&#x2F;10
评论 #15705353 未加载
评论 #15708184 未加载
评论 #15710534 未加载
评论 #15705234 未加载
twitchardover 7 years ago
My team at the Node Knockout hackathon implemented an editor-agnostic version of this feature last weekend. I guess it is an idea whose time is come.<p><a href="https:&#x2F;&#x2F;www.nodeknockout.com&#x2F;entries&#x2F;35-nodeist-colony" rel="nofollow">https:&#x2F;&#x2F;www.nodeknockout.com&#x2F;entries&#x2F;35-nodeist-colony</a><p>For me, the editor-agnosticism is the most important feature I would want my live coding experience to have. My team uses a mixture of Vim, Sublime, Emacs, VS Code, and Atom, and we have configurations we are comfortable with. It&#x27;s too bad that this seems to be happening well within the confines of each editor&#x27;s ecosystem, and not by some common protocol that all editors could share.
评论 #15707339 未加载
juretriglavover 7 years ago
So glad to see that they&#x27;ve implemented this algorithm in JS! <a href="https:&#x2F;&#x2F;github.com&#x2F;atom&#x2F;teletype-crdt" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;atom&#x2F;teletype-crdt</a><p>I&#x27;ve tried implementing a very similar algorithm (one could say it&#x27;s the same approach) in the beginning of this year, but had one remaining issue with concurrent overlapping deletions that I couldn&#x27;t figure out (and the paper I was basing the algorithm on didn&#x27;t account for it: <a href="http:&#x2F;&#x2F;www.sciencedirect.com&#x2F;science&#x2F;article&#x2F;pii&#x2F;S1474034616301811" rel="nofollow">http:&#x2F;&#x2F;www.sciencedirect.com&#x2F;science&#x2F;article&#x2F;pii&#x2F;S1474034616...</a>): <a href="https:&#x2F;&#x2F;github.com&#x2F;jure&#x2F;rgass" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jure&#x2F;rgass</a><p>Weihai Yu&#x27;s implementation does account for it, however: <a href="https:&#x2F;&#x2F;dl.acm.org&#x2F;citation.cfm?doid=2660398.2660401" rel="nofollow">https:&#x2F;&#x2F;dl.acm.org&#x2F;citation.cfm?doid=2660398.2660401</a> , but his implementation is in Lisp, and I&#x27;ve never had the stamina to work through it for that one edge case.<p>Kudos to the team at GitHub, I&#x27;ll be studying this implementation closely.
评论 #15712126 未加载
reaperducerover 7 years ago
This reminds me of that rant from last week about how computers are less functional these days than they were in the 80&#x27;s. The reason is that the Amiga had cooperative document editing way back when. (Sorry, can&#x27;t remember the programs that supported it.)<p>&#x2F;Some version of AmigaDOS also had truly relative timestamps. So you might see a file last accessed &quot;Christmas, 1991.&quot;
learningcnover 7 years ago
I have the same idea on Sublime Text about 4 years ago, but due to the Sublime API restriction at that time, it&#x27;s dead on 2014. I have no idea is the Sublime API now well enough to implement this feature? My project: <a href="https:&#x2F;&#x2F;github.com&#x2F;learning&#x2F;SublimeTogether" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;learning&#x2F;SublimeTogether</a> And a screencast: <a href="https:&#x2F;&#x2F;vimeo.com&#x2F;96316581" rel="nofollow">https:&#x2F;&#x2F;vimeo.com&#x2F;96316581</a>
评论 #15709922 未加载
kleibaover 7 years ago
&quot;Sharing the same physical machine is impossible for remote teams&quot; -- if only there was some kind of network that would allow people to log into a machine remotely...<p>More seriously, though, in the mid-90s, I worked at a place where most work stations were Sun Sparcs. One way of &quot;coding together&quot; was that one person did an xhost+ to allow a second frame of an Emacs running on a second person&#x27;s machine to be opened on the first person&#x27;s display. It was used only very rarely, though.
评论 #15712013 未加载
_pferreir_over 7 years ago
This looks really neat. As a side note, it bothers me a bit that they haven&#x27;t used an actual URI, e.g. tty:xxxxxxxx-xxxx-... That would allow for nice hyperlinks from web pages and chat rooms.
rahilsondhiover 7 years ago
If you wish this existed in a SQL editor, we have it in PopSQL (<a href="https:&#x2F;&#x2F;popsql.io" rel="nofollow">https:&#x2F;&#x2F;popsql.io</a>)
liamdanielduffyover 7 years ago
“participants all keep their own custom key bindings, packages, and themes.”<p>what happens when two different people editing the same document have two different settings for # spaces per tab character? whose takes precedence? (Or would there be a possibility of inconsistent spacing depending on who is adding a tab?)
评论 #15705257 未加载
评论 #15709353 未加载
评论 #15705272 未加载
评论 #15709935 未加载
kakuriover 7 years ago
For VS Code there&#x27;s sockscode, it&#x27;s a little bare, but works well! <a href="https:&#x2F;&#x2F;marketplace.visualstudio.com&#x2F;items?itemName=shyykoserhiy.sockscode-vscode" rel="nofollow">https:&#x2F;&#x2F;marketplace.visualstudio.com&#x2F;items?itemName=shyykose...</a>
habiover 7 years ago
Yet I&#x27;m still not able to save a file when it&#x27;s on a network drive: <a href="https:&#x2F;&#x2F;github.com&#x2F;atom&#x2F;atom&#x2F;issues&#x2F;11911" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;atom&#x2F;atom&#x2F;issues&#x2F;11911</a>
bousaidover 7 years ago
Atom’s detriment with this post is that there’s 4 paragraphs of text before I can even see what this feature looks like, and even then it’s gifs on how to install the feature.
评论 #15705952 未加载
eecksover 7 years ago
How does this work? Does the code that is typed go through a cloud service? I guess that would stop a lot of people using it in work.
评论 #15707278 未加载
评论 #15707298 未加载
Animatsover 7 years ago
It&#x27;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.<p>Doing this for text is trivial by comparison.
评论 #15711449 未加载
fjabreover 7 years ago
I can appreciate your efforts here. It isn&#x27;t trivial to put something like this together but I&#x27;m going to go ahead and state the obvious: Face to face is far superior to a solution such as this one for what I think are self evident reasons. You&#x27;re better off, by orders of magnitude, getting on a plane or train and going to see your code buddies.<p>When I&#x27;m coding with someone we&#x27;re not usually on the same files or piece of code anyway. And I don&#x27;t get any value from seeing them type away at the code file that they are focused in, or knowing which file they&#x27;re in beyond the name. It&#x27;s a simple &quot;hey mate what line are you on?&quot; question.<p>I get excellent value from talking to and seeing the other devs face to face figuring out where their head&#x27;s at and what &#x27;page&#x27; they&#x27;re on. That&#x27;s the stuff of a proper realtime and face to face code sesh IMHO.
评论 #15707342 未加载
评论 #15710040 未加载
评论 #15709691 未加载
120bitsover 7 years ago
I have never tried real time collaboration. What scenarios are there when you need real time collab. I know technical interviewers prefer this. Do you think it causes distraction when you have 2 people writing code on a same file. I would rather one finish and then do my stuff.
评论 #15705459 未加载
Tomis02over 7 years ago
A lot of effort put into &quot;dumb&quot; text editors, but we still don&#x27;t have (to my knowledge at least) a truly cross-platform &#x2F; cross-backend IDE that will allow you, for example, to open .sln&#x2F;.cmake&#x2F;.make&#x2F;whatever projects&#x2F;solutions and provide you with a nice interface to change project settings or even compiler used. This could save a lot of development time and improve productivity, and I&#x27;m sure it&#x27;s a much more useful and common use case than collaborative editing.
评论 #15716403 未加载
killnineover 7 years ago
Really gave atom a hard try. Back to notepad after a few months. The add-ons are the only advantage, but are grossly overshadowed by the resource consumption this behemoth requires.
评论 #15704958 未加载
评论 #15705014 未加载
评论 #15705032 未加载
评论 #15706463 未加载
sleepybrettover 7 years ago
I miss subethaedit
fro0116over 7 years ago
Curious if this supports multiple-cursors (as in multiple cursors per user through ctrl&#x2F;cmd+d, etc)? If so that&#x27;d be awesome!
评论 #15705145 未加载
d--bover 7 years ago
Am I really the only one on this forum to think that live shared coding is a terrible idea?<p>The only pro for this is there are no conflicts, so merging is easier. However, live conflicts are still bound to happen if 2 people want to work on the same section of the code, right?<p>And the cost of this is the total unability to debug...<p>I don&#x27;t get it...
评论 #15710363 未加载
评论 #15710408 未加载
serg_chernataover 7 years ago
Is there anything like this for sublime?
评论 #15705182 未加载
评论 #15705164 未加载
zhughes3over 7 years ago
What would a git commit look like when two distinct programmers have inputted characters into the file?
评论 #15709496 未加载
ncfaustiover 7 years ago
If you haven&#x27;t seen Colaboratory from Google check it out. This, but for jupyter notebooks.<p><a href="https:&#x2F;&#x2F;research.google.com&#x2F;colaboratory&#x2F;faq.html" rel="nofollow">https:&#x2F;&#x2F;research.google.com&#x2F;colaboratory&#x2F;faq.html</a>
BoiledCabbageover 7 years ago
I don&#x27;t use it at all, but hasn&#x27;t emacs supported this since the 80s or 90s?
评论 #15710020 未加载
评论 #15707506 未加载
tomaskafkaover 7 years ago
The use cases don&#x27;t need to be remote. Really looking forward to a chrome&#x2F;firefox plugin that would sync a textarea with a new Arom&#x2F;VS code buffer!<p>(Why? How many of you have edited some config&#x2F;sql query&#x2F;... in past week?)
oldpondover 7 years ago
Google brought out something similar in 2012 <a href="https:&#x2F;&#x2F;code.google.com&#x2F;archive&#x2F;p&#x2F;collide&#x2F;" rel="nofollow">https:&#x2F;&#x2F;code.google.com&#x2F;archive&#x2F;p&#x2F;collide&#x2F;</a>
dunhamover 7 years ago
Back in college (late 90&#x27;s) I did collaborative class project (in Z notation) with XEmacs and a partner on a remote X server. It actually worked as long as one of us wasn&#x27;t in the minibuffer.
LukeB42over 7 years ago
If you wish this existed for web pages: <a href="https:&#x2F;&#x2F;github.com&#x2F;psybernetics&#x2F;synchrony" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;psybernetics&#x2F;synchrony</a>
tangusover 7 years ago
Does anybody know how does undo work with this feature?
nkkollawover 7 years ago
I can&#x27;t make Atom work without freezing for myself, I can&#x27;t imaging using it with more than one person at the same time.
idontknowmanover 7 years ago
This looks like a cool feature to use to teach.
cirowrcover 7 years ago
That&#x27;s pretty nice, kudos! By the way, I&#x27;m impressed no one mentioned tmux&#x27; remote session in this thread.
评论 #15710641 未加载
xrdover 7 years ago
Anyone using this to edit Android source files? I need to look and see if Android Studio has anything similar.
Dowwieover 7 years ago
What software would you use to provide group voice chat for a screen share session? Discord?
评论 #15706844 未加载
ovrdrv3over 7 years ago
Awesome! It worked with the same github account over two computers as well! This is exciting.
mundanevoiceover 7 years ago
This is super neat. Would be awesome debugging with my teammate when I am working remotely.
jimnotgymover 7 years ago
Were Microsoft and Github using some kind of collaboration tool? Calendar syncing perhaps?
peterkellyover 7 years ago
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?
评论 #15706261 未加载
评论 #15705997 未加载
obilgicover 7 years ago
Can Atom be the twitch for coding with view only teletype?
buryatover 7 years ago
I wish there was something like this for Intellij.
评论 #15705068 未加载
Drykenover 7 years ago
I so want this for visual studio code now :)<p>Really cool stuff !
评论 #15706861 未加载
hrkucukover 7 years ago
What had to be done, is done. Thanks.
shmerlover 7 years ago
Why is Atom still missing in Debian?
tbodtover 7 years ago
I just want this in vim.
LesZedCBover 7 years ago
i prefer this over floobits in that i don&#x27;t need a floobits account, just a github account, which pretty much all devs will already have. it would be nice if there was a way to do this without needing the github account though.
评论 #15705502 未加载
AbenezerMamoover 7 years ago
Amazing! Love it :)
s09dfhksover 7 years ago
any way to use this WITHOUT a github account?
评论 #15708026 未加载
Layusoover 7 years ago
code in real time with atom?
faaqover 7 years ago
Amazing!
minicoolvaover 7 years ago
I&#x27;m using vs code now
jnordwickover 7 years ago
[A] [T]on [O]f [M]emory
kimjongmanover 7 years ago
How safe is this?