Re: [art] Predictable Internet Time

Michael Thornburgh <mthornbu@adobe.com> Tue, 28 March 2017 18:41 UTC

Return-Path: <mthornbu@adobe.com>
X-Original-To: art@ietfa.amsl.com
Delivered-To: art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6819F129556 for <art@ietfa.amsl.com>; Tue, 28 Mar 2017 11:41:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.798
X-Spam-Level:
X-Spam-Status: No, score=-4.798 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=adobe.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 kWThpjDGbc0S for <art@ietfa.amsl.com>; Tue, 28 Mar 2017 11:41:15 -0700 (PDT)
Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0071.outbound.protection.outlook.com [104.47.41.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DEAE21292CE for <art@ietf.org>; Tue, 28 Mar 2017 11:41:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adobe.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=yNuIBvKDSwUMfBWpdx1Yvptish/umnnyltRI7eYU9GE=; b=SKf/0+ioSYolHF9yP1b9ThWCVBCUE7eHMMzjr80AB+bucpQGadny6wz8Q5SLuJ96Jua2RaUHvdP9SpFqm5uCIq0rJ/IxsKJlsWsHMb+pR5s+r9LLFuMQ/TIgxiEvQp+hqkwra0BwSNFB64IU0Te+/r+wjizJQ+/ivYWaug7OmT8=
Received: from BN6PR02MB2323.namprd02.prod.outlook.com (10.168.254.13) by BN6PR02MB2323.namprd02.prod.outlook.com (10.168.254.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.991.14; Tue, 28 Mar 2017 18:41:12 +0000
Received: from BN6PR02MB2323.namprd02.prod.outlook.com ([10.168.254.13]) by BN6PR02MB2323.namprd02.prod.outlook.com ([10.168.254.13]) with mapi id 15.01.0991.021; Tue, 28 Mar 2017 18:41:12 +0000
From: Michael Thornburgh <mthornbu@adobe.com>
To: Philip Homburg <pch-ietf-art@u-1.phicoh.com>, "art@ietf.org" <art@ietf.org>
Thread-Topic: [art] Predictable Internet Time
Thread-Index: AQHSp8xoOjtVatoOPkKRROl2zZ5L86GqiOrX
Date: Tue, 28 Mar 2017 18:41:12 +0000
Message-ID: <BN6PR02MB23239E7837F456E14CF44187CD320@BN6PR02MB2323.namprd02.prod.outlook.com>
References: Your message of "Mon, 27 Mar 2017 12:34:10 -0700 ." <869e1c74-2e6e-f4cd-4830-50985bab6be8@isi.edu> ,<m1csrkh-0000GYC@stereo.hq.phicoh.net>
In-Reply-To: <m1csrkh-0000GYC@stereo.hq.phicoh.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: u-1.phicoh.com; dkim=none (message not signed) header.d=none;u-1.phicoh.com; dmarc=none action=none header.from=adobe.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [25.172.48.132]
x-microsoft-exchange-diagnostics: 1; BN6PR02MB2323; 7:tult8y0XDotoFgcoP8vlJ1YK3yVUjpM8whPzK4kF9Xb9PyJm+gbE60YdqomzGytDlV7hHtEtde6tpehoMpwq7yNXDoZRVW4e5qCTGEIrZDYa0RK59j6RO1JiPkSCC9LlHuib/BtJ9RVUD3TRW6xzl6RCyLYx/QndaUjlJSBLnqvLp+Uhn/t0lQ7E1yXeLoxwv2LKfDlNU1+HnDzrk72o6wgyy/N/fgt/NlicJBzSj+yrY046MIjPU3hoxHJDaYG6xlG1xPdP6kO6nZrRF0PEDDT24I6vuCpFgxGqhSgi3T99u5ifkjTnt+6McUdfgId3NTtSqJAi5mR61NWbhaXPrw==; 20:/fymwrsdeA/8Xjtft2VEkJYo7GBuJNlQt/nUIkzzsPOZWaG3SwCfhRx8JLaJ4BVZCItwduYUfo+12iamBvAYOYzcsrYMLoDzWMIjSzzIRj4iUT7pJtpBJD8UkN/FDZrPJu6WpC9zxfrZqN7RhAHIiow87UkksZ1yynFX3KFr8h4=
x-ms-office365-filtering-correlation-id: 8b22e0f9-a26a-41a2-b378-08d4760a0230
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081); SRVR:BN6PR02MB2323;
x-microsoft-antispam-prvs: <BN6PR02MB23231392765D99816CB0D321CD320@BN6PR02MB2323.namprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(61426038)(61427038)(6041248)(20161123562025)(20161123555025)(20161123560025)(20161123564025)(20161123558025)(6072148); SRVR:BN6PR02MB2323; BCL:0; PCL:0; RULEID:; SRVR:BN6PR02MB2323;
x-forefront-prvs: 0260457E99
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39410400002)(39450400003)(39840400002)(39850400002)(39860400002)(377454003)(377424004)(6246003)(25786009)(229853002)(38730400002)(189998001)(5660300001)(6436002)(8990500004)(33656002)(10090500001)(66066001)(122556002)(77096006)(2501003)(6116002)(3846002)(102836003)(74316002)(7736002)(305945005)(99286003)(6306002)(8936002)(81166006)(2950100002)(3660700001)(8676002)(2900100001)(9686003)(6506006)(55016002)(86362001)(2906002)(7696004)(3280700002)(54356999)(50986999)(53936002)(76176999); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR02MB2323; H:BN6PR02MB2323.namprd02.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: adobe.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Mar 2017 18:41:12.2267 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: fa7b1b5a-7b34-4387-94ae-d2c178decee1
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR02MB2323
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/o4bvgG_Ca2ruPS4sMQIVg-HNzX0>
Subject: Re: [art] Predictable Internet Time
X-BeenThere: art@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Applications and Real-Time Area Discussion <art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/art>, <mailto:art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/art/>
List-Post: <mailto:art@ietf.org>
List-Help: <mailto:art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/art>, <mailto:art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Mar 2017 18:41:17 -0000

