Friday, January 13, 2012

load01 01/13/2012

  • n JavaScript, anywhere you find yourself writing:

    function (x) { return foo(x); }
    You can usually substitute just foo. For example, this code:

    var floats = someArray.map(function (value) {
    return parseFloat(value);
    });
    Could be written:

    var floats = someArray.map(parseFloat);
    This understanding is vital. Without it, you can be led astray into thinking that this code:

    tags: programming

  • January 11, 2012, marks the 10th anniversary of the arrival of the first detainees at the U.S. detention facility at Guantánamo Bay—the first of what would be nearly 800 prisoners to cycle through the camp. One hundred and seventy one are still there. Despite President Obama’s pledge, the facility remains open, a prisoner of fear-mongering and politics—and it continues to be a symbol of mistreatment and missteps in the prosecution of the war on terror. Vanity Fair has interviewed dozens of people associated with Guantánamo—lawyers, soldiers, diplomats, former detainees—in order to tell the story in their own words.*

    tags: news

  • According to reports, dozens of workers at a Chinese factory that assembles Xbox 360 consoles threatened to jump off a dormitory roof. The rooftop protest began on Jan 2, following plans to close the Xbox assembly line, with workers saying that Foxconn reneged on a promise to compensate anyone wanting to leave.

    tags: news

  • There’s been a lot of huffing and puffing in the tech community over the past few months about SOPA, the proposed legislation that many believe would cripple the Internet and thwart innovation. People have started online petitions, written countless blog posts, started boycotts against companies that support SOPA and campaigns to change Twitter avatars. (Check out the rest of VentureBeat’s SOPA coverage here.)

    tags: news

  • Saw this bumper sticker while driving to work. (i.imgur.com)
    submitted 3 hours ago by pwylie to atheism
    178 commentssharesavehidereport

    tags: culture

Posted from Diigo. The rest of my favorite links are here.

No comments:

Post a Comment