I’ve used Rdio for the past half-year and thought I’d explain how it works. I also had Spotify for a similar amount of time before switching to Rdio. They are very similar; I liked Rdio more.
You rent music from Rdio for about $10/month (I’m paying $18 for my wife and me plus another $5 for my son). We each get unlimited music and downloads. We each have separate accounts. Really! You can download thousands of songs to your iPhone, iTouch, or other smart phones. Obviously, you can only download limited by storage capacity. I do that for music I listen to regularly so it keeps working while I’m on the subway. If music is not already stored on my device it is streamed so you can always listen to more music.
Read more
I usually implement the output operator for a class, operator<<().
I find it useful for debugging and regression testing purposes.
Occasionally when defining a class hierarchy with polymorphism in mind
I’ll instead define a virtual print() method.
|
1 2 |
Base base; std::cout << "base = " << base << std::endl; |
Here’s the typical implementation:
Read more
Remember dial-up? Good ol’ AOL? AOL-Time Warner merger? Wow, things have changed: Netflix customer base growth opposite of AOL’s. It’d be laughable to compare bandwidth. From Splat F and Dan Frommer.
Read more
I found myself having to write a bunch of range checking code like this:
|
1 2 |
if (val < 0.0 || val > 1.0) val = 1.0; |
so I wrote this simple function.
Read moreTraction Theme by The Theme Foundry
Copyright © 2013 Pete Ware. All rights reserved.