Book Read Free

The Wizardry Quested w-5

Page 21

by Rick Cook


  "What the heck is it?"

  "It’s a virus," Taj told him. "You’ve got an infection in your system."

  "Holy shit," Jerry breathed. "But how?"

  Taj just shrugged.

  Jerry tore his eyes away from the demon and examined the spell more closely.

  "Does that make any sense to you?" Taj asked.

  Jerry just shook his head. "For one thing it’s not entirely in standard magic notation. More than that, well, it just doesn’t make a Tot of sense. What does it do?"

  "It attaches itself to a spell and starts shifting instructions around or combining them."

  Jerry bit his lower lip. There was something terribly wrong with this but he couldn’t quite put his finger on what yet.

  "Could it be a weapon?"

  "If it is it’s a piss-poor one. The thing’s not very destructive and it’s hardly hidden at all. It doesn’t poly-morph and if you know the sequence you can grep it out of any spell it’s in."

  Everyone was silent for a moment.

  "There’s something not right about this," Jerry said

  That appears to be an understatement," Bal-Simba said mildly.

  "No, I mean there’s something really wrong here. Something we’re missing." Moira cocked her serpent-like head. "Another of your premonitions?"

  "More like a feeling, but yeah. That sort of thing."

  Moira furrowed her scaly brow. She had been more intimately associated with the programmers than Bal-Simba or any of the other wizards and she knew Jerry’s knack for spotting problems even if he couldn’t quite grasp the whole.

  "You’ve never had a virus here before?" Taj asked.

  Jerry shook his head. "Now that it’s happened I can see how it could, but no."

  "Hmm," Bal-Simba said, staring at the glowing letters. "Do you think it is related?"

  "Directly? No. But I suspect it’s a manifestation of the same kind of underlying phenomenon. Sort of the fundamental particle of your problem."

  "And it works by sticking stuff together," Jerry said in an effort to forestall the inevitable. "Let me guess, you call this a glue-on, right?"

  Taj brightened. "Hey, that’s a good name for it"

  "Me and my big mouth," Jerry muttered. "Anyway, it still doesn’t explain who our enemy is."

  "What about," Taj said slowly, "the possibility that the glue-on arose naturally? It’s not very complicated. Only about a dozen basic instructions."

  "I suppose that’s possible," Jerry said equally slowly. "Like I say, we’ve never seen that. But we really haven’t been here long."

  "Where do you suppose all these complicated magical phenomena come from?"

  "Around here that’s like asking why the sky is blue. They just are."

  "The sky’s blue for a reason," Taj pointed out.

  "It’s something we never really wondered about."

  Taj smiled, looking more satanic than ever. "Those are the ones that get you in the worst trouble."

  While Jerry chewed on that Taj went back to wandering about the room restlessly, looking at things without quite seeing them. He came to rest in front of Danny’s magical fish tank and suddenly froze like a bird dog coming on point. The rainbow denizens of the tank were oblivious to him, but everyone else in the room was suddenly watching him intently.

  "Those fish aren’t natural, are they?"

  "No, that’s something Danny was working on for his son," Jerry told him.

  "Do they change?" he asked in a peculiar voice.

  Jerry frowned, remembering his earlier misgivings. "Yeah. He made them so they’d change over time. They kinda mutate."

  "But they don’t follow a pre-programmed pattern?"

  "I don’t think so."

  Taj turned back to the fish tank and stared fascinated.

  "Bingo!" he breathed softly. "Oh, boy howdy!"

  "You’ve found something?"

  "Alfie."

  "Huh?"

  "Alfie-A-Life, you know artificial life."

  "What do you guys know about artificial life?"

  Jerry shrugged. "It only got hot after we came here. We’ve been following the newsgroups on the net."

  "Its a very rapidly developing field."

  "As good as its hype?"

  Taj snorted. "Get real. But they’re still getting some interesting results, especially with evolutionary systems." He paused. "What’s more, I’ll bet your enemy isn’t ’someone’, it’s ’something’-the mother of all artificial life programs."

  Zombie army ants. The phrase flashed in Jerry’s mind.

  "Meaning the thing’s not alive?"

  Taj shrugged. "Define ’life’ and I’ll tell you. What it definitely means is that you’ve got stuff breeding out there."

  "Wait a minute, A-life has to have a purpose. There’s a design."

  Taj gave another of his satanic smiles. "Teleological reasoning. The A-life we’re familiar with is designed originally because humans created it. But there’s nothing that says there has to be a designer. If you’ve got the right conditions and the right precursors it could arise spontaneously." He looked over at the fish tank "Offhand I’d say you have the right conditions here.

  "From what you’ve told me, there’s natural magic everywhere, but the spells didn’t combine very well. So now you guys come along and develop your spell compiler that sticks little spells together and eventually these things pick up the trick."

  "But we didn’t write anything like that," Jerry protested.

  "Not necessary that you do. This kind of genetic crossover has been known for a long time in bacteria and a couple of workers have produced it in artificial life programs." He frowned. "So then the question is, how much available resources do they have? You sort of indicated that magic is an infinite resource here, right?"

  "Well, not exactly. Some areas are more magical than others. There are dead zones all through the Wild Wood, for instance. And at times you can produce something like a magical drain effect and some resources become scarce. Wiz did that in his attack on the City of Night." It was his turn to frown. "But that kind of thing is rare. There’s an awful lot of available magic out there." Taj nodded. "Makes sense. If you’re really resource constrained it’s hard to get any kind of complex development. You get the equivalent of lichens and algae. If there’s no constraint you lose a potent driver for evolution. But if there’s a lot of resources before you hit the constraints:" he shrugged.

  "Jeez," Jerry muttered.

  "Okay, now suppose that these things are out there, these little spells, competing for resources. It becomes survival of the fittest. The things that can grab the most resources and hold on to them best survive longest."

  "And we started that?"

  Taj pursed his lips. "Actually that probably pre-dates you. I suspect that’s where this world’s naturally occurring demons and such come from. What you added were code fragments that made it easier for pieces to combine."

  "So we are responsible."

  "Law of nature, man. You can’t do just one thing. Anyway, eventually this proto-evolutionary process turns out our friend the glue-on." He nodded toward the desktop where the virus sat. Jerry thought it didn’t look like anyone’s friend, but before he could say that, Taj was off again. "Now you throw in something like this recombinant virus and the things that survive are the ones that get reproduced."

  He shrugged, "Kind of like an artificial life version of Core Wars, only we’re in the core." He laughed. "Evolution in action. I’ll bet by now there’s a whole ecology out there."

  "Wonderful," groaned Jerry.

  "That too," Taj agreed, obviously having missed his tone. The big question is how high a lambda have you got?"

  "Lambda?"

  "Information mutability. If information is hard to change you stifle any kind of evolution. If it’s too easy to change self-organization doesn’t have a chance. There’s a fairly narrow band where A-life is possible."

  Jerry thought about that. He didn’t like it
