Re: [codec] Summary of codec specification - Code in RFC

Cullen Jennings <fluffy@cisco.com> Wed, 13 October 2010 17:58 UTC

Return-Path: <fluffy@cisco.com>
X-Original-To: codec@core3.amsl.com
Delivered-To: codec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D89C43A69F5 for <codec@core3.amsl.com>; Wed, 13 Oct 2010 10:58:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.521
X-Spam-Level:
X-Spam-Status: No, score=-110.521 tagged_above=-999 required=5 tests=[AWL=0.078, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0TOGWBpov1e3 for <codec@core3.amsl.com>; Wed, 13 Oct 2010 10:58:52 -0700 (PDT)
Received: from sj-iport-4.cisco.com (sj-iport-4.cisco.com [171.68.10.86]) by core3.amsl.com (Postfix) with ESMTP id 51F6B3A69A0 for <codec@ietf.org>; Wed, 13 Oct 2010 10:58:52 -0700 (PDT)
Authentication-Results: sj-iport-4.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvsEAE2QtUyrR7Ht/2dsb2JhbAChUHGiP5x2hUgEhFKFb4MD
X-IronPort-AV: E=Sophos;i="4.57,326,1283731200"; d="scan'208";a="200247372"
Received: from sj-core-1.cisco.com ([171.71.177.237]) by sj-iport-4.cisco.com with ESMTP; 13 Oct 2010 18:00:09 +0000
Received: from [192.168.4.2] (rcdn-fluffy-8711.cisco.com [10.99.9.18]) by sj-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id o9DI07C5008568; Wed, 13 Oct 2010 18:00:07 GMT
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset="us-ascii"
From: Cullen Jennings <fluffy@cisco.com>
In-Reply-To: <4CA7B5E0.4000508@joelhalpern.com>
Date: Wed, 13 Oct 2010 12:00:06 -0600
Content-Transfer-Encoding: quoted-printable
Message-Id: <CCD2B81E-4E1A-4F71-BCBA-D9C091454D3D@cisco.com>
References: <C8CD010D.24D11%stewe@stewe.org> <4CA7B5E0.4000508@joelhalpern.com>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
X-Mailer: Apple Mail (2.1081)
Cc: codec@ietf.org
Subject: Re: [codec] Summary of codec specification - Code in RFC
X-BeenThere: codec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Codec WG <codec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/codec>, <mailto:codec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/codec>
List-Post: <mailto:codec@ietf.org>
List-Help: <mailto:codec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/codec>, <mailto:codec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Oct 2010 17:58:54 -0000

These all seem like good points. Let's see if we can figure out a way to do plain text split across two drafts and follow the XDR model. 


On Oct 2, 2010, at 4:44 PM, Joel M. Halpern wrote:

> I have serious problems with a standards track RFC whose normative content can not be read by a human being without additional tools.
> I also have serious conceptual problems with an RFC whose normative content, in human readable form, is 1,000 pages.
> 
> I am not objecting to publishing code in RFCs.  That is something we do frequently.  I am not even objecting to including base64 encoded gzip code, as informational appendices in an RFC.
> However, it seems to me that treating base64 gzip code as normative in an RFC is distinctly bending the rules for RFC publication.  That text can not be editted by the RFC Editors.  It can not be subject to erratta.  And it can not be read as meaningful plain ascii according to the spirit of our publication rules.
> 
> Yes, we have once in a great while published RFCs with tables on the order of this long.  It was difficult, but in fact the content was carefully reviewed.
> 
> Yours,
> Joel M. Halpern
> 
> PS: If the code were a reasonable length, publishing the text of the code as normative, and the base64 gzip as informative would seem to me to be a very good way to have clear normative code in an RFC while making it easy to use the code.
> 
> On 10/2/2010 6:32 PM, Stephan Wenger wrote:
>> As said before, putting base64 code into an RFC makes sense to me.  However,
>> I would definitely put it into its own RFC (which would be standards track)
>> and not into an appendix of the same document.  The versioning problem seems
>> to be less an issue than the trees that will fall if people "print all" the
>> RFC in question.  So please leave the textual description in another
>> document.
>> 
>> Logic suggests that this "human readable" document would be informational,
>> as the code RFC prevails in case of errors.  However, I don't mind being
>> slightly illogical here and call it standards track as well.  The document
>> could also certain code pieces in such cases where a textual description in
>> English with ASCII fixed width fonts may be to cumbersome.
>> 
>> Someone mentioned the "errata" process for fixing errors.  That process is
>> not going to work overly well with an base64 encoded zip file... But I don't
>> consider that a major problem--rather an incentive to get our stuff right
>> the first time.
>> 
>> Stephan
>> 
>> 
>> 
>> On 10.2.2010 13:21 , "fluffy@cisco.com"<fluffy@cisco.com>  wrote:
>> 
>>> 
>>> There been a bit of discussion suggesting that we should put into the draft
>>> both the machine readable base 64 version in that is easy to extract, and a
>>> version in human readable text that is easy for people to read. This seems
>>> like a reasonable idea to me. Just to get a rough idea of what this would look
>>> like, I took the current GIT repository and had a look at the code in it. It'
>>> a bit over 50k lines including both encoder and decoder. You get 48 lines of
>>> real text per page of RFC so the human readable version would be over a 1000
>>> pages. If you take the code, tar it, gzip it, and base64 encode it, you get a
>>> bit over 180 pages. This sounds big but given it's some bits on a web server,
>>> I don't particularly see any problem with it. I also have no idea how the
>>> repository compares to what would be needed to specify the normative parts of
>>> the decoder. I may have including in the 50k lines of code all kinds of stuff
>>> that was not needed.
>>> 
>>> Cullen
>>> 
>>> 
>>> On Oct 2, 2010, at 8:28 AM, Cullen Jennings wrote:
>>> 
>>>> 
>>>> On Oct 1, 2010, at 11:27 AM, Cullen Jennings wrote:
>>>> 
>>>>> 1) The code will be in the appendix of the draft base64 encoded. We can sort
>>>>> out later if it is gziped tar file of whatever but it will be some easy to
>>>>> extract format. This has been done on other documents. I have talked to the
>>>>> AD about this before. I have not talked to RFC Ed but do not foresee any
>>>>> issues there.
>>>> 
>>>> 
>>>> I'd like to encourage people interested in this point to look at Appendix B
>>>> of RFC 4474.
>>>> 
>>>> http://tools.ietf.org/rfc/rfc4474.txt
>>>> 
>>>> _______________________________________________
>>>> codec mailing list
>>>> codec@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/codec
>>> 
>>> _______________________________________________
>>> codec mailing list
>>> codec@ietf.org
>>> https://www.ietf.org/mailman/listinfo/codec
>> 
>> 
>> _______________________________________________
>> codec mailing list
>> codec@ietf.org
>> https://www.ietf.org/mailman/listinfo/codec
>>