Sparks and Codes