Rudy Rucker - The hacker and the ants

Здесь есть возможность читать онлайн «Rudy Rucker - The hacker and the ants» весь текст электронной книги совершенно бесплатно (целиком полную версию без сокращений). В некоторых случаях можно слушать аудио, скачать через торрент в формате fb2 и присутствует краткое содержание. Жанр: Киберпанк, на английском языке. Описание произведения, (предисловие) а так же отзывы посетителей доступны на портале библиотеки ЛибКат.

The hacker and the ants: краткое содержание, описание и аннотация

Предлагаем к чтению аннотацию, описание, краткое содержание или предисловие (зависит от того, что написал сам автор книги «The hacker and the ants»). Если вы не нашли необходимую информацию о книге — напишите в комментариях, мы постараемся отыскать её.

The hacker and the ants — читать онлайн бесплатно полную книгу (весь текст) целиком

Ниже представлен текст книги, разбитый по страницам. Система сохранения места последней прочитанной страницы, позволяет с удобством читать онлайн бесплатно книгу «The hacker and the ants», без необходимости каждый раз заново искать на чём Вы остановились. Поставьте закладку, и сможете в любой момент перейти на страницу, на которой закончили чтение.

Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

Dexter Christensen glanced up at us, moving his head like a very old man.

“Wow! Are you startin‘ up the robot?” slurred Dexter. His voice was deep and grainy. The code ran substantially slower with the breakpoint on, so that Kwirkey Debug could be sure not to miss the exact instant when Squidboy hit Dexter.

“Hello Squidboy,” groaned Squidboy. He sounded like the cartoon voice of a giant octopus in an underwater treasure cave.

“Hi, Mr. Robot,” oozed Dexter. “Do you wanta play?”

“Wanta play?” mocked sepulchral Squidboy.

“Let’s go in the living room,” drooled Dexter and reached out for Squidboy’s pincer. Moving at a speed that was fast even under slo-mo, Squidboy swung his left arm forward in a hard, flat arc that…

“Breakpoint,” said Kwirkey Debug. “Squidboy’s pincer intersects Dexter’s chest.”

Squidboy stood frozen in place with the tip of his left-hand manipulator poised daintily against Dexter.

“Show us a chart of Squidboy’s attribute variables,” said Russ.

Kwirkey Debug gestured with two hands and a small chart sproinged into existence. On the left of the chart were the names I’d assigned to Squidboy’s variables, and on the right were the variables’ numeric values. We scrolled the chart up and down, looking things over.

“How about that variable there called stroke_persist,” said Russ presently. “It’s set to 4,294,967,289.” He paused gloatingly. “You jack-off.”

“Oh hell.” Stroke_persist was supposed to be a small integer like three or minus eleven or something. It measured how hard Squidboy pushed against things. With a stroke_persist value of four billion, Squidboy’s normal motions would become amplified so much that he must perforce slash into those around him. How had stroke_persist gotten to be four billion?

“Kwirkey Debug,” I said. “Please set a breakpoint for the following condition: Squidboy’s stroke_persist is larger than four billion. Then reset and run.”

“Yes,” said Kwirkey Debug.

On the third run, the breakpoint tripped as Dexter reached for Squidboy’s left hand.

“Show us the source code with the instruction pointer,” I said.

Another chart appeared, and*bingo* there it was, our breakpoint had kicked in right after an instruction that set stroke_persist equal to -7. This is what it was supposed to do; the 7 meant move softly, and the minus meant you’re using your left arm. But Russ’s Kwirkey translator had decided that stroke_persist was always to be a positive number, and if you view a thirty-two-bit representation of -7 as a positive number, you think it’s 4,294,967,289.

I started trying to explain this to Russ, but instead of letting me finish he rudely yelled that using minus for left-hand had been a stupid trick in the first place, and that now it was worse than stupid, it was unusable since Squidboy had three, hands. Funny I hadn’t thought of that. I recovered by pointing out that Russ had no business assuming that all of Squidboy’s state variables were positive integers. Russ countered that he needed to assume all numbers to be positive so that the ROBOT. LIB calls could be made at maximum speed, thus guaranteeing that “his” code would run faster than the “kludgey” code for the Veep. He said that if I wanted to keep track of left, right, and middle, I should use a separate flag variable instead of trying to do it with negative numbers. I began to respond that…

“Let’s go ahead and fix the first bug and see what happens next,” said Sun Tam quietly. Russ and I had been so absorbed in the Sphex’s cyberspace, and in our quarreling, that neither of us had noticed when Sun sat down next to us.

