Picture of Jason Call me Ishmael Jason Stitt. Happy web developers are all alike; unhappy creative ones are always coming up with something different. And it is a truth universally acknowledged that, once in possession of a high-level scripting language, they must be in want of a fortune. More or less.

Latest content from all my blogs

How to find matching color art prints and posters

While contrasting colors in art prints and posters can brighten up a room, matching colors or monochromes can create a very consistent theme and give a designed look.

PostersByColor
Audience: Decorators

Group a list into chunks in Python

More than once I've had to take a list of items and group them into tuples. Here's the code.

Countergram
Audience: Developers

Designing with bright, contrasting colors

If it matches your sense of style, nothing livens up a room like some contrast. High-contrast art prints and posters stand out; it's no good using them for subtle background decorations.

PostersByColor
Audience: Decorators

YouTube video embedding with XSLT

XSLT can be used to expand a simple <youtube> XML element into a full, XHTML-compliant <object> element that embeds a YouTube video.

Countergram
Audience: Developers

Tips for decorating with earth tones

When you decorate with earth-tones, the result can't help but tug at our memories of the outdoors. Soil, clay, trees, lakes, and the sky are all represented in this palette of mainly browns, tans, greens, blues, grays, off-whites, and certain rich reds.

PostersByColor
Audience: Decorators

What is complementary color?

Explains the concepts behind complementary color, which can create color schemes that really "pop" through the use of contrast. Gives several examples of art prints and posters that have complementary colors to each other.

PostersByColor
Audience: Decorators

Pylons deployment with Lighttpd and Flup

What's fast, easy to set up, and good for running web applications? Lighttpd and Pylons!

Countergram
Audience: Developers

Show your IP address using a Lua/Lighttpd script

Sometimes it's useful to be able to determine your external WAN IP address from a script. Here's a simple Lua/Lighttpd approach.

Countergram
Audience: Developers

Pylons multiple-domain (virtual hosting) configuration

How to run more than one Pylons app, on different domains, in the same Python process.

Countergram
Audience: Developers

Pylons apps on Google App Engine

This will show you how to get a Pylons web app running on Google App Engine in about 15 minutes, assuming you already have a GAE account and a passing familiarity with Pylons and virtualenv.

Countergram
Audience: Developers

Managing multiple Pylons apps with Supervisor

Supervisor is a well-documented, convenient process manager that can help you wrangle multiple long-running processes like Pylons apps and lighttpd.

Countergram
Audience: Developers

Pylons from scratch 1: a barebones app

Creating by hand what code generation would ordinarily do for you helps you understand Pylons and port existing apps to the Pylons deployment scheme.

Countergram
Audience: Developers

Create Pylons filters: middleware the configurable way

Using Pylons (or Paste Deploy), filters are a configurable way to apply WSGI middleware to your application without code changes.

Countergram
Audience: Developers

Rename your Pylons app without going mad

Eventually, you realize that the name you gave your Pylons app conflicts with another package, or just needs to be changed. Here's what to do.

Countergram
Audience: Developers

GMP bignums vs. Python bignums: performance and code examples

Sample code for n-choose-k in Python, C using Python bignums, and C using GMP. Guess which one is fastest?

Countergram
Audience: Developers