Cyber Heroes

Chapter 20 Boolean Operations

"Isn't it right?" Yuki frowned: "Master, it doesn't seem to be like this. In board and card games...and also in driving, computers are much more powerful than biological brains."

Xiang Shan nodded: "Yes, but a computer that is good at playing chess can only play chess. It will never understand why it is playing chess, and it may not even know that it is "playing chess." If If its creator doesn’t give instructions, then it will never do anything else in its life.”

This should be... a long, long time ago? Xiangshan felt that this might be history that happened before he was born. At that time, there was a conductor. He is a patient with trisomy 21 - a so-called "congenitally stupid child". Perhaps he was just born into a musical family, so he regarded "imitating conductor's movements" as a game, but he did step on the stage as a "conductor". So is there "music" in his brain?

Perhaps indeed, this poor man does know what music is in his heart.

But he is not very able to understand things other than "music".

The intelligence bred in computers is even more extreme than this. After all, even a congenitally stupid child knows when he or she is hungry or thirsty. I cry when I feel unwell. But even if the AI ​​is powerful enough to crush a chess master, it will not think "I still need power" or "I just want more computing resources."

"Actually, what computers can do has never exceeded the human brain. Paper-and-pencil calculations...hell, you don't seem to know what 'paper' is." Xiang Shan shook his head and picked up an iron stick. Write q and p on the ground.

Two values, 1 or 0, TRUE or FALSE.

Two gives birth to three, and three gives birth to all things.

Everything about computers comes from here.

"What I want to teach you now is called 'Boolean operations'." Xiangshan said: "Humans can use an iron stick to complete Boolean operations on the ground, thus simulating any computer program - no, it should be the other way around. . Computers just replace human hands and write expressions of Boolean operations on the ground. They are just faster and faster than human handwriting. That's all."

"This method of calculation was born from the great George Boole. Before George Boole, Leibniz and Babbage were doing the same thing - they tried to use machines to calculate. Babbage may have been close to this for a time Realm, but in the end it was not reached. And Boole was different from all his predecessors. Just like Isaac Newton tried to describe the trajectory of material movement in the dimensions of time and space, Boole was trying to describe the trajectory of spiritual movement. This is a groundbreaking achievement. Of course, the gap between Boolean algorithms and real human thinking is just like the gap between Newtonian mechanics and the real world. But this is already the beginning."

"After Boolean, people realized that gears and levers can perform calculations, neural networks can perform calculations, circuits that are constantly opening and closing can perform calculations, and even a bunch of chemical equipment can also perform calculations - the Boolean algorithm will A corner of the human mind, broken down into something that machines can understand.”

The history of humans using circuits to simulate neural networks and perform Boolean calculations goes back even further than the von Neumann architecture - as early as 1943, neurobiologist Warren Macavock and mathematician Walter Pitts created the first An artificial neural network that can perform Boolean calculations.

Before Boole's time, there was another inventor named Joseph Jacquard. He invented a completely new loom. This kind of loom can use punched cards to control the needle and thread on the machine to weave warp and weft. Similar things have appeared independently many times in history. This kind of "punch card" can even be traced back to the Eastern Han Dynasty in China.

This is the ancestor of the "punched paper tape" of the Turing machine. It is the most primitive memory with only a few bytes and the earliest "memory" of the machines.

Hilbert's plan to study pure mathematics spurred the birth of the Turing machine.

In the end, these results finally converged into the hands of another person named von Neumann.

Here, a tool unprecedented in human history was born. Human society, life and even politics and military have all been changed.

"However, a tool is still a tool." Xiang Shan warned his disciples: "The essence of it is still to create thousands or tens of thousands of arms to perform Boolean operations for you. What the computer can do, you can use Boolean operations yourself. What computing can do is that computers are faster - of course, this 'fastness' has already reached an essential change."

"For ordinary users, you only need to hand over the task to these 'several arms' and wait for the results. But you cannot practice internal strength in this way. Those who are successful in internal strength can only use this to the maximum extent. The power of countless arms even transmits the will between these hands.”

"So, you have to start with Boolean operations."

In the field of internal strength, mathematics is the "Tao" and Boolean operations are the "One".

Tao gives birth to one, gives birth to two, two gives birth to three, and three gives birth to all things.

The Boolean algorithm itself is not complicated, it is just an extension of logic. Mathematics at the high school level is almost enough to get started.

The rest is just a lot of practice.

Xiangshan spent some time explaining the essence of these problems to Yuki, and then wrote an exercise book directly in his mind, which was transmitted point-to-point to Yuki's brain chip.

Yuki left the room with a heavy step.

Xiang Shan nodded with satisfaction. He had a feeling in his heart - he had wanted to do something like this for a long time.

I don't know why, maybe it was the impact of past experiences on him?

Anyway, he was quite happy.

…………………………………………………………………………

Yuki finally finished the exercises and returned to his room.

Then he discovered that the atmosphere in the room had completely changed.

