Debugging PHP with FireBug

November 1st, 2007

While looking into setting up a logging framework within our code, I came across an article that discusses logging the FireBug console from within PHP. Coupling this with the PEAR::Log documentation on redirecting non-fatal PHP errors, I now see PHP errors in my FireBug console, rather than in my pages.

The first article also mentions FirePHP, which consists of both a PEAR extension for PHP, and a FireBug extension for your browser. This combination allows for much more structured debugging information to roll up to the browser, but at this point it seems to still be somewhat beta.

Optimizing MySQL Indexes

October 24th, 2007

While researching the optimum way to design large tables for InnoDB, I found an article entitled How to Exploit MySQL Index Optimizations that provides some good information about the differences between MyISAM and InnoDB index structures, and how to optimize your tables for each.

An older article from the same site provides a bit more information.

Giuliani and the First Ammendment

June 6th, 2007

Here is a nice summary of how Giuliani’s staff treats reporters they don’t like.

Jason Bermas, reporting for Infowars and America: Freedom to Fascism, confirmed Lepacek had official CNN press credentials for the Republican debate. However, his camera was seized by staff members who shut off the camera, according to Luke Rudkowski, also a freelance Infowars reporter on the scene. He said police physically assaulted both reporters after Rudkowski objected that they were official members of the press and that nothing illegal had taken place.

Javascript Implementation of vi

May 30th, 2007

This is pretty amazing, if you are a vi user.

Map of Online Communities

May 2nd, 2007

This is pretty funny.

SQL Join Overview

April 27th, 2007

Here is a nice visual representation of the various different kinds of table joins you can do in SQL.

Getting Joins

Employed Again

April 26th, 2007

I seem to have gone and found myself a job. Surprisingly, this one is local and exciting! I will be doing ops (and inevitably some dev) work for dailystrength.org.

Photos of local flowers

April 23rd, 2007

There is a street one block from my house that has a remarkable variety of interesting flowers and plants. I finally got around to taking some pictures of them.

Flora Gallery

The Trouble with Recruiters

April 12th, 2007

This is a timely piece about things recruiters do wrong.

Backups using rsync

April 4th, 2007

This appears to be a pretty good article about using rsync to backup your data, starting out with simple mirroring and moving into regular daily “snapshots”