, but it made sense. "We know some areas are less magical than others. The whole place around the City of Night is an especially magically active zone. Plus there’s a lot of leftover magic down there from the days of the Dark League."

  "And we have kept scant watch there," Bal-Simba rumbled. "My fault, I am afraid."

  "So," Taj said, "these things had the equivalent of a petri dish where they could grow and evolve. And now you’ve got something that’s looking to spread out."

  "Why is it so hostile?"

  "Because that’s the way it evolved. Maybe it gives the thing an edge in surviving, maybe it’s an accidental characteristic, like something it picked up along the way."

  "Point is, that it’s out there and that’s the most likely explanation for what’s going on here." Taj shook his head. "Boy, what the guys at the Santa Fe Institute wouldn’t give to see this."

  "What we wouldn’t give to see the last of it," Jerry retorted "The real question is how do we stop it?"

  "Now that," said the Tajmanian Devil, "is going to take a little thought."

  "More strangeness, Lord."

  Bal-Simba had had about all the strangeness he could stand in the last few weeks, but he forbore to say so to the chief Watcher. "What and where?" he asked.

  Erus, the head of the watchers, was a lean gray-haired man with a broken beak of a nose and fierce blue eyes. Years of stooping over a scrying crystal had left him with a permanent slouch.

  "Where is to the south, out over the Freshened Sea. As to what:" He shrugged. They travel in groups, and they seek darkness or clouds, but each day they range further north."

  Bal-Simba grunted. "Enough of both at this time of the year, what with long nights and winter storms over the Freshened Sea. You say you have never encountered them before. What are they most like?"

  Erus hesitated. Like most of those in his line of work he disliked making guesses, but for him as for all of them guessing was part of the job. "Lord, they appear to be ridden dragons, at least for the most part."

  "For the most part?"

  "There are other things as well, but not so many. Mostly they seem to be dragons, but of an odd sort."

  "Odd in what way?"

  "Like the rest of this thing’s magic-cold." He looked up at Bal-Simba. "Lord, I have never seen anything like it. Nor have any of the other Watchers."

  "What do you think they are doing?"

  "I cannot say with certainty, but it appears they are scouting, perhaps testing our defenses. At their present rate they will reach our lands ere long." Bal-Simba considered. "Then best we seek these things out to see what they are. Order our patrols south again, but cautiously. And try to steer them to a small group they can meet in overwhelming strength."

  "Jerry tells me you have developed a weapon against our enemy," Bal-Simba said without preamble as he walked into the programmers’ work room.

  "Yep," Taj said proudly. "It’s a lysing virus. Or maybe a self-reproducing restriction enzyme would be a better way to describe it"

  Jerry squinted at the code hanging above the desk Taj was using. "Describing it in English would be better yet"

  "Okay," Taj said. "Basically the problem is that this virus of the enemy’s glues spells together, with some transcription errors. Then those new spells compete against each other in what amounts to a Core Wars tournament where only the fittest survive. Eventually the winners get big and nasty."

  He gestured to the code. "What this virus does is exactly the opposite. It breaks spells into pieces at certain specific points, sort of makes them come unglued."

  "What’s going to prevent this thing from running wild and reducing every piece of code to rubble?"

  Tajikawa smiled, looking more satanic than ever. "It won’t affect a piece of code smaller than a certain size."

  "Wait a minute. How do you keep the anti-virus from mutating?"

  Again the satanic smile. "You can’t. It has to mutate if it’s going to do its job because the sticky virus is going to mutate. But we can make sure it won’t attack anything smaller than the limit. Here, take a look."

  Jerry scanned the indicated portion of the code.

  Taj reached past him and pointed to several sections of the listing. You will note that there is not a test in there for code size. Nor is it localized to one part of the program. It’s more subtle than that."

  Jerry nodded. "Clever."

  "As far as we know there are no programs that big. None of yours anyway. It won’t prevent things from forming, but it will limit their size and that will probably limit their power."

  "Probably?"

  Taj shrugged. "Theoretically these things could become efficient enough to be pretty potent within that limit, but with the smaller code sizes the global minima tend to be in pretty steep wells on the state surface. Plus there are a lot of local minima to act as traps. A genetic algorithm might reach a minimum but it would be pretty much a random event. Like the monkeys at the typewriters trying to produce Shakespeare." He frowned. "Of course there is a question of how many monkeys and typewriters we’ve got here." He got a faraway look as he considered the problem.

  "Will this thing leave us worse off?" asked Bal-Simba, who had understood perhaps a quarter of what Tajikawa had just said.

  "No."

  "Then we will do it." He paused. "How long will it take for this thing to work?"

  "It starts as soon as we tell it to execute," Taj said. It will start here and then spread like the original virus did."

  "Wait a minute," Jerry said, "how long will it take to affect what’s in the City of Night?"

  "That’s a ways from here right?"

  "And it’s protected by some kind of magic barrier."

  "Oh, the barrier shouldn’t be a problem. Eventually it will diffuse through or be carried through by an infected spell."

  "How long," Jerry asked slowly, "is eventually?"

  "Fermi numbers, around ten years."

  Bal-Simba looked at him. "What kind of numbers?"

  "Fermi numbers. You know, within an order of magnitude."

  "In other words," Jerry added, "it could happen in anywhere from one year to a century." He shook his head, "But even a year is way too long."

  "Well, if you’re closer it would strike faster. If you’re right next to this thing when you invoke the program it would get it right away."

  Jerry sighed. "Okay then. We’re going to have to get in there to make this work."

  "That will not be easy," Bal-Simba told him.

  "Wiz and the others did it."

  "I am afraid that way is blocked now," Bal-Simba told him. "We cannot walk the Wizards Way and the city is ever-more-strongly guarded by the Enemy’s non-living servants."

  There’s another problem," Taj pointed out. "This thing’s likely to react to your presence, right?"

  "I would call that an understatement," rumbled Bal-Simba.

  "Well, understand, its going to take the lysing virus a while to work on anything that’s fairly complicated. If this thing has developed something like an immune system to keep it from being taken over by the competition, it may take a few hours, or even days." He caught the others’ expressions. "Too long, huh?"

  "For the main enemy, way too long. The first thing it will try to do is eat our lunch-and us with it. We can’t wait hours, we need to knock it down immediately."

  "How inorganic," Taj sighed. "All right, let’s go back and take it from first principles again."

  They took special care to find a secure resting place that evening. Malkin seemed abstracted all through the dinner meal, but she didn’t say anything until they were finished.

  "I have been thinking about what you said, about the monsters getting more dangerous as we come closer to our goal," she said to Wiz as they cleaned the last of the dinner dishes.

  "And?"

  "Have the monsters been getting more dangerous?"

  Wiz thought about it. "No, not really."

  "And have we encountered greater numbers of
