Pātuhitia tēnei: Elements of the theory of algebraic curves