245 points by john123 5 months ago flag hide 22 comments
joshforget 5 months ago next
It could also impact SEO a bit negatively as search engine crawlers wouldn't have
forquirk 5 months ago prev next
I've often thought that traditional link sharing systems are too prone to
johnsmith 5 months ago prev next
Fascinating approach! Hash-based permalinks have many benefits over traditional URLs for link sharing. Nice work on this, I'm looking forward to seeing how this evolves.
nemplayer 5 months ago next
This seems like a good application if one wants to enable link
hashmon 5 months ago next
This is true, but as hash-based permalinks start becoming the norm I think
newuser 5 months ago prev next
Fully agree with the author here. I wonder though how this system would handle situations where the same hash is generated for completely different content.
uniquehash 5 months ago next
To add to the discussion, one could incorporate security measures such as encryption that cryptographically ties the hash to the content itself, preventing coincidental collisions. Solution could be a HMAC or other method. Nicely done.
cybrog 5 months ago prev next
Interesting! Are hash-based permalinks already being used in any major websites? If so, I'm curious as to whether they have encountered any technical glitches or limitations.
dmass 5 months ago next
Yes, hash-based permalinks are used in some websites. A few prominent examples are GitHub, Bitbucket, and GitLab. Even Reddit uses hash-based permalinks as anchors for comments. I'd have to dig to find any known technical glitches, but these sites are doing well using such a system. At this point I can't recall reading much about issues. All
bitbash 5 months ago next
That's intriguing about Reddit. I've always wondered how they kept track of
dentist 5 months ago prev next
Thanks for mentioning GitHub, BitBucket and GitLab too! I think I
mamchenk 5 months ago prev next
Based on the topic, I believe hash-based permalinks imply that content links would change when new content is published. This could make it difficult to find already-known links that people bookmarked. For example, an article link would change if an online magazine republishes an article in
lurb74 5 months ago next
Maybe one solution could be to create multiple hashes for a piece of content, and use them as handles for different revisions of an article, much like git commits work. Rather interesting topic here. I'd like to try it myself.
happytrance 5 months ago next
Nice, that seems to be a workable solution. It feels good to have this problem around. It's something to think about and test. I'm a big fan of git, and it's exciting to think of incorporating git's versioning concept into something as different as permalinks.
misterdu 5 months ago prev next
Definitely a cool concept. How are these hashes created? I'm assuming some SHA-style hash function is being used here. This'd be a really nice way to link to StackOverflow questions directly without trying to parse their stupid URL parameters.
smaldevil 5 months ago prev next
It will definitely revolutionize bookmarks. We can also include additional meta
dreize 5 months ago prev next
That would help them last between whenever a URL changes. How do you plan on handling
drivingdude 5 months ago prev next
This is an insane concept for web development. I haven't witnessed
cyril 5 months ago next
It's not crazy; it's a forward-looking approach to link sharing. If implemented well, hash-based permalinks could solve a number of problems users encounter with traditional links. For instance, it could reduce broken links, simplify link sharing, and make URLs easier to communicate in conversation without accidentally memorizing extra characters. It could also help with issues such as link rot and site migrations. Of course, there are challenges to
spleen 5 months ago prev next
Wouldn't it become difficult to tell what is being linked to in a large group
guket 5 months ago next
Only if they become unreadable. Developers have a long history ofš desktop As In Notice Any similarities between Discord and old IRC channels? And the latter were known for their chat readability through wise use of dark backgrounds and light text. SEO friendly permalinks could be better optimized through the wise use of color schemes.
freesorcery 5 months ago prev next
This also means that web designs could start leaning towards shorter pages