Re: [Cbor] Unusual map labels, dCBOR and interop

Anders Rundgren <anders.rundgren.net@gmail.com> Thu, 28 March 2024 05:30 UTC

Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D0EECC14F682 for <cbor@ietfa.amsl.com>; Wed, 27 Mar 2024 22:30:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.096
X-Spam-Level:
X-Spam-Status: No, score=-7.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_HI=-5, 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 qKgzf4SOr_bS for <cbor@ietfa.amsl.com>; Wed, 27 Mar 2024 22:30:28 -0700 (PDT)
Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (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 182A7C14F5EA for <cbor@ietf.org>; Wed, 27 Mar 2024 22:30:28 -0700 (PDT)
Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4149532da36so4360445e9.0 for <cbor@ietf.org>; Wed, 27 Mar 2024 22:30:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711603826; x=1712208626; darn=ietf.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=F7RW8os/lLb8IC+uWbFFYb7jv7vm8LyrC13GbP8URwo=; b=aBQGic5IUPd3SfuzwqOvldg5HMz++hK9xYfuH/BjM6bS0tNmIWzsM90ZcBtVMCaX9K iQraRPYAFqJ1FoTdqHHDxGuB2hVINQ59MRvOfxenj9ufA+6ccH3XF7I+/0PriWS1+Oiz jUl3v9P+0ZWivUTvA+U38xAHrjirsf/kA8tDjCVv+LQh5bpxS3P8ZzTGNYYyqegLKKkp e3QHdVIkLtpv+3Xuo7lCed8xhBbSKPEEQUJYGdBvAqMHlenmd1jOzVZmQU/xLlpxL/Kd jUzJj5T2nzMa+jL9riN7KAajtljMIE7UFFbvVi9JQuxA8MLTMqsS8NjsfcTOZ0cUPPP7 ymXQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711603826; x=1712208626; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=F7RW8os/lLb8IC+uWbFFYb7jv7vm8LyrC13GbP8URwo=; b=iJfe4znaB08V3QCRkGL8Zsm8CADOeiQtIoU/Ub0E1C+fn0PjyB+L1E1IhNpOVWQU9G QSNnAzj4HY/LbTsIIhMUFuKnpPNyoBXnXMEJ9AW5CVi20UQQHrAwULL6xH/QuIhSrbdV Sy/s5BvhFFe8/SozWSqC3xahnm30gudA15CYzjM3AsSBzwXrmuAuVq3ovsG1h8N+errf h0+0BC+hG+pDda4+Y8kthx2DkmlvyJntdJc0ZY9+MtwVw4PSCFTJsBnmwqChCPzhYM3S X5V+jDCRWbadmcChidH+ROWBZFCQ3QU0DBJsz01wwZW7hiVWDN6LlIhiUZbwkC68Unju lHuw==
X-Forwarded-Encrypted: i=1; AJvYcCVJabPzR8NymJgN2KtSNRkkSK8kN/VFMafgGWwXhZNyxsq7HMyFkmSCuR65YK3j1xi2IppKhsr7GgqVoKjJ
X-Gm-Message-State: AOJu0YywHznytIGhZHUYGCIXK6cIqsIHxjVV/XHOfQ61Cz30mzRLoUDa goY9NBuI2AMmNABmp6c9l6Pmok5mmBY+pkJedfRq9FQk+eeo9C24
X-Google-Smtp-Source: AGHT+IGEWARTbucrP3NDSmVw1x1goX/GLSnIdcwrFrLgrQMt/MVZuvdQ0kKA0GNz0sFGjcu56sGcpA==
X-Received: by 2002:a05:6000:892:b0:33e:c974:1291 with SMTP id cs18-20020a056000089200b0033ec9741291mr1267909wrb.30.1711603825544; Wed, 27 Mar 2024 22:30:25 -0700 (PDT)
Received: from ?IPV6:2a01:e0a:e1b:64b0:e1ec:b9bc:a0e4:6cca? ([2a01:e0a:e1b:64b0:e1ec:b9bc:a0e4:6cca]) by smtp.googlemail.com with ESMTPSA id t15-20020adfa2cf000000b0033e7a102cfesm742563wra.64.2024.03.27.22.30.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Mar 2024 22:30:25 -0700 (PDT)
Message-ID: <794fae9f-1c87-498b-aaea-4e476b0dc420@gmail.com>
Date: Thu, 28 Mar 2024 06:30:24 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: Wolf McNally <wolf@wolfmcnally.com>
Cc: Orie Steele <orie@transmute.industries>, "lgl island-resort.com" <lgl@island-resort.com>, Carsten Bormann <cabo@tzi.org>, cbor@ietf.org, Christopher Allen <christophera@lifewithalacrity.com>, Shannon Appelcline <shannon.appelcline@gmail.com>
References: <8C245824-1990-4616-AB70-FFD4FACB1AE9@island-resort.com> <11E8A8A5-D891-49FF-AF16-697C06F463B3@tzi.org> <9A0CE364-C141-4EBE-9703-292C416D12F5@island-resort.com> <3D62C4F0-D570-4EE4-AF6A-163C708AA6BE@tzi.org> <58BA8F8C-0C63-4534-9BF7-255C32D02C16@island-resort.com> <CAN8C-_KCLv_cAt-0-C_=i6DXjZFkgkmgZ8DNq48RcxcvV+jEUQ@mail.gmail.com> <437a375c-49e8-4406-a192-acb9a5e7bf31@gmail.com> <9272C2ED-432D-4D6D-AB64-38976F9297D5@wolfmcnally.com>
Content-Language: en-US
From: Anders Rundgren <anders.rundgren.net@gmail.com>
In-Reply-To: <9272C2ED-432D-4D6D-AB64-38976F9297D5@wolfmcnally.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/MziSmXKaZBQ_3T6VWYtllJMp2TE>
Subject: Re: [Cbor] Unusual map labels, dCBOR and interop
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Mar 2024 05:30:31 -0000

Here we go again 😵

On 2024-03-28 2:44, Wolf McNally wrote:
> All,
> 
>> On Mar 24, 2024, at 11:09 PM, Anders Rundgren <anders.rundgren.net@gmail.com> wrote:
>>
>> On 2024-03-24 21:11, Orie Steele wrote:
>>> Why do we need both CDE and dCBOR?
>>
>> According to (...) the primary motivations for dCBOR are:
>> 1. There's a data source holding numbers and it is not known if the numbers represent integers or floats.  Therefore numbers must be normalized in order to achieve deterministic encoding.
>> 2. Validating the CDE application profile concept.
>>
>> Personally, I find #1 to be a pretty unlikely use-case ("marginal design"), which in turn makes #2 rather contrived.
>>
>> Anders
> 
> Anders has persistently mis-characterized our motivations for creating dCBOR, and for anyone interested in our (lengthy and detailed) responses to him, they are in the list archive.

Indeed.  Different persons have provided pretty verbose rationales for dDCOR where they freely mix things that are unrelated to a basic deterministic encoding scheme such as the range of integers or the support of "elision" in Gordian Envelopes.

My comments were always about "Numeric Reduction" which condensed rationale is stated above.  I have excluded cognitive overload or JavaScript considerations as valid motives for creating an IETF standard.

Regarding consensus see: https://mailarchive.ietf.org/arch/msg/cbor/uI9s9VgYcH6DNFLaXb-f7iNDXDE/

Anders


> 
> ~ Wolf