them?"

  An ugly little prickle of his neck hair told Wiz he wasn’t going to like where this was going. "No," he admitted.

  "Then," Malkin asked, "are we sure we are getting closer to our goal?"

  "Well, the seeker says we’re going in the right direction."

  Malkin just looked at him.

  "I’m really beginning to wonder about that seeker," Danny said. "I know this place is big but we should be at least a little closer to Moira than when we started."

  "Maybe it’s been getting brighter so slowly we didn’t notice," Wiz suggested. Malkin reached out and tapped his shoulder. "The glow only extends out to this smudge on your right breast. That’s where it was yesterday and the day before."

  "Are you sure?"

  "Trust me. In my profession you notice these things. You always hold the crystal in the same place, straight out from your breastbone to the length of the cord around your neck."

  Wiz thought about that. Then he looked down at the crystal. Then he thought about it some more. Not very pleasant thoughts.

  "Let’s see something."

  "Emac."

  Instantly a two-foot-high demon with a big bald head, flapping ears, glasses and a green eyeshade appeared before him.

  "?," said the little demon.

  "backslash list find_moira exe."

  The creature took a quill pen from behind one enormous ear and began to scribble fiery letters in the air. Wiz and his fellow adventurers were soon bathed in warm yellow light from the golden letters hanging before them.

  "Wait a minute!" Danny said almost as soon as the Emac finished writing. "That doesn’t look right." He pointed with his staff at a section of the code.

  "It’s not," Wiz said sourly. "Neither is that," he added as his staff jabbed out, "that or that."

  "The spell’s been sabotaged!"

  "Who?" demanded Glandurg. "Who has played such a foul trick upon us?"

  "If I had to guess, I’d say the Enemy," Wiz said. "Okay folks, gather around, it’s conference time."

 

‹ Prev