Re: UUIDs?

2012-03-22 Thread 程劭非
-function/ I've been using this for several years Rick On Thu, Mar 1, 2012 at 5:45 PM, Axel Rauschmayer a...@rauschma.de wrote: UUIDs are useful for many tasks. One cannot create good ones in JavaScript without browsers exposing more of the underlying platform. Would it make sense to add UUID

Re: UUIDs?

2012-03-22 Thread Mark S. Miller
, Have you ever seen this? http://www.broofa.com/2008/09/javascript-uuid-function/ I've been using this for several years Rick On Thu, Mar 1, 2012 at 5:45 PM, Axel Rauschmayer a...@rauschma.de wrote: UUIDs are useful for many tasks. One cannot create good ones

Re: UUIDs?

2012-03-22 Thread 程劭非
Rauschmayer a...@rauschma.de wrote: UUIDs are useful for many tasks. One cannot create good ones in JavaScript without browsers exposing more of the underlying platform. Would it make sense to add UUID generation to ECMAScript.next? Or is that something for a browser API? Axel

Re: UUIDs?

2012-03-22 Thread Mark S. Miller
wrote: UUIDs are useful for many tasks. One cannot create good ones in JavaScript without browsers exposing more of the underlying platform. Would it make sense to add UUID generation to ECMAScript.next? Or is that something for a browser API? Axel -- Dr. Axel

Re: UUIDs?

2012-03-22 Thread Adam Shannon
waldron.r...@gmail.com wrote: Axel, Have you ever seen this? http://www.broofa.com/2008/09/javascript-uuid-function/ I've been using this for several years Rick On Thu, Mar 1, 2012 at 5:45 PM, Axel Rauschmayer a...@rauschma.de wrote: UUIDs are useful for many tasks

Re: UUIDs?

2012-03-22 Thread Jussi Kalliokoski
answers are less reliable than simply adding more bits to your random number -- *if* you are confident you have a good enough source of entropy. Yeah, and UUIDs, as unique as they are, aren't usually just magically that unique, for example v3 and v5 are pretty much just using a random number

UUIDs?

2012-03-15 Thread Axel Rauschmayer
UUIDs are useful for many tasks. One cannot create good ones in JavaScript without browsers exposing more of the underlying platform. Would it make sense to add UUID generation to ECMAScript.next? Or is that something for a browser API? Axel -- Dr. Axel Rauschmayer a...@rauschma.de home

Re: UUIDs?

2012-03-15 Thread Rick Waldron
Axel, Have you ever seen this? http://www.broofa.com/2008/09/javascript-uuid-function/ I've been using this for several years Rick On Thu, Mar 1, 2012 at 5:45 PM, Axel Rauschmayer a...@rauschma.de wrote: UUIDs are useful for many tasks. One cannot create good ones in JavaScript without

Re: UUIDs?

2012-03-15 Thread Jussi Kalliokoski
that expose information about the underlying system. On Fri, Mar 2, 2012 at 12:45 AM, Axel Rauschmayer a...@rauschma.de wrote: UUIDs are useful for many tasks. One cannot create good ones in JavaScript without browsers exposing more of the underlying platform. Would it make sense to add UUID

Re: UUIDs?

2012-03-15 Thread Nuno Job
:45 PM, Axel Rauschmayer a...@rauschma.de wrote: UUIDs are useful for many tasks. One cannot create good ones in JavaScript without browsers exposing more of the underlying platform. Would it make sense to add UUID generation to ECMAScript.next? Or is that something for a browser API? Axel

Re: UUIDs?

2012-03-15 Thread Nuno Job
/2008/09/javascript-uuid-function/ I've been using this for several years Rick On Thu, Mar 1, 2012 at 5:45 PM, Axel Rauschmayer a...@rauschma.dewrote: UUIDs are useful for many tasks. One cannot create good ones in JavaScript without browsers exposing more of the underlying platform. Would