TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

ShareJS – Live concurrent editing in your app

80 点作者 domino大约 13 年前

10 条评论

ilaksh大约 13 年前
Based on the amount of trolling, 'penis' and other garbage inserted into that textarea, Hacker News readership must include a fairly large number of idiotic children.<p>This is why we can't have nice things.
评论 #3918720 未加载
评论 #3920691 未加载
评论 #3918721 未加载
powertower大约 13 年前
Careful. People are inserting and executing their own JS on that page.<p>I got several popups (alerts) with the word Faggot in them in my browser after I let the page sit for 10 minutes.
评论 #3919232 未加载
pilap82大约 13 年前
After hitting HN, this could be viewed as a text version of chatroulette… you don't know what you'll find, but it's probably not pretty. :o)
Inviz大约 13 年前
Always wanted to ask: Isn't google's diff-match-patch library suitable for the same thing? It can apply patches to altered input pretty nicely.<p>Is there a conceptual difference? Diffs support all types of operations - insert, remove, replace. I'm really curious about realtime collaboration, but can't decide which is the right tool for the job.
评论 #3919769 未加载
jhealy大约 13 年前
We're using ShareJS in production for the authoring side of <a href="http://theconversation.edu.au" rel="nofollow">http://theconversation.edu.au</a> - it's brilliant and solved most of our collaborative editing pain.<p>If only it wasn't written in node....
评论 #3918918 未加载
pie大约 13 年前
See also: Google Wave, open-sourced as Apache Wave.<p><a href="http://incubator.apache.org/wave/" rel="nofollow">http://incubator.apache.org/wave/</a><p>The architecture for Wave is really difficult to get a handle on, though.<p>Relative ease of use is a major benefit of ShareJS, though I can't fully vouch for its algorithmic correctness. I've been meaning to contribute some additional tests to the project.
评论 #3919316 未加载
zheng大约 13 年前
Pasting in most of Shakespeare's works seems to have made editing non-responsive for about 30s. Pretty neat though.
pixdamix大约 13 年前
This would be a great way to enable collaborative email sharing. I always wanted a way to let someone spellcheck, review or edit a mail I was writing (Inside Gmail)<p>For now it's Google-docs, then copy/paste, but sharing the mail on the go would be so useful.
lenart大约 13 年前
Great work man! What I think it needs next is some sort of cursor indicator - preferably with some sort of user id. Something similar to how Google Docs did it. Keep it up!
评论 #3918613 未加载
Johnyma22大约 13 年前
Also see Etherpad Lite, much easier to get started and way more features.
评论 #3918333 未加载