News for hackers. Stuff that matters.
Re:I love UUID, I hate UUID by OhMeadhbh on Tuesday September 09, 2025 @10:03AM (#45182078)
Hmm. What's to prevent a client from submitting two requests with identical UUIDs?
Re:I love UUID, I hate UUID by zahlman on Tuesday September 09, 2025 @10:54AM (#45182767)
You can't in general prevent clients from sabotaging themselves. In the extreme case, someone makes a separate page that's supposed to call your API, but just... doesn't work.

The point of the UUID system is to prevent the client from failing due to things that are outside its control; specifically, the actions of other clients.

Re:I love UUID, I hate UUID by discomrobertul8 on Tuesday September 09, 2025 @10:15AM (#45182256)
Nothing. But you'll get a constraint error as they aren't unique.
Re:I love UUID, I hate UUID by dkgs on Tuesday September 09, 2025 @10:24AM (#45182354)
Nothing, why would that be an issue (IE the same client submitting requests with two identical UUIDs)?