[E-impact] The "human-readable" delusion

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 16 May 2023 22:31 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: e-impact@ietfa.amsl.com
Delivered-To: e-impact@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DA149C151066 for <e-impact@ietfa.amsl.com>; Tue, 16 May 2023 15:31:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5tt-BukbmJQb for <e-impact@ietfa.amsl.com>; Tue, 16 May 2023 15:30:56 -0700 (PDT)
Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 42EA9C15109D for <e-impact@ietf.org>; Tue, 16 May 2023 15:30:56 -0700 (PDT)
Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-52867360efcso10529632a12.2 for <e-impact@ietf.org>; Tue, 16 May 2023 15:30:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684276255; x=1686868255; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=41GPHkXt2jAkXa1+dbAiYWbJENHcN60xe3v/lPN8cvw=; b=k5LGtiYb5O2qzmtYXr4NAm1h4RD0UAhfk4z5fYz+qa6ATwXKq+rbgK+LrJZONhkMju 6g2PiwPTzrFtrTkoKvMwAToRsjl2zfBPHC9hUGViCw6KYVt7czNBv6GoApnBVubihMXg t2vp3TB1P4X3wi3F2uFYkKm5nv8/6GqVgSy/c67EYbNkPLUt6iE4KZXqrzierJU87hqg nQHNxDEbjYOgIOkepPQr8OpaY3HIaJ1GPjBEaHI3pSTfps9AiGhPjdB9dT14C652T24S JKHtdF3WgIvMaEodM9l+Nyrz7MMbCnfHxfj0BhPqMkd+d87I84KIx4JRkFrUYDrgMRbA UzVA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684276255; x=1686868255; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=41GPHkXt2jAkXa1+dbAiYWbJENHcN60xe3v/lPN8cvw=; b=BKNm8FoOqHtBoCHRFjQNeBrqqVZhd1P4WO34B5K6tERF6twZxUq6dYORSzsEk3gRw7 dMDxX4fZQWYudrKoRv1mMQ2SFk91BsjczbK6FXfALyyx+zMjikQlKmJvphBZodt+9Dkr gmvMYZP6Cf/uQgLlMdCcHF8kWl/+WaxmP6KBaKfkSkRj3DbptSeqXrc96cummOQM4t+b +f44UeQ4saP2p41LI6HMMieHsLrvQ4zYPNvrSr61TmwO6LJoWxNVtMRYaCzcDF7TAPnd q4hNnlWH4yH5xET+G8HxPPBgDJeh1lSMLtnIjlfVFo9KJroWxOBn2NFnZJn9qjqMO13K d0aQ==
X-Gm-Message-State: AC+VfDwMwhSjLLJhgHuwnNQGHTaUj5y4mXB4J3ttYwQj3zmwyhM6X4/+ Uu1W/zYbqOevCbsLFXJ5RPY=
X-Google-Smtp-Source: ACHHUZ7UlntdtL/7E3MAbO0OJOAq1jRm9j0U2Q+SHuid1RPl7qRgMQ9qHDFAY2/f7pLfSwCyXzQYpg==
X-Received: by 2002:a17:903:22c9:b0:1a5:22a6:4e6a with SMTP id y9-20020a17090322c900b001a522a64e6amr47549746plg.51.1684276255501; Tue, 16 May 2023 15:30:55 -0700 (PDT)
Received: from ?IPV6:2406:e003:1184:f001:abb6:ea4f:cf8e:1d0d? ([2406:e003:1184:f001:abb6:ea4f:cf8e:1d0d]) by smtp.gmail.com with ESMTPSA id h9-20020a170902b94900b001ac7c6fd129sm16010455pls.43.2023.05.16.15.30.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 May 2023 15:30:55 -0700 (PDT)
Message-ID: <90b84dba-b158-a163-6a8f-15e4f6d2b2a2@gmail.com>
Date: Wed, 17 May 2023 10:30:49 +1200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0
Content-Language: en-US
To: Toerless Eckert <tte@cs.fau.de>, Jari Arkko <jari.arkko@gmail.com>
Cc: Manner Jukka <jukka.manner@aalto.fi>, "e-impact@ietf.org" <e-impact@ietf.org>
References: <SN4PR13MB5811CD23BE7774D406DC2DADFF789@SN4PR13MB5811.namprd13.prod.outlook.com> <316EB934-ED4E-4C4E-AB38-C74BA1FC96B7@id3as.co.uk> <SN4PR13MB5811177EF67962C62DB45710FF789@SN4PR13MB5811.namprd13.prod.outlook.com> <f762863f-6177-a865-b5cd-37ed03cadf5f@gmail.com> <4E6A89C6-8345-4E52-B35A-D421CF3AF680@aalto.fi> <F8BDEB53-6DFD-4297-B81B-D68655F65462@gmail.com> <ZGOYHn/W1lQNcK98@faui48e.informatik.uni-erlangen.de>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
In-Reply-To: <ZGOYHn/W1lQNcK98@faui48e.informatik.uni-erlangen.de>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/e-impact/6_bEA8Dbjpbq3IzwiX8DE5qY6nw>
Subject: [E-impact] The "human-readable" delusion
X-BeenThere: e-impact@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Environmental impacts of the Internet <e-impact.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/e-impact>, <mailto:e-impact-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/e-impact/>
List-Post: <mailto:e-impact@ietf.org>
List-Help: <mailto:e-impact-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/e-impact>, <mailto:e-impact-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 May 2023 22:31:00 -0000

