Re: [vwrap] ADT? is the group still interested in LLSD or DSD?
Dzonatas Sol <dzonatas@gmail.com> Wed, 04 May 2011 19:36 UTC
Return-Path: <dzonatas@gmail.com>
X-Original-To: vwrap@ietfa.amsl.com
Delivered-To: vwrap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 17C77E074D for <vwrap@ietfa.amsl.com>; Wed, 4 May 2011 12:36:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.891
X-Spam-Level:
X-Spam-Status: No, score=-3.891 tagged_above=-999 required=5 tests=[AWL=-0.292, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AJAfWPbUvUSd for <vwrap@ietfa.amsl.com>; Wed, 4 May 2011 12:36:06 -0700 (PDT)
Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by ietfa.amsl.com (Postfix) with ESMTP id E7F44E06B1 for <vwrap@ietf.org>; Wed, 4 May 2011 12:36:05 -0700 (PDT)
Received: by pwi5 with SMTP id 5so854187pwi.31 for <vwrap@ietf.org>; Wed, 04 May 2011 12:36:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=pAM+5hywcQWs/Ej1c4TbGL5syawUgn369MmrZZns9hQ=; b=jasB52s0WIkyUETQt+YKgCV+T7EUlubKjicycBaTkP89TSPETInwuIwT4d1dinrD8W u80MK32+EnVC9ZH8RS1f72bNm1EWgxXjJVyVL3IKYgP0mYq/rbNTPmpAXqPstO3nzo7H uHDuMnpjCvYPEIBVpL3rrhAnE+yRxqhJgpRKA=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=O5YL+i0B6x3xvs4xEnPp2W69+I5+hNgyfPhKEm84Usz9LwORkIhQ8BG5ys9H14MJwu f8vZ9mMj5yJk/wcuVzXmCRI24O/uXA8aT7iWcRNaWKRmv1O5WhvaZhJC0Iujj2ls0Nl/ zC/kDPG5mT6iZofKDdxzKpAaFUozMsdYgYGzw=
Received: by 10.68.14.37 with SMTP id m5mr1893524pbc.474.1304537354810; Wed, 04 May 2011 12:29:14 -0700 (PDT)
Received: from [192.168.0.50] (adsl-70-133-70-225.dsl.scrm01.sbcglobal.net [70.133.70.225]) by mx.google.com with ESMTPS id d3sm910057pbh.73.2011.05.04.12.29.13 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 May 2011 12:29:14 -0700 (PDT)
Message-ID: <4DC1A8C9.9090406@gmail.com>
Date: Wed, 04 May 2011 12:28:09 -0700
From: Dzonatas Sol <dzonatas@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110307 Icedove/3.0.11
MIME-Version: 1.0
To: vwrap@ietf.org
References: <BANLkTi=g9T5q5bVgytpxRxuE=Oc9iG2F9w@mail.gmail.com> <BANLkTi=K8-6oL-JJoPCfz0JjDpaRBpeOyg@mail.gmail.com> <4DC15504.3090503@gmail.com> <BANLkTikay4xhQoZs2L0uRLSXgUMfCE9yfA@mail.gmail.com> <4DC160F0.1030201@gmail.com> <BANLkTikTYpLHM=GAeGAVfufqZ5XT0FSAzw@mail.gmail.com> <BANLkTi=kjBSuMjPcgfXTUvZ3iwmS1bN50Q@mail.gmail.com> <4DC17704.3020201@gmail.com> <BANLkTimpGpNrkE3WUdurduqrVumocDRwfQ@mail.gmail.com> <4DC1824B.6040609@gmail.com> <BANLkTi=hhsiDs=fdZRsthp_+5Hs+pR4L6A@mail.gmail.com> <4DC1956A.5020204@gmail.com> <BANLkTik8rnsKP4xq+Gj5G4dsG=UOVnkNSQ@mail.gmail.com>
In-Reply-To: <BANLkTik8rnsKP4xq+Gj5G4dsG=UOVnkNSQ@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Subject: Re: [vwrap] ADT? is the group still interested in LLSD or DSD?
X-BeenThere: vwrap@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Virtual World Region Agent Protocol - IETF working group <vwrap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/vwrap>, <mailto:vwrap-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/vwrap>
List-Post: <mailto:vwrap@ietf.org>
List-Help: <mailto:vwrap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/vwrap>, <mailto:vwrap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 May 2011 19:36:07 -0000
I would like to add the "stream buffer" data type, with optional metadata to normalize access to higher-levels, and with intent of content extraction/replacement by element tag (like XPath). This would make it so much easier to implement asset servers and agent services. (Yet, I rather have more implementation first than simple Schroedinger's cat idealogy to base RFC submission). Do you want to update the text below to add your "ADT" to the already implemented type system? In WIP: http://tools.ietf.org/html/draft-ietf-vwrap-type-system-00 Section 2: The LLSD abstract type system describes the semantics of data passed between two network hosts. These types characterize the data when serialized for transport, when stored in memory, and when accessed by applications. The types are designed to be common enough that native types in existing serializations and programming languages will be usable directly. It is anticipated that LLSD data may be serialized in systems with fewer types or stored in native programming language structures with less precise types, and still interoperate in a predictable, reliable manner. To support this, conversions are defined to govern how data received or stored as one type may be read as another. For example, if an application expects to read an LLSD value as an Integer, but the serialization used to transport the value only supported Reals, then a conversion governs how the application will see the transported value. Another case would be where an application wants to read an LLSD value as a URL, but the programing language only supports String as a data type. Again, there is a defined conversion for this case. The intention is that applications will interact with LLSD data via interfaces in terms of these types, even if the underlying language or transports do not directly support them, while retaining as much direct compatibility with those native types as possible. An LLSD value is either a simple datum or a composite structure. A simple data value can have one of nine simple types: Undefined, Boolean, Integer, Real, String, UUID, Date, URI or Binary. Composite structures can be either of the types Array or Map. On 05/04/2011 11:26 AM, Morgaine wrote: > On Wed, May 4, 2011 at 7:05 PM, Dzonatas Sol <dzonatas@gmail.com > <mailto:dzonatas@gmail.com>> wrote: > > > XML is more than just serialization and mark-up language, yet this > how people *start* with such concepts. It remains very useful for > more advanced flows with absolute simplicity to the core to parse, > and continues to be ridiculously easy to optimize, tokenize, and > compress (with static dictionaries). Note that with static > dictionaries, concerns like power consumption are already thought > about because to even get that analytic computation done for each > and every message only consumes more power. > > > This is what I can't seem to get across to you. All those wonderful > features of XML are *IRRELEVANT* to the extensibility of the ADT's > primitive types, because the ADT defines its very limited set of > abstract types itself, directly. The only thing that the ADT's > serializations can do is express those predefined ADT types on the > wire. You can't extend the primitive types in a serialization of the ADT. > > If you were arguing that our ADT's primary type definitions should be > in XML then you would have quite a good point, because then the types > would be both flexible and extensible. But that's not what we're > discussing here. > > > Morgaine. > > > > > ========================== > > On Wed, May 4, 2011 at 7:05 PM, Dzonatas Sol <dzonatas@gmail.com > <mailto:dzonatas@gmail.com>> wrote: > > On 05/04/2011 10:22 AM, Morgaine wrote: > > Let me rephrase it more precisely.� Your responses do not > *demonstrate* understanding of the type model of LLSD + > serializations.� You persist in suggesting that the > extensibility of XML can extend the elementary types of LLSD, > when it absolutely cannot do that.� I am confident that you do > understand this, but it hasn't come across yet. > > I recommend leaving XML out of the discussion, because it's > just one out of 3 primary serializations.� Leaving it out (for > now) will help highlight the non-extensibility of the LLSD > elementary data types. > > > XML is only a more graphic form than ASCII and extended with > common multi-byte format useful to detect network order. Because > it is human-readable, many miss *that* obvious critical fact. If > you send XML data, we don't have to worry about the network order > for whatever abstract data types you make up. > > XML is more than just serialization and mark-up language, yet this > how people *start* with such concepts. It remains very useful for > more advanced flows with absolute simplicity to the core to parse, > and continues to be ridiculously easy to optimize, tokenize, and > compress (with static dictionaries). Note that with static > dictionaries, concerns like power consumption are already thought > about because to even get that analytic computation done for each > and every message only consumes more power. > > You're telling us you want to leave that already > well-thought-critical details out of the discussion when it is > already standardized and already just easily said as "XML"? > > We realize that some implementers made LLSD mean "Linden Lab > Serialized Data", and they wanted JSON instead because it *was* > easily to eval() to parse. (Except now JSON has to avoid > injections just like SQL & perl/php, etc, ...). > > I'm pretty sure the real problem has been DEMONSTRATED with the > implementation(s), especially where you further demonstrated that > you want to leave out any mention of the extensibility features in > order to show the problem with non-extensibility. That sounds > familiar. > > > > It's a really fundamental aspect of the ADT that it defines > our types independent of its serializations. �It's a useful > concept, but the problem with this particular one -- LLSD > (DSD?) -- is that the elementary types are neither flexible > nor extensible. > > > Let the VMs define further ADTs. We only need a few standard data > types. This WG should only be concerned with being able to > document (and clarify) the flow, especially the region-agent > transistions. If the flow uses standard LLSD data types to define > some complex abstract data type, perfect enough. I wouldn't be > surprised if we add one more LLSD data type for DAEs, as that may > be the perfect place for it. Then you can go and add any relevant > extension you want to the DAE, even more abstract data types > within the DAE, and further you don't even have to worry about it > all being in RFC format. > > > > -- > --- https://twitter.com/Dzonatas_Sol --- > Web Development, Software Engineering, Virtual Reality, Consultant > > _______________________________________________ > vwrap mailing list > vwrap@ietf.org <mailto:vwrap@ietf.org> > https://www.ietf.org/mailman/listinfo/vwrap > > > > _______________________________________________ > vwrap mailing list > vwrap@ietf.org > https://www.ietf.org/mailman/listinfo/vwrap > -- --- https://twitter.com/Dzonatas_Sol --- Web Development, Software Engineering, Virtual Reality, Consultant
- Re: [vwrap] is the group still interested in LLSD… Morgaine
- Re: [vwrap] is the group still interested in LLSD… Dzonatas Sol
- [vwrap] is the group still interested in LLSD or … Meadhbh Hamrick
- Re: [vwrap] is the group still interested in LLSD… Morgaine
- Re: [vwrap] is the group still interested in LLSD… Dzonatas Sol
- Re: [vwrap] is the group still interested in LLSD… Morgaine
- Re: [vwrap] is the group still interested in LLSD… Dzonatas Sol
- Re: [vwrap] is the group still interested in LLSD… Meadhbh Hamrick
- Re: [vwrap] is the group still interested in LLSD… Dzonatas Sol
- Re: [vwrap] is the group still interested in LLSD… Morgaine
- Re: [vwrap] is the group still interested in LLSD… Dzonatas Sol
- Re: [vwrap] is the group still interested in LLSD… Morgaine
- Re: [vwrap] is the group still interested in LLSD… Dzonatas Sol
- Re: [vwrap] is the group still interested in LLSD… Morgaine
- Re: [vwrap] ADT? is the group still interested in… Dzonatas Sol
- Re: [vwrap] ADT? is the group still interested in… Morgaine
- Re: [vwrap] The <embed> tag... is the group still… Dzonatas Sol
- Re: [vwrap] The <embed> tag... is the group still… Dzonatas Sol
- Re: [vwrap] The <embed> tag... is the group still… Morgaine
- Re: [vwrap] The <embed> tag... is the group still… Vaughn Deluca
- Re: [vwrap] The <embed> tag... is the group still… Morgaine
- Re: [vwrap] The <embed> tag... is the group still… Vaughn Deluca
- Re: [vwrap] The <embed> tag... is the group still… Joshua Bell
- Re: [vwrap] The <embed> tag... is the group still… Dzonatas Sol
- Re: [vwrap] The <embed> tag... is the group still… Morgaine
- Re: [vwrap] The <embed> tag... is the group still… Dahlia Trimble
- Re: [vwrap] The <embed> tag... is the group still… Morgaine
- Re: [vwrap] The <embed> tag... is the group still… Meadhbh Hamrick
- [vwrap] Python integer types (was: The <embed> ta… Boroondas Gupte
- Re: [vwrap] The <embed> tag... is the group still… Meadhbh Hamrick
- Re: [vwrap] The <embed> tag... is the group still… Meadhbh Hamrick
- Re: [vwrap] The <embed> tag... is the group still… Morgaine
- Re: [vwrap] The <embed> tag... is the group still… Meadhbh Hamrick
- [vwrap] Python integer types, again (was: The <em… Boroondas Gupte
- Re: [vwrap] Python integer types (was: The <embed… Meadhbh Hamrick
- Re: [vwrap] Python integer types, again (was: The… Meadhbh Hamrick
- Re: [vwrap] The <embed> tag... is the group still… Dzonatas Sol
- Re: [vwrap] The <embed> tag... is the group still… Dzonatas Sol
- Re: [vwrap] The <embed> tag... is the group still… Morgaine
- Re: [vwrap] The <embed> tag... is the group still… Dzonatas Sol
- Re: [vwrap] The <embed> tag... is the group still… Morgaine
- Re: [vwrap] The <embed> tag... is the group still… Dzonatas Sol
- Re: [vwrap] The <embed> tag... is the group still… Morgaine
- Re: [vwrap] The <embed> tag... is the group still… Dzonatas Sol
- Re: [vwrap] The <embed> tag... is the group still… Dzonatas Sol
- Re: [vwrap] The <embed> tag... is the group still… Morgaine
- Re: [vwrap] The <embed> tag... is the group still… Dzonatas Sol
- Re: [vwrap] The <embed> tag... is the group still… Morgaine
- Re: [vwrap] The <embed> tag... is the group still… Dzonatas Sol
- Re: [vwrap] The <embed> tag... is the group still… Morgaine
- Re: [vwrap] The <embed> tag... is the group still… Dzonatas Sol
- Re: [vwrap] The <embed> tag... is the group still… Robert G. Jakabosky
- Re: [vwrap] The <embed> tag... is the group still… Morgaine
- Re: [vwrap] The <embed> tag... is the group still… Dzonatas Sol