News for hackers. Stuff that matters.

jbraithwaite

Re:What If All the Gasoline Cars Became Electric Vehicles? on Monday August 14, 2023 @02:51PM (#37125103)
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 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.

Re:TypeScript 3.7: The Biggest Features and How to Use Them on Thursday September 12, 2019 @06:16PM (#20957062)
2. Check out fp-ts or io-ts for runtime type checking.
Re:When 4K Isn't Enough Anymore on Tuesday October 06, 2015 @06:24PM (#10342850)
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.

Re:Why we're leaving Heroku on Tuesday September 22, 2015 @08:03PM (#10262576)
If you supply me with a list, I'll build it
Re:Next Chapter on Friday May 08, 2015 @03:39PM (#9513699)
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/

Re:Show HN: A Guide to TDD'ing React Components on Monday April 20, 2015 @02:17AM (#9406446)
So it begins:

    Why io.js instead of node.js? The latest versions of jsdom only work with io.js
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.

Re:Hacker News API Wrapper for Node on Friday October 10, 2014 @02:39PM (#8439357)
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)

Re:Hacker News API Wrapper for Node on Friday October 10, 2014 @01:32AM (#8436392)
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.

Older »