Replies: 17 comments 43 replies
-
Could this be done in a peer based way? Namespaces are usually a point of centralization... And if you don't use a centralized authority managing it, you tend to get all kinds of shenanigans like hogging. |
Beta Was this translation helpful? Give feedback.
-
Yeah we're working on a domain-name solution that we like better than the old method. We have two basic ideas that we're debating...
Both of these would be Hyperdrives that maintain The directories would probably work like This is a tough call. Directories centralize much less control since they enable people to configure as many as they like, but they don't work like domains. Domain-listings can work the way domains have previously worked, where I'd be |
Beta Was this translation helpful? Give feedback.
-
Is there any plans for how existing websites can redirect to a Hyperdrive, though? Say I already rent |
Beta Was this translation helpful? Give feedback.
-
IIRC I saw a demo using a well-known path on a webserver to jump from |
Beta Was this translation helpful? Give feedback.
-
I'm more and more of the opinion that legacy DNS is irreparable broken, and that I wouldn't mind if it's merely a second-class citizen in any future Beaker setup. I understand that people want to maintain a link with their if ('beaker' in window) {
var redirect = new URL(window.location)
redirect.protocol = 'hyper:'
window.location = redirect
} |
Beta Was this translation helpful? Give feedback.
-
Any particular reasons? It can be a bit difficult to mange because it doesn’t follow zeroconf auto-discover contentions. But it’s not fundamentally broken.
This will hurt performance. DNS lookups are significantly faster than DNS+TLS+HTTP+HTML+JSexec. |
Beta Was this translation helpful? Give feedback.
-
There are a number of considerations. Namespaces are a scarce resource and create demand. They are difficult to administer (think visa.p2p). I would ask to possibly rethink this approach. For me, domain namespacing (dot notation) was always a failure of DNS, ever since inception. DNS failed as content discovery and led to Google and Yahoo! There were many indexing approaches before the oligopolies took over, content discovery was once a flourishing industry of innovation and exploration (webrings anyone!), now it is owned by a select few entities that filter our discovery and ultimately our lives. The dot notation system is not a natural language. It is a systematic approach to a directory based seek/find problem across a network. Domains used to be physically separated by walls and buildings. People don't use dot notation to search (well they kinda did search for shoes.com once upon a time, but direct navigation was killed by Google's omnibox). People certainly don't think that anyone 'owns' a keyword. With hyperdrive, we have a better system now, we have the chance to re-imagine federated search, we can do much better! I would look at combinations of tags as search terms so rather than:
I would consider using an alphanumeric string, using a so:
or
These terms would defined by the owner of the hyperdrive and could change over time. For example, if you were building a cool app you would call it
But let's say your cool app, was not getting discovered, as it was really a todo app with the wrong name, you could change the tags to:
The key thing to notice here is that the namespace is local and not unique, clashes are expected. Indexing then becomes a trivial local task and you can index based on your own parameters: e.g. how many hops away are the hyperdrives? 1 level, 2 levels, 3 levels deep? A search results page could be crafted to a template and off you go. Tags as I am proposing are similarly implemented in SSB as Nick Names https://handbook.scuttlebutt.nz/concepts/identity Spam becomes a local problem and you can filter based on what you know, what you want. Global hyperdrives are a matter of personal discovery and recommendation. It is still a name system but not a domain name system. You can control the filters. |
Beta Was this translation helpful? Give feedback.
-
At peril of perhaps jeopardizing the name security aspect of Zooko's triangle, I really like the idea of scoped namespace registration. For example, when navigating to
That way, website operators could ensure that all known links within their hyperdrive always point to the right address. Links created dynamically may still be subject to misresolution. Beaker could currate and provide a built-in name registry that would be a suitable starting point for most users. More advanced users could supplement or even replace that registry. |
Beta Was this translation helpful? Give feedback.
-
I change the topic to narrow the scope a bit. There’s a lot of interesting ideas but little is about the original topic. The top post is about mapping ICANN DNS to Hyperdrives. This is a feature that exists in Dat to facilitate seamless migration from a HTTPS website to a P2P equivalent of that same website. I believe it’s important to drive adoption among existing web-enthusiasts who’ve invested in their existing domains. Plus, you know, hashes aren’t meant for humans. DNS domains are. |
Beta Was this translation helpful? Give feedback.
-
Example:
The Tor browser uses this header to auto-discover and serve traffic from a .onion address on a .TLD. The browser still shows example.com even though future requests are loaded over example.onion. However, this header could be used to redirect from https to hyper. The HTTPS server sends this header over HTTPS so there's is some built in security. The spec requires the Alt-Svc target to be served from a server with s certificate for the primary origin. Redirecting to a different protocol mitigates the underlaying requirements for this, however. |
Beta Was this translation helpful? Give feedback.
-
Test. (My replies to this thread keeps disappearing.) |
Beta Was this translation helpful? Give feedback.
-
This is so weird. I get emails about new updates to this thread but I can’t see anything on GitHub. Maybe we need a Hyperdrive-powered gossip discussion board sooner rather than later. |
Beta Was this translation helpful? Give feedback.
-
Ok, very interesting stuff here. Being a search guy here's my specific take on it. I'm not sure i know wtf i am talking about. But i am assuming there is some central 'swarm file' that maps a hyperdrive key to an IP address:
so it's some sort of "decentralized democractic dns" quite similar to a lot of the other decrentralized approaches. |
Beta Was this translation helpful? Give feedback.
-
it seems you already have a list of hyperdrives on a single page from your list.json file. this can be the dns lookup for now. :) |
Beta Was this translation helpful? Give feedback.
-
For what it's worth, I'm still supporting dat-dns inside Agregore and it's working great for my blog: hyper://blog.mauve.moe I've also got it seamlessly working with dat-store where I have it keeping a backup of my archive and serving as an HTTP gateway for any archives I store there. Then I use NGINX for setting up letsencrypt certificates and have it redirecting to the gateway URL. |
Beta Was this translation helpful? Give feedback.
-
Has there been any updates for something like this? |
Beta Was this translation helpful? Give feedback.
-
Something about DNS that I felt was an issue with the Dat versions of Beaker Browser, was that a Dat loaded via its key and that same Dat loaded via a domain name would be treated as two different origins. I've always thought DNS should just act as a mask for the regular Dat URL. Could that be applied to hyper:// or is there something valid that I'm missing? (security concerns maybe?) |
Beta Was this translation helpful? Give feedback.
-
Any plans to add
hyper://<dns>
akin todat://<dns>
? I noticed that the Beaker homepage, Hypercore Protocol’s homepage, and documentation isn’t available as Hyperdrives.hyper://e36050c2651b2bd0bd265fc311c122122a5490bc11a17606201964246b69e4ef/
is nice and all but as a human, I prefer typingblog.hypercore-protocol.org
.Beta Was this translation helpful? Give feedback.
All reactions