Thursday, April 5, 2012

load01 04/05/2012

  • I received the following email today in response to my post I’m Christian, Unless You’re Gay. I had decided a couple months ago that it was time to let the whole thing rest, but this response was so powerful, I couldn’t not share it with you all. It was from a woman who simply called herself, “One proud mom.”

    tags: culture

  • PROBLEM: You are a web programmer. You have users. Your users rate stuff on your site. You want to put the highest-rated stuff at the top and lowest-rated at the bottom. You need some sort of "score" to sort by.

    WRONG SOLUTION #1: Score = (Positive ratings) - (Negative ratings)

    Why it is wrong: Suppose one item has 600 positive ratings and 400 negative ratings: 60% positive. Suppose item two has 5,500 positive ratings and 4,500 negative ratings: 55% positive. This algorithm puts item two (score = 1000, but only 55% positive) above item one (score = 200, and 60% positive). WRONG.

    Sites that make this mistake: Urban Dictionary

    tags: programming

  • tags: misc

  • Whenever I see code that asks what the native byte order is, the odds are about a hundred to one the code is either wrong or misguided. And if the native byte order really does matter to the execution of the program, the odds are about a hundred to one it's dealing with some external software that is either wrong or misguided. If your code contains #ifdef BIG_ENDIAN or the equivalent, you need to unlearn about byte order.

    tags: programming

  • I have been waiting for this day for 17 years! Today, United States Patent 5,404,140 titled “Coding system” owned by Mitsubishi expires, 22 years after it was filed in Japan.

    tags: technology

  • 10. Lucille Ball (the black-and-white one I saw in the afternoons on the days I stayed home from school sick) and my grandmother were the same person, just at different ages.

    tags: humor

  • There’s absolutely nothing wrong with the Great American Novel if your name is George R. R. Martin or Suzanne Collins. You guys are doing great; somebody give them genius grants. I had never before read a 1,000-page book, and now I’ve read like 5 of them. If Westeros had subways things would move along much faster, George. Think about it. (Unless it was a weekend! Then they’d have shuttle buses between King’s Landing and Riverrun like only once every few hours. Ugh!) And obviously Katniss Everdeen should have dated both those dudes in the book rather than suffer the guilt and sorrow of having to choose just one. Let’s stop living in the 20th Century, with all its bullshit morality and monogamy. Hot people can do whatever the hell they want. Those two whatstheirnames would be like, “Aw, Katniss, but I love you so much.” And she’d be like, “If you truly loved me you’d make out with each other.” And then they would and then everything would be awesome. But overall, Martin and Collins get a billion gold stars. The rest of you novelists, who knows what you’re thinking.

    tags: culture

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

No comments:

Post a Comment