Hacker News new | ask | show | jobs
by ericflo 3641 days ago
Also: html, css, js, tcp, ip, electricity, and language.
3 comments

Also DNS, Apache, CloudFlare, Linux, images, Fail2Ban, Ethernet, the server's CPU/Memory/Motherboard, the phone network.

All this for a static list, he could have just faxed us all this list instead like in the good old times.

Fax!?? This is exactly what chisels and stone tablets were made for.
Real hipster used a the service of a professional Griot.

https://en.wikipedia.org/wiki/Griot

> electricity

Since we're going there - bloating your website for no reason whatsoever wastes electricity. Not just for the mobile users who may be annoyed by fast-draining battery; also in general, you're literally wasting coal.

It's worth at least keeping in mind when deciding to include that another JS framework to save yourself 10 minutes of typing.

You honestly worry about how much extra coal your website will consume with an extra JS framework?

I tend to think of CPU time as an almost inexhaustible resource for a website. It needs to be responsive, but the difference between the user's machine being at 5% or 10% CPU doesn't matter.

Somebody needs to. First, consider that every decision like that you make is multiplied by the number of clients you have. If your tiny little JS side makes your clients' CPU use one more watt and you have a million visitors, then boom, one megawatt goes down the drain. Maybe not something that should keep you up at night, but still IMO worth thinking about.

Moreover, your website isn't the center of the world and the most important thing for user. If every developer follows this line of thinking, then the difference between 5% and 10% of user's CPU time is the difference between them having 20 or 10 browser tabs open before the whole computer slows down to a crawl. Bloating your site means making your users' computers less useful.

I know, people should use IPs instead of fancy domain names, DNS is just electricity wasting.
You're right, css and js aren't needed either.