Re: [vwrap] ECMA-262 and the Real LLSD type

Meadhbh Hamrick <ohmeadhbh@gmail.com> Thu, 06 May 2010 18:51 UTC

Return-Path: <ohmeadhbh@gmail.com>
X-Original-To: vwrap@core3.amsl.com
Delivered-To: vwrap@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A6AE728C125 for <vwrap@core3.amsl.com>; Thu, 6 May 2010 11:51:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.79
X-Spam-Level:
X-Spam-Status: No, score=-0.79 tagged_above=-999 required=5 tests=[AWL=-1.205, BAYES_40=-0.185, J_CHICKENPOX_14=0.6]
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 xa4zQMUMCMu7 for <vwrap@core3.amsl.com>; Thu, 6 May 2010 11:51:33 -0700 (PDT)
Received: from mail-gy0-f172.google.com (mail-gy0-f172.google.com [209.85.160.172]) by core3.amsl.com (Postfix) with ESMTP id 6ACAF28C148 for <vwrap@ietf.org>; Thu, 6 May 2010 11:51:31 -0700 (PDT)
Received: by gyh4 with SMTP id 4so192015gyh.31 for <vwrap@ietf.org>; Thu, 06 May 2010 11:51:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=b7WwKggapSkl2MjCBHR3SHasYbcN0aoeEbAljSjdtDs=; b=E9lIEIRbVPtwriS7+rz5AfUrpg+zJR/3p4CTLyXR/13xC2nxJLHnsfYoDCkpGHTF4V prZcC49z11nB/N58AClo8XcZy/IF164h+lrUvlHW/8XjLJb1LszWXdJY3s1yRGs0/z3u JO5NHNGrCUTjWR1UqhbeQgKArcMrE73FTaOeM=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=MrqRIHT3eDuyrBOLuUgghcns2p8EADdmcnzLgAH4uW5TALsDaYZdc1rQRdPwQkfftA lN8ajTakFt2zgsll51GPfwllf/b4HdVc6UsgXDTlf6uKll/MddtyTZG9V7eXVlqN2Dfc d87BwCovB8AHecdnoimKv+vEYR6npd+ReigDE=
Received: by 10.229.227.68 with SMTP id iz4mr4079110qcb.44.1273171865192; Thu, 06 May 2010 11:51:05 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.24.142 with HTTP; Thu, 6 May 2010 11:50:45 -0700 (PDT)
In-Reply-To: <v2jf72742de1005061147qad927bb3p9c268fc18b1d0995@mail.gmail.com>
References: <62BFE5680C037E4DA0B0A08946C0933DCE425A2C@rrsmsx506.amr.corp.intel.com> <v2jf72742de1005061147qad927bb3p9c268fc18b1d0995@mail.gmail.com>
From: Meadhbh Hamrick <ohmeadhbh@gmail.com>
Date: Thu, 6 May 2010 11:50:45 -0700
Message-ID: <l2ub325928b1005061150qea5a2a84u15f3f0e06e1452f@mail.gmail.com>
To: Joshua Bell <josh@lindenlab.com>
Content-Type: text/plain; charset=ISO-8859-1
Cc: "vwrap@ietf.org" <vwrap@ietf.org>
Subject: Re: [vwrap] ECMA-262 and the Real LLSD type
X-BeenThere: vwrap@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Virtual World Region Agent Protocol - IETF working group <vwrap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Thu, 06 May 2010 18:51:33 -0000

* i think we got the textual values from XDR.
* yes, i chuckled a bit at the thought of embedding my linden name in
a standard.
--
meadhbh hamrick * it's pronounced "maeve"
@OhMeadhbh * http://meadhbh.org/ * OhMeadhbh@gmail.com



On Thu, May 6, 2010 at 11:47 AM, Joshua Bell <josh@lindenlab.com> wrote:
> ("from the floor")
> On Thu, May 6, 2010 at 10:36 AM, Hurliman, John <john.hurliman@intel.com>
> wrote:
>>
>> In draft-hamrick-llsd-00 "3.2. JSON Serialization" it states:
>>
> (snip)
>
>>
>> Does this mean that an LLSD real type with a value of -Infinity needs to
>> be converted to a JSON string, and would be decoded on the receiving side as
>> an LLSD string with value "-Infinity" (that happens to have a valid
>> conversion to an LLSD real)? ECMA-262 does not support Infinity, NaN, etc.
>> for the JSON 'number' type so it looks like we need to transmit those values
>> as strings.
>
> That looks like a reasonable interpretation/suggestion to me.
> While we're nitpicking this part of the spec:
> * The ABNF for non-special real numbers is pretty b0rked if I'm reading it
> correctly. (The exponent is non-optional, negative numbers are not
> productions, '0.00' is forbidden, etc) I've mentioned this to Mark Lentczner
> off-list.
> * are '+Zero' and '-Zero' really preferable over '0.0' and '-0.0' ? Who uses
> them?
> * should 'Infinity' (sans-+) be considered valid? how about 'NaN' (no 'S' or
> 'Q')?
> * was this all just a conspiracy by the draft authors to get us talking
> about their alter egos?
>
>
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>
>