Live data from Hacker News

Shortest URLs on the Internet

jameswillia.ms

131–140 of 208 posts

Re: Shortest URLs on the Internet

#131

It would be great if someone with an ultra-short URL could run one of the "what's my IP address" sites on it, like: ifconfig.co ifconfig.pm ifconfig.show ipaddr.in ipconfig.io They return plain-text IP address to curl/wget, while serving up a more detailed web page to other web browsers.

canhazip.com

Re: Shortest URLs on the Internet

#133
post #28

Earlier quoted context omitted.

At Google and many other tech companies, internal machines are configured to have go/ work just like you describe. Looks like someone even made a whole company around it https://www.golinks.com/blog/go-links-history/

Intel had that when I worked there

They still do; it's goto/ though

Re: Shortest URLs on the Internet

#134
post #28

Earlier quoted context omitted.

At Google and many other tech companies, internal machines are configured to have go/ work just like you describe. Looks like someone even made a whole company around it https://www.golinks.com/blog/go-links-history/

Intel had that when I worked there

I was just there a few years ago, now it’s goto/ instead of go/. Maybe go/ still works, I never thought to check.

Re: Shortest URLs on the Internet

#137
post #79

http://ai is an interesting case. It was there from the early days of the web, back when you could type "ai" into the mozilla url bar and it would take you there. Today firefox "helps" you out and changes what you typed into something else because it knows better than you do what web site you want. It's run by a character named Vince Cate who moved to Anguilla to protest taxes or something. He was from the US and gav…

It's quietly one of favorite things on the internet that I can reach a hacker webpage by typing in "ai/security". That's, like, better than "ai.security" or similar because it completely does away with normal TLD conventions ("civil disobedience"!). It also happens to flip the namespacing around in a way that's kinda more human ("security in the context of AI"), which is meta in its own way given the context is about humans vs machines.

Very cyberpunk.

(And I checked; ai.security is parked. Very amusing.)

Re: Shortest URLs on the Internet

#138
post #130
post #82

Shortest address is http://1 Not on the internet, though. Just on the network. Kinda surprised Linux routes 0.0.0.1 to my router, when used as a destination address. Might be fun to use it as a local redirector whitout having to do any DNS shenanigans. Edit: yep, it works

That's new in 2019 (0/8 was prohibited), and there is a story... https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...

Amazing! Thanks for digging that out. :)

Re: Shortest URLs on the Internet

#139
> I imagine most browsers etc. would consider a URL with an empty hostname invalid – Chrome considers both http:// and http://. invalid, at least.

An empty hostname is invalid according to RFC 7230:

A sender MUST NOT generate an "http" URI with an empty host identifier. A recipient that processes such a URI reference MUST reject it as invalid.

This requirement also carries over to HTTPS.

Post reply on HN