Andrew Bradley

Results 547 comments of Andrew Bradley
trafficstars

There are 3 different threading models being considered, that I'm aware of.

Does each worker thread get its own loader thread? E.g. if an app launches 2x worker threads, there will be 6x threads total: one main, 2x worker, 3x loader?

I think that's slightly different than what I'm asking about. If a node app uses the worker threads API to launch worker threads, does each get its own loader thread?...

I suspect this is an issue with module resolution, and the part about classes is a red herring. "Module resolution" refers to the process where node sees `import from "./Config";`...

@rprieto's workaround won't work for MySQL, since "SET TRANSACTION ISOLATION LEVEL" applies to the _next_ transaction, not the current one. From: https://dev.mysql.com/doc/refman/5.0/en/set-transaction.html > Without any `SESSION` or `GLOBAL` keyword, the...

Ideally, I'd like to describe args and flags as another class with decorators. For example: ``` class MyCommandOptions { @flag() force: boolean; @argument({/* additional options here */}) name: string; }...

That's totally fair, but if I may make the case for decorators: They'll be optional. There will be a non-decorator way to achieve the same effect. This means anyone not...

Powershell is a great example of unifying args and flags. What's cool about that, is you can pass positionally or be more explicit and pass by name. When being explicit...

IIRC, it was the exact same situation for me: WebStorm / IntelliJ quickly creating and deleting files. @huttj For what it's worth, there are other file-watcher libraries you can consider...

@ericvicenti do any of these solutions fix the problem? https://github.com/joyent/node/issues/2479#issuecomment-3392644 According to nodemon's documentation, on OSX it polls for modified files by repeatedly exec-ing `find`, which is way different than...