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

Wolf McNally <wolf@wolfmcnally.com> Thu, 28 March 2024 01:44 UTC

Return-Path: <wolf@wolfmcnally.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 94267C14CEFE for <cbor@ietfa.amsl.com>; Wed, 27 Mar 2024 18:44:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.884
X-Spam-Level:
X-Spam-Status: No, score=-0.884 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=wolfmcnally-com.20230601.gappssmtp.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 atniAXc4R9EA for <cbor@ietfa.amsl.com>; Wed, 27 Mar 2024 18:44:32 -0700 (PDT)
Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) (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 46C86C14F6F2 for <cbor@ietf.org>; Wed, 27 Mar 2024 18:44:32 -0700 (PDT)
Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1dffa5e3f2dso3855015ad.2 for <cbor@ietf.org>; Wed, 27 Mar 2024 18:44:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfmcnally-com.20230601.gappssmtp.com; s=20230601; t=1711590272; x=1712195072; darn=ietf.org; h=message-id:references:cc:in-reply-to:date:subject:mime-version:from :from:to:cc:subject:date:message-id:reply-to; bh=iVJWQx0SeARgnhsHsoosWR5dHKo23nnKIlAJ7aZUhPU=; b=eZ4OFCOlje1kKGNFgMcRA7iRE1JpZCWo2joHkuLDJ8k6P+FwE+nTBCs+pvtE1mfqrP lqQ+r4xUhZlg6qM5bgdhbRZCJ88sh/nStwYwaHYrfX+Z9zskLRZJOvu7+EShCUNDfRHM QLlQuzpC05EGPqQOMHMrpBSKWaV9iw6eFcFL3N7+i3olWb+nrV8XreN5EL5synOYSSkI m9h65X1CQbpA6/3kUkRk8YDiccCSO9gZVuGAV60ysbiRIoBPUAX99lmYPpLU+wH6BVBN 6gQME7nlMoQy0ONODt0RN2WdBifYb1j71aTQbT8xKMc4sXFuRx3PB5ki93kWM3MO+3De IxRA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711590272; x=1712195072; h=message-id:references:cc:in-reply-to:date:subject:mime-version:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iVJWQx0SeARgnhsHsoosWR5dHKo23nnKIlAJ7aZUhPU=; b=QP6+y+9qpGETHL4XLLuCUIoie557A9vRrCusIZfN7luP5Cr9csO9nNnapx3W7eYpGC aj3FvL0ZpaQUCG8QZrcjTEbluFkrb+7zfoQhCcVliw+HIDbaRPzuLGiDq2EVO9Z/gzav a1OfwpxEKNS+uS8jzYlif/Zb3WUhD1wC6XD5KvZes7Gnr4FZaujzSOuKdCz9deppJq2r dVayv3fUbVTMxihQvBF0z9Ysh5/TDT5bQfcT4FqeYzsZSs3rdr8cOLL4LyA5Q+feZzYH DSUcl6tHC3iFjaLjxlmCQ5lZadIOr2eoUTPtfagN6XaYrlDLMY+FbSSDksveO8JcKRh0 3E3A==
X-Forwarded-Encrypted: i=1; AJvYcCVbN7rLrxuHPhC0RS0Zf11sz+juI1FvxkpCb/MTE6+1LJktpZwLy++xfIdRreJ6fTosiXnhkRH2UmEOWfoM
X-Gm-Message-State: AOJu0Yys92CSwG+cVQCp/rPERnD66aKfmR5+s/IA0L8Qa6tDoY/29ksn w4DLZbItVzM6fqxVhivR+drQ5ny3slB0kmBbOXa2JY3Kula6VhvZRqWpGb8yT1c=
X-Google-Smtp-Source: AGHT+IFjcNNGPnSSEQKVchNjIF9KF6H0mKFeRNhOlcLOxWuykBH/qC7GnUL0V5YAJV5GmVOGUouWzQ==
X-Received: by 2002:a17:903:1cc:b0:1e0:115c:e03c with SMTP id e12-20020a17090301cc00b001e0115ce03cmr1389924plh.53.1711590271700; Wed, 27 Mar 2024 18:44:31 -0700 (PDT)
Received: from smtpclient.apple (ip70-180-193-108.lv.lv.cox.net. [70.180.193.108]) by smtp.gmail.com with ESMTPSA id jy13-20020a17090342cd00b001e09c35e058sm202087plb.195.2024.03.27.18.44.30 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Mar 2024 18:44:31 -0700 (PDT)
From: Wolf McNally <wolf@wolfmcnally.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_49D82B39-FDFE-48BD-9934-44700618F945"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\))
Date: Wed, 27 Mar 2024 18:44:19 -0700
In-Reply-To: <437a375c-49e8-4406-a192-acb9a5e7bf31@gmail.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>, Anders Rundgren <anders.rundgren.net@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>
Message-Id: <9272C2ED-432D-4D6D-AB64-38976F9297D5@wolfmcnally.com>
X-Mailer: Apple Mail (2.3774.500.171.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/S_fewDWFyL5uODaHIsa4oXXqvOY>
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 01:44:36 -0000

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.

~ Wolf