Members
  • Total Members: 14176
  • Latest: toxxxa
Stats
  • Total Posts: 42947
  • Total Topics: 16146
  • Online Today: 4867
  • Online Ever: 51419
  • (01. January 2010., 10:27:49)









Author Topic: He actually did break the internet! XD  (Read 4869 times)

0 Members and 1 Guest are viewing this topic.

devnullius

  • SCF VIP Member
  • *****
  • Posts: 3614
  • KARMA: 157
  • Gender: Female
    • SCForum.info
He actually did break the internet! XD
« on: 24. March 2016., 20:44:29 »
 :up: gotta love the next story that developed just last week  O0

http://nr.news-republic.com/Web/ArticleWeb.aspx?regionid=3&articleid=60766412&source=digest&tagid=20440&tagname=Business

One angry programmer almost broke the internet by deleting 11 lines of code (MSFT)

This week, one angry programmer broke a whole mess of the software the Internet runs on with the simple deletion of one simple program consisting of eleven lines of code.

Everything is okay now. But it's a strange case that involves copyright lawyers, a petulant developer, and a behind-the-scenes look into how tech titans like Facebook, Spotify, and Netflix make the sausage.

It all starts with a developer named Azer Koçulu, who wrote an otherwise unremarkable piece of code called "Kik," an extension for the popular programming language Node.js. Koçulu put his Kik module up on NPM, essentially an App Store for Node.js programmers, as a free download for developers to work into their apps at their leisure.

The other Kik

Kik, the popular social network of the same name, took notice and sent Koçulu an e-mail requesting he change the name of his module. By Koçulu's own admission in a blog post, Kik's initial request was reasonable. Still, Koçulu wouldn't budge.

"When I started coding Kik, didn't know there is a company with same name. And I didn't want to let a company force me to change the name of it," Koçulu writes.

Given that Kik did have copyright on its side, Koçulu says that NPM CEO Isaac Schlueter took away his ownership of the module in question without asking.

Upset, Koçulu announced in that blog entry that he was removing his Kik from NPM entirely— as well as all of his other code.

Image
Martin Hangen/Getty Images
It's likely that nobody would have noticed — except that Koçulu is also the person who created a very silly, very basic, but very popular NPM module called "npm left-pad." It's eleven lines long and doesn't actually do anything complicated but it's been downloaded over 575,000 times.

And when it vanished, developers on Reddit, Twitter, and elsewhere definitely took notice.

A house of cards

This is where things get sticky.

A module like "npm left-pad" is basically a shortcut so a developer doesn't have to write a whole bunch of basic code from scratch. If a developer calls on an NPM module, it's basically shorthand for "put this code in later," and a software compiler will just download the code when the time is right.

Most of the time, this works just fine. But sometimes, software ends up relying on what's essentially a house of cards: One Node.js module calls on another, calls on another, calls on another. Again, usually it works fine — right up until "npm left-pad" is taken offline.

Image
Martin Hangen/Getty Images
Boom, down went the house of cards. Popular software projects like Babel, which helps Facebook, Netflix, and Spotify, run code faster, and React, which helps developers build better interfaces, were suddenly broken and no more work could be done with them. Overall, over a thousand software projects were affected, reports The Register.

Fixing the problem would require that programmers sift through all of those dependencies, making sure that absolutely nothing relied on that one silly eleven-line bit of code.

And so, after a mass outcry from developers all over the world, NPM was forced to "un-un-publish" the code in question, handing it over to a new owner.

In a series of Twitter posts, NPM CTO Laurie Voss explains that the company wasn't totally comfortable handing over what's still Koçulu's intellectual property, but much of the software industry had ground to a halt over the issue.

Tweet Embed:

https://twitter.com/mims/statuses/712417370686365697

Even within npm we're not unanimous that this was the right call, but I cannot see hundreds of builds failing every second and not fix it.

All told, the storm is over, and "npm left-pad" is back online. But the wounds are still deeply felt: "Have We Forgotten How To Program," asks one blog entry urging developers to rethink how they build their apps.

NPM did not immediately respond to a request for comment.
More information about bitcoin, altcoin & crypto in general? GO TO  j.gs/7385484/btc

Cuisvis hominis est errare, nullius nisi insipientis in errore persevare... So why not get the real SCForum employees to help YOUR troubled computer!!! SCF Remote PC Assist http://goo.gl/n1ONa9

Samker's Computer Forum - SCforum.info

He actually did break the internet! XD
« on: 24. March 2016., 20:44:29 »

Samker

  • SCF Administrator
  • *****
  • Posts: 7528
  • KARMA: 322
  • Gender: Male
  • Whatever doesn't kill us makes us stronger.
    • SCforum.info - Samker's Computer Forum
Re: "Butterfly effect" - A confirmation of "Chaos theory"
« Reply #1 on: 27. March 2016., 13:37:54 »
"Butterfly effect" - A confirmation of "Chaos theory":

"If a butterfly flaps it's wings in Japan, a hurricane will happen on the coasts of USA."

---

Nice reading, thanks D. :up:

devnullius

  • SCF VIP Member
  • *****
  • Posts: 3614
  • KARMA: 157
  • Gender: Female
    • SCForum.info
Re: He actually did break the internet! XD
« Reply #2 on: 27. March 2016., 19:24:20 »
Yeah, I had fun reading this too. Though at the heart of it... Taking ownership of code that doesn't belong to you... Well, I'd try to sue!
More information about bitcoin, altcoin & crypto in general? GO TO  j.gs/7385484/btc

Cuisvis hominis est errare, nullius nisi insipientis in errore persevare... So why not get the real SCForum employees to help YOUR troubled computer!!! SCF Remote PC Assist http://goo.gl/n1ONa9

Samker's Computer Forum - SCforum.info

Re: He actually did break the internet! XD
« Reply #2 on: 27. March 2016., 19:24:20 »

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
Second Anti-Bot trap, type or simply copy-paste below (only the red letters):www.scforum.info:

Enter your email address to receive daily email with 'SCforum.info - Samker's Computer Forum' newest content:

Terms of Use | Privacy Policy | Advertising