[Cbor] Re: I-D Action: draft-mcnally-deterministic-cbor-10.html
Christopher Allen <christophera@lifewithalacrity.com> Tue, 30 July 2024 20:23 UTC
Return-Path: <christophera@lifewithalacrity.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 625E0C151986 for <cbor@ietfa.amsl.com>; Tue, 30 Jul 2024 13:23:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.907
X-Spam-Level:
X-Spam-Status: No, score=-1.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, 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=lifewithalacrity-com.20230601.gappssmtp.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 J_ThGqRro6As for <cbor@ietfa.amsl.com>; Tue, 30 Jul 2024 13:23:12 -0700 (PDT)
Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) (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 9D7EAC1516E9 for <cbor@ietf.org>; Tue, 30 Jul 2024 13:23:12 -0700 (PDT)
Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-52efd8807aaso7777438e87.3 for <cbor@ietf.org>; Tue, 30 Jul 2024 13:23:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifewithalacrity-com.20230601.gappssmtp.com; s=20230601; t=1722370991; x=1722975791; 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=9EkCUWI+pVnmLKm7lergb8/vzlfRLWeldhaXwBZA/AQ=; b=mriDhZ0AhnX/wGsXzb8hh7jf/idT3mUiVEVbLcL6v5MWYQfNWp1h97iqkEPTdDyxTS vPIayt5sLwBeJoOKsaUfKX/NKk8BfZjwIAEX9eQaSjlTMM0ktb3qqFw2gsFJ5uuG9n6e eBH+g0TCQJXKwkcliRaypBjSpPCX0Sbvva8GeStEFbf/7GJI/E7FFfAxrmjOEPRdvyLP wyZJc92ysvPkpgqmUV7Yx4VQ7LhU/F1f8+Kgl6fUjfTMRjIyTC8L8kQTWaUYKDUCLylO lJLBIQVnl/I38c/lUa0eKYaKMXiBjmjJ6P9C1WY5RHmOd0ouUWtp40QjLUhtNvXUHC6C rVDQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722370991; x=1722975791; 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=9EkCUWI+pVnmLKm7lergb8/vzlfRLWeldhaXwBZA/AQ=; b=Mnjc4XzogxHZhdD1IJhg/HrhYkt4vw4qUqA4XgGfk0rNAQJv8Qegr5mAvJ3QpaGx3F geLxILtS4A7Rbl8soNV6ac25/+jGaTaYDoJ8QyjrXpGhGBMxkuNRp917de/ABLW/QckX DTtiRucohpCETZQzFurx0mtdwsaWaqzXkHWXgfsYRVPFxaOCN901FpWHHXgr/i9O0cl1 H4xKAR8u1DefPnQTyu7zxFrWIBj7+9Q685LHyAZYdnaJOCK5sgt21KWyc/+YTxmboFe8 fAvTSQAuX5hrjPpViYeL/MlV9JlBSTpt5TGgiD1HXJ3OcbJsZKKNpWbYxyqB39uTVxfS We3Q==
X-Forwarded-Encrypted: i=1; AJvYcCUHqDX9BaY5zhVFAepsqKt86tgGhP3wsFAG9xesYIHA4IAtS2JuLvdxjcRejXXHmrld0MoejeUqziE10q3C
X-Gm-Message-State: AOJu0Yzu9vySQmfd5JMYcT1jX7cEvYcvLdBhO7r7f7bx/6HzCeM6v7Ml 6Bd58KO/ssIGOeByAqcaDwjlaxx2XLitPNP86uKD0YeE9mfEtQI8sZZ6PWCgLu1D4GdQnwbkaWg R3r4fNBd5xcB3Wc5d0O+hdQleOPgbrR8g7DB3
X-Google-Smtp-Source: AGHT+IG9ltNFH6raRFH86QqXroLNNXYVgD7d79vijUi6N8+eCet/w3N5QkpLBxvfmdVRSPhcx20P9u6eGEEf2AjRrhs=
X-Received: by 2002:a05:6512:1598:b0:530:aa56:138b with SMTP id 2adb3069b0e04-530aa5615ddmr2526449e87.22.1722370990707; Tue, 30 Jul 2024 13:23:10 -0700 (PDT)
MIME-Version: 1.0
References: <a962e326-ab3f-4857-a1ee-2042cf87f32a@gmail.com> <F3E4450A-EA4B-437E-9C58-5DB3972A152C@island-resort.com> <6601a16c-2b2e-45b2-b4e8-7bd4ba136401@gmail.com> <ea6a35e1-18a7-4bea-8ff8-5249e1f26b71@gmail.com> <CAEBC446-7730-4473-AC93-7908ADCB78B4@wolfmcnally.com> <5a2b1212-200e-4c17-acdf-1278c4539531@gmail.com> <2BFB6C9E-62C5-4DB9-B289-D870B546EC26@cursive.net> <4752c6cb-5c20-4eb4-b33f-99e79e49b8fe@gmail.com>
In-Reply-To: <4752c6cb-5c20-4eb4-b33f-99e79e49b8fe@gmail.com>
From: Christopher Allen <christophera@lifewithalacrity.com>
Date: Tue, 30 Jul 2024 13:22:59 -0700
Message-ID: <CAAse2dFAPuY5sxOoKvSrimQf99YqoqU6-a8fmYixEJ-wXtAiXg@mail.gmail.com>
To: Anders Rundgren <anders.rundgren.net@gmail.com>
Content-Type: multipart/alternative; boundary="00000000000012b745061e7cbfcf"
Message-ID-Hash: PRI5VTERKOWIB2SRMXOHWEOFVRA2WS6I
X-Message-ID-Hash: PRI5VTERKOWIB2SRMXOHWEOFVRA2WS6I
X-MailFrom: christophera@lifewithalacrity.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: Joe Hildebrand <hildjj@cursive.net>, Wolf McNally <wolf@wolfmcnally.com>, CBOR <cbor@ietf.org>, Shannon Appelcline <shannon.appelcline@gmail.com>, Carsten Bormann <cabo@tzi.org>, Laurence Lundblade <lgl@island-resort.com>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Cbor] Re: I-D Action: draft-mcnally-deterministic-cbor-10.html
List-Id: "Concise Binary Object Representation (CBOR)" <cbor.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/tTiGImQVerWA22Yy5JzgELLb634>
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>
> > On Mon, Jul 29, 2024 at 11:21 PM Anders Rundgren < anders.rundgren.net@gmail.com> wrote: > On 2024-07-29 15:49, Joe Hildebrand wrote: > >> > - I'm still not sold on bidirectional diagnostic notation, and have not > planned on writing a parser for it, but I'm still thinking about that. > However, I don't see what it has to do with this discussion. > >> > Well, it has. This feature permits writing and reading fully compatible > CDE from external text based databases [1]. Gordian Envelopes rely on a > similar feature but using dCBOR. > To be clear, we do have something called Envelope Notation, but it is not bidirectional. It is designed to make the envelope structures clear for debugging purposes only. ``` "Alice" [ "knows": "Bob" ] ``` or with --tree ``` e54d6fd3 NODE 27840350 subj "Alice" 55560bdf ASSERTION 7092d620 pred "knows" 9a771715 obj "Bob" ``` We do have a `dcbor-cli` app https://github.com/BlockchainCommons/bc-dcbor-cli that supports basic CBOR diagnostic output, but I would not say that it is a full implementation of latest notation specs — again, our purpose is not round trip but to enable clarity of structures for debugging. I'm not even sure we test round-tripping. An important point here is that round-tripping of binary to text and back can actually get in the way of useful debugging support for software engineers. -- Christopher Allen
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Anders Rundgren
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… lgl island-resort.com
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Anders Rundgren
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… lgl island-resort.com
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Anders Rundgren
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Anders Rundgren
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Anders Rundgren
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Wolf McNally
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Wolf McNally
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Anders Rundgren
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Joe Hildebrand
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Carsten Bormann
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Anders Rundgren
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Anders Rundgren
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Wolf McNally
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Carsten Bormann
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Anders Rundgren
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Wolf McNally
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Anders Rundgren
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Christopher Allen
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Anders Rundgren
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Wolf McNally
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Anders Rundgren
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… lgl island-resort.com
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Wolf McNally
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Carsten Bormann
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Anders Rundgren
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Anders Rundgren
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Wolf McNally
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Anders Rundgren
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Carsten Bormann
- [Cbor] Re: I-D Action: draft-mcnally-deterministi… Wolf McNally