Recent submissions

Comment · 4 years ago
State charts / FSM's work wonders in these situations.
Comment · 4 years ago
For these situations I often use IFFEs with if-statements and early returns inside.
Comment · 4 years ago
What's the pros/cons vs Promise.all([...])?
Comment · 5 years ago
There's Clojure too.
Comment · 5 years ago
> Please stop spreading this misnomer.

That's a fairly… direct way of putting it :-)

Anyway:

1. What are the key differences in terms of usage and use cases?

2. Why isn't Deno a 'wholesale' replacement for Node?

3. In which respect are the vastly differently inner workings relevant in regards to usage of both products?

Comment · 5 years ago
"Money earned"
Comment · 5 years ago
Comment · 5 years ago
There’s no need to in my situation. 99% of the files are dependencies installed through Composer (PHP) while building the Dockerfile. The few directories I need to work on directly are bind mounts and don’t have much impact on overall runtime performance.
Comment · 5 years ago
> On a Mac, there is a major performance hit whenever you do disk IO in a bind mount (i.e. voluming a directory of the host system into the container). Working without bind mounts is extremely limiting. [..] If you’re using Docker on a Mac and you’ve never tried it on Linux, you owe it to yourself to try it on Linux.

Or use named volumes. I'm running a dockerized WordPress dev environment on my MacBook with average TTFB's of 40 ms.

Comment · 5 years ago
Comment · 5 years ago
Agreed. I find myself using a pretty small subset of the language which definitely doesn't include the class keyword. Doubt I'll ever find it useful.
Comment · 5 years ago
Often times operations are order-independent. Specifying those as sequential `await`-s does not make a lot of sense in those situations. I guess less fine grained control is desirable under such circumstances :-)

There's also other useful utilities such as Promise.all(), Promise.any() and Promise.race().

Comment · 5 years ago
Comment · 6 years ago
> Well, how interesting that Apple's software is going to be bypassing Little Snitch, making it harder to discover and fix this sort of issue.

Source?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton