that would work

-w

On Dec 6, 2007 11:30 AM, Ian Bicking <ianb@openplans.org> wrote:
David Turner wrote:
> On Wed, 2007-12-05 at 20:23 -0500, whit wrote:
>> we might consider better ids to identify projects and people to
>> communicate between apps.
>>
>> both projects and people already have uids associated with them, it
>> would avoid certain problems by using them.  Currently I'm thinking of
>> project deletion or incomplete project creation where lingering
>> instances of the id create issue when someone tries to use that id
>> again.
>
> What kind of UID?
>
> Do you mean a random number?  If so, I'm -1 on that.
>
> Random numbers are really nice inside a monolithic system, because you
> can always resolve them back to what they refer to.  But in a
> distributed system, it can be a hassle to figure out why you're seeing
> 152352-134214-412 when you expect 912334-613412-678.  I would rather see
> URLs as ids, since they're still unique, but they're easy to understand.

There's a middle ground where we use a stable id like username-434839.
It's both readable and unique over time.


--
Ian Bicking : ianb@openplans.org


--
Archive: http://www.openplans.org/projects/opencore/lists/opencore-dev/archive/2007/12/1196962238625
To unsubscribe send an email with subject unsubscribe to opencore-dev@lists.openplans.org.  Please contact opencore-dev-manager@lists.openplans.org for questions.




--

| david "whit" morriss
|
| contact :: http://public.xdi.org/=whit

"If you don't know where you are,  
 you don't know anything at all"        
                                   
 Dr. Edgar Spencer, Ph.D., 1995    


"I like to write code like  
other ppl like to tune their
cars or 10kW hifi equipment..."

Christian Heimes, 2004