Back Online

This site is back online, now hosted at Host Gator. The rest of my sites are still at Dreamhost for now.

I had tried Bluehost first, but I cancelled almost immediately when I found out that they can’t host multiple independent domains on a single account- multiple domains are treated as subdomains.

There are still some DNS issues, so email for this domain isn’t working yet.

Downtime and a server change

As you’ve probably noticed this site has been down for most of the day. Dreamhost had a major meltdown when they moved a server cluster, which affected all of my sites. I tried two alternative hosts and I’m now moving this site to Hostgator.com. Everything else will remain at Dreamhost for now.

Reason #55234 that Windows sucks

I’ve been porting some Windows code to Mac OS X for the last few weeks, which involves converting Windows API calls to the equivalent functionality in OS X.

The thing that really annoys me about Windows programming is that every function takes a HANDLE, which can be a window, communication channel, file reference, or any number of other things. There’s no type safety, so you can’t tell if you’re passing the wrong type of handle until it barfs at runtime.

In Mac OS X, even though most Core Foundation functions take some kind of CFTypeRef, all of the functions are defined as using a specific class, so you’ll get a compiler warning if you use the wrong type.

Romney drops out

Mitt Romney dropped out of the race for president, which most likely means McCain will be the most likely Republican nominee. Despite his social conservatism, Romney bothered me a lot less than either McCain or Huckabee.

Despite his “maverick” image, McCain is a Bush follower who will maintain the same disastrous foreign policy. He’ll continue the move to a police state that Bush started and will escalate the war in Iraq and most likely attack Iran.

url.jpg

links for 2008-02-06

  • Toast Radio is a streaming music server that plays a freeform radio format weighted towards power pop, melodic rock and alternative music. There’s also a healthy dose of folk and big band with ska, rockabilly, jazz, alt-country and others filling out the
  • When you upload a PDF document, Issuu converts it into web-based document that looks more like a book than a text document. The PDF can then be embedded on pretty much any website, including Facebook, MySpace, LiveJournal, or Blogger pages.
    (tags: webapps useful)

Vampire Weekend

When I went to the iTunes Store today to download the free single of the week, I decided to check the “just for you” selections. One of the albums it suggested several times was Vampire Weekend. I listened to one song and bought the album immediately. This may replace Neon Bible as my favorite album.

Like Ashley Maher, they incorporate African styles into their music, which they describe as “Upper West Side Soweto” and “Cape Cod Kwassa Kwassa”.

111 Years Ago, Indiana Almost Legislated Pi

Via Slashdot: On February 5, 1897, 111 years ago today, the Indiana legislature very nearly passed a bill ‘introducing a new mathematical truth,’ that would have erroneously established pi as the ratio ‘five-fourths to four’ or 3.2. The story explaining the rationale behind the bill and how they were prevented from legislating it when a real mathematician intervened is quite interesting, because the man who discovered the ‘new mathematical truth’ wanted to charge royalties, which could have made pi the first form of irrational property.