News for hackers. Stuff that matters.

emorning2

async/await

I see async/await as the only way to write asynchronous code that's readable

Re:Ask HN: What is the best thing you ever owned? on Friday October 20, 2017 @11:51AM (#15516711)
I penny that my kids and I flattened in a machine in a general store in YellowStone Park in the 90s. If my house was on fire that's what I'd go back in to get...
Re:Ask HN: Why hasn’t Google killed Google Plus? on Friday October 20, 2017 @11:45AM (#15516653)
NewsBlur is closest replacement I could find, been using it since Reader died. I like it.
Re:Ask HN: Do you struggle to sleep after coding all day? on Tuesday July 21, 2015 @11:47AM (#9923038)
I've had this problem. Had trouble falling asleep, and when I did sleep I would dream about coding. I don't have this problem anymore. I credit two things with eliminating the problem... 1) Exercise. Preferably in the morning. I do 20 minutes of weight training in the morning, 4 days a week. I follow the StrongLifts 5x5 method. I walk two miles at lunch. 2) Valerian root. I just take it every day 30 minutes before going to sleep. When my head hits the pillow I'm asleep in 60 seconds and I sleep like a rock.
Well, that's not just some textbook on computational complexity, it's the textbook on computational complexity.