Re: [core] Benjamin Kaduk's Discuss on draft-ietf-core-senml-14: (with DISCUSS and COMMENT)

Benjamin Kaduk <kaduk@mit.edu> Fri, 18 May 2018 12:22 UTC

Return-Path: <kaduk@mit.edu>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F3C7B12D881; Fri, 18 May 2018 05:22:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 pRLVtEKhCvyR; Fri, 18 May 2018 05:22:26 -0700 (PDT)
Received: from dmz-mailsec-scanner-6.mit.edu (dmz-mailsec-scanner-6.mit.edu [18.7.68.35]) (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 6AAAB12D87B; Fri, 18 May 2018 05:22:25 -0700 (PDT)
X-AuditID: 12074423-ba1ff7000000275b-f8-5afec57deda0
Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP id B9.B4.10075.E75CEFA5; Fri, 18 May 2018 08:22:22 -0400 (EDT)
Received: from outgoing.mit.edu (OUTGOING-AUTH-1.MIT.EDU [18.9.28.11]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id w4ICMFrR021971; Fri, 18 May 2018 08:22:17 -0400
Received: from kduck.kaduk.org (24-107-191-124.dhcp.stls.mo.charter.com [24.107.191.124]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id w4ICM8bq017665 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 18 May 2018 08:22:11 -0400
Date: Fri, 18 May 2018 07:22:08 -0500
From: Benjamin Kaduk <kaduk@mit.edu>
To: Carsten Bormann <cabo@tzi.org>, Ben Campbell <ben@nostrum.com>
Cc: Alexey Melnikov <aamelnikov@fastmail.fm>, core <core@ietf.org>, Ari Keränen <ari.keranen@ericsson.com>, The IESG <iesg@ietf.org>, "core-chairs@ietf.org" <core-chairs@ietf.org>, "draft-ietf-core-senml@ietf.org" <draft-ietf-core-senml@ietf.org>, Cullen Jennings <fluffy@iii.ca>
Message-ID: <20180518122159.GQ2249@kduck.kaduk.org>
References: <152410519508.28821.948642754454286088.idtracker@ietfa.amsl.com> <84E57656-B191-4DB4-B7EC-97059D5B19DE@ericsson.com> <20180508000154.GY84491@kduck.kaduk.org> <44DB4CCE-62E7-43FF-9E0B-9AF27E14EE87@tzi.org> <0C881DE7-7991-4E3C-A8C8-B77AEC2F55CC@ericsson.com> <3C64FC4D-B771-4B43-BC19-DE7BD1132173@fastmail.fm> <FA9B0E68-EBE1-4691-BD52-F3ABFFA035A4@ericsson.com> <FE638D14-29A0-4CFE-B39A-579285305E9F@tzi.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <FE638D14-29A0-4CFE-B39A-579285305E9F@tzi.org>
User-Agent: Mutt/1.9.1 (2017-09-22)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrBKsWRmVeSWpSXmKPExsUixG6nrlt39F+UwcrFBhb73x9isrh27T+b xfzO0+wWR6bcZbXYtvECm8W+t+uZLX6+W8Js8WH9D0aLGX8mMjtwevz6epXNY+epA2weS5b8 ZPK4fP4jo8esnU9YPKYtygxgi+KySUnNySxLLdK3S+DK2LhNpOC8bEV//1S2BsZL4l2MnBwS AiYSl1e2MHYxcnEICSxmkrjf8YARJCEksJFR4sZUb4jEVSaJq3efsoIkWARUJaacXcAOYrMJ qEg0dF9mBrFFBJwkHh8/CDaJWeA6k0T7vaVsXYwcHMICaRILd5eB1PAKGEtMnDeLCWLoBmaJ +b8usEEkBCVOznzCAmIzC6hL/Jl3iRmkl1lAWmL5Pw6IsLxE89bZYLs4BawlDlw7CHaDqICy xN6+Q+wTGAVnIZk0C8mkWQiTZiGZtICRZRWjbEpulW5uYmZOcWqybnFyYl5eapGumV5uZole akrpJkZwBLko72B82ed9iFGAg1GJh9dhyt8oIdbEsuLK3EOMkhxMSqK8dln/ooT4kvJTKjMS izPii0pzUosPMUpwMCuJ8BrNAMrxpiRWVqUW5cOkpDlYlMR5BTd/iBISSE8sSc1OTS1ILYLJ ynBwKEnwdh0BahQsSk1PrUjLzClBSDNxcIIM5wEangRSw1tckJhbnJkOkT/FqCglzlsEkhAA SWSU5sH1ghKcRPb+mleM4kCvCPNGgFTxAJMjXPcroMFMQIMZD/wGGVySiJCSamAU2P6scaPl O+4JcUI7f9T7Kb7avua4j4KtqUGC2NOixX0yORsbXK9c194zN0ag5mf0zNRnx3YY/F45w3Xq xdXTeC+v631zc/7DVYkaIptWJ8/YfiVy5ZMP7Rf7XBX+GSW6Kly/ldyXu6cmrXdTSs2G56uv L1CtK0l7MS/ohEAYj8oGs+aalFI+JZbijERDLeai4kQAXxLrZksDAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/mz1lCgeL1VmN3vvPQJ6njlcNn84>
Subject: Re: [core] Benjamin Kaduk's Discuss on draft-ietf-core-senml-14: (with DISCUSS and COMMENT)
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 May 2018 12:22:28 -0000

Hi Carsten,

Thanks for the updates; the 2**28 threshold does seem like a big
improvement (and the natural semantics of "add base time to relative
time and then compare against the threshold" seems to make perfect
sense in that context).

I have changed my position to Abstain, since the non-hierachical and
especially (potentially) interleaving of base values is still not
something I support, but I recognize that there is consensus to move
forward with it.

If you do have chance to make additional updates, it might still be
worth adding an explicit note that the streaming format only makes
sense in the presence of a reliable, in-order transport.  Since this
requirement really ought to be obvious to anyone who understands
what is going on, I will not attempt to make this a blocking
comment, though.

Adding Ben to the To: field since he also has an outstanding DISCUSS
position in the datatracker.

-Benjamin

On Fri, May 18, 2018 at 01:39:52PM +0200, Carsten Bormann wrote:
> Hi Benjamin,
> 
> after WG input about this late change (all positive) has petered out, https://tools.ietf.org/html/draft-ietf-core-senml-16 is now out with the boundary between “now”-relative and absolute moved from 0 (1970) to 2**28 (1978).  Thank you for making us think this through once more; the result is so much better.
> 
> The authors believe that -16 should be addressing all DISCUSSes and COMMENTs.  As we are looking at an OMA deadline (an SDO depending on this) that could be picking up the new version, we could make good use of swift approval.
> 
> Grüße, Carsten
> 
> 
> > On May 13, 2018, at 20:06, Ari Keränen <ari.keranen@ericsson.com> wrote:
> > 
> > 
> > 
> >> On 13 May 2018, at 0.02, Alexey Melnikov <aamelnikov@fastmail.fm> wrote:
> >> 
> >> Hi Ari,
> >> 
> >> On 11 May 2018, at 20:05, Ari Keränen <ari.keranen@ericsson.com> wrote:
> >> 
> >>> Hi all,
> >>> 
> >>> While addressing the IESG review comments regarding the use of time in SenML we came up with a simple way to enable SenML Records to express also relative times in the future that would have minimal impact to any existing use of SenML. We could use the following definition:
> >>> 
> >>>  Values greater than or equal to 2**28 represent an absolute time relative to the Unix epoch. Values less than 2**28 represent time relative to the current time.
> >>> 
> >>> That is, instead of only values less than zero, also values less than 2**28 (268,435,456) would be used to express relative time. Negative values and zero are still times in past and "now" respectively, as before. Time values from zero to 2**28 would be relative times in the future.
> >>> 
> >>> The only change this causes in the current use of SenML is that the smallest absolute time expressible in SenML becomes 1978-07-04 21:24:16 UTC instead of 1970-01-01 00:00 UTC. The absolute times after 1978 are still exactly the same ("Seconds after Unix epoch"). We are not aware of any deployments with SenML data between 1970 and 1978 that would be impacted negatively by this. 
> >>> 
> >>> For details, see:
> >>> https://github.com/core-wg/senml-spec/pull/129/files
> >>> 
> >>> Would anyone have concerns about including this change in SenML before publication?
> >>> 
> >>> Since we are already very late in the process and we need to get SenML published as RFC very soon, we would also need to agree on this very soon.
> >> 
> >> No objections from me personally, but please double check with the WG.
> > 
> > Great!
> > 
> > I saw that Christian, Michael, and Klaus from the WG already +1'd (thanks guys!). If there are no concerns raised, we could submit a new version with this change included, e.g., at the end of the work week.
> > 
> > 
> > Cheers,
> > Ari
>