Re: [Cbor] Implementing float->int numeric reduction
"lgl island-resort.com" <lgl@island-resort.com> Wed, 16 August 2023 23:13 UTC
Return-Path: <lgl@island-resort.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 C768DC151548 for <cbor@ietfa.amsl.com>; Wed, 16 Aug 2023 16:13:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
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 UKDAJOF0khGE for <cbor@ietfa.amsl.com>; Wed, 16 Aug 2023 16:13:02 -0700 (PDT)
Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2138.outbound.protection.outlook.com [40.107.244.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 67584C15108A for <cbor@ietf.org>; Wed, 16 Aug 2023 16:13:02 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jawiLCKUg2OKcLKh9IIJu/1RSZ8k1kZsUotXTjgCa04VJ7jLHv7E/uTdh09WCaoGM3cigWXk5WdH25cGDkSOKxMXta/nl2TuNAZRELjkmsWQngcQmyC/1VFpyGrvaJmYx9WrbXuuHbfDQl+f0v9VQe09r+7cy0r8cUalhP2crLzG8s5tRGyH9GsrSrAPw7KoetmNloyb/4Hk1MNcfrcEpK4zYbzc84lihihsZPBnJQJIiU7zFgESQrDhToi690kDwHzU6tgdXHWzEqW0h2AUGaMIeh14xQxoy/NKfjEK9+iVE/iYAX7fGrJROrgdHSWB2N8wXPzrgDwSRpZEg5Zeag==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2S0YyEs2GIKgzWYJfNM18k8cepDLX0oaOtexuyOwdhI=; b=K5r24oGYkHlVukQP8qk1GmStnramwcmirO2kVdLV5VOGjgWMKC3CvKZCNzEwiAXdrqimM9DZqDbuPvbFTWL9iyBDL5XwrslT+z+QbIcBdBFYhbkoyfo+3l9pt1RVv2e9IH2S8y2R/O7epb2Si+GCp9kYX2dUXTEJaXY3402aVpyDAMbNKvKz43NlxCNELmMkzgOJg4E08vknFIC/0/Fa+uvAjvYMECUc6USoDU+zEg6DmyQj3Dj7M4JqFJleAm+BcTaYsMdwNpEhxZMwYeEHUEnV9HR8uZMtdYwzlbXy2ZmAoUIVDwfaVWiG8pwkvv/9axxU5jFbpW1K0P8mcmfsuQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=island-resort.com; dmarc=pass action=none header.from=island-resort.com; dkim=pass header.d=island-resort.com; arc=none
Received: from PH7PR22MB3092.namprd22.prod.outlook.com (2603:10b6:510:13b::8) by PH0PR22MB2502.namprd22.prod.outlook.com (2603:10b6:510:51::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.29; Wed, 16 Aug 2023 23:12:58 +0000
Received: from PH7PR22MB3092.namprd22.prod.outlook.com ([fe80::f317:e4d1:7e1e:3934]) by PH7PR22MB3092.namprd22.prod.outlook.com ([fe80::f317:e4d1:7e1e:3934%3]) with mapi id 15.20.6652.029; Wed, 16 Aug 2023 23:12:58 +0000
From: "lgl island-resort.com" <lgl@island-resort.com>
To: Wolf McNally <wolf@wolfmcnally.com>
CC: Anders Rundgren <anders.rundgren.net@gmail.com>, "cbor@ietf.org" <cbor@ietf.org>, Shannon Appelcline <shannon.appelcline@gmail.com>, Christopher Allen <ChristopherA@lifewithalacrity.com>
Thread-Topic: [Cbor] Implementing float->int numeric reduction
Thread-Index: AQHZz59UvtB7Lwv8pEW/lbdrfV/KOK/rqMSAgAANj4CAACioAIABYt0AgAAdhgCAABV3AIAAC0SAgAAPCoA=
Date: Wed, 16 Aug 2023 23:12:58 +0000
Message-ID: <7F396D3A-6411-44FA-B642-DAF6FF1F0742@island-resort.com>
References: <1dfd7368-a9bb-6b2e-b459-a618e8e23b49@gmail.com> <32917020-93C0-440F-AF51-C64AE57FCAAE@wolfmcnally.com>
In-Reply-To: <32917020-93C0-440F-AF51-C64AE57FCAAE@wolfmcnally.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=island-resort.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PH7PR22MB3092:EE_|PH0PR22MB2502:EE_
x-ms-office365-filtering-correlation-id: ea3e0576-3b0c-4dbc-6c08-08db9eae5480
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: aiJTuZ+M0EMTcnU+39hkFboXHrWjoM0rTZZxgaONxwlK1/jYQePVJiBs2aam0ruhSpRGcSryMNGKqc43uEQMdtEpWGHxo9TfRsBjIq9StthQ+fLe4Q7cqgAGTiwcIGmKaOHSfbbjIGboz3fr+O8PFkGhHKqcVxu8yfVXbBwivEuFvk1rvZk7zxaf912L1QkGVAI0K3Y89pngNMET+v5Gi1nFJvZGqv6nT1PCgjjliVa6AQWl9SV1OoLPXJm9DPnojEtYFwJMefBEaYhp+k3fsQ3Ob/LA5SM1dNY1wGFiLY/qCLag2OdYSeGyIijrU9bTZ05s3sSJmi1Yjr5IkaarQVh1v38zX5bt+44C1XTcJnqcwhfsoi4k8BeDLtMolbHkCS5F5ZBkU5PuJaWrAkb27x/s5dS8uHunqesfJoWyGZoO4FTP1WeHMNeen9azOJHezt8HqliakS3OiRm3ZqrhE7nRzq+3LUnJ5BSl+wTXPAGoOwPqFqGG/CPWziA66RsyKXUxq5sip6JXPrLVw3wFsx03FVw3V8m5mFwbmXjcIGuvKB2RefYtV5tyxK/Cn374MR/qONVHBGAvA4C/41ZordONb+kcA/liuJ/j9x2QYWRsRJoD66gNxduJsfnNy3l9jm1dKdmNy/OCZLpobuevXg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR22MB3092.namprd22.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39830400003)(396003)(136003)(346002)(366004)(376002)(451199024)(1800799009)(186009)(316002)(54906003)(6916009)(91956017)(66556008)(66946007)(66476007)(76116006)(64756008)(66446008)(122000001)(5660300002)(41300700001)(38100700002)(38070700005)(8676002)(4326008)(8936002)(2906002)(26005)(478600001)(86362001)(53546011)(6512007)(33656002)(36756003)(6506007)(71200400001)(6486002)(2616005)(45980500001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: WRX3q01SLMUfRcMC2X0DyiKNpy/H+9O2OW5sQLTlbzzbFQMFfyulx3rVO1JSzQKHZcwgKDMr7Z2Pyo+c4qbx4zQKmz+2ykd5LPx93q46LFmE0lwzDJ3JRbHB+hVw+T6i/8ZmONEd1Jb7ZLXCcYvSKfcczyi8VQDgSZ2KjEcq+ZbYnkxAsVe2QpMraiXJoQhlOILNDfr7mdsFJLGDlAqTJp460wrZf0gCJcSs/H6j8+kGtopZifHzKR49RPCSjvf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VaUvBe6uyh+5ETYKRWQKWtnNpQqUzPQBJDdlbVQyR1INkRjgZ1w+TqYdF02oQup46yiXgRK5HqJ/Er1iO2GfWFNe4/ndFgAICZwqDpqPjz7wRT0rosEBoNAkDIALoXA/k0AUUyFPpPDyLF5GT2WWpuCsWIVEmqL1JCCSEJUp3oPSk3emNPXT1al/v6Yeb4+O0NkJRk379SiejiLc/EA7JoE+G1WzF/ZoWz9GBywwe1hrxT86eTa6YRPfGtBf7n/guqCRhuUMt1KTXSjyHBU7l3rV8enT81AIw==
Content-Type: text/plain; charset="utf-8"
Content-ID: <DC798ED0417F41468FCF62930DA5E311@namprd22.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: island-resort.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH7PR22MB3092.namprd22.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ea3e0576-3b0c-4dbc-6c08-08db9eae5480
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Aug 2023 23:12:58.1834 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: ad4b5b91-a549-4435-8c42-a30bf94d14a8
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: AdQfBJSzOtWcRSdTuM5bx4C7IAXFEIStukaVeNL6PkZaOTkigwrQ7y8QytDzqi3X7Cgi/sB5QzRD70MOr1/Ysg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR22MB2502
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/LvmrkCAuaKBvJq7JsTUt-ED2rQ0>
Subject: Re: [Cbor] Implementing float->int numeric reduction
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: Wed, 16 Aug 2023 23:13:06 -0000
> On Aug 16, 2023, at 3:19 PM, Wolf McNally <wolf@wolfmcnally.com> wrote: > > Anders, > >> On Aug 16, 2023, at 2:38 PM, Anders Rundgren <anders.rundgren.net@gmail.com> wrote: >> >> On 2023-08-16 22:21, Wolf McNally wrote: >>> LL, >>> I absolutely agree with your approach, and I appreciate the rigor you’re bringing to the conversation. This is exemplary of the sort of support we’d hoped to receive from the community. Thank you. >> >> Wolf and Laurence, >> >> Pardon me for not joining the choir. Multiple deterministic encoding schemes will likely only confuse developers and the market. >> >> That is, this may very well *reduce* the CBOR "Value Proposition". > > I think you’re making a valid point. Should the community wish to go with a single official deterministic encoding scheme for something like a CBOR 2025 version, I’d be happy to nominate dCBOR for that. When I think if the millions of coders that will put CBOR to use :-), most will not really have any time or patience for the details we are debating now. Their supervisors want work done quickly. So, yes, I think we should be aiming for one official deterministic encoding standard. I think that will serve CBOR adoption best. It will probably be a compromise for some of us. Won’t be possible for everyone to get what they want. dCBOR is pretty much what I’d pick. I would call it dCBOR, not CBOR 2025 though. It is an option for people that need determinism. Determinism is only for a minority of use cases. For example, the payload of a COSE_Sign does not require determinism. I also think we should expect people to specify/require determinism in a lot of places where it is not needed out of FUD, but that’s OK. I don’t think the numeric reduction of float->int is very costly or burdensome to implement widely. I think it nicely extends the usefulness of a single deterministic standard. LL
- [Cbor] Implementing float->int numeric reduction lgl island-resort.com
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… lgl island-resort.com
- Re: [Cbor] Implementing float->int numeric reduct… Carsten Bormann
- Re: [Cbor] Implementing float->int numeric reduct… Carsten Bormann
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Wolf McNally
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Wolf McNally
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Wolf McNally
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Carsten Bormann
- Re: [Cbor] Implementing float->int numeric reduct… Wolf McNally
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Carsten Bormann
- Re: [Cbor] Implementing float->int numeric reduct… Carsten Bormann
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Carsten Bormann
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Carsten Bormann
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Carsten Bormann
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Carsten Bormann
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Carsten Bormann
- Re: [Cbor] Implementing float->int numeric reduct… lgl island-resort.com
- Re: [Cbor] Implementing float->int numeric reduct… Wolf McNally
- Re: [Cbor] Implementing float->int numeric reduct… Wolf McNally
- Re: [Cbor] Implementing float->int numeric reduct… lgl island-resort.com
- Re: [Cbor] Implementing float->int numeric reduct… Wolf McNally
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Carsten Bormann
- [Cbor] The three horses (Re: Implementing float->… Carsten Bormann
- Re: [Cbor] The three horses (Re: Implementing flo… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Wolf McNally
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Wolf McNally
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Carsten Bormann
- [Cbor] bignums, 65-bit integer. Re: Implementing … Anders Rundgren
- Re: [Cbor] bignums, 65-bit integer. Re: Implement… Wolf McNally
- Re: [Cbor] bignums, 65-bit integer. Re: Implement… Anders Rundgren
- Re: [Cbor] bignums, 65-bit integer. Re: Implement… Wolf McNally
- Re: [Cbor] bignums, 65-bit integer. Re: Implement… Anders Rundgren
- Re: [Cbor] bignums, 65-bit integer. Re: Implement… Anders Rundgren
- Re: [Cbor] bignums, 65-bit integer. Re: Implement… Carsten Bormann
- Re: [Cbor] bignums, 65-bit integer. Re: Implement… Anders Rundgren
- Re: [Cbor] The three horses (Re: Implementing flo… Joe Hildebrand
- Re: [Cbor] bignums, 65-bit integer. Re: Implement… Carsten Bormann
- Re: [Cbor] bignums, 65-bit integer. Re: Implement… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Thiago Macieira
- Re: [Cbor] bignums, 65-bit integer. Re: Implement… Carsten Bormann
- Re: [Cbor] bignums, 65-bit integer. Re: Implement… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Carsten Bormann
- Re: [Cbor] The three horses (Re: Implementing flo… Anders Rundgren
- Re: [Cbor] bignums, 65-bit integer. Re: Implement… Carsten Bormann
- Re: [Cbor] Implementing float->int numeric reduct… Thiago Macieira
- Re: [Cbor] Implementing float->int numeric reduct… lgl island-resort.com
- Re: [Cbor] Implementing float->int numeric reduct… Wolf McNally
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… Wolf McNally
- Re: [Cbor] Implementing float->int numeric reduct… Anders Rundgren
- Re: [Cbor] Implementing float->int numeric reduct… lgl island-resort.com
- Re: [Cbor] Implementing float->int numeric reduct… Thiago Macieira