> From: art [art-bounces@ietf.org] on behalf of Philip Homburg [pch-ietf-art@u-1.phicoh.com]
> Sent: Tuesday, March 28, 2017 7:05 AM

[...]
> - It is not clear to me what 'Unix time' is in this context. Typically POSIX
> time is linked to UTC, i.e. every value of time_t corresponds to a specific
> UTC timestamp. The inverse is not true, leapseconds cannot be represented in
> time_t.
[...]

while this has been the case so far, this is not true in general.  there can be negative leap
seconds, for which there will be values of time_t with no corresponding UTC time.
fortunately there have not been any negative leap seconds yet.

as i mentioned on a different mailing list [0], unix/posix time is a (deficient) time representation form,
but people use it as a time keeping form (as if it's actually the "uptime" since the unix
epoch).  i'm sure it was initially envisioned as both, even though that's wrong.

really unfortunately (or at least annoyingly) for timekeeping, "1970-01-01 00:00:00 UTC" isn't
a whole number of seconds offset from TAI.  UTC's ticks weren't synchronized to TAI ticks until
1972-01-01 00:00:10 TAI / 1972-01-01 00:00:00 UTC.  so having 1970-01-01 00:00:00 UTC
as a timekeeping epoch is the wrong choice anyway.  as i indicated in [0], i think the
right choice is 1970-01-01 00:00:10 TAI as the timekeeping epoch.

because solar time is variable, the standardized second is useful, and it is useful for
civil time to be in close agreement with solar time, there will need to be leap seconds or
at least periodic civil time steps.  therefore, the representation of civil/human time in something
like a time_t or a struct timeval is wrong, especially for future times.  the correct choice should
represent civil/human time in something like a struct tm or ISO 8601 or something.

[0] https://lists.w3.org/Archives/Public/ietf-http-wg/2017JanMar/0424.html