The commander in chief becomes comedian in chief once a year at the annual dinner, affectionately dubbed "nerd prom."