Forum Overview :: NetHack
 
Anything that pulls in external dependencies will break eventually by Entropy Stew 03/23/2016, 1:04pm PDT
Ice Cream Jonsey wrote:

My initial continuous integration solution had me building a couple of our JavaScript products from source every time I deployed them. Which is cool for me to know that it builds, but it does reveal that, ah, the way some of these JS things get built seems a bit fragile to me.


Local mirrors or package repositories are a requirement for shit to build 100% consistently. Even when you do that, version mismatch hell is still possible. I had to debug some really weird shit with Perl because a module had a fallback dependency when the one it really wanted to use was not available, and the fallback failed in a subtle and confusing manner. Turns out the old version we used were incompatible with the upgraded version of the module that required it, but the build didn't fail because of the fallback module usage. What a fucking pain in the ass.

Consistent builds tend to put more burdens on the shoulders of the devs and ops people. Pulling shit from the internet and not thinking about it is great for convenience, but falls over when something like left-pad happens. The larger the dependency graph becomes, the more these two approaches become polarized. Dependency management is hard, there's no free lunch.

-/ES/-
PREVIOUS NEXT REPLY QUOTE
 
How One Dev Broke Node, and Thousands of Projects In 11 Lines of JavaScript by Ice Cream Jonsey 03/23/2016, 7:59am PDT NEW
    Anything that pulls in external dependencies will break eventually by Entropy Stew 03/23/2016, 1:04pm PDT NEW
    Email thread from guy at Kik by Entropy Stew 03/23/2016, 2:37pm PDT NEW
        Re: Email thread from guy at Kik by Ice Cream Jonsey 03/23/2016, 2:47pm PDT NEW
            The other problem is that NPM is a company and just did this by fiat by Entropy Stew 03/23/2016, 3:43pm PDT NEW
                I'm mostly angered by the scumbag company getting out of not paying money for it by Kenny Mayne 03/23/2016, 4:46pm PDT NEW
                    They did pay for it when they bought the trademark NT by Entropy Stew 03/23/2016, 8:49pm PDT NEW
                        Oooo I bought a trademark at the trademark store, bro lookit me by The Brogrammer 03/23/2016, 9:57pm PDT NEW
                            Re: Oooo I bought a trademark at the trademark store, bro lookit me by Entropy Stew 03/23/2016, 11:03pm PDT NEW
                                Ahhh! Lookit this guy! Beer me, Caltrops!! by The Brogrammer 03/24/2016, 6:54am PDT NEW
                                    You seem really familiar to me. Trying to figure out why by Welcome to Omsk 03/24/2016, 10:30am PDT NEW
                                        You don't put me in a box. I put me in a box. By box I hope you know I mean by The Brogrammer 03/24/2016, 11:39am PDT NEW
 
powered by pointy