←back to thread

980 points nkcmr | 1 comments | | HN request time: 0s | source
Show context
OskarS ◴[] No.27415822[source]
I’ve seen packages that do ”internet-detection” by calling out to icanhazip.com, and I just thought that was so irresposnible. What if your package got popular, how much money are you costing the hoster? For services like this, people just don’t consider the fact that there’s someone on the other side.
replies(3): >>27416037 #>>27416043 #>>27416090 #
ljm ◴[] No.27416037[source]
I feel the same about dependency steps in CI, without a cache or any similar structure. Package repos like Rubygems, NPM and PyPi get utterly rinsed by the continual downloading and redownloading of stuff the client should have already stored.
replies(3): >>27416407 #>>27417810 #>>27417948 #
trulyme ◴[] No.27416407[source]
This. And both with GitHub and GitLab it takes quite a bit of an extra effort to setup caching. It hurts to see 'npm ci' download half the internet every time a developer pushes to dev server.
replies(1): >>27416595 #
yellow_lead ◴[] No.27416595{3}[source]
Would be interesting to speculate about the greenhouse effect of all these repeated downloads
replies(2): >>27418148 #>>27425471 #
1. ljm ◴[] No.27425471{4}[source]
If nothing else, it is patently wasteful and, as a user, you don't really see CI billed in terms of network bandwidth. Just indirectly through the equivalent of mainframe minutes. And even then, that's not enough to discourage anyone from building a suboptimal pipeline.