I will change it all to be Wh or kWh. It is unnecessarily confusing. But I do believe the math does work. Thanks for taking a look! Would love to have confirmation from someone else that I didn't do something stupid.
Have you tried jsdom-node? Its a node-compatible fork of jsdom. Be warned though that jsdom in general is deprecated, everyone is using dom.js now. (However it requires ES6.)
I had not seen node-jsdom. I see that it is forked from jsdom 3.x, which still works with node.js. Do windows users mind having to install the visual c++ compiler?
As a windows user, I avoid developing with node on windows machines, because building dependencies caused me trouble many times. pg, socket.io, bcrypt, jsdom, countless others.
If it's just the vc++ compiler, chances are node devs already have it installed anyway if they do in fact work on a windows machine.
Ok, this is just unbelievable. My original post was a complete fiction. I just made it up. I made up jsdom-node, I made up the fact that it was a node.js compatible fork, I made up dom.js, I made it all up as satire to poke fun at the javascript community. I thought these two replies about the C++ compiler were just continuing the joke. Honestly.
Imagine my shock to realize that the fake jsdom-node project I made up actually exists (in the form of node-jsdom) and actually exists for the reason I made up. What. The. Fuck.
> Social Media - Personal
People acting in a personal capacity are welcome to share my photographs on blogs, web pages, and social media accounts without prior permission, provided that all images are accompanied by a link back to www.alexanderwild.com. Failure to attribute an image properly may result in a takedown notice to the web host.
Attribution! A thousand times this. I wish twitter would enforce this policy or add a source field like tumblr on those various 1M+ reddit-scraping picture recycling accounts. @picpedant can't save the stories behind these images all by himself.
> 282,000,000 vehicles * 14,000 miles/(year vehicle) * 241.4 Wh/mile * 0.85 lbs C02/kWh = 810.1 billion lbs of C02/year
Aren’t Wh and kWh being conflated in this calculation?