Re: [Tools-arch] Recommendation 6: Architectural model for clients

Mark Nottingham <mnot@mnot.net> Mon, 26 April 2021 02:07 UTC

Return-Path: <mnot@mnot.net>
X-Original-To: tools-arch@ietfa.amsl.com
Delivered-To: tools-arch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7F6573A1052 for <tools-arch@ietfa.amsl.com>; Sun, 25 Apr 2021 19:07:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.12
X-Spam-Level:
X-Spam-Status: No, score=-2.12 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=IBrY++BN; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=n2O2fxAB
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yfi7j7h-Arky for <tools-arch@ietfa.amsl.com>; Sun, 25 Apr 2021 19:07:15 -0700 (PDT)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8F1DB3A1056 for <tools-arch@ietf.org>; Sun, 25 Apr 2021 19:07:15 -0700 (PDT)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id BB5245C008E; Sun, 25 Apr 2021 22:07:12 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 25 Apr 2021 22:07:12 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm2; bh=H LXkZaswq9wIjZSynX0o0vFwq0dmI4S2/dhSDmfzym0=; b=IBrY++BNiPNvt3NE7 FPAYVudLwnxT1S1gS1VtBhkPjn2fie8G24xOAxdABlIpepdMk/XblzJGo2Qz50H3 iQ/40J1RWIp2OJcjgCdO9uLcNFvXYjZCQbhWepcwvvZg9P6/WAJMBiEF3nTvOlZl yNEF5wCEqaVFn4biYF+eK6eZU3R8JllaSPFFdd/QxofphF4i7HIChYX4OcmAz2oP HTYRNOM/rY8BvUNxcblimGOOi4P30YOjkO45kArgGS1ZvZeTnaG/SRWRYmNpXWe8 5FmY+eIs0H7PejFaxBblOywdebefGWS8zwvbAUAjIBXAy9SYPGvZq2rBBaEKjixr SSyfg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=HLXkZaswq9wIjZSynX0o0vFwq0dmI4S2/dhSDmfzy m0=; b=n2O2fxABikx76zwL6QqY8xVqC7cWzioyZ3ISZ05z25a8l3YVwq1kenv67 37oHzuv63jeAp1Reo+CU4+aMw3tYtXbS+GELveii3HIN8K4rByESsVowJfPrpOoo n2EGoAbJJzr65jvmK/atgInC29oBlxUlETN0o7cNZ9RdeJF5EN7rCPxBejeM1LhU JRbRL4E6lbqYE082PYVW6KrNJ2aw7skznBlApi5vZNV58mIWdrO0YLSrBMszMWLW VAk1Vw2iDArkf72T0ZxwSyinGx3QYQFEHrhQOF125w2jY1M12OxN7o3pdJuaWXMb zIHDAd9qZNiHXmBJam/aKNXAIm1OQ==
X-ME-Sender: <xms:TyCGYFqA0KmCdxepmUvS79QaHry-Ow_IObi6snj-m9xAIjyh3MW1yA> <xme:TyCGYHqeBUimDrBd0bCs_YgLSiZR_1jW52OX8UyPSYTGXsnYZ-RfyimllHLZuJNVH kGA9VmoZbR2rVObQw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddujedgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptggguffhjgffgffkfhfvofesthhqmhdthhdtjeenucfhrhhomhepofgrrhhk ucfpohhtthhinhhghhgrmhcuoehmnhhothesmhhnohhtrdhnvghtqeenucggtffrrghtth gvrhhnpeeiieegieejleeitdeijeeiveehffdvffehleekueegveehfeegjeefveegfeet veenucffohhmrghinhepphihthhhohhnqdhguhhiuggvrdhorhhgpdhrohhsshgrnhhtrd hnvghtpdhmnhhothdrnhgvthenucfkphepudduledrudejrdduheekrddvhedunecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhnohhtsehmnh hothdrnhgvth
X-ME-Proxy: <xmx:TyCGYCNunpInIy1MOsgRH_yBsBm9V5bXivZ3MWD77w1JKGU3Y9gXHw> <xmx:TyCGYA7Dj-uMk9LGMnRVOP8-S9tpu3uM4KK5SM7XwFaogvFlTiKMfg> <xmx:TyCGYE5loKbWXLufbKuZPUnUjrDudU-__2_H42XAqr5_h7yTUFG3Xg> <xmx:UCCGYEGOqewAr1S18BGPycwdaEzpiQQ-GueuxNK3W_629_yA_DtDCQ>
Received: from marks-air.mnot.net (119-17-158-251.77119e.mel.static.aussiebb.net [119.17.158.251]) by mail.messagingengine.com (Postfix) with ESMTPA id 46FAC24005E; Sun, 25 Apr 2021 22:07:09 -0400 (EDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <58bf8e20-6b48-cde4-b9a-b4a6da652bf@taugh.com>
Date: Mon, 26 Apr 2021 12:07:07 +1000
Cc: tools-arch@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <F3208E64-ACE8-4FD3-9F51-919BB3B7FF66@mnot.net>
References: <20210419180407.9A75173A9277@ary.qy> <BC70EB61-2F58-4E98-9687-ADA5A3230FA9@mnot.net> <9bf82641-8da7-5250-a148-7cc98cd4314c@taugh.com> <ADFEB85A-1BD3-4BF5-970F-93ED5A44F549@mnot.net> <499d5ed6-ccb-742a-7e1b-396e1e7f35b3@taugh.com> <BB90695F-4DB7-46E8-A9E7-E71092F4901F@mnot.net> <58bf8e20-6b48-cde4-b9a-b4a6da652bf@taugh.com>
To: John R Levine <johnl@taugh.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-arch/ATK8UnOsVEXxlc_F5070dhysH-M>
Subject: Re: [Tools-arch] Recommendation 6: Architectural model for clients
X-BeenThere: tools-arch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Tools Architecture and Strategy Team <tools-arch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-arch>, <mailto:tools-arch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-arch/>
List-Post: <mailto:tools-arch@ietf.org>
List-Help: <mailto:tools-arch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-arch>, <mailto:tools-arch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Apr 2021 02:07:21 -0000

> On 23 Apr 2021, at 12:23 pm, John R Levine <johnl@taugh.com> wrote:
> 
>>> I'm now completely confused about what you want us to do.  Assuming we agree that we want to have tools that work reliably on the platforms that people are likely to use (which seems to be Windows, Mac, and linux) how do we get there?
>> 
>> By improving the tools we have -- including how they're delivered, documented and supported.
> 
> I was hoping for something more concrete.
> 
> For example, should we be able to provide each tool as a native installable package on the major platforms?  If so, do you have an estimate of how much work that would involve?

My role here, as I understand it, is not to provide estimates or detailed plans -- it's to provide high-level input to the architecture (note: architecture) of our tools stack. Jay, if I misunderstand that, please correct me.

> (Try installing xml2rfc on Windows to see how painful the current setup is.)

Well, about 20 seconds on DuckDuckGo found:
  
"""
“Freezing” your code is creating a single-file executable file to distribute to end-users, that contains all of your application code as well as the Python interpreter.

Applications such as ‘Dropbox’, ‘Eve Online’, ‘Civilization IV’, and BitTorrent clients do this.

The advantage of distributing this way is that your application will “just work”, even if the user doesn’t already have the required version of Python (or any) installed. On Windows, and even on many Linux distributions and OS X, the right version of Python will not already be installed.
""" -- <https://docs.python-guide.org/shipping/freezing/>

There are other approaches if that isn't suitable, e.g.:
  https://cyrille.rossant.net/create-a-standalone-windows-installer-for-your-python-application/


--
Mark Nottingham   https://www.mnot.net/