How a Single Line of Code Made a 24-Core Server Slower Than a Laptop
pkolaczk.github.io
pkolaczk.github.io
<link rel="canonical" href="http://localhost:4000/server-slower-than-a-laptop/">or HN should double check that the canonical URL connects and leads to the same content (checking for multiple schemes and localhost should be done anyway) (downside - now every post eats up two HTTP request/response cycles, one to parse for the canonical url and another to validate it)
or HN should use the author's URL but present a canoncial URL elsewhere when displaying the thread. (downsides, slightly more noise in the layout, no actual quality check.)