James CookeJames Cooke

Latest posts

Current state of Codeship

For the last month I've been using Codeship for Continuous Integration on my current client project. These are my current thoughts on this hosted service that works with Github and BitBucket repositories.

Flat designs to website specification - a checklist

Agencies often provide flat designs to web developers as a specification, but these only scratch the surface of a true website functional specification. This is a check-list of features which can be fleshed out to start the journey towards a full functional spec.

Seinfeld method and coding

A presentation I made at ustwo's Tech Thursday about Seinfeld Technique and how it can help coders to get their personal projects moving.

Python generators and yield

Notes to myself on generators and how to create them with generator expressions and the yield statement.

Git: To squash or not to squash?

Should detailed history be kept for development features, if so, where?

vi-nature everywhere - lightning talk

This week I presented at Vim-London about vi nature and the benefits for using it in more than vim.

Things to remember about decorators

Notes to myself about Python decorators with a focus on making them testable.

Calculating your day rate for spare time freelance work

So you want to earn some extra cash on your weekends, what should you charge?

Pyramid London talk - A testing strategy for Pyramid Applications

Talk at Pyramid London meetup about testing strategies for Pyramid applications.

Pyramid London talk - Pyramid Router

Talk at the first Pyramid London meetup about the Pyramid Router, URL Traversal and Dispatch.

Reincublog Django app

Reincublog is a super mini Django blog weekend hack, coded as part of a recruitment process.

Migrating from Django 1.4 to 1.5 - Lessons learned

Migrating a project from Django 1.4 to Django 1.5 had a couple of gotchas that cost me dev time.

Pelican Svbtle theme tweaks

A tweaked fork of the Pelican Svbtle theme with some cleaned CSS and HTML.

jsFiddle documentation update

A newly structured documentation site and tutorial for the online editor.

Setting up this homepage with Pelican

Using Pelican to generate this blog, a move away from Jekyll and to some pure Python.

Got the Stack Overflow tumbleweed badge for Mako filters question

My Mako question got no views and no answers - should we be using Mako if things are so quiet?

Password cases and test fixes on pyramid_simpleauth

Updates to pyramid_simpleauth to allow for uppercase passwords and some bug fixes.

Django-mailchimp compatability with v1.3 API

Some small updates to the django-mailchimp library to upgrade to the latest Mailchimp API.

Fixing exception in django-menu

A tiny pull request to stop django-menu from throwing exceptions on new unconfigured sites.