Calling form validate functions in include files from other modules

Update: See comments below, and completely ignore this post. Nothing to see here...

module_load_include()code> is a great way to add code from other module's include files, but it doesn't always work as you'd expect. Recently, I was building a form in one module that pulled up a validation function from another module when a particular submit button was pressed:<code><?php  module_load_include('inc'

Simple MAMP/MAMP Pro VirtualHosts in Parallels / Windows XP

(This tip should also work similarly with Vista, Windows 7, etc.).

After browsing around a bunch of different forums, the MAMP site, and Parallels documentation, I was still flummoxed by Parallels' weird Shared Host networking behavior, which seemingly didn't allow me to access virtualhosts I set up with MAMP for developing sites locally.

After much experimentation, I found that the simplest way to be able to type in 'local.example.com' (or 'dev.example.com',


HostGator Cyber Monday Deals [sponsor]

I got an email from HostGator yesterday alerting me to some really awesome deals for their web hosting services; for Cyber Monday, they're giving half off pretty much all their hosting plans:

  • Shared hosting: As low as $4.95 Now only: $2.48
  • Reseller Hosting: As low as $24.95 Now Only: $12.48
  • VPS Hosting: As low as $19.95 Now Only: $9.98
  • Dedicated Servers:

Advent Wreath - Vector Illustration

I was recently inspired by Jeffrey Miller's embeddable Advent Wreath widget to try my hand at illustrating and animating an advent wreath in HTML5 with the element or by animating an SVG.

My heart was in it for a while, but I ultimately gave up on the project due to the fact that I had already spent a couple hours on it and wasn't happy with my progress...

Advent Wreath - Vector Illustration by Jeff Geerling

However, I did end up with a fairly good illustrator/vector wreath and candles (I spent

The Catholic Developer and Blogger Christmas Wishlist, 2011

As we approach Christmas, I tried to think of a few gifts that others like me (namely, Catholic web developers and online content producers) could use to help them become more effective in their work.

I came up with a list of items ranging from the Catholic Catechism (I'm surprised by how many of my Catholic friends don't have a copy yet) to the Glif —a tiny but great tripod mount and stand for the iPhone 4/4S—and posted them


Steve Jobs, on Pornography

As a follow-up to my previous post on this topic: Steve Jobs on "Freedom from Porn," with more details filled in from the biography Steve Jobs :

The pornography ban [in the App Store] also caused problems. "We believe we have a moral responsibility to keep porn off the iPhone," Jobs declared in an email to a customer. "Folks who want porn can buy an Android."

This prompted an email exchange with Ryan Tate, the editor o the tech gossip site Valleywag.


Steve Jobs, on Abortion

Steve Jobs, reflecting on a visit to his biological mother, who gave him up for adoption after having him in a non- married relationship with a man who didn't want a baby:

[Steve] wanted to reassure Joanne that what she'd had done was all right. "I wanted to meet my biological mother mostly to see if she was okay and to thank her, because I'm glad I didn't end up as an abortion. She was twenty-three and she went through

Catholic News Live mobile app for Android

Just wanted to announce here the immediate availability of the Android version of the Catholic News Live Mobile App . You can buy the app for your Android-powered device on the Android Market: Catholic News Live .

The Android version joins the iOS version that's been out for about a year now, as well as the website, all three in combination allowing you to follow the latest Catholic News wherever you are, on whatever platform you use! Read more about the Catholic News Live mobile app »

Here are a

Android News List Screen CNL Mobile App

Freedom from Choice (Reasons to be Catholic)

Update over a decade later : I think I'd say a lot of things different if writing this post today! Age does that to you :)

I recently read a blog post titled ' Freedom from Choice ' from the Red Sweater Blog (a blog by Daniel Jalkut, a Mac programmer) with great interest, considering the subject matter (Steve Jobs, computing, and free/open source software). In the post, Daniel speaks about how Steve Jobs' decisions to restrict certain 'freedoms' on the


User-friendly spam prevention for your Drupal site

...such is the title of my session proposal for DrupalCon Denver 2012 . I'm aiming the presentation at beginners, but it should be helpful for anyone with a Drupal site that has fought the battle with spammers—and lost.

Preventing form spam chart

Since I've had experience building and maintaining a variety of sites, from small blogs with a few posts a week, to large community sites with hundreds of posts and user accounts created per day, I figured I would try to share some of