The soul of a programmer who died suddenly after staying up late passed through Ning Yuanwei in the late Ming Dynasty. He went from being a minor official to the core of the regency of the country governed by data. He used calculus to calculate ballistics and used humanistic fire to illuminate the late Ming Dynasty and the dark world. Those "difficult feelings" that once frustrated later generations - Jiangyin's eighty-day persistence was in vain, Shi Kefa's loyal martyrdom for the country, and the people's displacement in troubled times - were all rewritten one by one under his wisdom and actions. In the end, the whistle of the steam train on the railway track carried the reborn dynasty on a new journey to colonize the world and explore the universe.