Live data from Hacker News

Short URLs: Why and How

sive.rs

31–40 of 172 posts

Re: Short URLs: Why and How

#31
I don't like this at all - there is value in a hierarchical naming structure - even if it doesn't represent actual directories.

A simple example is:

https://www.kozubik.com/

... where you can find "items":

https://www.kozubik.com/items/

... and one thing inside of "items" is an article on NDS emitters:

https://www.kozubik.com/items/nds/

... which contains supporting multimedia objects:

https://www.kozubik.com/items/nds/images/

Not only do you know where you are in the tree, but it is also discoverable: by using index.html default pages and your web servers directory indexing code, you can have a very flexible resource that is easy to navigate.

Re: Short URLs: Why and How

#32

I own a 3-letter domain with a 2-letter TLD and still spells my family name. Many of my friends finds it cool when I share links via that domain. The links are indeed easy to remember but it comes at a higher yearly cost of renewal and I had forgotten to renew twice. Luckily, I was able to re-register them (nobody wants it, ;-)). Example https://oin.am/rr/

I've got https://xavd.id, which I'm very proud of. @xavdid is my username across most sites (except for very old accounts, like this one)

Re: Short URLs: Why and How

#33
post #29

I create my own for this purpose; https://xn--gda.at It’s just a nginx with redirects on pages))

these xn-- urls are cool when you display them, like yours with ï, but I don't like the xn-- representation.

I got a couple of them, but I end up using p0l.co, like p0l.co/55, also just a redirect list basically, on GitHub with netlify.

Re: Short URLs: Why and How

#34
post #28
post #12

PG's website pretty much does this e.g. from 2003: http://www.paulgraham.com/hundred.html most recent post in 2022: http://www.paulgraham.com/heresy.html I'm not sure I would want to have all my writing in a single directory, but I guess you can't argue with 20 years of longevity ... on both sivers' site and PG's.

You can't determine the file system structure from the URLs. The can map directly, but they don't have to Also... http?

Why not http? Secure connections add overhead. It's not like this site contains any secrets?

Re: Short URLs: Why and How

#35

I own a 3-letter domain with a 2-letter TLD and still spells my family name. Many of my friends finds it cool when I share links via that domain. The links are indeed easy to remember but it comes at a higher yearly cost of renewal and I had forgotten to renew twice. Luckily, I was able to re-register them (nobody wants it, ;-)). Example https://oin.am/rr/

same, but without the name part haha. well, I guess it kinda does, my name is pavlos, paul in English. https://p0l.co/55

Re: Short URLs: Why and How

#36
> Go to sive.rs/ff for my talk about the first follower

I absolutely will not. At least with known URL shorteners I know that’s what I’m getting and can inspect further. When I get links like this I assume I’m getting spam or malware. Almost all of the time it’s spam.

Re: Short URLs: Why and How

#37

Regarding the example of instead of hi.html just name the file hi and use the nginx Config “default_type text/html” —- is there an equivalent to this for other webservers (Eg Caddy etc) ? Perhaps it would be cleaner to just create a directory called hi with and index.html?

I usually create a "file filter" instead. Keep the extension as is (hi.html) and then use the try_files directive in nginx to make the server look for files with the same path using .html as an example. It has been a while since I used nginx but it looks something like this: try_files $uri.html

Ah yes I remember stumbling on this years ago when I was digging on something. Thanks for the reminder!

Re: Short URLs: Why and How

#39
post #23

How many people type the whole URL and how many access it over Google, QR code, or from other site? This is good if content is unique. I find URLs with dates useful when I want to quickly assess how fresh is the content.

I often find articles that don't have the date at all, and the information turns out to be really out of date. Is hiding the date some kind of SEO trend?

Re: Short URLs: Why and How

#40
post #4

I own a 3-letter domain with a 2-letter TLD and still spells my family name. Many of my friends finds it cool when I share links via that domain. The links are indeed easy to remember but it comes at a higher yearly cost of renewal and I had forgotten to renew twice. Luckily, I was able to re-register them (nobody wants it, ;-)). Example https://oin.am/rr/

My name is Dan Blows, and my domain is da.nblo.ws, which I thought was the coolest thing ever. Most people are confused or don’t even notice it.

Why not danblo.ws?
Post reply on HN