Blog

  • WordPress Email Form Hack

    September 21, 2004

    UPDATE: You can download a much more useful plugin at from Ryan Duff’s site: wp-contactform. There’s also a version with more validation of the email address (through DNS, no less) called PXSMail, which I haven’t tried.

    My own contact page now uses wp-contactform…I hope my email contact woes go away now :-) For historical purposes, I’m leaving the old information up.

    Read more
  • Hold That Thought!

    September 20, 2004

    Pickle Jar 2.0I’m sometimes distracted by too many project ideas. When the ideas pile up, my productivity sinks because I keep thinking about them, and multitasking slows me down. To keep focused, I evolved a mind trick called The Pickle Jar that, despite its hokey name, actually works for me. It got me through my thesis, when writing was the last thing I felt like doing.

    (more…)

    Read more
  • Inline Image Hack Continued

    September 20, 2004

    ACHTUNG!

    The Markdown Image Hack has been retired. Please check out Lazy Image Layout instead!

    The code has been separated from Markdown, and is now a stand-alone plugin called LazyImages.

    Read more
  • GoggleQuest 2004

    September 20, 2004

    awesome gogglesWhen I first saw these goggles, I immediately felt the urge of become a properly-accessorized mad scientist. With these goggles, surely I could rule the world! But I was with friends and was self-conscious about admitting this publically. So I passed them up.

    That was a big mistake. Re-introduced to them by my sister (who’s so much cooler than I), I was again consumed with consumer desire, only to find that they’re sold out online and at every store we’ve tried. My sister suggested that the harry potter quidditch goggles might be OK, but both she and I knew that they were a poor substitute for fine german engineering (I may be assuming too much here…they’re probably all made in the same factory in China). The store people say there will be more goggles in December in time for Christmas, but I wanted them for Halloween! And right away! Now!

    Read more
  • Optimizing WordPress Performance

    September 18, 2004

    I’ve noticed that certain plugins seem to cause WordPress (WP) to run slower. PictPress, for example, seemed to slow down page generation by quite a bit. However, it might just be that the server load on the weekend is lower.

    Still, I’m curious how to optimize WP, or to find out what’s slow. A couple of tips to speed up performance I found:

    • limit # of posts shown per page
    • don’t use posts-per-category counting
    • hardcode links
    • use xcode or some other profiler to find out where all the execution time is goin
    • don’t use the cgi version of PHP. Though my host’s customer support said it shouldn’t be slower when I asked before. lies?

    The gist of this seems to be: limit the number of database queries and text processing as much as possible.

    Read more