Somewhat relatedly, Maciej Cegłowski’s classic Chickenshit Minimalism.
So trying this at home, his prolog html used <!doctype><html> which renders incorrectly in Firefox Dev Edition. I found that changing that to <!doctype html><html> seems to work.
Correct, <!doctype> is not a proper doctype string. <!doctype html> lets the browser know you’re using HTML5.
I assume CPython is being benchmarked here, what is the performance difference vs pypy?
More generally it’s weird to measure by performance when that wasn’t something you built for in the first place.
I imagine he’s just noting it because it was probably a visible difference.
This is a brilliant idea; I’m going to have to play with the source after I get out of work.
reminds me of proxomitron, a popular page-rewriting proxy from back in the windows era.