In 1927, with his eyesight failing, James Joyce despaired about finishing the book he’d begun writing five years earlier. It …