Xiangshan closed his eyes and faced the terminal as if meditating. On the terminal screen, countless symbols appear and disappear as they refresh. More code on top of code.

The dog-shaped prosthetic body connected to the terminal was performing various actions.

Xiangshan is understanding the meaning of each line of code, and then replacing the original code with his own code.

He wanted to try to master this unseen component.

"Yuki, have you finished the exercises?" Xiangshan still maintained his original posture: "Is your brain chip a type that can be removed at any time? Isn't it convenient for me to take a look at it now?"

Yuki nodded: "Yes, yes..."

He lowered his head and opened the back of his skull. Then, a spare chip popped out.

A prosthetic body always has two or more driver chips. When one piece breaks down due to a bug, the other piece will instantly take over the body. At the same time, the piece with the bug will quickly Watchdog and re-enable.

It is different from the one-piece skull like Mingshan. Yuki's modern artificial skull is very convenient to open.

Youki handed his spare chip to Xiangshan: "Master, what are you doing?"

"It will be done soon. I will let you know when it is done." Xiang Shan shook his head. He was indeed too careless for not noticing this at first. In this era, the situation in which those in power take life and death from the weak is more serious than he imagined. He had only discovered that Dr. Schultz asked him to go online, so he naively concluded that most cybernetic bodies did not have time to connect to the Internet.

When he accepted Youki as his disciple, he only wanted to avoid the surveillance routes in the village.

But what the mayor said before reminded him.

No matter what the society is like, never underestimate the tyranny’s plundering of people.

In fact, there should be a frequency band that ordinary people are unaware of or cannot use at all. In this non-civilian frequency band, all prosthetics are connected to the network - but the users of those prosthetics don't know it.

The only good thing is that the current "real ruling groups" seem to be short of manpower or have other objective difficulties and cannot monitor everyone all the time.

——Tsk... It probably wasn't as serious as this in the past.

——However, I should have imagined this extreme state.

"Practice martial arts without practicing kung fu, and you will end up in vain." From the beginning of the design of internal strength, the idea of ​​countering this state was included.

Therefore, after restoring some internal strength to himself, Xiangshan built Yuki's strength to resist external evil and eliminate the backdoor in the chip.

Soon, Xiangshan searched the entire chip. As he expected, there were indeed several protocols in this thing that he had never seen before, pointing to certain ports with signal transmitting capabilities.

This port uses shortwave communication. The signal is relatively weak and the data transmission capacity is limited. It is estimated that it can only upload low-quality audio or images.

But this means that the ruler can indeed spy on any individual at any time.

"Very good, at least thankfully, the army and police do not exist in this era. The lords have too much discretion... The most they can do is realize that I may be a knight."

Mukayama quickly programmed a firewall into Yuki's chip, causing it to deny remote access to that specific port and send fake images. Then he erased several other agreements.

Of course, before doing these things, he made a backup first.

Xiangshan returned the chip to Youki and said: "Try it yourself and tell me if there is anything wrong. If there is no problem, do me a favor later."

Xiangshan himself now uses the cheap chip given by the mayor to control his prosthetic body. And there may also be a backdoor in that driver chip. Xiangshan's artificial skull cannot be opened and closed freely like Yuki's. Without special tools, he would have to rely on help from others to remove the inserted chip.

This is equivalent to exposing your brain to other people. Xiangshan must have an assistant he can trust before he dares to do such a thing.

In addition, he must also put an end to the situation where "in the middle of the process, the assistant is remotely controlled by someone's mind and stabs his own brain with a trembling finger." Therefore, he prioritized preparing the "initiation" for Youki.

While transferring his math homework to Xiang Shan for review, Yuki followed Xiang Shan's instructions and ran and jumped to test whether the driver chip had any bugs.

Human beings learned very early on "don't pursue programming without bugs". As long as the program can run, it doesn't matter if there are bugs.

According to the "type theory" classification, high-level languages ​​can be roughly divided into "type-unsafe languages", "type-safe languages" and "strongly standardized languages". Strongly standardized languages ​​can guarantee "no errors". This type of language can give a unique result to any program and stop it, and will never fall into an infinite loop. But precisely because the strongly normalized language abandons the concept of "loop" and loses Turing completeness, any error system will not be recognized at all and will not be allowed to run.

To put it simply, a strongly standardized language is a situation where "the program will never make errors when it runs, but if there are even a few errors in it, it will not run."

The knights, on the other hand, prefer to use "type-unsafe languages". Users of this language are often confused by "The code I wrote cannot run? Why is this? The code I wrote can run? Why is this?" This language can easily produce "unpredictable errors" - this "unpredictability" can be said to be destined by mathematics itself. Even the writer himself cannot predict it before the program runs.

Of course, this "difficulty to understand" is the same for the enemy.

Xiangshan would rather go to the trouble of doing a few tests before writing any program and choose a "type-unsafe language".

But Xiangshan's level seems really okay. Yuki's driver chip can still control the prosthetic body normally.

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like