Pošljite SMS: The variational theory of geodesics