Art & Fear

The ceramics teacher announced on opening day that he was dividing the class into two groups.

All those on the left side of the studio, he said, would be graded solely on the quantity of work they produced, all those on the right solely on its quality.

His procedure was simple: on the final day of class he would bring in his bathroom scales and weigh the work of the “quantity” group: 50 pounds of pots rated an “A”, 40 pounds a “B”, and so on.

Those being graded on “quality”, however, needed to produce only one pot — albeit a perfect one — to get an “A”.

Well, came grading time and a curious fact emerged: the works of highest quality were all produced by the group being graded for quantity.

It seems that while the “quantity” group was busily churning out piles of work-and learning from their mistakes — the “quality” group had sat theorizing about perfection, and in the end had little more to show for their efforts than grandiose theories and a pile of dead clay.

—David Bayles “Art & Fear: Observations On the Perils (and Rewards) of Artmaking” [Kindle]

Refactoring’s Rule of Three

The first time you implement something, just do it.

The second time you implement the same thing, copy it.

The third time, refactor.

Add SKU to WP e-Commerce 3.8.9 Admin Reports

WP eCommerce offers a feature where an email is dispatched to the administrator when an order is completed. WP eCommerce calls this email an “Admin Report”.

These emails are useful for order fulfilment, but they are lacking a key piece of data that you may need to fulfill an order: the product’s SKU.

I’m offering a patch to WP-eCommerce that will add the product’s SKU to the admin report.  The patch costs $10 and is available here: WPEC Admin Reports SKU

Note about Upgrades

WP-eCommerce version 3.8.9 does not contain the necessary hooks to enable this functionality, so the core files need to be modified. If you upgrade the WP-eCommerce plugin, this patch may need to be re-applied.

This version has been tested with WP-eCommerce version 3.8.9. It may work with newer versions, but proceed at your own risk.

Due to the unpredictability of WP-eCommerce plugin updates, the developer is unable to guarantee updates to this patch for future versions of WP-eCommerce.

Installation

To install this patch and enable the patch, simply copy the included purchase-log-notification.class.php to your /wp-content/plugins/wp-e-commerce/wpsc-includes/ directory. For your convenience, a copy of the original file is also included: purchase-log-notification.class.original.php

Updates

Updates, when available, can be found in this post and will be provided via email.

Zebras

“When you hear hoofbeats behind you, don’t expect to see a zebra”

Be Responsible

“You are responsible for the things you help put in the world. If you do not think something should exist in the world, do not participate in it.” —Mike Monteiro