New on TV: Dollhouse


So Joss Whedon has finally come out of a long hiatus and brought us a new show called Dollhouse. Interestingly enough, it involves a beautiful female protagonist, Echo, who copes with personal issues while beating up bad guys. She’s supported by a team who are part of an organization that is not supposed to exist. Does this sound familiar to anyone? While I’m not discounting the show just yet, let’s see if Whedon can deliver. The interplay between the fiercely independent (often brooding) main character and their team of sidekicks is what made me love Joss Whedon in the first place. I’m wondering if we truly do have a new Buffy or Angel on our hands, or if the network has had so much influence in the show, that they’ve already condemned it to failure. Or maybe we have a new type of animal with Dollhouse. Maybe Whedon has evolved his skills after all this time into something bigger and better…

new webhost

So I moved this site over to my new webhost, hostgator, last night and I can already tell it was a good move. I was a bit wary at first because of some negative things I’ve read about them, but thus far I have no complaints. The control panel is noticeably more responsive and stuff doesn’t just time out anymore. Hopefully this performance is consistent as I continue to use their service.

revisit to project euler with c++

As a way to get reacquainted with c++, I’m revisiting all my PE problems.  Here’s the code for #1.

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.

Find the sum of all the multiples of 3 or 5 below 1000.

#include <iostream>

int main(int argc, char* argv[])
    int iMax = 1000;
    int iSum = 0;
    int iMultiplesOf[2] = { 3, 5 };
    for each (int iNum in iMultiplesOf)
        for (int i = 0; i * iNum < iMax; i++)
            iSum += i * iNum;
    std::cout << iSum << std::endl;
    return 0;