Category Archive: Web Development

Hofstadter’s Law

Here’s a fun little truism that I ran into this morning:
Hofstadter’s Law
It always takes longer than you expect, even when you take into account Hofstadter’s Law
Ouch. Nothing like a law that recurses in on itself to wake you up in the morning.
Feeling a bit playful, I wrote up Hofstadter’s Law on the white board […]

Random Image Header in PHP

Want to give your readers something a little different every time they visit your blog? Here’s a nice little gimmick for adding a some variety to the top of your website: a Random Image Header.
With a simple bit of code, you can have an image in your webpage header (or anywhere else for […]

Watch your globals

In debugging the theme for this site, I ran into a little reminder of why most professional software developers shy away from the overuse of globals.
Consider this innocent bit of code showing up in the on one of the pages of this site:
<?php get_sidebar(); ?>
<?php comments_template(); ?>
In WordPress, these functions output the sidebar and the […]

  • Language

  • Sponsored Links

  • Rob's Portfolio

    Games Writing Contributions