Hacker News new | past | comments | ask | show | jobs | submit | LePetitDev's comments login

Transportation is a big problem, especially when it comes to commuting from a suburb to a city. I would love to have more options outside of aging and overcrowded mass transit. Are there solutions to this problem? Are there any killer carpool apps?


I use Lambda in production as a replacement for a cron server. So far, all it does is keep my cache warm. So far, no complaints. It was actually TJ Holowaychuk's blog posts on his use of Lambda that got me to give it a shot.


On a related note, Drupal is dead to me.


After getting rid of redux, what did you end up using for your data-model needs?


Shill, agreed. Surprised to see that this Google developer advocate leaves Angular out of the test and focuses solely on React.


Hammer.js is for use on touch screens, not trackpads. I found the demo on the page to be a bit vague, too, but a much better demo in the following Codepen convinced me to use it. Plus, it has a much lighter footprint than Interact.js.

http://codepen.io/klawdyo/full/azmapQ/

On a non-touch screen, hold shift while dragging the green box to emulate pinch and rotate gestures.


The naming, alone, was enough for me to chuckle and give the link a click.


+1 for generators. As a former PHP developer, I jumped into using generators that return promises in io.js (as well as es6 classes), and the code reads very much like PHP code, except all of the i/o is now asynchronous.


There is no benefit of io being async in itself until you have many users. The immediate and more accessible benefit is speeding up individual requests due to the ease at which you can perfom io in parallel. But if you just sprinkle await/yield everywhere (which everyone unfortunately does), you don't even get this benefit.


Sure you can.

  let [a, b] = await Promise.all([asyncA(), asyncB()])


I am referring to usage of generators without promises (or rather code that uses generators in a way that it wouldnt matter if promises or thunks were used). And even then I didn't say that you couldn't, even when using promises and generators together most people make their code unneceasarily sequential.


Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: