It seems as if everyones trying to break the Internet these days, so who better to accomplish this rather nebulous aim than a computer programmer? As reported by The Independent, a convoluted tale involving copyright combats, technological giants and a single, stubborn individual culminated in a massive online insurrection, all because of the deletion of only 11 lines of code.
Not long ago, Azer Koulu decided to compose a piece of code he called kik, an extension for a programming language platform named Node.js. He uploaded it to npm, a server dedicated to pieces of code written in this language available for anyone to download. Unfortunately, another company called Kik objected to having a piece of code bearing the same name, so they protested to its creator.
Kiks patent agent Bob Stratton contacted Koulu asking him to take it down in no uncertain terms. We dont mean to be a dick about it, but its a registered Trademark in most countries around the world and if you actually release an open source project called kik, our trademark lawyers are going to be banging on your door and taking down your accounts, Stratton said, as noted on a blog post by Mike Roberts, the head of messenger at Kik. Koulu flat-out refused by utilizing some instead colorful language.
Sadly, the owner of npm declared that the copyright lawyers were on the right side of the law, and he took away Koulus ownership of the kik code without his permission. Understandably peeved by this, the rebellious coder decided to remove every single piece of code he had ever uploaded to npm.
Down came the house of cards Mclek/ Shutterstock
Koulu, as it turns out, is quite a prolific, well-known coder who once generated a small, simple but overwhelmingly popular code named npm left-pad. These 11 lines of code help developers write more complex coding programs; it essentially saves them having to type out a very rudimentary function. This piece of code had been downloaded 575,000 times, and many sizable online organizations, including Facebook, Netflix and Spotify, employ larger software packages that include it.
Removing this code from the server also automatically removed it from over a thousand software projects, causing them to break and become inoperable. Kik noticed that their own company software projects began failing as a result of the move, devoting the whole incident a instead circular sense of irony.
The only way to fix this problem, aside from persuading Koulu to re-upload his vital foundation code, was for developers to go and manually add the code themselves to every single broken connection in every single infringe software project. The online world rose up in insurrection against npms overlords, and the server capitulated, re-uploading the sacred npm left-pad, much to the relief of developers everywhere.
good morning, thank you for the solidarity! pic.twitter.com/ iYkSqoQOxs
Azer Koulu (@ azerbike) March 28, 2016
Have we forgotten how to program? exclaims one pertinent blog post, clearly lamenting the whole fracas. The author points out that this isnt the only simple piece of coding language taken for granted by and relied on by developers across the world: One single line of code on the npm server called isArray was downloaded 18 million times only this February.
Perhaps, then, the next coding apocalypse is right around the corner.