Live data from Hacker News

Disabling npm's progress bar yields a 2x npm install speed improvement

twitter.com

71–80 of 187 posts

Re: Disabling npm's progress bar yields a 2x npm install speed improvement

#71

Earlier quoted context omitted.

> Not everyone is you. Never claimed that was the case. God speed with your colors. May they bring you fame and good fortune.

> Never claimed that was the case. Whether you claimed it is not in question. You're saying "[color in the terminal] is the work of the devil", which has a clear intent to dissuade people from coloring terminal output. Which, frankly, is insanity. Most apps do it well nowadays: --color=auto/always/never, usually defaulting to auto. So when GP says "not everyone is you", they mean be considerate. If you want color off…

"Catered to", "dissuade", "push that choice" and "insanity"?

Now this is just getting silly. You are taking my comments far too seriously.

Re: Disabling npm's progress bar yields a 2x npm install speed improvement

#72

Earlier quoted context omitted.

just gugel it

Heh, just "ied" will give you this: https://en.wikipedia.org/wiki/Improvised_explosive_device "ied package manager" works, though.

Normally, I am not a fan of replacing words in the search engine with computer science stuff (think AJAX), but I can accept computer words replacing words that symbolize violence.

Re: Disabling npm's progress bar yields a 2x npm install speed improvement

#73

Earlier quoted context omitted.

I don't even want color and terminal graphics done goodly. I code with two monochrome terminals on the screen using vim and the command line.

Thanks for sharing! As an undergrad, I had a 14.4 kbps modem, and an amber WYSE terminal. With that, I was able to do contract work. It reminded me of the amber monitor I had on my Apple II ten years before. A solid phosphor CRT with no shadow mask is a fine thing. Colors on a modern LCD are great too; give it a chance!

I have a soft spot for those short-lived X-terminals as well. The golden age of computing.

Colors are great for web browsing, don't get me wrong. Just not near my code!

Re: Disabling npm's progress bar yields a 2x npm install speed improvement

#74
post #12

Earlier quoted context omitted.

Even more important, npm doesn't reliably reproduce builds. Different runs of the same shrinkwrapped build could either fail or succeed -- which is odd given that builds should be deterministic. Additionally, shrinkwrap is also broken in the same way. This is the first time I've heard of ied, a little competition could go a long way!

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

#75

Earlier quoted context omitted.

I don't even want color and terminal graphics done goodly. I code with two monochrome terminals on the screen using vim and the command line.

You don't use syntax highlighting?

No, never had a need for it.

Re: Disabling npm's progress bar yields a 2x npm install speed improvement

#76
post #74

Earlier 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.

Mix, Erlang's package manager (used by Phoenix / Elixir)

Cargo, Rust's package manager

Meteor

Re: Disabling npm's progress bar yields a 2x npm install speed improvement

#77

I posted this below, but I'll post again here for visibility. What the heck is up with npm install on iTerm 2? I had no idea something was weird until recently, when I did an install with Termial. Here's a side-by-side video: https://youtu.be/odoVfHHBYVM

Weird I'm seeing the left result in iterm 2 on my work mac

Re: Disabling npm's progress bar yields a 2x npm install speed improvement

#78
post #74

Earlier 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.

Composer (PHP) too.

Re: Disabling npm's progress bar yields a 2x npm install speed improvement

#79
post #74

Earlier 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.

[deleted]

Re: Disabling npm's progress bar yields a 2x npm install speed improvement

#80
post #74

Earlier 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.

These come to mind: rebar3 (Erlang), mix (Elixir), composer (PHP), elm-package (via elm-stuff/exact-dependencies.json).
Post reply on HN