Hacker Newsnew | past | comments | ask | show | jobs | submit | throwaway808081's commentslogin

Just have a database of UUIDs. Seems pretty trivial to generate and sort as it's only 16 bytes each.


That's actually a bright idea! Have you ever thought about applying for VC funds?

Once you deliver that, you can also think about a database of natural numbers!


But that has no moat. Anyone can generate a database of natural numbers using SOTA models.


lol

Let's go a step further and just iterate through them on the client. I plan on having this phone well past the heat death of the universe, so this is guaranteed to finish on my hardware.

  function* uuidIterator() {
   const bytes = new Uint8Array(16); 
   while (true) {
     yield formatUUID(bytes);

     let carry = 1;
     for (let i = 15; i >= 0 && carry; i--) {
       const sum = bytes[i] + carry;
       bytes[i] = sum & 0xff;
       carry = sum > 0xff ? 1 : 0;
     }
 
     if (carry) return;
   }
 }
 
 function formatUUID(b) {
   const hex = [...b].map(x => x.toString(16).padStart(2, "0"));
   return (
     hex.slice(0, 4).join("") + "-" +
     hex.slice(4, 6).join("") + "-" +
     hex.slice(6, 8).join("") + "-" +
     hex.slice(8, 10).join("") + "-" +
     hex.slice(10, 16).join("")
   );
 }
This is free. Feel free to use it in production.


What license is this? Company policy says we can't use Apache licensed stuff.


Free space heater



The write-up for it is surprisingly interesting! https://eieio.games/blog/writing-down-every-uuid/#toc:entrop...


Woosh


someone took your joke and made it real


16 bytes is a lot. 4 bytes are within reach, we can scan all of them quickly, but even 8 bytes are already too much.

Kolmogorov said that computers do not help with naturally hard tasks; they raise a limit compared to what we can fo manually, but above that limit the task stays as hard is it was.



"Just" have a database, and then what? I can set up a database of all UUIDs very easily, but I don't think it's helpful.


Where are you storing them, a black hole?


All you need is basic compression, like storing the start and stop points of each block of UUIDs in the database.

Wait, you already linked to everyuuid. Do you think the server it's on uses black hole storage?


Fast writes, very slow reads.


I would store them as offsets within the digits of pi.



HN is blocked in mainland China, so stats of visitors from China are likely to be low. HN is similarly blocked in Russia. Users from these locations would come via VPN.

Unfettered linking of the latest Rust AIs, sharing of random peoples' purchases of Framework laptops, heat over GPLv2 vs. AGPL vs. BSD, and discussion of whether nixOS's use of *nix was or was not prior to Unix's use or Shakespeare's use, is clearly too much for some censors.


> HN is similarly blocked in Russia.

Doesn't seem to be true, the domain doesn't seem to be in Roskomnadzor's blacklist and I can reach it through Globalping nodes (incl. residential nodes)


You're dealing with a different type of actor if that's necessary.


the problem is you don't know which actor you're going to be dealing with so you have to start off on that foot with everybody.


Surely attempts to block archive.is are more likely to be Kremlin based as that would stop dissemination of journalistic information in favour of more easily manipulated YouTube and Tiktok video.


That's because 166.2% of the population are allergic to wheat.


It's all about trade-offs really.

In this case, a laptop sometimes waking up in a bag vs a constantly and deliberately cripled GUI and keyboard.


Do not expect this from the UK. That fight despite millions of signatures was batted down:

The UK is introducing passed legislation that citizens' digital IDs are owned by a Google or Apple smartphone.

The UK already have such laws active and in force that company directors must submit their information through an app available only from Google or Apple. It is clear 'digital IDs' will go the same way.

It's not about age or attribute verification. It's about tracking. Which Google excel at, the only alternative Apple and their opt-in.

Governments are quite happy making citizens have megacorps track their lives.


Digital ID legislation has not been introduced.

Company directors do not have to use the app. The app is one of three ways of doing it.


“ Spoken with neither anything beyond lay observation of linguistics nor economics.”


“I think there are a few strands of intuition and confusions that have led people to believe very strongly that language is the medium of thought,” she says. “But when they are pulled apart thread by thread, they don’t really hold up to empirical scrutiny.” E Fedorenko

comma

https://mitpress.mit.edu/9780262049658/blunt-instrument/


IIRC the country code RFC does not specify physical location, nationality of entity, or other.


It is.

It also plays into the hands of the Chinese government to flatten the concept of ethnicity, culture, nationality and border into one.

That way, the mainland government, as the main party justify and legitimise themselves as the inheritors of Qin Shi Huang's 'unified China' legacy [1]. This shows up constantly and throughout the mainland domestic media, education system and narrative of the CCP bringing development, celebrating (a one-sided Confucian centric) culture and protecting borders from the century and millenia old concept of 'harmful external forces'.

A 'Chinese AI' model or ecosystem isolationist narrative promotes the Party domestically as the maternal incubator force of such: of development the domestic population is constantly reminded would not have been possible after the ashes of WWII without the Party. While externally gives fodder for protecting Chinese (its self declared protectorate) against such subducation it itself fosters. In doing so closes the circle of the increasingly isolationist policy of the past decade+.

[1] https://en.wikipedia.org/wiki/Qin_Shi_Huang


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: