Life under the pirate code