“Edit code,” said Russ to Kwirkey Debug, and the silver figure produced what looked like a large pink rubber eraser. “I ONLY MAKE BIG MISTEAKS” was printed on the eraser-some West West hacker’s idea of a joke.

“This is too stupid,” I said. “I’ll fix it on my own machine. Let’s meet back here in an hour.” I went back in the pit and squeezed all the negative numbers out of my program. It was, as Russ had suggested, a matter of using a two-bit hand_flag variable to do what the minuses had done. I used hand_flag 0 for LEFT, 1 for MIDDLE, and 2 for RIGHT; which meant that binary 00, 01, and 10 stood for, respectively, the pincer, the tentacle, and the humanoid hand. First the new code wouldn’t compile (in my excitement I’d left out a “;”), then it compiled but crashed (I’d forgotten to rebuild one of the submodules with the new header file), and then*siiigh* my quick fix was done. I rushed back to the Sphex. Russ and Sun Tam were waiting.

Russ downloaded the new code and said, “Run.”

This time Squidboy and Dexter made it into the living room.

“Hi there,” said Perky Pat brightly. She was sitting in an armchair watching television. Walt was passed-out drunk on the couch, and Baby Scooter was lying on the floor gumming a filthy teething ring. The screen of the virtual TV against the wall was painted with changing real-time network television. I could clearly hear the TV voices through the Sphex speaker. Just now a newscaster was saying that a judge had denied Stu’s pretrial motion to have my venue moved out of Silicon Valley. “So Jerzy Rugby’s state trial on charges of criminal trespass, computer intrusion, and extreme cruelty to animals is still scheduled to begin the week after next in San Jose,” the newscaster said. “Thursday, May 28. This network will be providing special coverage of that trial.”

I was so involved in listening to the TV that I wasn’t watching when Squidboy veered too far around Baby Scooter, lost his balance, and fell onto Walt’s neck. I looked just in time to see Walt’s head come off and fall onto the floor. It made a nasty thump.

“Oh, no way!” I cried. “Squidboy didn’t hit him that hard.”

“Let’s just fix it,” said Sun Tam. “Kwirkey Debug, reset and run to the point where Squidboy passes Baby Scooter.”

This time there was nothing grossly wrong with any of the values in Squidboy’s registers. We single-stepped the code forward, watching the numbers. The value of the direction_angle started doing something queer just before Squidboy fell over: it began oscillating irregularly between two, then four, then eight values, and then burst into what looked like totally random fluctuations.

“I recognize that behavior,” I said, talking quickly before Russ could start up with the insults. “That’s the period-doubling route to chaos! No problem. It’s because I use a nonlinear formula to damp the jitter out of direction_angle. I use a preset constant called FEEDBACK_DAMPER. But the damping’s not working anymore. We’re getting the opposite of damped feedback; we’re getting feebdack, right, Russ? Ha, ha!” I was feeling hackish and manic. “Well, that’s just because the Adze is different from the Veep. All I need to do is tweak the FEEDBACK_DAMPER value. Kwirkey Debug, I want to edit the constant definitions file. And put away that stupid eraser.”

I changed FEEDBACK_DAMPER from 0.12 to 0.13.

“Compile, reset, and run.”

This time, instead of overavoiding Baby Scooter, Squidboy locked into a death spiral that wound around and around Baby Scooter until Scoot’s geometry was churned into crooked fnoor.

“I thought you said you had the Adze code wired,” snarled Russ. “You fucking loser.”

“It’s a chaotically sensitive system,” I cried. “I tweaked it specially for the GoMotion Veep with genetic algorithms. I’m not surprised it isn’t working yet. Even though the Veep and the Adze use the same Y9707 chip, their sensors and effectors are different in hundreds of ways. They have different bodies.”

“Your control algorithms seem to be very sensitive,” said Sun Tam. “You change the second digit of FEED-BACK_DAMPER and Squidboy kills Scooter instead of Walt?”

Читать дальше
Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

Похожие книги на «The hacker and the ants»

Представляем Вашему вниманию похожие книги на «The hacker and the ants» списком для выбора. Мы отобрали схожую по названию и смыслу литературу в надежде предоставить читателям больше вариантов отыскать новые, интересные, ещё непрочитанные произведения.


Отзывы о книге «The hacker and the ants»

Обсуждение, отзывы о книге «The hacker and the ants» и просто собственные мнения читателей. Оставьте ваши комментарии, напишите, что Вы думаете о произведении, его смысле или главных героях. Укажите что конкретно понравилось, а что нет, и почему Вы так считаете.

x