[Jmap] Re: [art] Artart telechat review of draft-ietf-jmap-contacts-09
Steffen Nurpmeso <steffen@sdaoden.eu> Sat, 18 May 2024 21:48 UTC
Return-Path: <steffen@sdaoden.eu>
X-Original-To: jmap@ietfa.amsl.com
Delivered-To: jmap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 49030C14F685; Sat, 18 May 2024 14:48:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.097
X-Spam-Level:
X-Spam-Status: No, score=-7.097 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, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=sdaoden.eu header.b="ahBCDQ1A"; dkim=neutral reason="invalid (unsupported algorithm ed25519-sha256)" header.d=sdaoden.eu header.b="4fcYzl16"
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 G8ikl4ugjAaH; Sat, 18 May 2024 14:48:17 -0700 (PDT)
Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 37597C14F5FD; Sat, 18 May 2024 14:48:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sdaoden.eu; s=citron; t=1716068891; x=1716735557; h=date:author:from:to:cc:subject: message-id:in-reply-to:references:mail-followup-to:openpgp:blahblahblah: mime-version:content-type:content-transfer-encoding:author:from:subject: date:to:cc:resent-date:resent-from:resent-to:resent-cc:in-reply-to: references:mime-version:content-type:content-transfer-encoding:message-id: mail-followup-to:openpgp:blahblahblah; bh=dp78XQcK+xBcWEMMsNTJeyrHdyicPL19W7jXPeT2VRU=; b=ahBCDQ1AfTkAXwD9eEQUQ/l436zMCL0SykpVtNTkRNUor6tAav6K5vZRItAjLHgP5m4XoVtW RoBNmjg8yXUmx14VisR9kzOPqAncMmo9d3IVk8jA/R9SILuJ7qARHKeAQiIMH0IHAZMT46mPTQ HEWA8DswU87v0fNbxAMN/qfQh4wq/vHTqw0vUPj/p9DTekUVJukVCPLur5iIlFoQvDCi70J34j udEffdjrDk1xKETdeKDiI2NnqQkDLS21agQwldvYzSLHgI5rf2XWfOKNLMlPmxOHZl8LFSFtix utL6To/HNmpjb9ySBM0yDkjo2zWivTiC2OmdRExMnUyiV1zg==
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=sdaoden.eu; s=orange; t=1716068891; x=1716735557; h=date:author:from:to:cc:subject: message-id:in-reply-to:references:mail-followup-to:openpgp:blahblahblah: mime-version:content-type:content-transfer-encoding:author:from:subject: date:to:cc:resent-date:resent-from:resent-to:resent-cc:in-reply-to: references:mime-version:content-type:content-transfer-encoding:message-id: mail-followup-to:openpgp:blahblahblah; bh=dp78XQcK+xBcWEMMsNTJeyrHdyicPL19W7jXPeT2VRU=; b=4fcYzl16FqVlVjGfVJMlJBr7SUcmPSvuY995NHOPMz2RQJ8i/m0hLUHc7+MYX0PDQzts+c33 Pcr89Q3zDzUsDA==
Date: Sat, 18 May 2024 23:48:08 +0200
Author: Steffen Nurpmeso <steffen@sdaoden.eu>
From: Steffen Nurpmeso <steffen@sdaoden.eu>
To: Rob Sayre <sayrer@gmail.com>
Message-ID: <20240518214808.AgWcWeJI@steffen%sdaoden.eu>
In-Reply-To: <CAChr6SzbiF_1hnqYQ5YqWVkB-Yfc1zFnPt1YG=i8qkfvZsP-fw@mail.gmail.com>
References: <171605695839.29495.8129547067232508808@ietfa.amsl.com> <CAChr6SyGwH5B5mFKrByeS2ymrU_NG-TmHKDRxN=jZ1o4=KKNhQ@mail.gmail.com> <CAChr6SzbiF_1hnqYQ5YqWVkB-Yfc1zFnPt1YG=i8qkfvZsP-fw@mail.gmail.com>
Mail-Followup-To: Rob Sayre <sayrer@gmail.com>, Tim Bray <tbray@textuality.com>, art@ietf.org, draft-ietf-jmap-contacts.all@ietf.org, jmap@ietf.org, last-call@ietf.org, Steffen Nurpmeso <steffen@sdaoden.eu>
User-Agent: s-nail v14.9.24-621-g0d1e55f367
OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt
BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs.
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: CPKOPU3HI6ES42CCLRLBVBW2B6SFULJW
X-Message-ID-Hash: CPKOPU3HI6ES42CCLRLBVBW2B6SFULJW
X-MailFrom: steffen@sdaoden.eu
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-jmap.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Tim Bray <tbray@textuality.com>, art@ietf.org, draft-ietf-jmap-contacts.all@ietf.org, jmap@ietf.org, last-call@ietf.org, Steffen Nurpmeso <steffen@sdaoden.eu>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Jmap] Re: [art] Artart telechat review of draft-ietf-jmap-contacts-09
List-Id: JSON Message Access Protocol <jmap.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/AH6VqTSn8ojDGtZ3kQldTQvcOjM>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jmap>
List-Help: <mailto:jmap-request@ietf.org?subject=help>
List-Owner: <mailto:jmap-owner@ietf.org>
List-Post: <mailto:jmap@ietf.org>
List-Subscribe: <mailto:jmap-join@ietf.org>
List-Unsubscribe: <mailto:jmap-leave@ietf.org>
Rob Sayre wrote in <CAChr6SzbiF_1hnqYQ5YqWVkB-Yfc1zFnPt1YG=i8qkfvZsP-fw@mail.gmail.com>: |On Sat, May 18, 2024 at 12:47 PM Rob Sayre <sayrer@gmail.com> wrote: |> RFC 20, section 4.1 (or some update) would do. But, I wonder if that |> part is right, because of the way JSContact is defined. |> |> https://www.rfc-editor.org/rfc/rfc9553.html#name-free-form-text |> |> That can certainly contain CR, LF, TAB, in common cases. But if you get |> BEL or SUB, that may be a problem. | |Also, of course Tim knows this one, but I forget to mention it. Wouldn't it |be nice to refer to a document instead of repeating this stuff? | |https://www.ietf.org/archive/id/draft-bray-unichars-08.html#name-control\ |-codes Quite honestly i think you two create some kind of "Me too" environment for anyone, myself included, regarding this terrible draft, which had an interesting IETF session i watched in parts via web video. It is simple psycho terror to repeat this over and over again even thereafter, in my humble opinion. BEL is not a problem at all if you simply define for example that "only printable characters should be displayed", you can use some kind of isprint() series to realize that. I myself wonder whether that innocent RFC 9553 sentence any valid sequence of Unicode characters encoded as a JSON string excludes surrogates? It should, but it then actively changes the meaning of "JSON string" to be a dedicated "sub-profile" of what "JSON string" normally means, and then to me the sentence is not clear enough. Anyhow a Unicode character is, according to Unicode Character. (1) The smallest component of written language that has semantic value; refers to the abstract meaning and/or shape, rather than a specific shape (see also glyph), though in code tables some form of visual representation is essential for the reader’s understanding. (2) Synonym for abstract character. (3) The basic unit of encoding for the Unicode character encoding. (4) The English name for the ideographic written elements of Chinese origin. [See ideograph (2).] This seems not to mean entire grapheme clusters. And this seems to mean to me that the above RFC 9553 meaning is massively under-defined, because there are invisible/visible modifiers, combining characters and more, most or all all of which will fail a simple "isprint" by themselves, so RFC 9553's Implementations MUST NOT assume that text values of adjacent properties are processed or displayed as a combined string; for example, the values of a given name component and a surname component may or may not be rendered together. combined with any valid sequence of Unicode characters encoded as a JSON string does not make sense at all. Which is were i see the real problem, not in a BEL or SUB. And it reminds me of the "define a profil", "define a profil" that was heard on that IETF session. Granted the above is anyhow not implementable with normal ISO C or POSIX tools, one could maximally use iconv(3) to convert the string, and then "terminate" it via iconv, whatever that means (placing reset sequence, likely). You surely have to go to ICU, and you possibly want to [..looking things up via web..] read http://www.unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries and then use https://unicode-org.github.io/icu/userguide/boundaryanalysis/ to use split at character (grapheme!), word or line boundaries. There is also https://unicode-org.github.io/icu/userguide/strings/properties.html Btw https://unicode-org.github.io/icu/userguide/strings/utext.html has a nice word break example. In all this context that leaves programmers completely standing alone in the rain my gut says that remarks on devilish BELs compare like "the piper at the gates of dawn" to "the division bell". Sorry. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)
- [Jmap] Artart telechat review of draft-ietf-jmap-… Tim Bray via Datatracker
- [Jmap] Re: [art] Artart telechat review of draft-… Rob Sayre
- [Jmap] Re: [art] Artart telechat review of draft-… Rob Sayre
- [Jmap] Re: [art] Artart telechat review of draft-… Steffen Nurpmeso
- [Jmap] Re: [art] Re: Artart telechat review of dr… worley
- [Jmap] Re: [art] Re: Artart telechat review of dr… Tim Bray
- [Jmap] Re: [art] Re: Artart telechat review of dr… worley
- [Jmap] Re: [art] Re: Artart telechat review of dr… Tim Bray
- [Jmap] Re: [art] Re: Artart telechat review of dr… Rob Sayre
- [Jmap] Re: [art] Artart telechat review of draft-… Steffen Nurpmeso
- [Jmap] Re: Artart telechat review of draft-ietf-j… Neil Jenkins
- [Jmap] Re: Artart telechat review of draft-ietf-j… Tim Bray