[Cbor] Re: Tag for Number as String?

"David E. Wheeler" <david@justatheory.com> Mon, 12 May 2025 21:00 UTC

Return-Path: <david@justatheory.com>
X-Original-To: cbor@mail2.ietf.org
Delivered-To: cbor@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id B873C27BEFB5 for <cbor@mail2.ietf.org>; Mon, 12 May 2025 14:00:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.799
X-Spam-Level:
X-Spam-Status: No, score=-2.799 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_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=justatheory.com header.b="r95FQgPk"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="Jxnu9AZ/"
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RMeYjm4_DbzD for <cbor@mail2.ietf.org>; Mon, 12 May 2025 14:00:16 -0700 (PDT)
Received: from fout-a6-smtp.messagingengine.com (fout-a6-smtp.messagingengine.com [103.168.172.149]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 04B2127BEFAD for <cbor@ietf.org>; Mon, 12 May 2025 14:00:15 -0700 (PDT)
Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.phl.internal (Postfix) with ESMTP id 5CCDD13801D9; Mon, 12 May 2025 17:00:15 -0400 (EDT)
Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Mon, 12 May 2025 17:00:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=justatheory.com; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1747083615; x= 1747170015; bh=IJqRCjXkrVOEphgaBuaNql1N7KfJyMfNfQ2X2WSE5q0=; b=r 95FQgPk1y0AeZ+ts6gnFF2sGDQ11e0EFsR8dA8bg4Yb7pm7yxDowIuVETKm3GP1P efg/Shchv6TQjstvaXlNmGUDqgu3Ru1wAPnlgr7Vr+6lelEKlEj75il4CVCpLEvu OD+lVff2Xaqfm3pPX7kGE5diMpd8fHXSkG+xfQ7Jk8eMG/CYrKoQUuK62Ztjo8Ep 1ZgOuucYX0LOJmasLMcZ04hTMimHQ2iNcOEHAs0z05DlPmKs2wCwsFNC34zb3VRx RF/OpQu0LFGtLmoRARPiC5b2FsDDOazXeOZOL2oV1OKv/QhrWZdZe8oLQmeV4em9 ZbfKkGSTqe3p/Ljgm2zmQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1747083615; x=1747170015; bh=IJqRCjXkrVOEphgaBuaNql1N7KfJyMfNfQ2 X2WSE5q0=; b=Jxnu9AZ/vYl3Mq8vAigo4m/9FHazRrVmSFk414RxImSShuHnwAE 1EIOY+vPILIcqDpDOVzZctu+InFA4q7PlN8raV+m5rTc8GxK2LLtXVXIoGpkGwrY lwkyfZWTZ6eYBfll/aF//8W8aLDlOQS5fBeSqobHaavlhJZbI4qGteiP5DIQ/1MA IrxB1EdQYF9icSRk3EPn4pRmLt0eP+1YFiHey6ZwJGtDMYrxU2LgoCvLFvXZpNJb gB1MX7KjWCtEgC9PgnJem1YYUJ9fCtFlR65R1YmXnydNe0qOLFna0sRaQ4NoSjjM PvPVBoCY7CFBXDPwbEzs8ZfXC/3IJx5aP5w==
X-ME-Sender: <xms:X2EiaFmzcLsIDCCouRBPEu42kSLxtN4RKmkMqAzQp48tGSRJmmRU6w> <xme:X2EiaA1vINzjSDD9GrygMeS2wfWKhZzbKbxK_gcJ3d7n2f6v1IttZOxzJoIvEJNcz HHZ6M-SSzpnH8aDig>
X-ME-Received: <xmr:X2EiaLpO8Xrd_enCvsfsgpmGx-8bcs6OE0Xfzbj_EKN7Xb3fJMBfoh2ZhRZ3taNxiCDpXbBuWWaUAPPm1UdgaYM9ts1rN5FH2qxJRTYysYMA_hA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeftddvvdekucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurheptggguffhjgffvefkfhfvofesghdtmherhhdt jeenucfhrhhomhepfdffrghvihguucfgrdcuhghhvggvlhgvrhdfuceouggrvhhiugesjh hushhtrghthhgvohhrhidrtghomheqnecuggftrfgrthhtvghrnhephffhieeitdefkeev hfehtdfgieehgfffleetjeetkeeitdeugeejgeefffffkeeinecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepuggrvhhiugesjhhushhtrghthhgv ohhrhidrtghomhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtg hpthhtoheptggrsghosehtiihirdhorhhgpdhrtghpthhtoheptggsohhrsehivghtfhdr ohhrgh
X-ME-Proxy: <xmx:X2EiaFkN1UnO2Mz8_9TylXFvAFLozWWykXuRbWPUm3XHLIya5Se6PA> <xmx:X2EiaD1pBJL1m2Y-IZ4czWUiglF3vXJ5iM-Vk8frjyo0RdXDFG_XAQ> <xmx:X2EiaEs5kI3--gpU-Q9UnV3qAH-vjyArAZ4LLIqv_Cg-b5JU1PY0jA> <xmx:X2EiaHVYoyejggtQsf5jauY_AcFJlJFLgHBM78JPhacozq6-78E3Pg> <xmx:X2EiaEF6dFB6y3puiygq7wgVEztfQj6T9ilE82N5iPry0zpKjR66c3zl>
Feedback-ID: i7c334307:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 12 May 2025 17:00:14 -0400 (EDT)
Content-Type: multipart/signed; boundary="Apple-Mail=_94EC0B8D-F05E-45ED-8E7C-D9D8322BD227"; protocol="application/pgp-signature"; micalg="pgp-sha256"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.500.181.1.5\))
From: "David E. Wheeler" <david@justatheory.com>
In-Reply-To: <E3334C74-B21C-40EA-8090-74AA5C1DB67B@tzi.org>
Date: Mon, 12 May 2025 17:00:03 -0400
Message-Id: <7C667945-A60F-497C-8E7E-299F5ECB1D1E@justatheory.com>
References: <DF53B36D-D442-47EC-A75A-85430BF9A764@justatheory.com> <8D7052CB-E394-4C38-9EEB-A198005042FE@tzi.org> <CA7E9F9C-9165-45D4-929D-770F055834DE@justatheory.com> <FA0DC658-B4A4-4EA6-8594-FC30A1F055B2@justatheory.com> <BB653129-A988-48DF-8D8D-544484F38FF7@justatheory.com> <5E5FC34C-4F76-4F66-93E5-3A66DC631C54@justatheory.com> <D35AE048-CE0C-4D64-BD63-1E1DFCB54C14@tzi.org> <F5F8496F-FC8F-4666-9A5B-C66C8C4E0669@justatheory.com> <CE10A13E-611E-4467-BFB6-B04F70EC8F9D@tzi.org> <0AFBC0B5-F16C-4EA9-9B71-FD8B22293545@justatheory.com> <96BB2673-7A58-4236-BBD9-B4B98C0A65FE@tzi.org> <4F9A592D-F910-4F6D-885D-B9751899CFC0@justatheory.com> <B725425E-9EA8-4353-AFD6-4CEEBA8CE854@justatheory.com> <E3334C74-B21C-40EA-8090-74AA5C1DB67B@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.3826.500.181.1.5)
Message-ID-Hash: H5ELLUY5RB3LJMYYF3I5WO5WII6TDAYA
X-Message-ID-Hash: H5ELLUY5RB3LJMYYF3I5WO5WII6TDAYA
X-MailFrom: david@justatheory.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cbor.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: cbor@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Cbor] Re: Tag for Number as String?
List-Id: "Concise Binary Object Representation (CBOR)" <cbor.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/S36ZquPHoO2jCqTOlCkZfouvwrQ>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Owner: <mailto:cbor-owner@ietf.org>
List-Post: <mailto:cbor@ietf.org>
List-Subscribe: <mailto:cbor-join@ietf.org>
List-Unsubscribe: <mailto:cbor-leave@ietf.org>

On May 12, 2025, at 16:28, Carsten Bormann <cabo@tzi.org> wrote:

> Strikes me a bit as “trapdoor specification”:
> If you already know what it is, you think this is its specification…
> But yes, that is only mildly so; most people will figure it out.
> 
> The two last paragraphs of Section 6 of RFC 8259 are counterproductive here though.
> Some of the point of this tag is that you can put in numbers that are not limited to IEEE 754 binary64 range and precision.

Fair. I can cite the earlier session in a post with the details on my blog or in a Gist or something.

Best,

David