News for hackers. Stuff that matters.

confusedjs

I see him deploy one etcd container and claim he has deployed an etcd cluster. Is that a cluster of 1 or am I missing something?
This is a bit weird. I don't believe WhatsApp are lying but there's absolutely no proof they're not.

I could release a closed source app with a bunch of padlocks in it and copy/paste their white paper and have exactly the same level of proof of security. Would I get a 7/10 from EFF?

Re:NPM and Left-Pad: Have We Forgotten How to Program? on Thursday March 24, 2016 @06:43AM (#11351800)
I'm not at all clear why this blog post is touted as evidence that the tiny modules approach is correct. I think it might be all the people after it congratulating him.

"It's all about containing complexity." - this completely ignores the complexity of maintaining dependencies. The more dependencies I have the more complicated my project is to maintain.

Dependencies are pieces of software managed by separate entities. They have bugs and need updates. It's hard to keep up to date.

When I update a piece of software I read the CHANGELOG, how am I expected to read the CHANGELOG for 1,000 packages?

Depending on a bigger package (handled by the same entities, who write one changelog, in the same form) is more straight forward.

I'm not saying this is wrong - but there's a balance here, and you must not ignore the complexity of increasing your number of dependencies. It does make things harder.

Thanks, that's some interesting discussion

Ask HN: Why do JavaScript developers favour many, tiny dependencies?

The more I delve in to the world of Javascript the more I come across projects such as:* is-root: https://www.npmjs.com/package/is-root* is-even https://www.npmjs.com/package/is-evenOften these are whole npm modules that comprise of a single line of code.I've never seen anything quite like it when working with Java and Python.Can anyone explain why? It seems to me adding a dependency I have to...

( Read More... | 4 comments | 3 points | on HN )