Re: JFV and Common Structure specifications

Martin Thomson <martin.thomson@gmail.com> Wed, 23 November 2016 01:01 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3081212951D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 22 Nov 2016 17:01:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.498
X-Spam-Level:
X-Spam-Status: No, score=-8.498 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.497, SPF_HELO_PASS=-0.001, 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 cvUi9zTuGeJj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 22 Nov 2016 17:01:23 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AB9C91293F8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 22 Nov 2016 17:01:17 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1c9LsS-00039N-1r for ietf-http-wg-dist@listhub.w3.org; Wed, 23 Nov 2016 00:57:32 +0000
Resent-Date: Wed, 23 Nov 2016 00:57:32 +0000
Resent-Message-Id: <E1c9LsS-00039N-1r@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1c9LsM-00037j-9k for ietf-http-wg@listhub.w3.org; Wed, 23 Nov 2016 00:57:26 +0000
Received: from mail-qk0-f171.google.com ([209.85.220.171]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <martin.thomson@gmail.com>) id 1c9LsG-00061n-Bx for ietf-http-wg@w3.org; Wed, 23 Nov 2016 00:57:21 +0000
Received: by mail-qk0-f171.google.com with SMTP id q130so48833866qke.1 for <ietf-http-wg@w3.org>; Tue, 22 Nov 2016 16:57:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=sO7FtQzWleRH7Gm65OzKW81t26Vljlv9ssrzUd9Slqc=; b=Aj6ECDbGhpur+DXPGZhfvuH+NNlPcsnY2EDa6cFC9PxFb/BIk6v91zMgy+QYYoLLuB gClEHNtF/0ZkMQVuQrI6ktrrrkSEdhQAI540W/x2jxTMqXFW9EIOIiwjkxgOnHdx0vE7 pJzkg/PAs26s9iSS8Fwpn4BMi+jpCzuOpVAfHpxvNDHnvBwT7kPlqvCtt42JzLnkOHfo ArFZOfsUWx+fTGsu+1gJ3lCUHe22dTpQyFbvxY+VHkHu3ozupAaRe0N/tzI0fyWxOrzg xvZBG+1mFo47uuCn1yICYsU4uOFjJXtRI2xfJFLycXfYkr30kdV0Ju2ayV2puhxvBIUr pltA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=sO7FtQzWleRH7Gm65OzKW81t26Vljlv9ssrzUd9Slqc=; b=XjnXjYbpK/TPqRlVQVIGqjo/Q4ykimg/g59T8g6XI2uwJEGKY93XcQ641E4blk2TAp l/zDURGJKJCnBebVoVtBoldXcvYoOLegwVhQtern20XPXSVcVDguQwYB9fpThk1DDuAt oePgf2ZSKav6rV4ryBmY2eyxwHEfpwWP4JWTSMg/SDPsAuqfm07E1g6r15ifGnpHdKTZ eeCu61DTXCryFhUp8zl+N4ayOwacdeomprdh3sWeTnaj4KDokFSB5NW/ggpET9oNeTPB HDP3P+fJPzzet8eMIStM1n7UjwH++hCnm3DI0CYKlwyfN6G5irxyEfI40PsdeSfImtoR 13KQ==
X-Gm-Message-State: AKaTC034HJbrl+rvOh//7GewYgwiFrdyqBORzv9m7vITzpUQIQ6AGiTvhMbQqfd1bOd2HF4GST4snwPW3lXuZQ==
X-Received: by 10.55.99.141 with SMTP id x135mr401583qkb.147.1479862614442; Tue, 22 Nov 2016 16:56:54 -0800 (PST)
MIME-Version: 1.0
Received: by 10.140.85.101 with HTTP; Tue, 22 Nov 2016 16:56:53 -0800 (PST)
In-Reply-To: <65743.1479808295@critter.freebsd.dk>
References: <3A206EA7-57FB-4913-BC08-445BD2EFA783@mnot.net> <CABkgnnV8=2_sR-B-6e9Haxi+4M4DF4V7f3CWCVvXDHNN_SkTKw@mail.gmail.com> <98329.1479720181@critter.freebsd.dk> <CABkgnnVqH6TPi0OJ5iecYBj2gRich+DMLnxxQJcw9Qn6n-JPBA@mail.gmail.com> <65242.1479800991@critter.freebsd.dk> <E5207840-A825-43B5-B42F-6C56314EA703@mnot.net> <65743.1479808295@critter.freebsd.dk>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Wed, 23 Nov 2016 11:56:53 +1100
Message-ID: <CABkgnnXwOOmv3sJKrufs19ErUNA65iMm32aypRBH=z+F8mWGSQ@mail.gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>, Patrick McManus <mcmanus@ducksong.com>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.220.171; envelope-from=martin.thomson@gmail.com; helo=mail-qk0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-6.0
X-W3C-Hub-Spam-Report: AWL=-0.007, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1c9LsG-00061n-Bx e0d5b7c3dcd5d8d1fb90035fae3f0195
X-Original-To: ietf-http-wg@w3.org
Subject: Re: JFV and Common Structure specifications
Archived-At: <http://www.w3.org/mid/CABkgnnXwOOmv3sJKrufs19ErUNA65iMm32aypRBH=z+F8mWGSQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32963
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 22 November 2016 at 20:51, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> But I see absolutely no advantages for us or anybody else, in trying
> to impose that policy on everybody else, by delivering CS as a less
> capable tool[1].
[...]
> [1] In my very extensive study of computing history, I have _never_
> found an instance where that strategy worked for anybody, and
> computing today is litered with examples of the opposite: C++ vs
> C, PHP vs Perl, AMD64 architecture vs Itanic, GPL/GCC vs CLANG,
> and so on.

JSON.  The principle you are looking for is "just barely good enough
to work".  And that applies to the web in spades if you want great
object lessons.

Let's not talk about policy and instead concentrate on cost-benefit.
Mark has summarized the costs quite well, I think.  I would go further
and point out that a recursive syntax with quoting cannot have
elements that are skipped by a parser, which I find results in simply
externalizing those costs.

The onus on you is to justify these costs in terms of tangible
benefits.  Concrete use cases might help.

(BTW, I like your onion layers concept, though I'm sure that Roy would
chime in and point out that this is a feature of Waka.)