From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: A new collaborative editing package (maybe tangent) Date: Sun, 31 Dec 2023 20:53:03 -0800 Message-ID: <402A5724-BDDC-49A3-BE51-E122FB05D494@gmail.com> References: <3E633CB5-B727-4933-8CF1-E1044CF39E70@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25637"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 01 05:54:13 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rKAJZ-0006Vd-FP for ged-emacs-devel@m.gmane-mx.org; Mon, 01 Jan 2024 05:54:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKAIk-0007bu-Fg; Sun, 31 Dec 2023 23:53:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKAIj-0007bl-4z for emacs-devel@gnu.org; Sun, 31 Dec 2023 23:53:21 -0500 Original-Received: from mail-io1-xd35.google.com ([2607:f8b0:4864:20::d35]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rKAIh-00081h-H6; Sun, 31 Dec 2023 23:53:20 -0500 Original-Received: by mail-io1-xd35.google.com with SMTP id ca18e2360f4ac-7bb5fda069bso99835839f.0; Sun, 31 Dec 2023 20:53:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704084797; x=1704689597; darn=gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=JEEb0oXVkxUfthx99/Sm+llLC5LujIxv3fHYqhy8new=; b=EiEDp7qkB20PQoAubAi/88+R/rqlGYQLGdyKzR+7YZzzUXlz3IY+V+yapYpNcW87Md 91mE7kify0XeZtNUPuTe3/Ta6V50NmkGZHGyVlte2py6oNs6a1eKpkhJNVZMEqr2/jzD Jyb/nDkOiMxKZm75tlgKbPcSC6RiqJQgytHIyeMY8VW0KKgZFzxhdxUutxVq453hK4tq s/68GcUeG4sT/NlPqaM6qtFaUbYMwjjKbSS0DGajNJY/y6ayDxKOb1PqvwPtzn7lc8ZL bL5chtz1jV9mVGDJ6WdAlDufBslBQkOiFxfBWrcpjyOv9wVR8DmQFymIJkREQH6MWRDo G4+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704084797; x=1704689597; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JEEb0oXVkxUfthx99/Sm+llLC5LujIxv3fHYqhy8new=; b=MPbln4A4MC/X0C2EvekS0LaPNDMst3etAesqsZ2bvCmPM9BP12H1NxfzxOss5KCYhw wBLEttWGuhmDi75+2dVg5AiYyvFm2cLZuqn6t60i+a2jW47db8IvnXDwrSalSq9ycPmS MXOdEKEuPN4kLO5XwE6n2XZ6ZIGsOin1400gh1kyqKdNQqiAalqHKFKrTsqsZijdtXl7 4A6USwbjBMWdREpOGCqwpAFVuH0z7tanCxTWc49DExcGDWEg94VmdP4CzIBFOMMCHqFc 7lXl1jjMu8C2yL3rYQnK/AYq3y8gwN5vBFojHBasOuhZ98pNjWrAxf34UOazTH2OcJ/b lbiA== X-Gm-Message-State: AOJu0YxOLtHV4oPYqV7jsntRBpk5pfp4Aux7CB9eCOKyVq2hHE1V0yTi rxgfufTQ1IySWDYlir6Pib4MXZBZqfM= X-Google-Smtp-Source: AGHT+IGBkNsJf8L2cK8VoST2gsf3L/nMNVpXvymy8EnAXVzJ9GUmvKN4haayv4/yQ1xiYDdvbWvHDg== X-Received: by 2002:a05:6e02:1aa6:b0:35f:d9e4:9c7c with SMTP id l6-20020a056e021aa600b0035fd9e49c7cmr21536180ilv.62.1704084797158; Sun, 31 Dec 2023 20:53:17 -0800 (PST) Original-Received: from smtpclient.apple (172-117-161-177.res.spectrum.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id s18-20020a170902b19200b001d4be32cb7bsm245906plr.269.2023.12.31.20.53.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 31 Dec 2023 20:53:16 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3731.700.6) Received-SPF: pass client-ip=2607:f8b0:4864:20::d35; envelope-from=casouri@gmail.com; helo=mail-io1-xd35.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:314412 Archived-At: > On Dec 31, 2023, at 7:32 PM, Richard Stallman wrote: >=20 > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] >=20 > This is potentially very useful, but we should choose the design > we are aiming for, not just drift into it. >=20 > Since there are no shared documents, > what do these collab servers communicate about? Edits made by each user (essentially insertions and deletions). > Why do they need to communicate at all? So you can see what I inserted in the the shared document, and vice = versa. > What job do they do? These locally running servers connect to each other and send user=E2=80=99= s edits to each other, so everybody get=E2=80=99s each other=E2=80=99s = edit, and the document they edit are kept in sync. > What sort of encryption do they use? The servers use webrtc for communication, which uses DTLS for = encryption. But as I said, collab-mode is not secure right now, adding = authentication and access control is on the TODO list. > This would not be good to promote if it does not offer privacy. >=20 > What formats can documents be stored in? Does it handle any format > Emacs can look at? Since the servers only send edits, the document itself is stored in = Emacs. > What external programs does this depend on? The collab-mode server is written in Rust and runs locally; = editor-specific frontend will be written in each editors scripting = language. The signaling server used to establish connection between two = servers is also written in Rust; it needs to run on a public-facing = server. Yuan