Re: [Cbor] Review draft-bormann-cbor-packed-00

Jim Schaad <ietf@augustcellars.com> Thu, 16 July 2020 12:44 UTC

Return-Path: <ietf@augustcellars.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A4DBF3A08BD; Thu, 16 Jul 2020 05:44:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 uedSWPIqnCX1; Thu, 16 Jul 2020 05:44:33 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4DA0D3A03FA; Thu, 16 Jul 2020 05:44:33 -0700 (PDT)
Received: from Jude (73.180.8.170) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 16 Jul 2020 05:44:08 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Carsten Bormann' <cabo@tzi.org>
CC: cbor@ietf.org, draft-bormann-cbor-packed@ietf.org
References: <00f701d65adb$1c49e1f0$54dda5d0$@augustcellars.com> <04545D98-A936-4DD0-8446-3634E6C12667@tzi.org>
In-Reply-To: <04545D98-A936-4DD0-8446-3634E6C12667@tzi.org>
Date: Thu, 16 Jul 2020 05:44:06 -0700
Message-ID: <000701d65b6e$cd02eee0$6708cca0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQKslLtd3Pxo54N8Z1yW+xXnZNMlgQEImUjfp1Vu1yA=
Content-Language: en-us
X-Originating-IP: [73.180.8.170]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/0RRoouAwanbJbd5fWc91LH-1W_E>
Subject: Re: [Cbor] Review draft-bormann-cbor-packed-00
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Jul 2020 12:44:36 -0000


> -----Original Message-----
> From: CBOR <cbor-bounces@ietf.org> On Behalf Of Carsten Bormann
> Sent: Wednesday, July 15, 2020 12:43 PM
> To: Jim Schaad <ietf@augustcellars.com>
> Cc: cbor@ietf.org; draft-bormann-cbor-packed@ietf.org
> Subject: Re: [Cbor] Review draft-bormann-cbor-packed-00
> 
> Hi Jim,
> 
> Thanks for this lightning feedback.  Let me try to answer as quickly...
> 
> > On 2020-07-15, at 21:06, Jim Schaad <ietf@augustcellars.com> wrote:
> >
> > Carsten,
> >
> > I am finding this document really hard to follow.
> 
> Yes.  It contains the specification, but not yet any tutorial material.
> Way too few examples.
> 
> > I am sure that we can get
> > it to read much better in the future.
> 
> 
> > 5. Is there a reason not to switch to using '^' for exponentiation?
> > This is the more mathematical one symbol.
> 
> Yes. ^ is XOR in C.
> In math, we do that differently.
> Like 2⁶⁴ :-)  But the RFC editor won’t let me do that, I’m sure...

Just the one item.  2<sup>64</sup> is what you are looking for.
> 
> 
> Grüße, Carsten
> 
> (*) Bright young grad students
> 
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor