Re: [calsify] New Timestamp Draft

Eliot Lear <lear@cisco.com> Mon, 25 January 2021 10:36 UTC

Return-Path: <lear@cisco.com>
X-Original-To: calsify@ietfa.amsl.com
Delivered-To: calsify@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 995393A0E63 for <calsify@ietfa.amsl.com>; Mon, 25 Jan 2021 02:36:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.701
X-Spam-Level:
X-Spam-Status: No, score=-7.701 tagged_above=-999 required=5 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IojOolT47i5R for <calsify@ietfa.amsl.com>; Mon, 25 Jan 2021 02:36:30 -0800 (PST)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 783A33A0E62 for <calsify@ietf.org>; Mon, 25 Jan 2021 02:36:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4275; q=dns/txt; s=iport; t=1611570990; x=1612780590; h=from:message-id:mime-version:subject:date:in-reply-to:cc: to:references; bh=ou25TfPqnvXGERxGTrWhkS9wtn65FehENoqYgexsPBQ=; b=gop4okEEfysnCsaTEqraT+wHwW/RRSh9FJ+R+Wu8fyO204BVrNga/qeh O6IbFTNkqzjEJXX/v0iGzqc2hYmECyhtp3MvSSc5LeIiXw/q22pF6EbLW 0wQhfBpXuvhIsLGck5hd8zEj2MOmkxQ6yP7Ax4arIqOHhKx6MmTb/BTf3 w=;
X-Files: signature.asc : 488
X-IPAS-Result: A0D0AgDMnQ5gjBbLJq1iHAEBAQEBAQcBARIBAQQEAQGCD4N4ASASL4RAiQSILyUDnEEEBwEBAQoDAQEvBAEBhEoCgXkmOBMCAwEBAQMCAwEBAQEFAQEBAgEGBBQBAQEBhkaFcwEBAQMBI0gOBQsLDgoqAgJXBhMUgxIBgmYgsWd2gTKFWYRoEIE4gVOLa0GCAIERJwwQglY+gl0EhHY0giwEgVUFC4EdKigKEYErKBlBVZt3nDKDAYMpgTeXDwMfglCaOIVwsSIEXoNwAgQGBQIWgW0hgVkzGggbFWUBgj4+EhkNji0OCY4nQAMwAjUCBgEJAQEDCYwVAQE
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.79,373,1602547200"; d="asc'?scan'208";a="32921630"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 25 Jan 2021 10:36:26 +0000
Received: from dhcp-10-61-106-207.cisco.com (dhcp-10-61-106-207.cisco.com [10.61.106.207]) by aer-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id 10PAaO1D016086 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 25 Jan 2021 10:36:25 GMT
From: Eliot Lear <lear@cisco.com>
Message-Id: <F2E74752-8499-4B1E-BAA5-EAF65216F8D1@cisco.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_C648C3D8-3CB3-4C49-B7C1-A13352CF63BA"; protocol="application/pgp-signature"; micalg="pgp-sha256"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\))
Date: Mon, 25 Jan 2021 11:36:23 +0100
In-Reply-To: <CABxsp=mX3h9nfPX7y2m-zNqDqgF8G3Pm9n0XerdcdBOAnAk2Lg@mail.gmail.com>
Cc: Ned Freed <ned.freed@mrochek.com>, calsify@ietf.org
To: Shane Carr <sffc@google.com>
References: <5927c3a3-9539-553d-598a-18d8bdadb244@igalia.com> <c9a1caed-829a-2339-21c1-5f0970110863@igalia.com> <01RUQ0ZW4L3U005PTU@mauve.mrochek.com> <d17b75e7-9720-6bd3-dd23-349e8ceac4a3@gmail.com> <01RUQ4K8M1RQ005PTU@mauve.mrochek.com> <34839106-de11-41fe-96d6-33f95c30524d@dogfood.fastmail.com> <01RUQJ104Y3C005PTU@mauve.mrochek.com> <01RUQVLVFX6K005PTU@mauve.mrochek.com> <8f821d46-6cbd-4a11-8098-1d9bb3ac28e7@beta.fastmail.com> <3288fdaf-28a9-45a9-bf50-c9de9e2c3486@dogfood.fastmail.com> <01RURPK5VO1U005PTU@mauve.mrochek.com> <CABxsp=mX3h9nfPX7y2m-zNqDqgF8G3Pm9n0XerdcdBOAnAk2Lg@mail.gmail.com>
X-Mailer: Apple Mail (2.3654.40.0.2.32)
X-Outbound-SMTP-Client: 10.61.106.207, dhcp-10-61-106-207.cisco.com
X-Outbound-Node: aer-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/4qQg2HBWS829eB4TifMravGKwoY>
Subject: Re: [calsify] New Timestamp Draft
X-BeenThere: calsify@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <calsify.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/calsify>, <mailto:calsify-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/calsify/>
List-Post: <mailto:calsify@ietf.org>
List-Help: <mailto:calsify-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/calsify>, <mailto:calsify-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jan 2021 10:36:33 -0000

Hi Shane,


> On 25 Jan 2021, at 09:01, Shane Carr <sffc=40google.com@dmarc.ietf.org> wrote:
> 
> A few things:
> 
> - 3339 and 8601-1 are good as a timestamp format.  The extension Ujjwal proposed generalizes those formats based on the demonstrated needs of the ecosystem when dealing with "human dates" as opposed to "computer dates".  It's an interesting observation that timestamps (e.g. log files) are typically used for contemporary events, so the extended 6-digit year format may not really be necessary.  Therefore, I think it would be a reasonable option to keep 3339 unmodified and alive as the timestamp format, and consider the new proposal to be a peer.

Yes, though I really have no problem now obsoleting 2 digit dates, and giving advice for applications to warn of their use (for instance).

> 
> - I see a thread with Eliot Lear, but I don't see where the pros and cons of a combined RFC versus separate RFCs are discussed.  (But this is moot if we were to decide to keep RFC 3339 alive in its current state.)

I only have cons, but see below.

> 
> - The key question solved by this RFC is the data model.  What Ujjwal is proposing is to use a timestamp paired with information about the time zone and calendar system.  Once we agree on the data model (I do), then we can talk about how to package the data.

Yes.  When considering this, let’s be sure that we have live use cases that are important for at least one community to address.  Oddly I don’t think that’s the TZ community, because much of what is being offered is already in iCal.  That being said, there are people more expert here than me, and I am quite happy to be proved wrong.


> Could we use JSON?  Sure, but we still need to specify the structure of the JSON and what form the keys/values can take.  Ujjwal is proposing a string syntax with bracketed annotations because (a) it is already used in the wild, and (b) compared with JSON, strings are more compact [no keys], more compatible [byte array rather than struct/map], and easier to deal with [no need to format/stringify].  I hope not to get into a debate on point (b), but if there are people here who believe that we should stop defining new string syntaxes and instead let JSON (ECMA-404) rule all, then we may need to engage on that topic.

The nice thing about defining the data model is that you can serialize it however you like, and there certainly needn’t be only one way.  This having been said, my only suggestion here is that you start in a way that leverages toolsets that are commonly used for at least the applications that are envisioned.  The nice thing about JSON and XML is that you can’t shake a stick without hitting such a thing (though if you have to lift the XML results, be sure to bend your knees so as not to break your back ;-).  FWIW YANG can help, and I would encourage its use as a description language, even if you have others, simply so that the work can be adopted more broadly by the O&M community.  YANG isn’t very popular with apps people, but what we’re talking about here is so small that maybe one could skate by.

Eliot