Slashdot Mirror


More iTunes Math

markmcb writes "OmniNerd once again digs into the math behind iTunes. The 5-star ratings in iTunes are actually stored in a variable allowing values from 0 to 100, with 20 = 1-star, 40 = 2-star, etc. Known to few, if you set a rating to 30 (manually), it will show up as 1 1/2 stars in the program's GUI. Matt Schinckel provides interesting statistical evidence showing that not only do non-whole, non-half values (e.g., 47) not increase the amount a song will play, but neither do the half-star ratings (with the exception of .5 star)."

10 of 167 comments (clear)

  1. Re:How does it handle values outside the range? by frostilicus2 · · Score: 5, Interesting

    I've just tried this - If you insert a value outside the range, iTunes assumes the nearest value to 0, 20, 40, 60, 80, and 100 and doesn't crash.

    --
    Nothing sucks like a Vax, nothing blows like a PowerMac G4
  2. Re:The beauty of AppleScript. by Anonymous Coward · · Score: 5, Funny

    "This shows the beauty of scripting systems like AppleScript. They allow you a level of interaction with a system that is hardly seen on Windows, and only vaguely available on UNIX."

    This shows the level of brainwashing only possibly seen in apple zealots.

  3. Re:The beauty of AppleScript. by slavemowgli · · Score: 4, Funny

    Goodness, just how many top-level comments can you post in a single discussion in rapid succession? It *is* possible to write more than one sentence in a comment, y'know. :)

    --
    quidquid latine dictum sit altum videtur.
  4. Re:So it's basically fixed point math. by flyingsquid · · Score: 5, Funny
    Wow. I don't see why this article is on slashdot, what am I missing?

    Whatever it is the editors were smoking.

  5. Obligatory by Errandboy+of+Doom · · Score: 5, Funny

    iTunes? Is anyone still using that old thing? I now exclusively use Songbird, even though it's still alpha.

    Tsk, and I thought this was Slashdot... bleeding edge, people!

    1. Re:Obligatory by dr.badass · · Score: 4, Funny

      iTunes? Is anyone still using that old thing? I now exclusively use Songbird

      I tried to install Songbird, but it just installed a buggy, broken and cluttered version of iTunes that didn't work with my iPod and had a farting bird for an icon. Does anyone know where the real installer is?

      --
      Don't become a regular here -- you will become retarded.
  6. Re:So it's basically fixed point math. by CyricZ · · Score: 5, Funny

    I doubt they're smoking anything. And if they are, it's likely a substance that enhances one's journalistic abilities.

    This story has everything to do with what this site stands for. It directly involves Apple, mathematics, software design, software analysis, software realiability, and so forth.

    Remember, one of the traits of the true, traditional hacker was to experiment with systems in order to better understand them. That holds especially true of proprietary software systems, where the source code cannot be easily or readily viewed.

    Indeed, this is a very interesting story that should appeal perfectly to the general Slashdot audience.

    --
    Cyric Zndovzny at your service.
  7. why linear? by kavehkh · · Score: 5, Interesting

    Why is the rating system linear instead of exponential. I would like a song that has one more star than another to play TWICE more often.

  8. Re:Is it really surprising? by CyricZ · · Score: 5, Informative

    Yes, it's interesting. If you find such topics boring, then perhaps you shouldn't be reading Slashdot. I'm sure you'll find reading material more entertaining and suitable for lower intelligence level at Disney.com.

    Many people who read this site care about issues like this. We find it interesting to experiment with software systems, especially those which we do not have direct access to the source code of. It's fun to see how a consumer-grade application reacts to unexpected data, for instance.

    He could have decompiled the application. But doing so would likely have been in violation of the licensing agreement he agreed to before using said software. You may question the legality of such agreements, but he may not have wanted to take the risk of publishing his findings. Litigation is expensive, after all.

    Not only that, but it's quite difficult to decompile a program written in C, C++ or Objective-C. That's especially true when you're dealing with an optimized program. It often isn't obvious what a particular chunk of assembly code is doing, and thus is basically useless for such analysis.

    --
    Cyric Zndovzny at your service.
  9. Re:So it's basically fixed point math. by nathanh · · Score: 5, Insightful
    This story has everything to do with what this site stands for. It directly involves Apple, mathematics, software design, software analysis, software realiability, and so forth.

    Indeed, this is a very interesting story that should appeal perfectly to the general Slashdot audience.

    The hacker audience who is interested in such things has been dwindling both in numbers and as a percentage. Now the "general Slashdot audience" prefers to fawn over the latest consumer product from Apple, to complain about Microsoft, or to inexpertly argue their "Rights Online".

    Articles about technology, impressive hacks, homebrew projects, science and mathematics would be extremely welcome. Unfortunately the editors are infatuated with content-free articles that are little more than advertisements for products like the PS3 and Xbox and iPod.