Live data from Hacker News

Every V4 UUID

everyuuid.com

61–70 of 381 posts

Re: Every V4 UUID

#61
post #28
post #20

Earlier quoted context omitted.

Chome on Windows. Grab the right scroll bar and pull to the very bottom. Once at the bottom try to scroll down with mouse scroll wheel. Screen goes blank and the error appears in the console.

OH! Thanks for the precise reproduction steps, I had done my testing with a trackpad and had missed that! Writing a little fix now (I'd hate for you to not be able to see the last UUID)

> I'd hate for you to not be able to see the last UUID

No spoilers, but the last one's a doozy!

Re: Every V4 UUID

#62
post #39

You fool! You destroyed the universal uniqueness now!

You were so preoccupied with whether you could, you never stopped to ask if you should.

This will be the goto reference for hackers everywhere. Think of how much faster they'll compromise my McDonald's order with all 2^122 possibilities already computed!

Re: Every V4 UUID

#63
post #57

Can someone ELI5? How's he ensuring uniqueness of a UUID when they are randomly generated?

UUIDs aren't technically unique, they're just designed in such a way that the chance of collisions is very small.

A big part of this is that the possibility space is very large, so the chance of collisions is low. Many UUID versions also determine parts of the UUID via MAC addresses and timestamps, to ensure that different servers are highly unlikely to generate the same UUID.

Re: Every V4 UUID

#64
post #57

Can someone ELI5? How's he ensuring uniqueness of a UUID when they are randomly generated?

They are not, 100% strictly speaking, “ensured”. But they are 128bit numbers, so you have realistically no chance of generating a uuid that someone else has already. Age-of-the-universe type chances of duplicating one.

Re: Every V4 UUID

#65

The fact that the search works impressed me more than anything. Of course, like every great magic trick, it seems so simple once it is explained. For the curious, here's the linked blog post describing how the project works: https://eieio.games/blog/writing-down-every-uuid/ Edit to add: I'd only tried searching for an exact UUID when I wrote this comment. I didn't realize it supports full text search! Now I'm even mo…

Yeah, I at first, I though I knew exactly how it worked. Then I saw the search field, and I suddenly had no idea what the hell was going on. Now, the big question, do I want to spoil the magic trick and read how this was done, or should I keep being astonished and flabbergasted?

Re: Every V4 UUID

#66
post #20
post #13

Earlier quoted context omitted.

oh hm, i thought I had fixed every case where that popped up. I can't reproduce the issue on any browser on my machine - how did you jump to the bottom (hotkey, scrollbar, scrolling for a trillion years) and what platform are you on (if you don't mind sharing)?

Chome on Windows. Grab the right scroll bar and pull to the very bottom. Once at the bottom try to scroll down with mouse scroll wheel. Screen goes blank and the error appears in the console.

alright, a fix that I think covers this crash and a few others I found as a result is rolling out now.

for a while I thought I had an off by one error, which was pretty funny to think about in the context of trillions of items. but in fact I was just doing some bad react state management.

Re: Every V4 UUID

#67

The fact that the search works impressed me more than anything. Of course, like every great magic trick, it seems so simple once it is explained. For the curious, here's the linked blog post describing how the project works: https://eieio.games/blog/writing-down-every-uuid/ Edit to add: I'd only tried searching for an exact UUID when I wrote this comment. I didn't realize it supports full text search! Now I'm even mo…

Yeah, I at first, I though I knew exactly how it worked. Then I saw the search field, and I suddenly had no idea what the hell was going on. Now, the big question, do I want to spoil the magic trick and read how this was done, or should I keep being astonished and flabbergasted?

As with any magic trick, reading the explanation might leave you a little disappointed here.

Re: Every V4 UUID

#68
post #66
post #20

Earlier quoted context omitted.

Chome on Windows. Grab the right scroll bar and pull to the very bottom. Once at the bottom try to scroll down with mouse scroll wheel. Screen goes blank and the error appears in the console.

alright, a fix that I think covers this crash and a few others I found as a result is rolling out now. for a while I thought I had an off by one error, which was pretty funny to think about in the context of trillions of items. but in fact I was just doing some bad react state management.

fixed for me! Brave MacOS

Re: Every V4 UUID

#69

The fact that the search works impressed me more than anything. Of course, like every great magic trick, it seems so simple once it is explained. For the curious, here's the linked blog post describing how the project works: https://eieio.games/blog/writing-down-every-uuid/ Edit to add: I'd only tried searching for an exact UUID when I wrote this comment. I didn't realize it supports full text search! Now I'm even mo…

I'm really happy that the trick was magical to you - I was so surprised and delighted when I realized that this was possible, and I wasn't really sure if anyone else would feel the same way!

And of course, I'm proud to be providing so much utility here - finally we can find and use UUIDs tailor-fit to our needs

Re: Every V4 UUID

#70
post #10

This is funny I like it. Basically just captures the scroll input and iterates through int128s and their UUIDs on a static page to fake a scroll. My feature request would be to add smooth scrolling.

> iterates through int128s

Have you read the blog post? I wouldn’t summarize it like that, it’s a little more involved than just iterating. I learned something today.

Post reply on HN