Hacker Newsnew | past | comments | ask | show | jobs | submit | jbraithwaite's commentslogin

Does the OPs math check out?

> 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?


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.


I had a few spots show up on my scalp and beard. I was told by a dermatologist to put cortisone cream and the bald patches have stayed away.

I agree with the sibling advice to see a doctor. Please don’t take what I’ve written as medical advice.


2. Check out fp-ts or io-ts for runtime type checking.


It seems like the OP doesn't want to run the display in a scaled mode because of the quality drop but it's nearly indiscernible to my eyes.

I enjoy running my Macbook Pro Retina at 2880 x 1800) for the screen real-estate and it seems less taxing on the GPU.


If you supply me with a list, I'll build it


that would be cool actually, but where would one find such a list?


I'm sure if you guys emailed the EFF with your idea, they would be happy to help put one together.


For perspective, here is what Isaac Schlueter said when TJ took over.

http://blog.nodejs.org/2014/01/15/the-next-phase-of-node-js/


So it begins:

    Why io.js instead of node.js? The latest versions of jsdom only work with io.js


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.)

(kidding)


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.

https://www.npmjs.com/package/node-jsdom


Did you really expect a JS related framework to last more that 2 years?


jsdom isn't a framework


I actually don't mind javascript moving so 'fast'. But heck I'm not a professional developer but just a student who likes to play with cool stuff.


Also, in the licensing section of his website

> 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.

http://www.slate.com/articles/life/history/2014/02/_historyi...


That is really reasonable. Good for Wild; he seems like a great guy who has his stuff together.


Your requests are not async and so the item will always be `undefined`. You should add a callback to your functions.

    hn.item(8863, function(err, item){
        console.log(item);
    });
Edit: Actually, there is a lot that isn't correct about this library.. you should add a disclaimer that this is a WIP and is not in a usable state.


Yes WIP (just started throwing it together now), not stable yet. I'll add that. Thanks.

A lot still needs to be fixed and done. Hoping this is a good way to get people involved. Would love any contributions you might want to make.

UPDATE: Made some updates. Give it a look now.


Much better. I would also suggest you check out this library for ideas on how to better structure your code:

https://github.com/edwellbrook/node-hacker-news/blob/master/...

(This isn't my library)


One of the strengths of BS is mobile-first responsive design. You can chain classes like this: class-name="col-xs-6 col-md-3"

If you try this with the method outlined by the OP, you'll end up with a giant css file.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: