Here is my favorite part. It is where Foundation priest / technician Theo Aporat curses the refurbished Imperial cruiser
Wienis, which had been on a mission to conquer the Foundation:
"In the name of the Galactic Spirit and of his prophet, Hari Seldon, and of his interpreters, the holy men of the Foundation, I curse this ship. Let the televisors of this ship, which are its eyes, become blind. Let its grapples, which are its arms, be paralyzed. Let the nuclear blasts, which are its fists, lose their function. Let the motors, which are its heart, cease to beat. Let the communications, which are its voice, become dumb. Let its ventilations, which are its breath, fade. Let its lights, which are its soul, shrivel into nothing. In the name of the Galactic Spirit, I so curse this ship."
And with his last word, at the stroke of midnight, a hand, light-years distant in the Argolid Temple, opened an ultrawave relay, which at the instantaneous speed of the ultrawave, opened another on the flagship Wienis.
And the ship died!
For it is the chief characteristic of the religion of science that it works, and that such curses as that of Aporat's are really deadly.
Seems like an analog-hardware sort of design. Here's how it might work with present-day and near-future sorts of embeddable systems. The Foundation's engineers installed some software in the control computers of the
Wienis and other Anarcreonian warships, some software that they described as super holy, just like that ultrawave relay.
But that software is a Trojan horse for a kill switch, what that ultrawave relay had been. The
Wienis heads out under Prince Wienis's son Prince Lefkin, but on Terminus, in a secret bunker near the Foundation's main spaceport, a team of hackers watches. The software radioes back by subether what's going on in the ships, and the hackers watch. When Theo Aporat pronounces his curse on the
Wienis, the hackers go into action. They run a script for disabling the ship, and watch as the software radioes back the crippled state of the ship. It is stalled in interstellar space, with only cabin systems operating. Its engines are so successfully sabotaged by bad control instructions that a space tug will be needed to get the ship home. Prince Lefkin calls off the attack on the Foundation, and the hackers are relieved that they don't have to do much more.