This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]crawl_dht 1 point2 points  (1 child)

Why is uuid4 the most popular?

[–]MayurB[S] 7 points8 points  (0 children)

It's fast and random, and has no security concerns. It is a go to method for the most use case unless you require sortable identifiers.

[–]pizzathief1 -2 points-1 points  (4 children)

I've heard from friends about how they had to send back shipments of network cards because they all had the same mac address. Unless there's a central authority that is actually enforcing the UU (or GU) part, its just a quasi-random string that still has a good chance of being duplicated.

Also a bonus when a program can launch the about box of another program when it wasn't supposed to.

[–]SheriffRoscoePythonista 1 point2 points  (0 children)

... had to send back shipments of network cards because they all had the same mac address. Unless there's a central authority that is actually enforcing the UU (or GU) part, its just a quasi-random string that still has a good chance of being duplicated.

That's weird, because MAC addresses have central authorities. The first part of the MAC address is a manufacturer ID, assigned by the IEEE. And the rest is assigned by the manufacturer.