Re: [Anima-signaling] comments on GRASP-07 draft

Brian E Carpenter <brian.e.carpenter@gmail.com> Fri, 30 September 2016 19:21 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: anima-signaling@ietfa.amsl.com
Delivered-To: anima-signaling@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9034B12B1B8 for <anima-signaling@ietfa.amsl.com>; Fri, 30 Sep 2016 12:21:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 9iPQURWeXY8b for <anima-signaling@ietfa.amsl.com>; Fri, 30 Sep 2016 12:21:13 -0700 (PDT)
Received: from mail-pf0-x235.google.com (mail-pf0-x235.google.com [IPv6:2607:f8b0:400e:c00::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DA79012B197 for <anima-signaling@ietf.org>; Fri, 30 Sep 2016 12:21:12 -0700 (PDT)
Received: by mail-pf0-x235.google.com with SMTP id q2so43059288pfj.3 for <anima-signaling@ietf.org>; Fri, 30 Sep 2016 12:21:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=9NW40Taw+cYG50yCf9v2RLW5MQ2XOg3q3x3NVb7frGw=; b=g7fVeuEAFVkJJyhXtKA7LUa6X9Dy2A6rE3IuOBFZTWw3of5R9SR37wMOGNET0mPs/y euG9m4y4BcOUGCoDF9iTOWojZ5peD3aKPbxRLdTkdGeDBfS2nmCSpiuYKXdI30d3caWJ b7Ff/A9p+5zonFLJbol7lk2Z/Vq6HzbWkqe0heF3QsmTMkK6RpXa53wtJ+QAcnCIoZgV rpoAwaPzNin8korwMzl7y4oJ7PHdthvRvO0IY8Yb99jeQFbQSdrzD6YzzQfZbftXg9Y1 OWDD2ilugbbOajZg/QW2G4szpLNoMN26Q7qdrn8Ugop7gEI8bB29LXnz2H+RjAWqb4PH d+sg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=9NW40Taw+cYG50yCf9v2RLW5MQ2XOg3q3x3NVb7frGw=; b=YxfiqCZiWcupK5SxAyTiofqHzdr57R0KX2KCNh0NJo/EEnAaVw7JE7mGyIEzKfARxR TF7F+uRr3SnAqdBVTLz2QvTRjn9chC8WS3QnTgID5NGXrqQTnagRneM9SX9SFBRJBhGw jMH38t0xd3yNkBO4EuogBAQVmwvgwY1ks7XkoV5YvBNqtpz93jYoSv7gj1trfUt1YA4D fLKxrCaCmE7SITE+nO52AP26ebVPBvDXk3xM5Bqxe3CuY1nMThnMMutH7WRvZt5n/sPw /jBRwTH2ay/4EvVOUmKbxrC9xfqFRoCuSG5Tv9Il9Dt1SvV2oUrz8B2M/fYPvVGbVGlo 0ucw==
X-Gm-Message-State: AA6/9RkaTeQqvDh4PUUHJePx2UnJI+GAKeIgvUEc6LxFmMrASS/ddGLtAznJ668w3Z4Alg==
X-Received: by 10.98.7.4 with SMTP id b4mr14608278pfd.136.1475263272199; Fri, 30 Sep 2016 12:21:12 -0700 (PDT)
Received: from [192.168.178.23] ([118.148.117.30]) by smtp.gmail.com with ESMTPSA id r88sm15469127pfi.51.2016.09.30.12.21.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Sep 2016 12:21:10 -0700 (PDT)
To: Carsten Bormann <cabo@tzi.org>, Michael Richardson <mcr+ietf@sandelman.ca>
References: <27023.1475255753@obiwan.sandelman.ca> <57EEA05D.8060009@tzi.org>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <b6a19953-05e0-df9c-ae5d-dd439848f011@gmail.com>
Date: Sat, 01 Oct 2016 08:21:18 +1300
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <57EEA05D.8060009@tzi.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima-signaling/oQFhvFI7YWU0ZLqNvHNsGatKPug>
Cc: anima-signaling <anima-signaling@ietf.org>
Subject: Re: [Anima-signaling] comments on GRASP-07 draft
X-BeenThere: anima-signaling@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Mailing list for the signaling design team of the ANIMA WG <anima-signaling.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima-signaling>, <mailto:anima-signaling-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima-signaling/>
List-Post: <mailto:anima-signaling@ietf.org>
List-Help: <mailto:anima-signaling-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima-signaling>, <mailto:anima-signaling-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Sep 2016 19:21:15 -0000

On 01/10/2016 06:26, Carsten Bormann wrote:
> Michael Richardson wrote:
>> Can we please have some worked through examples with bytes on the wire?

Does that mean: include them in the document? That would be pretty tedious
stuff to read.

My experience is that once you get used to looking at the diagnostic
notation for CBOR, and the CDDL definitions, you rapidly lose interest
in the bits on the wire. I do understand the request, though. I'm just
dubious about complicating the text.

> Sure!  http://cbor.me (or the locally installable cbor-diag toolset) can
> help with generating the illustrations.  (Using the locally-installable
> toolset has the advantage that this can be integrated into a
> Makefile-style build process, making sure everything is always up to date.)

Also, I can easily make the Python prototype output bits-on-the-wire
on request. In fact, it's already there as a commented-out diagnostic
which I used for debugging:
 #ttprint("Assembled CBOR message:",msg_bytes)
inside a function that is naturally called _ass_message().

Regards,
    Brian

> 
> Grüße, Carsten
> 
> _______________________________________________
> Anima-signaling mailing list
> Anima-signaling@ietf.org
> https://www.ietf.org/mailman/listinfo/anima-signaling
>