They are faster to heat than gas since they can deliver all energy directly to the pan, whereas gas wastes ~75% of the energy heating the surrounding air. They boil water much faster than even an electric kettle for this reason.
Pot handles don't get hot from the hot air going up the side.
They are much easier to clean. Spills don't get burnt onto the cooktop.
There's no risk of fire or burning oneself.
No risk of a gas leak from bumping a knob.
No harmful pollutants emitted by combusting fossil fuels in an interior space.
Of course he did. Intent matters, and this was a reasonably foreseen consequence of the way the system is set up.
He knew how npm works and he knew the implication of adding that code is that hundreds of libraries and production systems would automatically upgrade and install it.
In fact, the whole point of what he did was to introduce the code into production environments.
It sounds like you had equated being smart with knowing things.
My self esteem has also been heavily based on believing that I'm really smart, but I never had a problem admitting I didn't know something. "Smart" to me means my ability to learn, problem solve, and make connections.
One of the most significant factors in my success to date has been my almost eager willingness to admit my lack of knowledge, and to ask others to share their knowledge.
Power failure is very rare where I live so it didn't occur to me. I have never experienced a power outage for more than a few hours in my entire life.