CITA 661: Sackler Lecture: The Microphysics and Macrophysics of Cosmic Rays