This Monday (04.08) featured this year's only total solar eclipse, which inspired the author to think about how to predict eclipse timing using programming methods. The article shares calculation techniques, plots the trajectory of this total solar eclipse, and predicts all eclipses between 2020-2030.