What do you mean mysql can’t find my wp database?

Well, that was more excitement than I was expecting. Tonight, Deb wandered into my downstairs office and said, “Are you playing with the server? I can’t get to my blog”. I naturally assumed it was the normal problem of my dynamic dns address changing and the associated delay before mikew.ca catches up. So I tried … Continue reading “What do you mean mysql can’t find my wp database?”

Well, that was more excitement than I was expecting.

Tonight, Deb wandered into my downstairs office and said, “Are you playing with the server? I can’t get to my blog”. I naturally assumed it was the normal problem of my dynamic dns address changing and the associated delay before mikew.ca catches up. So I tried connecting to my blog and what did I see: “WordPress can’t find your database”. What!!! That would be bad; very very bad.

Well, after about an hour of messing around, I realized it wasn’t quite that bad. MySQL and all my data really were still there, but it turns out they had been masked by some misguided hacking I had been doing with MacPorts.

Whew!

Well, in honour of the near miss, I promptly did a full backup of my entire website (as apposed to the incremental nightlies) and the mysql database, and then upgraded to WordPress 2.5.

So far, everything looks good. The upgrade went painlessly, as it has for me since I started using WP. Man, I wish all software was that easy to deal with.

Reason 4.0

I picked up the Reason 4.0 upgrade this week. If you’re looking to do this, and you live in Ottawa, I heartily recommend ordering it directly from the Propellerhead store: I saw it on sale at one Ottawa music store for $299, but I got mine direct from Propellerhead for US$142, including shipping. That’s a … Continue reading “Reason 4.0”

I picked up the Reason 4.0 upgrade this week. If you’re looking to do this, and you live in Ottawa, I heartily recommend ordering it directly from the Propellerhead store: I saw it on sale at one Ottawa music store for $299, but I got mine direct from Propellerhead for US$142, including shipping. That’s a particularly good deal given the current strength of the Canadian dollar. It also took less than a week to get here.

In honour of the upgrade, here’s a little piece I pulled together from several copies of the new-for-Reason-4.0 “Thor” synthesizer, a couple of Rex loops and a little help from my friend Alex 😉 …

Zero Hours

(It’s what my G5 says to me at midnight.)

SplashBlog and GCW

I know this isn’t new, but now that I have a Treo 680, I have been playing around with SplashBlog. SplashBlog is basically a photo sharing site (a la Flickr), but with the added twist that it supports PDA/smartphone synchronization. Here’s what Six Apart says: SplashBlog lets you instantly publish photos from your smartphone to … Continue reading “SplashBlog and GCW”

I know this isn’t new, but now that I have a Treo 680, I have been playing around with SplashBlog. SplashBlog is basically a photo sharing site (a la Flickr), but with the added twist that it supports PDA/smartphone synchronization. Here’s what Six Apart says:

SplashBlog lets you instantly publish photos from your smartphone to an online photo album (photoblog) to share with others. SplashBlog includes everything you need to share your photos, including software for your smartphone and a free online photoblog account at splashblog.com. Just install the FREE software on your smartphone, create your free splashblog.com account and start photoblogging!

At some level, this is the killer app for a smartphone. Wherever you are, whenever something cool happens, you can snap a picture and push it to the web in about 30 seconds. You don’t even have to describe the picture before posting it, because you can go back afterwards (either on the phone or via their web client) and fill in the details. Of course, it eats data charges faster than Lucky can eat his supper, but it’s still very cool.

Once I could upload pictures effortlessly, I wanted to make it equally easy to share them with my friends, so I started looking around for a way to display them at NfGCW. I figured I was on the right track when I found “district 30″‘s Photo Sidebar widget but, unfortunately, this doesn’t support SplashBlog out of the box. It was trivial to add the support, however, by including…

