Sunday, March 27, 2016

Koculu Stratton npm and Kik

module.exports = leftpad;

function leftpad (str, len, ch) 
{
str = String(str);
var i = -1;
if (!ch && ch !== 0) ch = ' ';
len = len - str.length;
while (++i < len) 
  {
  str = ch + str;
  }
return str;
}


Subtitle: Dispute between Azer Koçulu and Bob Stratton over Kik briefly breaks the Javascript Internet

Just a placeholder really, for those of you who don't spend as much time as Marcus on /the Internet/


http://qz.com/646467/how-one-programmer-broke-the-internet-by-deleting-a-tiny-piece-of-code/


https://medium.com/@mproberts/a-discussion-about-the-breaking-of-the-internet-3d4d2a83aa4d#.9tsqhhkgk

http://arstechnica.com/information-technology/2016/03/rage-quit-coder-unpublished-17-lines-of-javascript-and-broke-the-internet/



Summary
Internet: 'Tis a fragile thing


leftpad