Re: [vwrap] Removing first name / last name assumptions?
Carlo Wood <carlo@alinoe.com> Tue, 06 April 2010 13:01 UTC
Return-Path: <carlo@alinoe.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 B1B233A6903 for <vwrap@core3.amsl.com>;
Tue, 6 Apr 2010 06:01:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.226
X-Spam-Level:
X-Spam-Status: No, score=0.226 tagged_above=-999 required=5 tests=[AWL=0.167,
BAYES_05=-1.11, HELO_EQ_AT=0.424, HOST_EQ_AT=0.745]
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 qkdclghClVB5 for
<vwrap@core3.amsl.com>; Tue, 6 Apr 2010 06:01:48 -0700 (PDT)
Received: from viefep15-int.chello.at (viefep15-int.chello.at [62.179.121.35])
by core3.amsl.com (Postfix) with ESMTP id 1AC0E3A68F7 for <vwrap@ietf.org>;
Tue, 6 Apr 2010 06:01:46 -0700 (PDT)
Received: from edge02.upcmail.net ([192.168.13.237]) by viefep15-int.chello.at
(InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id
<20100406130143.PTB14297.viefep15-int.chello.at@edge02.upcmail.net>;
Tue, 6 Apr 2010 15:01:43 +0200
Received: from mail9.alinoe.com ([77.250.43.12]) by edge02.upcmail.net with
edge id 2D1g1e04N0FlQed02D1jHD; Tue, 06 Apr 2010 15:01:43 +0200
X-SourceIP: 77.250.43.12
Received: from carlo by mail9.alinoe.com with local (Exim 4.71) (envelope-from
<carlo@alinoe.com>) id 1Nz8PT-0007iq-DE; Tue, 06 Apr 2010 15:01:39 +0200
Date: Tue, 6 Apr 2010 15:01:39 +0200
From: Carlo Wood <carlo@alinoe.com>
To: barryleiba@computer.org
Message-ID: <20100406130139.GE27189@alinoe.com>
References: <62BFE5680C037E4DA0B0A08946C0933DCB738C13@rrsmsx506.amr.corp.intel.com>
<t2jb325928b1004051220i5f1d8f04od2602f26f758f3da@mail.gmail.com>
<CDB96FF3-A282-40B3-94D8-A9B6A00D8AF5@bbn.com>
<62BFE5680C037E4DA0B0A08946C0933DCB738C9B@rrsmsx506.amr.corp.intel.com>
<y2gb325928b1004051307u5f5e64d9zd18b70bfd8307d6a@mail.gmail.com>
<y2h6c9fcc2a1004052132z77168acaq26928209fa1e3e03@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <y2h6c9fcc2a1004052132z77168acaq26928209fa1e3e03@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
X-Cloudmark-Analysis: v=1.1 cv=O+FWVpunvrlG1gSnSO6WiIQ7o0MJ4laHqrEcUJ8XjIg=
c=1 sm=0 a=MQuG_ZtAow4A:10 a=38zWk6xDZSoA:10 a=kj9zAlcOel0A:10
a=BjFOTwK7AAAA:8 a=7rn-j1GDkeTFXmSRjigA:9 a=qPRGy5-s6wMnM6WDVqoA:7
a=yqjqnoyER0KNn7z3c_aClYezI-wA:4 a=CjuIK1q_8ugA:10 a=bW3kdApBr58A:10
a=p0Pubx7qlqYOj58O:21 a=VYJuvW5YlQ32K-Nw:21 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
Cc: vwrap@ietf.org
Subject: Re: [vwrap] Removing first name / last name assumptions?
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: Tue, 06 Apr 2010 13:01:48 -0000
On Tue, Apr 06, 2010 at 12:32:08AM -0400, Barry Leiba wrote:
> This scheme only adds two characters to the identifier (the leading
> and trailing delimiter, and we *could* eliminate the trailing one, if
> people prefer, by defining agent-identifier as "1*(delim id-part)"...
> I like having it), and seems to solve everyone's problem.
It solves Linden Labs "problem". I mean, you are not suggesting that
this should be part of VWRAP right?
VWRAP doesn't need to specify how each login server will decode
the AgentID string. That can be different from provider to provider.
Since Meadhbh kept saying that the LL database is "dirty" so that
not ANY single delimiter will do (they have first and last names
that contain any of the 256 binary values of character), how about
encoding it like this:
[length][firstname][lastname]
where [length] is the first byte (8 bit) and represents
the length of the firstname. For example:
"\05CarloWood"
That would allow for ANY characters anywhere in both first- and
lastname.
Implementation example (in C++):
#include <iostream>
int const maxnamelen = 32; // Must be less than 256.
int main()
{
std::string const input_firstname = "Carlo";
std::string const input_lastname = "Wood";
// Encode LL name pair to agentID for VWRAP.
std::string agentID;
agentID = (unsigned char)input_firstname.length(); // Never 0.
agentID += input_firstname;
agentID += input_lastname;
// Decode VWRAP agentID to LL name pair.
size_t firstlen = agentID[0];
std::string firstname = agentID.substr(1, firstlen);
std::string lastname = agentID.substr(firstlen + 1, agentID.length() - 1 - firstlen);
std::cout << "Firstname = \"" << firstname << "\"; lastname = \"" << lastname << "\"." << std::endl;
}
--
Carlo Wood <carlo@alinoe.com>
- [vwrap] Removing first name / last name assumptio… Hurliman, John
- Re: [vwrap] Removing first name / last name assum… Meadhbh Hamrick
- Re: [vwrap] Removing first name / last name assum… Morgaine
- Re: [vwrap] Removing first name / last name assum… Richard Barnes
- Re: [vwrap] Removing first name / last name assum… Meadhbh Hamrick
- Re: [vwrap] Removing first name / last name assum… Hurliman, John
- Re: [vwrap] Removing first name / last name assum… Richard Barnes
- Re: [vwrap] Removing first name / last name assum… Meadhbh Hamrick
- Re: [vwrap] Removing first name / last name assum… Patnad Babii
- Re: [vwrap] Removing first name / last name assum… Meadhbh Hamrick
- Re: [vwrap] Removing first name / last name assum… Meadhbh Hamrick
- Re: [vwrap] Removing first name / last name assum… Hurliman, John
- Re: [vwrap] Removing first name / last name assum… Meadhbh Hamrick
- Re: [vwrap] Removing first name / last name assum… Meadhbh Hamrick
- Re: [vwrap] Removing first name / last name assum… Hurliman, John
- Re: [vwrap] Removing first name / last name assum… Hurliman, John
- Re: [vwrap] Removing first name / last name assum… Vaughn Deluca
- Re: [vwrap] Removing first name / last name assum… Morgaine
- Re: [vwrap] Removing first name / last name assum… Barry Leiba
- Re: [vwrap] Removing first name / last name assum… Meadhbh Hamrick
- Re: [vwrap] Removing first name / last name assum… Dave CROCKER
- Re: [vwrap] Removing first name / last name assum… Morgaine
- Re: [vwrap] Removing first name / last name assum… Morgaine
- Re: [vwrap] Removing first name / last name assum… Christian Scholz
- Re: [vwrap] Removing first name / last name assum… Carlo Wood
- Re: [vwrap] Removing first name / last name assum… Carlo Wood
- Re: [vwrap] Removing first name / last name assum… Carlo Wood
- Re: [vwrap] Removing first name / last name assum… Carlo Wood
- Re: [vwrap] Removing first name / last name assum… Carlo Wood
- Re: [vwrap] Removing first name / last name assum… Dzonatas Sol
- Re: [vwrap] Removing first name / last name assum… Meadhbh Hamrick
- Re: [vwrap] Removing first name / last name assum… Meadhbh Hamrick
- Re: [vwrap] Removing first name / last name assum… Dzonatas Sol
- Re: [vwrap] Removing first name / last name assum… Joshua Bell
- Re: [vwrap] Removing first name / last name assum… Meadhbh Hamrick
- Re: [vwrap] Removing first name / last name assum… Carlo Wood
- Re: [vwrap] Removing first name / last name assum… Morgaine
- Re: [vwrap] Removing first name / last name assum… Tammy Nowotny
- Re: [vwrap] Removing first name / last name assum… dyerbrookme@juno.com
- Re: [vwrap] Removing first name / last name assum… Patnad Babii
- Re: [vwrap] Removing first name / last name assum… dyerbrookme@juno.com
- Re: [vwrap] Removing first name / last name assum… Carlo Wood