Howto add CSRF protection with PHP

Date: 04/24/2012 · Filed under: Programming

CSRF attacks are something I've never seen myself, but sometimes you wonder if they could be used to cause serious harm in your application. Today I decided to add CSRF protection, and publish it for the benefit of the community.

WWF forks PDF

Date: 12/12/2010 · Filed under: Computers

WWF has forked PDF to create a non-printable document format. Most likely they didn't know PDF documents can prevent printing.

Refactoring graphs

Date: 07/30/2010 · Filed under: Programming

Is refactoring easy to spot? According to graphs drawn from commit logs for the framework my blog is based, it is.

Thoughts on Rewriting

Date: 04/02/2010 · Filed under: Programming

There are so many projects out there being rewritten from scratch, you'd think it's a good idea. I think it's not.

Data URIs

Date: 02/11/2010 · Filed under: Programming

The data URIs allow inlining linked documents. Recent experiences show that the benefit they offer is limited.


Learning the World by Ken MacLeod. The novel is about first contact written in the perspectives of both sides - a primitive species, and the advanced human race.