Every guy with a webpage eventually gets really curious about who is reading his website and whether he's doing anything worthwhile or if he's just entertaining himself. Serious webmasters will ensure they get server logs so they can analyze their traffic thoroughly. The web package that I purchased through my host gives me some standard web site statistics (produced by Report Magic) and these reports are great as summary information. But if I want to look at my actual server logs I'm out of luck unless I want to pay an extra couple bucks a month for them.

Ok, so I'm cheap. Instead of doing that, I thought I'd brush off my PHP manual and figure out how to do it myself. It wasn't that hard to do. Consider that it only took a couple hours time, I wasn't testing it locally (had to FTP every time), and my PHP knowledge is maybe just a notch above novice (though my familiarity with C/C++ certainly helps). Read the rest of this entry ...

§27 · January 27, 2005 · PHP, Software, Technology, Tips, Web · 1 comment ·


Read Part One for a refresher first. We left that article with the hazy outline of how we can implement a state machine from an application's perspective by deferring state transitions and behavior to State subclass objects (which we still need to write) and have these objects swapped in/out depending on our requirements. We now get into some more detail on this and show a full (yet trivial) example. Read the rest of this entry ...

§24 · January 24, 2005 · C++, Software, Technology · Comments Off on Matters of State – Part Two ·


I mentioned earlier that I'm refactoring some game code to use a State Design Pattern, so I thought I'd write about what I've done in my blog. Read the rest of this entry ...

§22 · January 23, 2005 · C++, Software, Technology · Comments Off on Matters of State – Part One ·


As I've mentioned before, I've started work again on "Ten Nights" and I was able to squeak out a build last night. Before I was about to publish it on my website though, I ended up IM'ing with Sinasac and we worked on getting a better background image for the clipboard. It looks quite nice now in my opinion and matches up with the other improved graphics. Download it here. Now to start work on improving the graphics of the game itself.

§23 · January 22, 2005 · Software, Technology · Comments Off on Me:1 Crocodiles:0 ·


For those of you who don't know what XML is, I'll start by saying XML is possibly one of the worst acronyms ever. It stands for stands for "eXtensible Markup Language" and not only does this acronym illegally steal the ever-cool letter 'X' for its own deviant purposes, it turns out that XML is not even a language, it's a syntax. Read the rest of this entry ...

§21 · January 21, 2005 · Software, Technology, Web, XML · Comments Off on The Road To XML is Paved with Good Intentions ·