I think it's stating that if you use a single variable X to xor by itself, once you update X to its new value, you no longer have an X to xor back with. This would require a second variable to temporarily store X which is what the xor method is trying to avoid.
Even in 2024? There were lots of holdouts and stragglers for a long time yes but those numbers gotta be tiny now - right up there w/anyone running DOS or Win98 or OS/2 for critical applications still.
@@user-lz2oh9zz4y this is what programming WAS in comp sci in uni. I hated it so much it made me change degrees. I didn't sign up to do calculus in dev, :/
I'm fresh after graduating a CS degree so things like bijectivity, ciphers and enthropy make sense. I love reading about projects like this, it reminds me that programming is a mixture of creativity and math and it's beautiful
It’s things like this website that truly show it doesn’t matter the topic the human race will stop at nothing try to understand and optimize the crap out of everything. Rad website.
Why not just generate six less bits, shift the first 48 bits from what you generate, shift 0100, shift the next 12 bits, shift 10, shift the remaining bits. I don't understand "skipping bits". Why skip bits when you could just not generate bits in the first place. It seems like you're opening yourself up to hypothetical freakishly rare collisions?
his javascript animation for page up/down has velocity and a delay, so using page buttons is way slower. Home and End keys are also not implemented. Autoscroll also isn't supported. What about using scroll events?
I'm a Rip Van Winkle who wrote up a couple years ago. Haven't yet slept with React or anything beyond Bootstrap on the client. Rolled my own JIT scroller in js recently, with regular sticky rows that made it fun. Used intersection observers. It's a beautiful mess. Now I know why you guys like pre-rolled components so much. I'd try one but I'm too busy rolling another one. ;)
Ah, LCG, many years ago I also messed with this formula to generate random but predictable non-repeatable number to be used as Invoice ID while developing a eCommerce website.
Stuff like this triggers my imposter syndrome so hard. I've been developing for 15+ years. I've mastered a bunch of languages. But I don't even know what half the words this guy is using mean.
bit twidling (shifting and masking) is what you do to write cpu emulators. I can't belive I used this knowledge anywhere else after coding up my risc-v emulator lmao
Easy to spot a v4 UUID. The third group of characters always starts with a 4, and the 4th group of characters always starts with a, b, 8, or 9. You're welcome.
Can someone explain to me what Prime meant by losing the data with xor? Sure, xoring number with itself return 0, but xoring N with 0 return N. How do you lose anything?
You can XOR two of the same number together to get 0, and still reverse it with the XOR though? Thats part of the XOR? if you XOR 11 and 11 you'll get 00, but if you XOR 00 and 11 it returns 11, the original.
Couldn't you binary search the original list? Since it's sorted and then you take that UUID value and you pass it to the entropy function and you use to get the index of the UUID
Random pseudo-numbers have trade-offs when compared to pseudo-random numbers, because they are actually truly random, in exchange for merely having the appearance of being numbers (they aren't actually numbers, but they are similar enough to be used like numbers in most use-cases). Also, Prime has dyslexia, which may contribute to this.
He's concerned about accidentally XORing a value with itself, yielding 0, and no data. This only occurs when you mess up, but messing up is quite common.
This is so painful to watch... brilliant bitwise manipulation, but then not only writing it all without ASM... but writing it in Python??? This is probably 10M times slower than it needs to be XD
I've worked on a project that supported Internet Explorer to maybe 2021? Just thought everyone should know. There are probably other projects still supporting IE out there. Enjoy that nightmare.
Over a decade here. Focus on something high paying - cloud, security, etc. or combine them (personally combining security with infrastructure engineering), and then master those skills. Then pivot to becoming a fountain of knowledge and insight. Offer ideas, kiss management bum, plant mental seeds about how you would be a great engineer for whatever projects the team(s) would most benefit from, and profit. Then 2-3 years of effort, put your resume out there with all the work you've done, ideas you've pitched, etc. and watch as your pay doubles. Repeat every 2-3 years based on needs and make sure not to abuse the fountain as others are using the same fountain - sharing is caring.
Exceptional use of free will
this is probably the best compliment to a coding project I've ever come across
we need an NPM package for generating UUIDs that sends a fetch request to this website which has 2 million weekly downloads
why doesn't this exist yet, i can't think of a better way to do this
@shugy8459 blockchain
16:18 uh no, you can always recover a number X by xoring a random number with X twice. Even if the random number happens to be X.
Exactly!
The first time you get 0, and then you XOR 0 with X and get back X, right?
I think it's stating that if you use a single variable X to xor by itself, once you update X to its new value, you no longer have an X to xor back with. This would require a second variable to temporarily store X which is what the xor method is trying to avoid.
The problem is with the swap when the two variables are the same reference, not just the same value
Who here saw the deleted Devin stream? Stuff of legend
Yes, I thought this would be the recap for it. That was CRAZY.
What happened? I missed it
This stream was incredible
I joined in a few times. Wth happened then...?
Why deleted? Tweets too?
I have bad news for you Prime,
I know places that have business critical applications that rely on IE7.
That makes sense because ie7 has some special microsoft features that they later removed.
Even in 2024? There were lots of holdouts and stragglers for a long time yes but those numbers gotta be tiny now - right up there w/anyone running DOS or Win98 or OS/2 for critical applications still.
@@colinstuBanking and insurance still run very aged software
@@colinstu yes.... My company does..... And we are pretty big..
2^128 is 5 undecillion. I'm really surprised it cleared a decillion.
13:27 This madlad is using Abstract Algebra to reason about a web app . Insane
This is what people think programming is
computer science ftw
Bijection is a pretty basic and standard term though, you don't need to know abstract algebra to understand it
@@user-lz2oh9zz4y this is what programming WAS in comp sci in uni. I hated it so much it made me change degrees. I didn't sign up to do calculus in dev, :/
this guy now has two successful ideas for sites that triggered tons of traffic. Looks like it’s pretty clear why. he takes into account EVERYTHING
Did devin push the code to master? Guys update please.
I'm fresh after graduating a CS degree so things like bijectivity, ciphers and enthropy make sense. I love reading about projects like this, it reminds me that programming is a mixture of creativity and math and it's beautiful
Great, so you're telling me that every UUIDv4 I generate is not Universally Unique, because it is there?
Welcome to the multiverse?
It’s things like this website that truly show it doesn’t matter the topic the human race will stop at nothing try to understand and optimize the crap out of everything. Rad website.
31:05 better idea : why not have NFTs over UUIDs so that you could own a UUID and resell it later?
If you XOR A with A it's all 0s and if you then XOR it with A again you still get A, it still works.
ok now list out all GUIDs, i really need to find some GUIDs i can use.
Aren't guids the same thing as UUIDv4?
Nobody else use b60876f6-bbaf-4d0d-ae70-ce89ba0a89d8.
That ones mine
It would be fun to see Google new Willow chip to attempt this, at least a loop which goes through all the possible UUID's.
I just studied this in uni!
There was a website which literally has all the possible combinations of english texts in the world!
It uses some logarithmic algorithm...
Step 1: Write a poem
Step 2: Find my poem on the website you just mentioned
Step 3: Sue for copyright infringement.
Step 4: Profit!
Why not just generate six less bits, shift the first 48 bits from what you generate, shift 0100, shift the next 12 bits, shift 10, shift the remaining bits. I don't understand "skipping bits". Why skip bits when you could just not generate bits in the first place. It seems like you're opening yourself up to hypothetical freakishly rare collisions?
his javascript animation for page up/down has velocity and a delay, so using page buttons is way slower. Home and End keys are also not implemented.
Autoscroll also isn't supported. What about using scroll events?
I'm a Rip Van Winkle who wrote up a couple years ago. Haven't yet slept with React or anything beyond Bootstrap on the client. Rolled my own JIT scroller in js recently, with regular sticky rows that made it fun. Used intersection observers. It's a beautiful mess. Now I know why you guys like pre-rolled components so much. I'd try one but I'm too busy rolling another one. ;)
Ah, LCG, many years ago I also messed with this formula to generate random but predictable non-repeatable number to be used as Invoice ID while developing a eCommerce website.
Stuff like this triggers my imposter syndrome so hard. I've been developing for 15+ years. I've mastered a bunch of languages. But I don't even know what half the words this guy is using mean.
You know what, I've never seen such beautiful snake oil in my life.
bit twidling (shifting and masking) is what you do to write cpu emulators. I can't belive I used this knowledge anywhere else after coding up my risc-v emulator lmao
There's already every UUID in the library of babel
Cool! I'm thinking of getting UUIDs for all my friends and family. Now I know where to go shopping for them.
This is so great. I love the guy making this stuff. What a legend.
Agreed, total legend
Cat spotted at 8:00
Miauw~
I want to see the UUID of the day and how it will interact with current astrological 'data' to determine my destiny for the next 24 hours
This is like the Library of Babel but even nerdier
Yess Feistel cipher! Used this to make an autoincrementing id number turn into a unique hexadecimal id that looked random. Fun project.
damn, i wish we would have a list for every number too
What kind of network engineering or intrusion detection is this guy doing to make a UUID website?
Easy to spot a v4 UUID. The third group of characters always starts with a 4, and the 4th group of characters always starts with a, b, 8, or 9. You're welcome.
Imagine if someone do this project to predict Hash 256 pairings with paired of all possible SSH certificate.
Can someone explain to me what Prime meant by losing the data with xor? Sure, xoring number with itself return 0, but xoring N with 0 return N. How do you lose anything?
It is just skill issue at his part. You will only loose information if you override a variable with itself, which is probably what he did
prime was just confused there
As others have said, it's an issue with his code, not with XOR
virtual scroll ftw
bijection mentioned 😲
Ask Devin to do it, he will crush it and make it better
You dont need a database with all uuids in it. You can literally just generate one based on the row index and do some "procedural generation"
But would that give you all of them exactly once?
isn't that what he did lol
@@davidr2421 nope.
7:59 CAT
You can XOR two of the same number together to get 0, and still reverse it with the XOR though? Thats part of the XOR? if you XOR 11 and 11 you'll get 00, but if you XOR 00 and 11 it returns 11, the original.
Couldn't you binary search the original list? Since it's sorted and then you take that UUID value and you pass it to the entropy function and you use to get the index of the UUID
Ok, I’m only missing one tiny piece of information- what the hell is a UUID?
Reading stuff from the first 10 min of my first math lecture (aka bijection) on stream "this is getting to advanced" xD
Oh no, they leaked my uuids on the internet, I have to go change all my credentials now :(
Hey prime caboose.
Please tell me someone PR'd trendy UUIDs
Looks like an AOC question
9:58 what is a "random pseudo-number"? 😏
Random pseudo-numbers have trade-offs when compared to pseudo-random numbers, because they are actually truly random, in exchange for merely having the appearance of being numbers (they aren't actually numbers, but they are similar enough to be used like numbers in most use-cases).
Also, Prime has dyslexia, which may contribute to this.
The primetime can you speak about devin?
If the value is zero you only need to xor once
This kind of content is so funny to me lol
The dude was tired of pretending. He sorts UUIDs all day long, just figured hed cut out the middle man and sort them directly
Forgot to show search results at scroll bar. Wasted :)
Why's prime keep saying 0? All 0 can be recovered with XOR.
He's concerned about accidentally XORing a value with itself, yielding 0, and no data.
This only occurs when you mess up, but messing up is quite common.
XORing yourself or 0 is no problem at all, no idea what Prime is getting at. V XOR V == 0, 0 XOR V == V presto value back
i hate js scrolling, how imma scrape that site now?
So you concur?
Oh no! My billing table's ID's bave been leaked!!
Mine too! Oh wait...
One in the chat
Who’s here after Devin Stream ?
This is so painful to watch... brilliant bitwise manipulation, but then not only writing it all without ASM... but writing it in Python??? This is probably 10M times slower than it needs to be XD
This is me all day everyday #Haskell
Are they all taken or i can grab one for my own ? 😂😂
There's plenty left but all the good ones are expensive
awesome method
uuidagen
I've worked on a project that supported Internet Explorer to maybe 2021? Just thought everyone should know. There are probably other projects still supporting IE out there.
Enjoy that nightmare.
Lazy approach? The person is a really lazy.
Almost first comment. As a new grad. Anyone have any luck landing a swe job? Tiktok is kind of of a bummer
Over a decade here. Focus on something high paying - cloud, security, etc. or combine them (personally combining security with infrastructure engineering), and then master those skills. Then pivot to becoming a fountain of knowledge and insight. Offer ideas, kiss management bum, plant mental seeds about how you would be a great engineer for whatever projects the team(s) would most benefit from, and profit. Then 2-3 years of effort, put your resume out there with all the work you've done, ideas you've pitched, etc. and watch as your pay doubles. Repeat every 2-3 years based on needs and make sure not to abuse the fountain as others are using the same fountain - sharing is caring.
3st comment so... second loser. GG
bro slow down
5th comment xD
First comment