[Cbor] Re: EDN redux

Rohan Mahy <rohan.mahy@gmail.com> Wed, 07 August 2024 15:41 UTC

Return-Path: <rohan.mahy@gmail.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 0D791C169404 for <cbor@ietfa.amsl.com>; Wed, 7 Aug 2024 08:41:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.107
X-Spam-Level:
X-Spam-Status: No, score=-7.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aRhHnjZKEnFO for <cbor@ietfa.amsl.com>; Wed, 7 Aug 2024 08:41:43 -0700 (PDT)
Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8FEA0C16940E for <cbor@ietf.org>; Wed, 7 Aug 2024 08:41:43 -0700 (PDT)
Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-5b8c2a61386so2937073a12.2 for <cbor@ietf.org>; Wed, 07 Aug 2024 08:41:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723045302; x=1723650102; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=jhYvO0znvbRGzNxEEq8NaL+RWIujqrsa7Dd3Q7UrIjM=; b=bZdTLQUYWATfYPz65VESiJvl9EARYDfP1syP4aKtLS5Fa1XT2vLLbQIv5c96zlQ+cE Q9cxF/wytfjF53B2YpvtjzLJ+KN9odowULEbJIpGj1ct0xhUEHOJ3HNLTR4mhz3XcGG8 97ytYjEuD9LYYefekoQUkkNwOkCu9TapjQY3HF67UkYZSaB9jDUMhArfQR0/PWHLYBD8 rYdCBNq5PBi5CKZM16bRyhgnySQjag1uchrhPwy2ySpQ7BnP1uxFoXpeahMNmaVwVdSK eoNVcHA3hNMTmPliyy37HlgvnlpkDkf+SFy/2RiDDY9Lai6HNzdjZbfCHlVm6Y3/NgY7 uOjw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723045302; x=1723650102; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jhYvO0znvbRGzNxEEq8NaL+RWIujqrsa7Dd3Q7UrIjM=; b=i6n3Ygb5WhANscbiiU3jI7h7dWSPf9OstbFDeaqdS+EPT/LHskEQ6vDKBUPUnxhcOn zBfgbCf7X46ll1paZEBXcjYH7srAUBdMvwxeACwFxU09X/0EcAliDB4de3DEagQM3aSe 1Obj/jSKS0b5HOAHrQU0sB1yV3AgUGZMfsmy5qk5VWvjOCFI9u4NKwqWGu7mrX3Ki+W6 QYJkNVpdKbPI+WC1e2QKRkQMR0pL8uoAvaoaaAm+4V7kpG3D0myV5OnUmkauN/gKawf+ RIjPaxYpwtp9xmt8Pt8HW8fNejAOG5q49wzpUEIh5bZUdrnKTGBmT6jX3SIxdASoborX kRsQ==
X-Gm-Message-State: AOJu0Yy2ZzVWlA1Al98bBuuj/UorWsaTtIAaK7ggB7tjKH1oByFFLB4D zbtOUEE/bcqkfn/UPtaindkOLKjvatpTOsaTllxuWHHetdViWRRPD4rQN9x5NPxcyAKejot3zCw xzdfnsJCAuCs2S1iG0gW4KY5dAGN4m19iEp8=
X-Google-Smtp-Source: AGHT+IEIqywmho/uJCBx1IjhKC/49nUok6DNhGmepUscAs1Zw0mTxD3eJPJpiQbLR+ITUVqWgW+2KjGKJMgoc+2YHRI=
X-Received: by 2002:a17:906:730f:b0:a7a:ab8a:386 with SMTP id a640c23a62f3a-a7dc5160083mr1346539066b.63.1723045301416; Wed, 07 Aug 2024 08:41:41 -0700 (PDT)
MIME-Version: 1.0
References: <7C93E178-2D2A-44E1-96A2-EB55048052DD@tzi.org> <CAKoiRuZebuHWhZ1AK6TPZDAdYgvQQBkM7Hdeyi7X=aFfFeQ3PQ@mail.gmail.com> <D7E13419-35FE-4ACC-BBE6-CDBAE83F4570@tzi.org> <CAKoiRubpwB6=JE=Bk5oh5o=wfxk0TGjA9_6MmcDRiXpRvVEVnQ@mail.gmail.com> <A6C5FBDD-E85E-4FEA-A784-B5F92BF6449B@tzi.org>
In-Reply-To: <A6C5FBDD-E85E-4FEA-A784-B5F92BF6449B@tzi.org>
From: Rohan Mahy <rohan.mahy@gmail.com>
Date: Wed, 07 Aug 2024 08:41:29 -0700
Message-ID: <CAKoiRuYFzZKOubSN1hC=1DqMfv2jWar2zQ1i9d40RpW-5vm9vQ@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Content-Type: multipart/alternative; boundary="0000000000001f7a4a061f19bf79"
Message-ID-Hash: GHPXSEO7GP5UG2XHXASPMEMATLL6BQ3T
X-Message-ID-Hash: GHPXSEO7GP5UG2XHXASPMEMATLL6BQ3T
X-MailFrom: rohan.mahy@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cbor.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: CBOR <cbor@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Cbor] Re: EDN redux
List-Id: "Concise Binary Object Representation (CBOR)" <cbor.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/h0_KFKA0UfXqqxSj6QQzhXgs9Qo>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Owner: <mailto:cbor-owner@ietf.org>
List-Post: <mailto:cbor@ietf.org>
List-Subscribe: <mailto:cbor-join@ietf.org>
List-Unsubscribe: <mailto:cbor-leave@ietf.org>

