Sunday, August 21, 2011

Spotify/FastDelegate Rabbit Hole


I have become quite the fan of Spotify, but my arse has become increasingly chapped by the "can't play track" errors it's been giving me lately. A quick conversation with my dear friend, Mr. Google, revealed that I should probably empty Spotify's disk cache.

Like a good little user seeking the path to the disk cache, I went to the Spotify "Help" menu, at which point the good little programmer in me was overpowered by curiosity and clicked on the "License" menu item. It turns out that those guys use quite a bit of F/OSS code! By this point, the obsessive-curiosity (which makes me spend 3 hours on Wikipedia following links) had taken over, and I was spittin' new Chrome tabs aster than you can say "OCD much???".

Of the several projects I ended up learning about, "FastDelegate" gave me the most brain-food. Maybe it's because I live a little further away from the metal, maybe it's because I've never actually been paid to write C++ (except for that one time, but I was young & needed the money...), whatever the reason, this head-first submersion into C/C++ function pointers, member function pointers, compiler nuances, and all the blood-n-guts that drove these folks to make "FastDelegate" kicked my brain off its candy-ass treadmill in the Managed Code Fitness Center, and put it on a 40 mile forced march with an Assembly Code rifle in its back!

Oh, as for the Spotify error messages - deleting everything in the disk cache cleared that problem right up!

No comments:

Post a Comment