Re: [vwrap] The <embed> tag... is the group still interested in LLSD or DSD?

Morgaine <morgaine.dinova@googlemail.com> Sat, 07 May 2011 14:32 UTC

Return-Path: <morgaine.dinova@googlemail.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 5CE91E06C5 for <vwrap@ietfa.amsl.com>; Sat, 7 May 2011 07:32:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.867
X-Spam-Level:
X-Spam-Status: No, score=-2.867 tagged_above=-999 required=5 tests=[AWL=0.109, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 rayntz81r9ct for <vwrap@ietfa.amsl.com>; Sat, 7 May 2011 07:32:07 -0700 (PDT)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by ietfa.amsl.com (Postfix) with ESMTP id 05ECEE068B for <vwrap@ietf.org>; Sat, 7 May 2011 07:32:06 -0700 (PDT)
Received: by qwc23 with SMTP id 23so3004066qwc.31 for <vwrap@ietf.org>; Sat, 07 May 2011 07:32:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=2OSGiR9Ihi3s+Fu+Ceu460LrxQYbnvopownqRLy18m8=; b=mEFjq043k9MLxUMjxgC0vqKj9iE3pdTVjQgWx6HnVQSMf4j2p2UcQcSzCHumFK3CeX cO6PZ5bDmkQy4CdLTiHEg6F08qSs0wpG+orhK2KR5xUaCXzLJ8aiN6cWsY/JAqgAPk6V HUT/PHLQOSLaW3r5hBa8h2NbjlLkxebJx7iF8=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=isNfmzBbVGNAosAi0tfIIoMMayPTZ7u66K2BRhH7WjExanAt+IzzchOp+N/94de3G+ UhuiNlZosK/TvKbYgw2TvnYv4ls1ZZRr944EK2SB8Tn/pTEeXOWMhE6e4cfbfOGbKrXT Sn9HimKdPHxkfQ3JRLOc/2FR4zWV7eqI0kKqk=
MIME-Version: 1.0
Received: by 10.229.119.134 with SMTP id z6mr1782374qcq.63.1304778725784; Sat, 07 May 2011 07:32:05 -0700 (PDT)
Received: by 10.229.66.212 with HTTP; Sat, 7 May 2011 07:32:05 -0700 (PDT)
In-Reply-To: <BANLkTi=7MDUAfjJb697uRwrrxB-4v5fQ3A@mail.gmail.com>
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> <4DC1A8C9.9090406@gmail.com> <BANLkTikkOS34CC+ML0JNJgHDoRqbs9rY9w@mail.gmail.com> <4DC1D165.7010705@gmail.com> <4DC1D5FC.6040608@gmail.com> <BANLkTik81Eht3NTdLXXmgqOWvjc2s_KBnw@mail.gmail.com> <BANLkTi=-heHa35w43te0ba8NufkT+MP+CQ@mail.gmail.com> <BANLkTin6ExR7+xpodbtoTAS_4WyhUXL92Q@mail.gmail.com> <BANLkTikjKib79_rLR_s2X=X-ss-+V_yw+w@mail.gmail.com> <BANLkTim4aY7oNALbOfZ2V-htivVmQJZDiA@mail.gmail.com> <BANLkTi=7MDUAfjJb697uRwrrxB-4v5fQ3A@mail.gmail.com>
Date: Sat, 7 May 2011 15:32:05 +0100
Message-ID: <BANLkTimQTM5GsxGcyEfaXYV8JZA7MtxFyw@mail.gmail.com>
From: Morgaine <morgaine.dinova@googlemail.com>
To: vwrap@ietf.org
Content-Type: multipart/alternative; boundary=000e0cd5c94e75ffe004a2b078fc
Subject: Re: [vwrap] The <embed> tag... 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: Sat, 07 May 2011 14:32:08 -0000

Oh dear, that's sad to hear, Dahlia.

So not only was the original premise of Python not having longer integers
wrong (although the addition of bigints may have been recent), but the
missing types in LLSD even forced SL designers to use base64 blobs in their
absence.  That strongly highlights the mistake that was made in the early
ADT.

Even worse, that design decision then went on to compromise Opensim's
implementation by forcing it to employ base64 blobs to be compatible with SL
viewers, since Opensim has no independent viewer of its own .  Such mistakes
often propagate to other parties through no fault of theirs, just because
the original design decision was not a good one.

*Well now is the time for change!
*
The IETF's Mission Statement places upon us a duty to work for the benefit
of all Internet users, so let's not perpetuate the old mistake and spread
the harm to future virtual worlds.  We have the technical competency to do
better than was done in the past.


Morgaine.




=========================

On Sat, May 7, 2011 at 8:45 AM, Dahlia Trimble <dahliatrimble@gmail.com>wrote;wrote:

> I believe python supports very large integers. Try this in your python
> interpreter:
>
> >>> bigint = 2**(2**16)
> >>> print bigint
>
> I first became aware of missing integer types in LLSD when I was coding the
> event queue messages to support group chat in OpenSimulator. It seems that
> "region handles" are 64 bit integers in the LL protocols but are encoded as
> a base64 encoded binary blob in LLSD as LLSD has no support for integers
> larger than 32 bits. I suspect that changing LLSD to have larger integer
> types might create some compatibility issues with existing implementations
> that expect to use the binary blob.
>
>
> On Fri, May 6, 2011 at 9:18 AM, Joshua Bell <josh@lindenlab.com> wrote:
>
>> On Thu, May 5, 2011 at 11:46 PM, Vaughn Deluca <vaughn.deluca@gmail.com>wrote;wrote:
>>
>>>
>>> What were the reasons to allow onl a single integer type? There must have
>>> been a good arguments for that?
>>>
>>
>> IIRC, some of the languages we wished to support (Python comes to mind)
>> did not have support for integers larger than 32-bits. ECMAScript doesn't
>> have integer number types at all only IEEE 754 64-bit floats; if you
>> constrain the input and output to 32-bit integers it can represent those
>> accurately, but not 64-bit integers.
>>
>> If you look at the history of LLSD, it started with 3 serialization
>> formats that explicitly specified the type of values - XML, binary, and
>> "notation" - a compact text serialization intermediate in size between
>> binary and XML. The IETF drafts dropped notation and added JSON. The JSON
>> serialization was "lossy" as LLSD describes types and values that don't
>> exist in JSON (Integer, Date, UUID, NaN, Infinity, etc). By design, though,
>> the type conversions described in the LLSD Draft accommodate e.g. by
>> serializing a Date as an ISO 8601 string, which when interpreted as a date
>> by the receiver results in the original Date by the string->date conversion
>> rules. (I don't know if we had resolved every issue with JSON serialization;
>> certainly, discussion about edge cases on this list never made it into a
>> draft).
>>
>> As far as adding new types: I believe there was the belief that this could
>> be accommodated by defining an "LLSD2" at some point in the future with a
>> distinct MIME type for serializations (e.g. application/llsd2+xml); unlike
>> the Web, content negotiation over HTTP was assumed to be functional within
>> VWRAP interoperation. Therefore, there was no push to ensure LLSD "v1" was
>> internally extensible or comprehensive for all imaginable scalar/structured
>> types.
>>
>> Anyway... if contributors have implementation of abstract data type
>> systems that share characteristics with LLSD and are thinking about adding
>> additional scalar/structured types, they should look at the issues with both
>> implementation languages and serialization formats.
>>
>> -- Josh
>>
>>
>> _______________________________________________
>> vwrap mailing list
>> vwrap@ietf.org
>> https://www.ietf.org/mailman/listinfo/vwrap
>>
>>
>
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>
>