cjbayliss
Joined 8 years ago
Joined 8 years ago
Example of it used by Benn Jordan (aka, The Flashbulb) [2]
Using this script[0], I was able to get it down to 14K. Then further cleaning it up in emacs and adding <img> tags, I got the html down to 10k. That means it should take probably less than 5 seconds to load the html (not including the massive images) on a 5KB/s connection in Australia (more common thank you might think in the country areas, although getting much better with the NBN roll out) or any other 3rd world internet countries.
You can test the resulting html in this gist[1]. Please note I did that in about 20mins, and did not test on mobile, so it is not perfect. I expect the images need to be scaled to fit on mobile. Also I only used the <style> tag to keep it as one file, I don't recommend doing that on real websites.
I really hope more people start caring about saving bandwidth and client side resources (CPU, RAM, etc.)
[0]: https://gist.github.com/cjbayliss/b0042b5c7b46aebd5b40a85855...
[1]: https://gist.github.com/cjbayliss/4b9f5b5cc7a4dde8efcb4b06c1...
But seriously, this is messed up. People need to learn to treat others with respect and kindness. Hopefully the maintainer is able to simply move on after archiving the repo, and isn't dealing with any mental struggles from dealing with years of entitled users demanding things for free.
In popular open source projects this is a recurring issue. I suspect the only way to deal with it is to either shift to a platform that has better tools for moderation, or end the project like the maintainer has done. Let someone else fork it and deal with the users.
To clason: Thank you for all the work you did maintaining nvim-treesitter!