Re: [calsify] Fwd: New Timestamp Draft

Ned Freed <ned.freed@mrochek.com> Sun, 24 January 2021 08:04 UTC

Return-Path: <ned.freed@mrochek.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 0C4513A1056 for <calsify@ietfa.amsl.com>; Sun, 24 Jan 2021 00:04:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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_BLOCKED=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mrochek.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 m0wabrvvMcX3 for <calsify@ietfa.amsl.com>; Sun, 24 Jan 2021 00:04:04 -0800 (PST)
Received: from mauve.mrochek.com (mauve.mrochek.com [98.153.82.211]) (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 64F9D3A1053 for <calsify@ietf.org>; Sun, 24 Jan 2021 00:04:04 -0800 (PST)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01RUQJ13KN4000DV80@mauve.mrochek.com> for calsify@ietf.org; Sat, 23 Jan 2021 23:58:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mrochek.com; s=201712; t=1611475139; bh=93H4vQ/2s3xWkNnGQffyDT0kGz2Q3UV7ScQKWtDfR9k=; h=Cc:Date:From:Subject:In-reply-to:References:To:From; b=FVlf6kf7bqg4CtFZomZPsYKoIy3QSKAN5N0+4ZVabob5EXonjYqtuAZUfinHJ+RoB 1kPVDwoswVbjnvdGRCQ3M5StSHXQgatT5q8Ots1K9foKK8uC2xgSt3DZ19qhQySx/D SImJkN1Y4eVAOcjKUu23eASdPJVymz0IqeGS633g=
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: TEXT/PLAIN; CHARSET="us-ascii"
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01RUAOXM63XS005PTU@mauve.mrochek.com>; Sat, 23 Jan 2021 23:58:55 -0800 (PST)
Cc: calsify@ietf.org, Ned Freed <ned.freed@mrochek.com>, Ujjwal Sharma <ryzokuken@igalia.com>
Message-id: <01RUQJ104Y3C005PTU@mauve.mrochek.com>
Date: Sat, 23 Jan 2021 23:32:57 -0800
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Sun, 24 Jan 2021 14:23:57 +1100" <34839106-de11-41fe-96d6-33f95c30524d@dogfood.fastmail.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>
To: Bron Gondwana <brong@fastmailteam.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/LbF_c9mppPEWzmR2Vg8hQrcexvw>
Subject: Re: [calsify] Fwd: 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: Sun, 24 Jan 2021 08:04:06 -0000

> Ned,

> Would your concern here be resolved by having this draft define a "point in
> time" profile which was RFC3339 minus the 2-digit-year option, and a "full
> date" profile which includes all the rest of the details - such that logging
> software could be defined to use the "point in time" profile.

Maybe. I don't have any objection to deprecating features of RFC 3339 that
experience has shown we don't want or need.

However, I don't think you've really made the case that the full date stuff is
best addressed by packing all kinds of stuff in a single field value. It's not
like JSON, XML, and so on have no mechanism for specifying a group of related
values. As such, I question the need to define an additional syntax to do this,
one that's considerably less flexible.

There's also the issue of what constraints are applied to the additional stuff.
The obvious one is that it MUST NOT be allowed to move the point in time
of the timestamp around - I don't see this stated anywhere.

> I'm really keen for there to be an RFC which can be referenced by both new
> calendaring drafts and by other IETF documents, which is developed by this
> group of people who are already involved in both the ISO work (via Ronald and
> CalConnect) and the ECMA standardisation effort.

> Generality has real costs, but so does excess simplicity - if there's not a
> standard way to describe things that people really need, then they all develop
> their own extensions.

Actualy, it's this draft that engages in excess simplicity - the simplicity,
for example, of assuming that it never makes sense to associate more than
one set of time zone rules with a timestamp.

And there's no missing standard here. We have no shortage of standardized
grouping syntaxes.

> This effort is to capture the extensions that have been needed in the real
> world already, and standardise them to encourage everyone to extend the same
> way!

I'm a very long way from being convinced of this.

				Ned

> Cheers,

> Bron.

> On Sun, Jan 24, 2021, at 11:00, Ned Freed wrote:
> >
> > > On 1/23/21 18:17, Ned Freed wrote:
> > > > Generality has real costs. To name the obvious example, I don't want to
> > > > *ever* see a timezone rule in a log file timestamp, or a field in an
> > > > email message.
> >
> > > I have had a number of conversations with people tasked with auditing
> > > log records bemoaning the lack of a timezone id in logs. Without the id
> > > how do we know how an offset or UTC date was calculated?
> >
> > The purpose of a time value in the sorts of logs I'm talking about is to
> > accurately describe the moment in time when something happened. Nothing more,
> > nothing less. The RFC 3339/ISO 8601 format gives you this along with the
> > ability to specify the value as an offset from GMT.
> >
> > If you really want more information along the lines of what this draft
> > provides, like what timezone rules were in effect somewhere or what calendar it
> > should be "projected to" (to use the draft's terminology), then by all
> > means include that in a separate field in the log.
> >
> > With computers increasingly going back to being shared resources in some random
> > data center some place other than anyone involved in generating the log entry,
> > figuring out the right "somewhere" is a highly nontrivial problem. This
> > is  true even for time zone offsets, and the further you go the harder it gets.
> > (Of course this doesn't stop people from using offsets in their logs even when
> > they have nothing to do with anything other than the location of some random
> > piece of hardware.)
> >
> > And of course there can be multiple somewheres, which means these values need
> > to have additional semantics attached in order to be interpreted properly.
> >
> > All of which argues strongly for not combining what are in fact separate
> > pieces of information.
> >
> > Given all this, my advice to your auditor pals is, "Be careful what you wish
> > for, because you're likely to end up with useless garbage."
> >
> > There's also very strong trend in the logging world to try and avoid complex
> > field values because they hugely complicate aggregation, searching and sorting
> > operations. In this world the use of RFC 3339 may be profiled to GMT only, or
> > replaced entirely by a UNIX epoch or milliepoch values.
> >
> > > it's simply an offset showing what's considered to be local time.
> >
> > ? Offsets are a standard part of ISO 8601/RFC 3339.
> >
> > > Accurately recording the date/time that an event occurred is as
> > > important for logging as it is for future events.
> >
> > ?? None of this has anything to do with accuracy. If you're not putting
> > in the correct offset for your time values you're doing it wrong.
> >
> > > {and I don't think we're talking about rules - just ids]
> >
> > ??? We most certainly are talking about rules. If you think otherwise you
> > need to reread the draft.
> >
> > Ned
> >
> > _______________________________________________
> > calsify mailing list
> > calsify@ietf.org
> > https://www.ietf.org/mailman/listinfo/calsify
> >

> --
>   Bron Gondwana, CEO, Fastmail Pty Ltd
>   brong@fastmailteam.com