elseif (strpos($item["link"], "http://www.splashblog.com/") >= 0) {
	//SplashBlog
	$item_url = $item["description"];
	$start_pos = strpos($item_url , "<img src=")+10;
    	$end_pos = strpos($item_url , """, $start_pos);
	$item_url = substr($item_url, $start_pos, $end_pos-$start_pos);
}

… in the code that decides how to pull out the picture URL (i.e. $item_url) based on the different feed types. I also bashed the code to remove the randomization of the order that the pictures are returned. Given the way SplashBlog works, it seems like showing the most recent photos is more interesting.

All in all, a fun bit of hacking for a Saturday morning. If you haven’t noticed already, you can check the side bar of the main page to see my latest images. Apologies for the portrait shots being displayed sideways. As far as I can tell, there’s no way to fix them at SplashBlog, so I’ll just have to remember not to hold the Treo sideways when I take them.

Btw, if you do want to check out all the pictures on my SplashBlog site, you can go to:

McQ’s Treo Shots

Upgrading the BIOS on a T30

So, I finally got Deb to give me her old T30 to play with [Thanks, Love], and the first thing I did was to wipe Windows XP off of it, and replace it with Ubuntu. I have to say, as desktop OSes go, Ubuntu is pretty nice. I honestly don’t know why the average user … Continue reading “Upgrading the BIOS on a T30”

So, I finally got Deb to give me her old T30 to play with [Thanks, Love], and the first thing I did was to wipe Windows XP off of it, and replace it with Ubuntu.

I have to say, as desktop OSes go, Ubuntu is pretty nice. I honestly don’t know why the average user would need anything else — web, mail, IM, office suite, you name it. And it performs well on the T30, unlike XP. I could even turn on XGL and get the amazing wobbly windows! 🙂

Of course, with any linux install the issue is whether or not it will find/configure all of your hardware properly. In this case, because of the ubiquitousness of ThinkPads I would guess, the support for Ubuntu on them has been well tuned, and I had no problems getting everything installed… or so I thought.

It turns out there were two issues, one a minor annoyance, and one quite serious:

  1. If you put it to sleep, when it wakes up the sound is disabled
  2. As far as I can tell, attempting to connect to a wireless network, “hangs” the machine. That is, if I try to connect to my home network, it silently does nothing, and leaves me in a state where I can no longer start any gui processes.

According to Google, the solution to the former problem is to upgrade your BIOS, and given that the BIOS on this machine is still the original 1.0 version, I wouldn’t be surprised to find out that upgrading would fix the wireless problem too.

The link to download the bios (and many other T30 updates) is here:

Lenovo Support & downloads – Drivers and software – ThinkPad T30

According to that page, I actually need to upgrade two different things: the BIOS and the “Embedded Controller Program”. This is where things start to get scary. Apparently, if you need to update both, then you have to update the BIOS first, but if you read the description of the BIOS, it claims that it won’t run without the updated ECP. Um…

What I hope is true, is that you can update the BIOS and it will still run well enough to let you update the ECP, even though it’s running on the wrong version. Of course, it seems like the best way to do that would be to use the minimal set of hardware/software capabilities to do the updates [can you imagine attempting this from within Ubuntu?], so time to build some boot floppies.

Erk! No floppy drive.

So now what do I do? Has anyone gone through this process? Anybody in Ottawa with a spare TP floppy drive? Anybody want to hold my hand while I do the lobotomy?

Genetic hardware design

It’s been a while since we’ve had a link of the day, but this is a good one. Check it out: creatures from primordial silicon It’s not clear that this generalizes in the way the researcher hopes, but it’s still pretty amazing. What do you think?

It’s been a while since we’ve had a link of the day, but this is a good one. Check it out:

creatures from primordial silicon

It’s not clear that this generalizes in the way the researcher hopes, but it’s still pretty amazing. What do you think?

I’m blog hacking again.

Apologies to anyone who tries to check out the blog in the next few hours. I’m messing with it again, so I’ve got the default look up. It’s also likely to be up and down for the next little while. Update: Of course, now I’m frigging around with random styles, so who knows what it … Continue reading “I’m blog hacking again.”

Apologies to anyone who tries to check out the blog in the next few hours. I’m messing with it again, so I’ve got the default look up. It’s also likely to be up and down for the next little while.

Update: Of course, now I’m frigging around with random styles, so who knows what it will look like when you get here.

Blog update.

Well, I’m still on the trail of the definitive WP2.0 theme for this site. Nothing that’s absolutely jumped out at me yet, but there are certainly lots of interesting things being done. I noticed that there is now a WP2.0 specific theme competition in progress over at kcyap.com. Hopefully, they’ll come up with something cool.

Well, I’m still on the trail of the definitive WP2.0 theme for this site. Nothing that’s absolutely jumped out at me yet, but there are certainly lots of interesting things being done. I noticed that there is now a WP2.0 specific theme competition in progress over at kcyap.com. Hopefully, they’ll come up with something cool.

The site’s appearance

As you’ve probably noticed, I can’t decide what I want this site to look like. You’ll just have to bear with me a bit longer. Hopefully on the weekend I’ll find some time for this.

As you’ve probably noticed, I can’t decide what I want this site to look like. You’ll just have to bear with me a bit longer. Hopefully on the weekend I’ll find some time for this.