logoalt Hacker News

embedding-shape • today at 11:08 AM • 1 reply • view on HN

Yeah, in this particular case I agree. Although "some dev did this as a joke of sorts and somehow it landed in prod" is still true, some years ago I added a get_pseudo_random_number function that returns 4 to at least one application currently running in production, I'm sure I'm not alone :)


Replies

8organicbits • today at 12:35 PM

I've built one as well. Mine is a joke about the lack of uniqueness guarantees in UUIDv8. I don't believe anyone uses mine though.

https://github.com/robalexdev/uuidv8-xkcd-221