News for hackers. Stuff that matters.
Re:Decentralized Naming and Certificate Authority by pinhead26 on Wednesday February 12, 2020 @01:17PM (#22311183)
Well at least you don't have to worry about package management, all the dependencies are built by the organization either from scratch or with vendored code.

Re: JavaScript, you should take a look at the code in repo, it's excellent. There is a such thing as great Javascript code and bcoin/hsd are prime examples.

Re:Decentralized Naming and Certificate Authority by RL_Quine on Wednesday February 12, 2020 @01:55PM (#22311591)
I'm very aware of bcoin.

https://npm.anvaka.com/#/view/2d/bcoin

Many steps of indirection away we find things like this include.

https://github.com/juliangruber/isarray/blob/master/index.js

    module.exports = Array.isArray || function (arr) {
      return toString.call(arr) == '[object Array]';
    };
Javascript is an absolute joke of a language.
Re:Decentralized Naming and Certificate Authority by Ajedi32 on Wednesday February 12, 2020 @04:39PM (#22313084)
I don't really see the problem. On any remotely modern version of Node that's just a noop. On ancient versions of Node its a very useful polyfill.
Re:Decentralized Naming and Certificate Authority by judge2020 on Wednesday February 12, 2020 @02:06PM (#22311699)
Re:Decentralized Naming and Certificate Authority by chirss on Wednesday February 12, 2020 @02:16PM (#22311783)
For real, it can't even work with regular expressions decently.
Re:Decentralized Naming and Certificate Authority by heartbeats on Wednesday February 12, 2020 @01:32PM (#22311358)
Better the cannot open shared object file: No such file or directory you know than the left-pad you don't.