It may be an entirely suitable approach, but it basically means there are no global short names. I can’t tell you Im at pfrazee dot com if there’s no global dot com registry.
It may be an entirely suitable approach, but it basically means there are no global short names. I can’t tell you Im at pfrazee dot com if there’s no global dot com registry.
Yes... or, not at all, depending on how you want to look at it. To use their phone book example, if I want to call my dad, I look up "dad", and I call him. I don't use his phone number (although obviously down in the internals of my phone it's going to use his phone number).
If you had a local mapping for a web site saved as "coolsite", you might post a link here on HN as "web://coolsite". Your browser would take care of translating that into a UUID under the covers, so the actual post would contain the UUID. When I read the post, though, I would probably see the link as "web://@pfraze => coolsite" (obviously your browser would need to post some metadata for that to happen - similar to how you can include a name with an email address) or if I already have the site in my local mapping I might see it as "web://thatawesomesite", or whatever name I'd chosen. Or perhaps my browser would go to something like DNS to reverse lookup the UUID.
I wouldn't try to think about this as "What if we implemented a browser plugin that supported this?" Instead, think about if this was "the standard". Imagine a world where there was excellent support for it in all software that we use, and browsers and/or sites would find ways to make it transparent and friendly. Like, what if VS Code made it so when you hovered over a URI in a piece of code, it would look it up in your local pet name database, and show it in a popover? If this were just "the way things are done", then you'd never put up with crappy software that showed you the UUID. It would be like web sites that don't let you highlight or copy text - software that didn't handle naming resources correctly would be obnoxious software you'd hate to use.
Previously, on HN (just this morning, still on the front page) https://news.ycombinator.com/item?id=32493946
so if I wanted to share a document about how much water we need in total per day, I could just share you the complete url... or at least that's what I was thinking earlier. As long as I don't have to type it by hand, it should be ok, right?
https://numpad.io?#text/O4ewTgNgJg+gDiOBXCBDALgSxAOwAQC8eA7A...
my rough estimate calculation if anyone is interested, a cube that is about one kilometer and half (under a mile) on each side is enough water for all the people in the world for a day.
<petname ref="pet:4f30b43ec38b43c3abad5d422125900f" proposed_name="Google" />
The browser would then display this in the same way mentioned in the OP; if you already have an entry locally it shows your local name, otherwise it shows the proposed name and marks it as such.The next step is to create a system for "peering agreements" between registries, or meta-registries.
Actually, this is handled pretty clearly in the example article.
A quick Google found "The .com and .net TLDs had a combined total of 174.7 million domain name registrations in the domain name base3 at the end of the first quarter of 2022" Twelve digits covers 40bits or 5bytes and should have more than enough space for all DNS entries.
Could you drop the petname and let the clients resolve it via the UUID of the Hacker News website?
Edit: I believe the article calls this "edge names".