Saturday, November 22, 2008

Just when I thought I was ready to move on...

Up until about a month ago, all my database models were kept in a single file called sa_models.py. This file grew and grew to monstrous proportions, and eventually It Had To Go.

So I split it up.

As one would imagine in a relational database, there were interdependencies. I went through as best I could and did all the imports, but every now and then I'm still finding a function I forgot to import here, a class there. Which means someone gets a 500 - for which the fix is an import. Yay.

I reviewed a few more files today by hand that I suspected, and 80% of them got new import lines. Argh.

I'm sure there's a tool out there to warn me about just this sort of thing.

When I get some free time (hah), I'm going to go back through and update my old testing framework to the new system. Unit tests here would have saved me a lot of grief. Though they could not have been written even two months ago.

Anyway, just as I was thinking "well, CC forums are tapped out" I had 4 guilds created last night. Only 1 of which ran into 500s. Huzzah.

Oh, for those who are interested - I moved regular, archive, and admin character list views over to the new dynamic table system. You should see faster response times. Enjoy.

Thursday, November 20, 2008

Oh, nice going.

Well, congratulations whoever did it. Turns out I forgot to cap the number of Apache processes at something reasonable for a mod_python database app. Whoops.

Some OOM-killer fun later, and all is well.

Wow, good thing I only announced to the Cenarion Circle forums. Nothing quite as confidence killing as "lawl i cant get ur site."

I do know now, though: run siege. Srsly.

Monday, November 17, 2008

And I looked, and behold a pale horse: and his name that sat on him was Swagbook, and DKP followed with him.

So Swagbook is public beta now. Welcome my friends to the show that never ends!

From here at the Ace Hotel of Portland, Oregon I'm proud to announce the release of Swagbook to the great wide world.

I'll post up news here and try to give an idea of where things are heading, general news of that sort.
For now, enjoy your leveling in Wrath of the Lich King and I'll be there for you when you hit up Naxxramas.



commit ed7d76113f6e5725926fe89d50584598e24dbf5b
Author: Alan Shields
Date: Sun Apr 27 01:43:42 2008 -0700

genesis




commit 2b8c0439f0f42767c0367c2b61598034eb5f5a14
Author: Alan Shields
Date: Sat Nov 15 23:49:48 2008 -0800

quote marks



Rather ignominious, but there it is. I'll see you real soon.