Notes on science, math, and reverse engineering