Re: [Cbor] Robert Wilton's Discuss on draft-ietf-cbor-time-tag-11: (with DISCUSS and COMMENT)
"lgl island-resort.com" <lgl@island-resort.com> Wed, 25 October 2023 19:03 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 4F67EC180DE9; Wed, 25 Oct 2023 12:03:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.907
X-Spam-Level:
X-Spam-Status: No, score=-6.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] 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 uOA8VxFWWvWC; Wed, 25 Oct 2023 12:03:02 -0700 (PDT)
Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2101.outbound.protection.outlook.com [40.107.244.101]) (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 74666C180DEF; Wed, 25 Oct 2023 12:01:23 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iXIGVtnNPGUndqDMT2wKUaS/MK+Hmb6DdtinkuFhKW1l/h32NCAYhuAiZYm6soCBE4hoZElpLJwslFobUF5qXJKXyOQ5xiKHGzmeKzHrs+epoqkGlv2CF1A92/At2dZ+cXnV57vUqZ6Jf9tdvcnj3uO7gsub5taDyqToaSj5mMJpEcmq4jyxQaMUZoaH2iIpTlhwXl+VqhQLoisPEgMsigXDKx42mVWfA0C+jfLx5fMf6KMymzRnaKyS9h8rMxdWMGjieXEpjSgsXT2/iIu12p3/x9yYVx2vpA0dqikaeUUQrpiwyBXlqVyCNQvqEpRqjKWg4Wj8oJ8oyX3uWgeulQ==
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=pXcSmu7jAbbv5CvJ2MRw+xmLP7LGKFI86y/mdCeU00c=; b=AdQ7imTEPsYuMx3rndx59Z1k82QtVIKN7Yn9wrGC/ZkerudH04S30p8Dksk2CULZ0umjnUt4/XxS7Q7B1w7yBVuAxWcbrhr8bnLisQavp8h1fzval6DXUQjvnnHNxj6Lt3WgUkELt5/fZuHDnlg7csYBmkfYhCv7a8Ons36yeoOZcpuWSTlplcPGzcmeXEFjuoq1HIFuem6huQC8w778WpsidziDQWMkCs+jxBx6SrUytzFC8igtv2tSyn3YNaq8AUqXuIBzr/LAOmwXMmN+4Hrw9bDh1U4Af/sqhyNqF1DLI37JwcETbtybdvQdhLvcH5bbqRND+KXOIMpN8tPyew==
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 CO6PR22MB2434.namprd22.prod.outlook.com (2603:10b6:303:a5::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.34; Wed, 25 Oct 2023 19:01:22 +0000
Received: from PH7PR22MB3092.namprd22.prod.outlook.com ([fe80::2904:18be:c7bd:252c]) by PH7PR22MB3092.namprd22.prod.outlook.com ([fe80::2904:18be:c7bd:252c%6]) with mapi id 15.20.6907.028; Wed, 25 Oct 2023 19:01:21 +0000
From: "lgl island-resort.com" <lgl@island-resort.com>
To: Robert Wilton <rwilton@cisco.com>
CC: The IESG <iesg@ietf.org>, "draft-ietf-cbor-time-tag@ietf.org" <draft-ietf-cbor-time-tag@ietf.org>, "cbor-chairs@ietf.org" <cbor-chairs@ietf.org>, "cbor@ietf.org" <cbor@ietf.org>, Barry Leiba <barryleiba@computer.org>
Thread-Topic: [Cbor] Robert Wilton's Discuss on draft-ietf-cbor-time-tag-11: (with DISCUSS and COMMENT)
Thread-Index: AQHaBy5+8yLoQG1DI0+NS6PhBGh72rBa3N4A
Date: Wed, 25 Oct 2023 19:01:21 +0000
Message-ID: <8F14C1EC-2356-4FEA-B7DE-DBEBC0CB3A2D@island-resort.com>
References: <169822991734.25025.2578479462883686140@ietfa.amsl.com>
In-Reply-To: <169822991734.25025.2578479462883686140@ietfa.amsl.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_|CO6PR22MB2434:EE_
x-ms-office365-filtering-correlation-id: 292b5c58-ba80-4dcc-0da8-08dbd58cc74a
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: +hOE01+oE/7vg9W00YmXTWWbYrap+Zk6N943eyUQh3824v6njIm3DvDK/42t0it7Vlc5mm7HFhHafWr+NOz2VtXdZYDRBBArLvi/R7YHRRuef951yhzz0bGDosvkDfwFOy0mLscaiGXOYL6joJBJ7s/lyndC9kb1WRpKUbrfsRhAb2HnA/lYa1FA+he4c025aFmH88KQnxQl304o9QdRwTbk2vpwITskU8Ng4+34NxqTGYSXb0J6EE2Ke4poUYphApWTS+ZBNWNWF3JK9rhdeqnAuAqpKFcZIJ0G0DteYa9KP1+5Z7phqmcVrgTuQCGasTm1YrqFBoaYo4gsj0sA55v0GDFmNs6aOS35VFsAh+8R6TjYGgl5D9e+kcKsSIhaW6CeaTlsUzYnL94SKTb4A/nKCW/t590sRpx8nLKOKb8NIX+CC88WrIN/u+ZeKQAHHoQYR36cDx01ziegTSwUjXhNXQxWGm8ir80blUsgzCjT9vGy9DkRKYHiYEL6XaxcDUbF1Ew63BbOzrdZF/8AkqO4MHsqRduOb3cwLoZb5zII5dkuRFV88K+euHh5yJTBCWdPI4XaJdaRofz1k2SiimV3bFXg2gzrqRkHNobS11RCCTR/33FOamH2RUl/5xd8vrOL6a7pOKVAKEWSK0a7hBX3W056mUJ8NOyFCrjAM1w=
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)(376002)(136003)(39830400003)(396003)(346002)(366004)(230922051799003)(451199024)(64100799003)(1800799009)(186009)(5660300002)(41300700001)(86362001)(122000001)(166002)(33656002)(36756003)(2906002)(38100700002)(6916009)(71200400001)(6506007)(26005)(66446008)(38070700009)(6486002)(966005)(2616005)(6512007)(54906003)(316002)(64756008)(53546011)(76116006)(8936002)(478600001)(8676002)(4326008)(83380400001)(66946007)(66476007)(66556008)(45980500001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: You7hYfH+ci98uhzn6kxcouYOSaGWpYzlEbIJSmuU5nECvuqTprMKibC7G9lK8WxPwGvzxpszT592UOXDC+MxYHjZAhhO8PQL9+O7aNdgtCk0HyGItRGlOLBn1sklxTwDu4zra2DO7pcMuumU/Yiz2aGpfGfOhc9d5v3aprtQR7xcp9MKgNBSuV+VYMr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wEQLA3TTCK/HoXCIcgkQhD65HiGOT5fegLCrunmaOXKu4QnivrkY1RXkW8JdgF+7kU73K1jB3POe9eO0DMVjJY3VgB5oB+JxI5qCpyqr5YK5S6vsv0X1sNegKpdIqB7LFsE47gUCCWPTcPR2zCg+4HpYU/WLIJz4yjsT1JkCpeLEPLy8TL0paPjCpG7wZ/w5MbOEmrfWqhJYv7Zm3niA6z2AHg05tCP0iAyuRVSFYxu/xPEnPB61UHO7W3VntLBpi0MER6XzBjyTjKiKflHQsZHa9qk0JmGFAke261IkPEV4LSbbb9g2BF+Nk4aYnRSPTgXIglTibTAPqOrSFUu7hnthQ==
Content-Type: multipart/alternative; boundary="_000_8F14C1EC23564FEAB7DEDBEBC0CB3A2Dislandresortcom_"
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: 292b5c58-ba80-4dcc-0da8-08dbd58cc74a
X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2023 19:01:21.8546 (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: JIE84eY3z9LkXrn4yjW5xEt2E85isjZsWtAhfZlOJZuv0IAI3WcmhzP4NXAYXJAAWx0iMD8BHkv4NRnZlzXKag==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR22MB2434
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/6hL3smLJF9Cim25zdy8i3bCf0T0>
Subject: Re: [Cbor] Robert Wilton's Discuss on draft-ietf-cbor-time-tag-11: (with DISCUSS and COMMENT)
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, 25 Oct 2023 19:03:06 -0000
+1 Tag number 1 seems useful for just much human activity to me. For example time stamps files, messages, documents, log entries and such. I think it would be useful to say this and to say that this time format is for special use cases like scientific measurements. It can be stated tersely in the abstract and with a little more detail in the intro. I’m kind of a fan of the most direct statements in the abstract. Something like: This defines an alternate CBOR time tag that provides higher resolution and range that CBOR time tag number 1 for special use cases (CBOR tag number 1 remains useful and recommended for most time use cases). (Anyone reading this will know what CBOR and its design goals are so they don’t need to be restated in the abstract) Also, here’s a time tag implementation FAQ I wrote some time ago: https://github.com/laurencelundblade/QCBOR/blob/master/doc/TimeTag1FAQ.md Maybe this level of detail is not necessary in standards docs, but I think it is helpful for the average IT person that just squeaked through their college degree to figure out what to do. LL On Oct 25, 2023, at 3:31 AM, Robert Wilton via Datatracker <noreply@ietf.org> wrote: Robert Wilton has entered the following ballot position for draft-ietf-cbor-time-tag-11: Discuss When responding, please keep the subject line intact and reply to all email addresses included in the To and CC lines. (Feel free to cut this introductory paragraph, however.) Please refer to https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/ for more information about how to handle DISCUSS and COMMENT positions. The document, along with other ballot positions, can be found here: https://datatracker.ietf.org/doc/draft-ietf-cbor-time-tag/ ---------------------------------------------------------------------- DISCUSS: ---------------------------------------------------------------------- Hi, Thanks for this document, I have a few "discuss" level comments: Moderate level comments: (1) p 0, sec The Concise Binary Object Representation (CBOR, RFC 8949) is a data format whose design goals include the possibility of extremely small code size, fairly small message size, and extensibility without the need for version negotiation. My main concern here is the risk that introducing these new time encodings could end reducing interoperability. My initial reading is that these new types are more flexible, contain more information, and hence require more code to parse and understand than say the tag 1 type, and hence may not be so widely understood and used by implementations. Hence, please can the authors consider whether there should be a recommendation to use time type 1 in preference, and only use the extended time types where required? Or conversely, encourage everyone to move to a particular variant of the new extended time type. (2) Related to my previous comment, I have a question about normalization or canonicalization. The new extended time type allows the same time to be represented in multiple different ways (e.g., int, binary float, decimal float, split secs + fraction). Does any guidance need to be given if canonicalization is required? (3) p 12, sec 4. Duration Format Semantically, they do not measure the time elapsed from a given epoch, but from the start to the end of (an otherwise unspecified) interval of time. Are any of the fields defined in etime-detailed not appropriate for a duration, and if so should they be listed and what should a receiver do if they receive them? Or is the only rational choice here that is has to be down to the application to decide how to handle this case? Either way, is any additional text needed here? ---------------------------------------------------------------------- COMMENT: ---------------------------------------------------------------------- Minor level comments: (4) p 13, sec 5. Period Format Period = #6.1003([ start: ~Etime / null end: ~Etime / null ? duration: ~Duration / null ]) If the third array element is not given, the duration element is null. Exactly two out of the three elements must be non-null, this can be somewhat verbosely expressed in CDDL as: I found it harder (but not impossible) to understanding the intended encoding here. Also, rather than allowing duration to be null, or missing (i.e., len 2 array), would it better to choose just one of these encodings, or otherwise do you need to consider canonicalization of start/end periods? Perhaps splitting this into two paragraphs would be easier to read/explain. E.g., A period can be represented by a start and end time, in which case it is represented as an array of two elements. Alternatively, a period can be represented as a start time with duration or an end time with duration. This is represented as an array of 3 elements where either the start or end time MUST be set to null. Regards, Rob _______________________________________________ CBOR mailing list CBOR@ietf.org https://www.ietf.org/mailman/listinfo/cbor
- [Cbor] Robert Wilton's Discuss on draft-ietf-cbor… Robert Wilton via Datatracker
- Re: [Cbor] Robert Wilton's Discuss on draft-ietf-… lgl island-resort.com
- Re: [Cbor] Robert Wilton's Discuss on draft-ietf-… Carsten Bormann
- Re: [Cbor] Robert Wilton's Discuss on draft-ietf-… lgl island-resort.com
- Re: [Cbor] Robert Wilton's Discuss on draft-ietf-… Carsten Bormann
- Re: [Cbor] Robert Wilton's Discuss on draft-ietf-… Rob Wilton (rwilton)