Re: [core] Last Call: <draft-ietf-core-senml-more-units-02.txt> (Additional Units for SenML) to Proposed Standard

"Pete Resnick" <resnick@episteme.net> Tue, 22 October 2019 15:33 UTC

Return-Path: <resnick@episteme.net>
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 3462C120073; Tue, 22 Oct 2019 08:33:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=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 EasgfWidBWsd; Tue, 22 Oct 2019 08:33:15 -0700 (PDT)
Received: from episteme.net (episteme.net [216.169.5.102]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 46A7E120043; Tue, 22 Oct 2019 08:33:15 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by episteme.net (Postfix) with ESMTP id 1DFF1916E43E; Tue, 22 Oct 2019 10:33:11 -0500 (CDT)
Received: from episteme.net ([127.0.0.1]) by localhost (episteme.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r8knrQPo3L6A; Tue, 22 Oct 2019 10:33:09 -0500 (CDT)
Received: from [172.20.1.57] (unknown [12.90.237.218]) by episteme.net (Postfix) with ESMTPSA id 2414F916E434; Tue, 22 Oct 2019 10:33:09 -0500 (CDT)
From: Pete Resnick <resnick@episteme.net>
To: Cullen Jennings <fluffy@iii.ca>
Cc: IETF <ietf@ietf.org>, core-chairs@ietf.org, draft-ietf-core-senml-more-units@ietf.org, core <core@ietf.org>, last-call@ietf.org
Date: Wed, 23 Oct 2019 00:33:01 +0900
X-Mailer: MailMate (1.13r5655)
Message-ID: <2466ABB9-374F-459F-AF6F-3E1FF38F6262@episteme.net>
In-Reply-To: <C17F33E0-E060-4104-B9DD-6F48CCC9EF27@iii.ca>
References: <157124774214.7822.2416155258603633472.idtracker@ietfa.amsl.com> <C17F33E0-E060-4104-B9DD-6F48CCC9EF27@iii.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/9W0ekk1qeP1lwniJXfunEs3Y6Ak>
Subject: Re: [core] Last Call: <draft-ietf-core-senml-more-units-02.txt> (Additional Units for SenML) to Proposed Standard
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 22 Oct 2019 15:33:18 -0000

[Cc'ing last-call.]

I have to agree with Cullen. In fact, the paragraph at the bottom of 
section 4 shows the confusion and harm:

    SenML packs MAY, but SHOULD NOT, use secondary units in place of
    SenML units, where the exception of the "SHOULD NOT" lies in the
    context of specific existing data models that are based on these
    secondary units.

You can't "MAY" do something and "SHOULD NOT" do it. Those are 
contradictory terms.

Either register these (and all SI prefixes) in the existing registry, or 
don't register these at all. Implementations are perfectly capable of 
multiplying and adding.

pr

On 22 Oct 2019, at 23:05, Cullen Jennings wrote:

> I am strongly opposed to the secondary registry - it will 
> significantly harm interoperability. This could be resolved by not 
> adding the items in the secondary repository or by adding them to the 
> main repository.
>
> Having a registry of stuff that may or may not work simply means that 
> we will have less interoperability because what you can not decide 
> what is valid SenML or not.  Sure some of the device vendors making 
> things that produce SenML have thought this was a good idea in the 
> past but I’d like to hear from a bunch of the people that have to 
> process the SenML data that is produced and see if they think it is a 
> good idea.
>
> The working group discussed this for a long time and was against the 
> items that are being added to the secondary repository.
> If there is a large group of people that agree the consensus has 
> changed, then this should simply be put in the main registry. Many 
> people believe that since SenML is not meant to be human readable, 
> having a canonical form of just meters with a floating point number is 
> better than having both km, mm, and god only knows what else.
>
> I note the secondary repository add mm but not cm. How is this 
> insanity going to work out? How will analytics code trying to process 
> this data know what it can use or not use. If we are going down this 
> path, this is the wrong way to do it. The right way is to define a set 
> of all SI prefixes and say they can be used with any unit.
>
>
>
>
>
>> On Oct 16, 2019, at 11:42 AM, The IESG <iesg-secretary@ietf.org> 
>> wrote:
>>
>>
>> The IESG has received a request from the Constrained RESTful 
>> Environments WG
>> (core) to consider the following document: - 'Additional Units for 
>> SenML'
>>  <draft-ietf-core-senml-more-units-02.txt> as Proposed Standard
>>
>> The IESG plans to make a decision in the next few weeks, and solicits 
>> final
>> comments on this action. Please send substantive comments to the
>> ietf@ietf.org mailing lists by 2019-10-30. Exceptionally, comments 
>> may be
>> sent to iesg@ietf.org instead. In either case, please retain the 
>> beginning of
>> the Subject line to allow automated sorting.
>>
>> Abstract
>>
>>
>>   The Sensor Measurement Lists (SenML) media type supports the
>>   indication of units for a quantity represented.  This short 
>> document
>>   registers a number of additional unit names in the IANA registry 
>> for
>>   Units in SenML.  It also defines a registry for secondary units 
>> that
>>   cannot be in SenML's main registry as they are derived by linear
>>   transformation from units already in that registry; RFC 8428 is
>>   updated to also accept these units.
>>
>>
>>
>>
>> The file can be obtained via
>> https://datatracker.ietf.org/doc/draft-ietf-core-senml-more-units/
>>
>> IESG discussion can be tracked via
>> https://datatracker.ietf.org/doc/draft-ietf-core-senml-more-units/ballot/
>>
>>
>> No IPR declarations have been submitted directly on this I-D.
>>
>>
>>
>>
>> _______________________________________________
>> core mailing list
>> core@ietf.org
>> https://www.ietf.org/mailman/listinfo/core


-- 
Pete Resnick http://www.episteme.net/
All connections to the world are tenuous at best