Readit News logoReadit News
oboopfmlrmnmn commented on Bundle Phobia: find the cost of adding an npm package to your bundle   bundlephobia.com/?source=... · Posted by u/orf
busterarm · 8 years ago
Any projects we do where npm packages are a dependency inevitably end up with frequent transient build failures. npm install will kick out with some warning or error that's buried well past the 4MB log limit from CircleCI. Rebuilding the project always works.

I haven't been able to determine if this is an NPM issue or CircleCI issue, but short research periods seem to indicate the former, and I find the availability of packages in the manager to be 'unreliable'. That's not really something that I want to deal with in software that is managing my dependencies, but that's the state of the world. Apt repositories have a tendency to do the same thing, actually.

oboopfmlrmnmn · 8 years ago
tried yarn?
oboopfmlrmnmn commented on Bundle Phobia: find the cost of adding an npm package to your bundle   bundlephobia.com/?source=... · Posted by u/orf
sleavey · 8 years ago
I didn't realise that others also actively avoid npm. I can't really place my finger on exactly why I do, but I guess it's somewhere between the cargo-cult mentality in Javascript (which makes me associate node packages with poor quality programming) and not seeing the point of having another package manager beyond what my distro provides.
oboopfmlrmnmn · 8 years ago
There is a big distinction between the purpose of your distro package manager and the purpose of a languange dependency manager such as npm, pip, rubygems, cargo or composer.

While the first is for installing applications on your system (and also used for c libraries, because c has no official dependency manager), the second serves much more specialized purposes tailored for the language, such as

- os-agnostic (imagine the work in getting all them distros update just one package)

- compiles/postprocesses dependencies in deterministic ways

- etc.

oboopfmlrmnmn commented on Bundle Phobia: find the cost of adding an npm package to your bundle   bundlephobia.com/?source=... · Posted by u/orf
brootstrap · 8 years ago
good call, i'm a python guy who usually does science/infrastructure stuff but occasionally look at what is goin on with our front end libaries. Whenever i read thru our dep-chain i'm like holy shit guys, isArray is in here 4 times with 4 different versions.

All in all though cool project, looks great, works fast, provides good info. thanks and congrats

oboopfmlrmnmn · 8 years ago
I don’t understand if you are the author or just use a suggestive writing style.
oboopfmlrmnmn commented on The Pentagon’s U.F.O. Program   nytimes.com/2017/12/16/us... · Posted by u/farseer
glenstein · 8 years ago
For me, the logical next stop would be to pause and think very long and very hard about why the subject isn't treated as legitimate by mainstream science.
oboopfmlrmnmn · 8 years ago
Yeah, good luck with your long hard think
oboopfmlrmnmn commented on Ask HN: How to approach testing in Golang?    · Posted by u/kc1116
oboopfmlrmnmn · 8 years ago
Also, consider what you are really testing with mocks. Your implementation, or your mock? You can test without mocks..,
oboopfmlrmnmn commented on KornShell – Moving forward   situ.im/posts/korn-shell-... · Posted by u/siteshwar
StavrosK · 8 years ago
If you like zsh, you're going to love fish†

† The qualifying clause is probably unnecessary here.

oboopfmlrmnmn · 8 years ago
I love zsh, but abandoned ship of fish long ago.
oboopfmlrmnmn commented on Building multiplayer games with Socket.io and HTML5 Canvas   github.com/sgoedecke/sock... · Posted by u/gfysfm
oboopfmlrmnmn · 8 years ago
Just wondering, why are people still using socket.io and not standard websockets, as available in every browser since several years now?
oboopfmlrmnmn commented on Ask HN: Best way to manage a single server from Git in 2017?    · Posted by u/simonw
oboopfmlrmnmn · 8 years ago
I suggest you invest a little time with Docker instead of the software you listed

u/oboopfmlrmnmn

KarmaCake day19September 15, 2017View Original