Code Poet just released a free eBook called Getting Pricing Right that interviews Mark Jaquith, Remkus de Vries and Shane Pearlman on setting consulting rates and miscellaneous related topics. It’s short and contains a lot of good advice, as well as links to a lot of resources.
Author Archives: Ian Dunn
Cross Site Scripting Vulnerability in Subscribe2 Plugin
Creating Admin Notices From a WordPress Plugin
Virtual Workspaces for Windows
Why Short URLs are Evil and You Should Never Use Them
Preventing Callback Functions From Executing Multiple Times
Many actions in WordPress will fire multiple times, which can lead to performance drags and undesired/intuitiveness results. Pippin Williamson points out that you can check how many times an action has already run, and modify your code to respond accordingly.
Connecting to a PPTP VPN from an OpenVZ CentOS VPS
Discouraging Trolls
Jeff Atwood wrote a fascinating article on different methods to use to discourage trolling on social websites, including some discussion of their ethical merits. I wasn’t aware of slowbanning and hellbanning before, but I think they’re very clever ideas.
Principles to Apply When Preventing Brute Force Attacks
$( this ).attr( … ) Is Often Unnecessary
It’s often much more efficient to access DOM properties directly, rather than using jQuery. The downside to that approach is that there are differences between the various browsers, so in some cases it introduces bigger problems than the extra performance overhead.
Registering jQuery Event Handlers Before the Elements Exist
New WordPress Security Plugin
Cronie Depends on Sendmail in CentOS 6
Introduction to Shared GitHub Repositories
Michael Botsko has a good writeup on cloning and pushing updates to shared GitHub repositories, as opposed to the traditional method of forking a repository.
Using Constants for a Text Domain in WordPress
Normally any kind of global values that don’t change within a program’s execution should be defined as constants, but text domains within internationalized WordPress plugins are an exception to that rule. Mark Jaquith explains why it’s important to use a string instead.
WordPress Developer’s Meetup Presentation on Child Themes
I’ll be giving a presentation on building Child Themes at the Seattle WordPress Developer’s Meetup tomorrow. You can follow along with the presentation if you plan on attending.
BackPress PHP Library
BackPress is a useful project that packages the re-usable code from WordPress into an independent library you can use in non-WordPress projects.
Composite Primary Keys
Success in Business
Here’s a great quote from Jeff Atwood’s post on why he decided to step back from Stack Exchange:
I finally realized that success at the cost of my children is not success. It is failure.