Re:My failed attempt to shrink all NPM packages by 5%
by michaelmior on Monday January 27, 2025 @10:26AM
(#42842076)
Yes and no. If I'm paying $5 a month for storage, I probably don't care about saving 5% of my storage costs. If I'm paying $50,000/month in storage costs, 5% savings is a lot more worthwhile to pursue
[ Parent
| on HN ]
Re:My failed attempt to shrink all NPM packages by 5%
by PaulHoule on Monday January 27, 2025 @10:39AM
(#42842239)
Doesn't npm belong to Microsoft? It must be hosted in Azure which they own so they must be paying a rock bottom rate for storage, bandwidth, everything.
Re:My failed attempt to shrink all NPM packages by 5%
by cwmma on Monday January 27, 2025 @10:58AM
(#42842448)
It's probably less about MS and more about the people downloading the packages
Re:My failed attempt to shrink all NPM packages by 5%
by PaulHoule on Monday January 27, 2025 @11:29AM
(#42842823)
For them it is 5% of something tiny.
Re:My failed attempt to shrink all NPM packages by 5%
by imoverclocked on Monday January 27, 2025 @01:27PM
(#42844082)
Maybe, maybe not. If you are on a bandwidth limited connection and you have a bunch of NPM packages to install, 5% of an hour is a few minutes saved. It's likely more than that because long-transfers often need to be restarted.
Re:My failed attempt to shrink all NPM packages by 5%
by PaulHoule on Monday January 27, 2025 @01:43PM
(#42844254)
A properly working cache and download manager that supports resume goes a long way.
I could never get Docker to work on my ADSL when it was 2 Mbps (FTTN got it up to 20) though it was fine in the Montreal office which had gigabit.