I feel guilty that I’m even taking this little bit of time to post this. I’m *BUSY*. I’m simultaneously: learning how to deploy a fully-virtualized, production infrastructure on a grid using AppLogic planning and scripting the bits and pieces that need to happen to migrate an infrastructure to a grid architecture. Doing code review for…
Category: PHP
Recovering deleted files from an svn repository
I know I’m going to forget how to do this, because I only ever need to do it once a year or something, so I’ll put it here for safe keeping: To recover a file from svn that you deleted from your local repository, it’s first necessary to get the proper name of the file,…
Using TRUNCATE to empty a PostgreSQL database
This is not something that’s any big hack or secret, but emptying a database of all data without dropping the structure along with it is one of those tasks that I do just often enough in my development work to be annoying. If you ask me, there should just be a big ol’ “EMPTY” statement…
Freebase: Your database is ready!
This is going to be really frickin’ cool. There’s just no other way to put it. Maybe I’m a little too much of a data geek, because I can’t seem to sit still since receiving my email letting me know that Freebase is now in alpha, and the account I requested months ago can now…
*STILL* No Multiple Inheritance in PHP!
This is maddening. There have been requests for multiple inheritance in PHP since I started using it in mid 1999. Of course, in mid-1999, I didn’t really care. There wasn’t much written in PHP that was any good, so I was writing little scripts of glue code to tie pieces of HTML together and the…
Quick CVS Cheat Sheet
Actually, I’d love to say that I’ve moved completely to using git instead of CVS, but the truth of the matter is that, for a recent project where I’m just trying to consolidate a whole bunch of admin scripts, organize them under one (managed) roof, and (most importantly) get a bunch of admins on board…
PHP Object Casting is Cool
I’m from the PHP 3 school of PHP coding. Before that Java was shoved down my throat, and I was happy to be away from project management type stuff and back into Perl and PHP. Doing nothing but procedural coding for a while helped me understand more where an object could really be useful, but…