Hi Carsten, since you think so many people misunderstand what this document
is for, maybe you could write your *requirements* so you're on the record.
They certainly seem to have shifted at various points in this argument.

I think the most important value of EDN is to provide a well-specified,
easy-to-use, JSON-like, human-readable and human-writable format that
end-users can use to express CBOR instance documents, and can be converted
in both directions.

Extending app-strings is pretty low on my list compared to any of the
above, and certainly makes any machine-consumable conversion to/from CBOR
instance docs more complicated. To be clear, CBOR didn't define tag 999.
This is yet another extra "feature" you've added to the EDN draft.

Thanks,
-rohan

On Wed, Aug 7, 2024 at 8:21 AM Carsten Bormann <cabo@tzi.org> wrote:

> On 2024-08-07, at 17:07, Rohan Mahy <rohan.mahy@gmail.com> wrote:
> >
> > Since you have gone so far as to propose no ABNF, a radically simple
> solution would be to not allow extensibility of app-strings. Define a set
> of them now and be done.
>
> I don’t think you understand what this document is about.
> Adding this extension point is the whole point of the draft.
> The ABNF is ancillary to that, but of course useful in its own right.
>
> The need for this extension point is rather native to the CBOR
> representation format, which has a related extension point in its “tags",
> and so far was missing a way to address the need for a notation for some of
> these extensions.
> (Getting the “tags" extension point accepted in 2013 was a bit of work,
> because nobody had done things quite like that before, so I’m having a
> little deja vu here.)
>
> I don’t understand how the convictions you have about the use of ABNF
> should prevent this rather natural addition to the CBOR ecosystem.
>
> The extension point is more important than the ABNF grammar.
> Also, the work on the ABNF grammar is done and can easily be used by
> implementers that want to base their implementations on ABNF.
> Still, removing the ABNF grammar would create a ton of editorial busywork,
> with significant editorial hazards, so I’d rather keep it in place.
>
> We are discussing the exposition of a feature (how exactly should ABNF be
> used in operating this extension point).  There is no argument at all that
> this exposition cannot be understood.  So I’d prefer if you gave up your
> concerns that are entirely foreign to the work at hand.
>
> Grüße, Carsten
>
>