30 points · by wickwavy · 6y ago · 25 comments
Instead of news.ycombinator.com we would use com.ycombinator.news, similar to how a news group might be rec.arts.punkrock or comp.os.linux. This makes more logical sense to me, as you start from the broadest on the left (tld) and work your way to the most granular part (the path, query, or fragment of the resource).
It's a silly idea in the age of url suggestions. I can reach most things I want on the internet with 2 key presses. Everything common in one.
N: Hacker News
C: Cloud Console
M: Gmail
R: Reddit
X: Well you get the idea
well-known-host!next-host!third-host!fourth-host!mailhost!username
(another syntax for the last 2 nodes above might be username@mailhost, depending - this became popular later on...)
Although this might work just as well: well-known-host!other-host!mailserverhost!username
Note that each hostname in such an address is a short, local hostname, not an FQDN. As shown, the first host was usually a "well-known" host in the uucp world, something like say, ucbvax. While uucp addresses were sometimes rewritten (some intermediate hosts tended to get hammered, and remember, this was back when bits weren't free), this was frowned upon for obvious reasons.
[0] https://en.wikipedia.org/wiki/Reverse_domain_name_notation
[1] (My own "Unusenet" specification also uses reverse domain names in NNTP newsgroup names; they specify where the newsgroup originated (not necessarily the same server you are accessing them from), and are used to avoid namespace collisions.)
[0] https://news.ycombinator.com/item?id=21849200 | https://news.ycombinator.com/item?id=22040140
[1] https://en.wikipedia.org/wiki/Talk:Comparison_of_Usenet_news...
They are a powerful concept - give a resource a universal name, regardless of how you locate it. I'm surprised this hasn't taken off as a way to universally point to assets (outside bittorrent), but I guess the challenge there is the resolver, and the lack of a pressing need when URLs do most of what you want.
I just want a way to refer to a file that might be local, http, s3, what-have-you, and always refer to it with the same string, regardless of where it's located.
There's XRIs, but there's, erm, some drama going on there.
https://en.m.wikipedia.org/wiki/Extensible_Resource_Identifi...
If I write into my smartphone notes a url, I prefer to write something like:
Http://google.com/search?q=How to bake cakes$
Than
Http://google.com/search?q=How+to+bake+cakes
iOS Notes treats the second one as a URL and the first one partially as a URL
Markdown copied that too: https://spec.commonmark.org/0.29/#autolink
<http://google.com/search?q=How to bake cakes>
Thank you!
Although it's recommended that you encode them in user representation (for this reason) you can certainly should be able to send a space character through at the protocol level and if not it's a bug.
Note that a space is not valid in the host name portion if you are using DNS (which most URLs do, of course).
> 2.4.3. Excluded US-ASCII Characters
> Although they are disallowed within the URI syntax, we include here a description of those US-ASCII characters that have been excluded and the reasons for their exclusion.
[...]
> space = <US-ASCII coded character 20 hexadecimal>
You can certainly encode spaces in URLs but the URL will not contain spaces.
The regular expression in appendix B is irrelevant because it assumes a well-formed URL so spaces do not need to be explicitly excluded.
And at the protocol level you certainly can't use spaces in URLs (in HTTP 1.1) because the request line uses spaces to delimit the URL or path.
Inaccurate.
"We" do? Especially so-called tech blogs like the one that hosts this article?