Earlier quoted context omitted.
No, you're making bad jokes in a context where they aren't welcome. You may want to try Reddit or Slashdot. They enjoy this sort of thing, I understand.
Thank goodness we have you and others to police the jokes. Remain vigilant! Keep up the good work.
Disabling npm's progress bar yields a 2x npm install speed improvement
181–187 of 187 posts
Re: Disabling npm's progress bar yields a 2x npm install speed improvement
#182Earlier quoted context omitted.
Don't even get me started on the number of reasons why nodejs should not be running on servers, I'll be here all day. We're currently deploying a NodeJS app and we'll never do it again - the amount of problems with that ecosystem is quite amazing. As I tweeted earlier today "JS ppl tend to have marketing & UI/UX experience so JS crapcode gets popularised, becomes widespread, then we have to deal with the fallout".
I'm genuinely interested. I've been using nodejs for hobby projects and scripts, so haven't seen too many issues. But I'd like to know how things are and what issues you've been seeing.
Re: Disabling npm's progress bar yields a 2x npm install speed improvement
#183Earlier quoted context omitted.
https://www.youtube.com/watch?v=elWIVKWhWTk
I see that with iTerm 2, but using Terminal gives me a very different experience. Here's a side-by-side: https://youtu.be/odoVfHHBYVM Until recently, I had no clue iTerm was doing something weird. I just figured npm install was just ugly and incomprehensible.
Re: Disabling npm's progress bar yields a 2x npm install speed improvement
#184Earlier quoted context omitted.
This is not only completely wrong, it's dangerously wrong. It is in fact wildly unsafe to touch the GUI from anything except the main thread. It's all the non-UI stuff that you should shove onto another thread.
Depends on what you call "main thread" - maybe he's saying worker thread that's doing the "main code" shouldn't be doing GUI
Re: Disabling npm's progress bar yields a 2x npm install speed improvement
#185Earlier quoted context omitted.
I agree, but I'm curious what other build systems have a lock file? Ruby does through bundler, who else does this right? I can't think of any.
You get a similar effect for free with any language whose community defaults to non-floating transitive dependencies, e.g most JVM languages.
Re: Disabling npm's progress bar yields a 2x npm install speed improvement
#186Earlier quoted context omitted.
That's frustrating, I got bitten by that a couple of times. I'm wondering when will they add a LOCKFILE like every other build system out there :'(
I agree, but I'm curious what other build systems have a lock file? Ruby does through bundler, who else does this right? I can't think of any.
Re: Disabling npm's progress bar yields a 2x npm install speed improvement
#187Doing GUI calls is a notorious way to slow down apps. I sped up an app (major software from major large corporation) by a factor of 10x a few years back by removing GUI updates. What you have to do is create a thread that refreshes the GUI periodically and not let your main worker thread ever work on the GUI. This particular app was an Eclipse Plugin (a source control app) and the Eclipse SWT to update the console lo…
> What you have to do is create a thread [...] A thread? But that'll never scale!