Getting MySQL to work with PHP5 on Windows XP

Posted by andrew on June 13, 2007

Seems I have more trouble with getting MySQL running with Apache and PHP5 than pretty much anything else I do. So to save myself — and hopefully someone else — much fruitless Googling and Apache restarting, here’s what I found.

If you have configured Apache and PHP5 on Windows XP using the outstanding howto Core PHP Apache 2, PHP 4 & PHP 5 on Windows XP, and can’t load the MySQL module, copy libmysql.dll to either your windows or windows/system32 directory, and copy both libmysql.dll and php5ts.dll to your /ext directory (off your PHP install).

What’s wrong with this?

Posted by andrew on June 06, 2007

From the Belfast Telegraph: Lewis “Scooter” Libby, once chief of staff to Vice-President Dick Cheney, has been jailed for 30 months for perjury and obstructing justice in the CIA leak case.

The sentence is bound to generate demands from conservatives for George Bush to issue a politically controversial presidential pardon to a leading architect of the Iraq war.

Libby’s punishment, which also includes a $250,000 fine, was at the upper end of expectations. He is the most senior official of any administration in two decades to face a prison term, and - albeit indirectly - the first senior Bush policymaker to be convicted of charges stemming from the war.

… versus …

WIRED: Attorney General Alberto Gonzales has proposed legislation that would make the DMCA look almost just. Among other things, the law would make attempted infringement a crime, and send some infringers to jail for life.

Unintentional Poetry

Posted by andrew on April 12, 2007

Note: This is one of the posts I made on my long-dormant Vox blog. I’m bringing everything over here in preparation for dumping Vox.

I was reading some blog postings on the Google Desktop Gadgets API, and came across this gem of a comment:

11 boat anchor….

It seemed like a great idea

when seeing it listed on a white board

but seeing it on my pc, it is worthless

I played with it the day it was installed, but never bothered with it again :-( Then I even had it startup each timeI rebooted, and still it gathers dust.

The google toolbar and homepage, I use all the time…..

Somehow the line breaks made this comment read a bit like poetry to me. Maybe I’m nuts.

BE ATTITUDE FOR GAINS!

Posted by andrew on April 09, 2007

Note: This is one of the posts I made on my long-dormant Vox blog. I’m bringing everything over here in preparation for dumping Vox.

Bullet Hell Shmups: I like classic arcade games. Growing up in Orangeville, I wasn’t often exposed to really great arcade games. We had one arcade in the mall; it was filthy and stank of smoke. Mum wouldn’t let us go in there, so I’d hover by the door watching the attract mode on the frantic shoot-em-ups. The rare time I’d get a quarter or two, I wouldn’t want to waste it on a game like this, when I knew it would be gone in seconds. The games in the arcade were always set to a higher-than-normal difficulty, and a quarter would get you two guys, not the normal three.

It was this lack of early gaming that hooked me on MAME, the “Multi-Arcade Machine Emulator” when I discovered it. Finally, I could dump virtual quarter after quarter into these games, and not go broke. I played emulated games on my Mac very heavily all through university. After school the interest dropped way off, and I ended up burning all my emulated games to DVD and clearing them off my computer.

My interest was renewed recently, however, when I saw that some real gems of the bullet hell genre had been successfully added to the list of games MAME could run. I was most excited about Radiant Silvergun, one of the best video games of all time, of any genre. RSG is likely the hardest game you’ll ever face (watch this video of some of the gameplay, and note the engrish catch-phrase “BE ATTITUDE FOR GAINS!“; I’ve never made it past the second boss. It came out in my last year of university, and there was a machine over at University of Waterloo. I would play while waiting for friends.

It turns out that Radiant Silvergun isn’t quite playable, but some other classics are: DonPachi, DoDonPachi, Gigawing, and best of all? Mars Matrix. Mars Matrix is one of those games where you don’t necessarily dodge bullets, you deal with them. Which is good, since even with your ships tiny hitbox (the area where it counts if you take a bullet), there’s just too much going on to dodge.

I’ve found a profound pleasure in busting out these straight forward, twitch-and-shoot games from days of yore. Something happens when you hit 30, and you just don’t seem to be able to find those big chunks of gaming time. Every so often I’ll be able to finish a longer PC or console game in maybe two, three weeks. But generally I need to find something I can do for 10 minutes while I wait for some other task to finish. Its very satisfying to start up one of these games, get seriously pummelled for $10 worth of quarters, see pink and blue dots when you close your eyes, all in a shorter period of time than shows up in your daytimer.