On 17-May-23 02:50, Toerless Eckert wrote:
> I hope we would have a hard time finding someone in the community to disagree
> with these as principles. Alas, once we get to actual ideas what we could
> still do beyond all that we have already done, work gets a lot harder.
> 
> For example, is it really worthwhile for energy saving to ask the whole
> JSON application layer world/standards we have to evolve to CBOR (binary) ?
> 
> I think the energy saving in high-speed networks would be negligible and
> likely outweight by the energy spent by the additional IETF efforts
> meeting time, travel, brains involved,... do add CBOR definitions for
> all the existing JSON work. And figure out interop.

Just an observation, or possibly Carpenter's Corollary to Moore's Law:

All "human-readable" formats progressively degrade to "machine-readable"
as memory and CPU become cheaper.

Prime examples are HTML and XML, of course. 30 years ago HTML documents
were written by humans and were more or less understandable to humans.
The IETF site in November 1996, for example:

<img src="/http://www.ietf.org/images/ietflogo.gif">
<h1>Welcome to the Internet Engineering Task Force!</h1>
<p><hr><img src="http://www.ietf.org/redstar.gif"><a href="dvorak.html"> <b>IETF wins Dvorak Telecommunications Award</a></h1>
<p>
<a href="http://www.cnri.reston.va.us/home/jobs.html"><b>Employment Opportunity</a> with the IETF Secretariat.</b>

Today we have stuff like:

<div class="navbar-brand header__logo-container"><a class="text-light" href="https://www.ietf.org/"><img class="header__logo" src="IETF%20Introduction_files/ietf-logo.svg" alt="IETF logo"></a></div><div class="collapse navbar-collapse flex-wrap-reverse" id="navbarSupportedContent"><ul class="navbar-nav col-12 col-xl-auto justify-content-xl-center flex-grow"><li class="nav-item btn-group "><a href="https://www.ietf.org/about/" class="nav-link btn btn-dark text-white text-uppercase pe-1">About the IETF</a>

So, while what you say is true, it's hard to see a strategic advantage in formats that claim human-readability. The C in CBOR stands for "concise" and that is a valuable property.

(The Internet Archive's version of the IETF home page on 1996-11-06 is longer than the reconstructed extract above. The archive mangles the original HTML.)

     Brian