Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 3,021 posts.

Networking & Internet
Any year
407

Ignore AMP

In 2018, my recommendation was to avoid AMP, to use AMP for the most relevant pages, or to use AMP only. In 2020 my recommendation is to ignore it, because AMP largely appears meaningless now. <cite>Upgrade Your HTML II</cite> gives an opinionated idea why.

409

HTTP: , FTP:, and Dict:?

I went for a spelunk through an ancient codebase a few weeks ago which contained a curious regex that I just couldn't grok. Copied to 📋⧉ {<((https?|ftp|dict|tel):[^\'">\s]+)>}i I'm familiar with HTTP and FTP. I worked in the mobile industry, so knew that tel:+44... could be used to launch a dialer. But DICT?!?!?! It…