Chapter 20 Boolean operations
"Isn't that right?" Yuki frowned: "Master, it doesn't seem like this. In board games...... Also, in driving, the computer is much more powerful than the biological brain. β
Xiang Shan nodded: "That's right, but a computer that is good at 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 its Creator does not give instructions, then it will never think of doing a second thing for the rest of its life. β
This should be...... Was it a long, long time ago? Xiang Shan felt that this might be history that happened before he was born. At that time, there was a conductor. He is a trisomy 21 β the so-called "congenital stupidity". Perhaps he was born into a musical family, so he regarded "imitating the actions of the conductor" as a game, but he did appear on stage as a "conductor". So is there "music" in his brain?
Maybe it's true that this poor man knows what music is in his heart.
But outside of "music", he can't understand much.
And the intelligence that is born in the computer is even more extreme than that. After all, even a congenital fool knows that he is hungry and thirsty. Crying when you are not feeling well. But even if the AI is strong enough to crush the chess master, there will be no "I still need power" or "I just want more computing resources".
"Actually, what a computer can do is never beyond the human brain. Paper-and-pencil ...... Hell, you don't seem to know what 'paper' is. Xiang Shan shook his head, picked up an iron pistle casually, and wrote q and p on the ground.
Two values, 1 or 0, TRUE or FALSE.
Two begets three, and three begets all things.
That's where everything for computers comes from.
"I'm going to teach you something right now, it's called 'Boolean operations.'" Xiang Shan said: "With an iron pimple, humans can perform Boolean operations on the ground, thus simulating any program of a computer - no, it should be the other way around. The computer is nothing more than a substitute for a human hand, writing Boolean equations on the ground. They are simply faster and faster than human handwriting. That's all. β
This method of operation was born from the great George Bull. Before Georg Bull, Leibniz and Babbage were doing the same thing - they tried to calculate with machines. Babbage may have come close to this state for a while, but he never reached it. And Boole is different from all those who came before him. Just as Isaac Newton tried to describe the trajectory of matter in the dimensions of time and space, Boole tried to describe the trajectory of mental motion. This is a groundbreaking achievement. Of course, the gap between Boolean algorithms and real human thinking is like the gap between Newtonian mechanics and the real world. However, this is already the beginning. β
"After Boolean, people realized that gears and levers could perform calculations, neural networks could perform calculations, circuits that were constantly opening and closing could perform calculations, and even a bunch of chemical devices could perform calculations β the Boolean algorithm dismantled a corner of the human mind into something that machines could understand."
Humans have a long history of simulating neural networks with circuits and performing Boolean computations, even earlier than von Neumann's architectureβas early as 1943, neurobiologist Warren McCarwalker and mathematician Walter Pitts created the first artificial neural network that could perform Boolean computations.
And before the time of Boer, there was also an inventor named Joseph Jakar. He invented a completely new loom. This loom can manipulate the needle and thread on the machine with a perforated card to weave the warp and weft. Something similar has appeared independently many times in history. This "punch card" can even be traced back to the Eastern Han Dynasty in China.
This is the ancestor of the Turing machine's "punched paper tape", which is the most primitive memory with only a few bytes, and is the earliest "memory" of the machines.
Hilbert's plan for the study of pure mathematics led to the creation of the Turing machine.
In the end, these results converged into the hands of another man named von Neumann.
Thus, a tool unprecedented in human history was born. Human society, life, politics, and military have all been changed.
"But a tool is always a tool." Xiang Shan admonished his disciples: "Its essence is still to create thousands, tens of thousands of arms to perform Boolean calculations for you. What a computer can do, you can do with Boolean operations, but the computer is faster β of course, this 'fast' has changed substantially. β
"For the average user, you just have to hand over the task to these 'arms' and wait for the result. But this is not an internal skill. Those who have achieved internal merit are equivalent to being able to maximize the strength of these countless arms, and even transmit their will between these hands. β
"So, you have to start with Boolean operations."
In the realm of internal power, mathematics is the "Tao", and the Boolean operation is the "one".
Tao begets one, one begets two, two begets three, and three begets all things.
Boolean algorithms are not complex in themselves, just some extension of logic. High school math is almost enough to get started.
All that's left is a lot of practice.
Xiang Shan took a moment to explain the essence of these problems to Yuki, and then directly compiled a workbook in his head, which was transmitted to Yuki's brain chip point-to-point.
Yuki's steps out of the room were very heavy.
Xiang Shan nodded in satisfaction. He had a feeling in his heart that he had long wanted to do this kind of thing.
I don't know why, maybe it was the impact of past experiences on him?
He's pretty happy anyway.
β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦
Yuki finally finished the exercise and returned to his room.
Then he noticed that the atmosphere in the room had completely changed.
Xiang Shan closed his eyes and looked at the terminal as if he were meditating. On the screen of the terminal, countless symbols appear and disappear as a refresh. More code is overlaid on top of the code.
The canine-like prosthetic body connected to the terminal is doing all kinds of movements.
Xiang Shan understood the meaning of each line of code, and then replaced the original code with his own.
He's going to try to master this never-before-seen component.
"Yuki, are you done with the exercises?" Xiang Shan still maintained his original posture: "Is your brain chip the type that can be removed at any time?" Is it inconvenient to show me a piece now? β
Yuki nodded: "It can be ......"
He lowered his head, and the skull on the back side of it opened. Then, a spare chip popped out.
Prosthetics always have two or more driver chips. When one of the pieces crashes due to a bug, the other piece will take over the body instantly, and at the same time, the piece with the bug will quickly Watchdog and re-enable.
It's different from Mukaiyama's one-piece skull. Yuki's modern artificial skull is inherently easy to open.
Yuki handed his spare chip to Xiang Shan: "Master, what are you doing here?" β
"It was done quickly. I'll tell you when I'm done," Xiang Shan shook his head. I didn't notice this at first, and it was indeed because he was too careless. In this era, the life and death of the weak by the superior is more serious than he imagined. He had only found out that Dr. Schultz had asked him to surf the Internet, so he naively concluded that the vast majority of Cyberprostics were not connected to the Internet at all times.
When he took Yuki as a disciple, he only thought about avoiding the surveillance route in the village.
But the mayor's words reminded him before.
No matter what society is like, never underestimate the plundering of people by tyrants.
In fact, there should be a frequency band that ordinary people don't know about, or can't use at all. In this non-civilian band, all prosthetics are connected to the network - but the users of those prosthetics are not aware of it.
The only thing to be thankful for is that the current "real ruling clique" seems to be understaffed or has other objective difficulties, and does not monitor everyone at all times.
- Tsk...... It shouldn't have been as serious as this in the past.
- But I should have imagined this extreme state.
"If you don't practice martial arts, you will end up empty." At the beginning of the design of internal power, the idea of countering this state was included.
Therefore, after recovering some internal strength for himself, Xiangshan built Yuki with the power to resist external evils and clear the back door in the chip.
Soon, Xiang Shan searched the entire chip. As he expected, there were indeed several protocols in this thing that he had not seen before, pointing to some ports with signal transmitter capabilities.
This port uses shortwave communication, the signal is relatively weak, and the data transmission capacity is limited, so it is estimated that it can only upload low-quality audio or images.
But this means that the ruler can indeed snoop on any individual at any time.
"It's good, at least thankfully, that the army and police don't exist in this era, and the lords have too much discretion...... The most they can realize is that I might be a chivalrous man. β
Xiang Shan quickly wrote a firewall inside Yuki's chip, causing it to deny remote access to that particular port and send fake images. Then he erased several other protocols.
Of course, before doing these things, he made a backup.
Xiang Shan returned the chip to Yuki and said, "Try it yourself, tell me if there's anything wrong." If it's okay, I'll do me another favor later. β
Xiang Shan himself is now driving the prosthetic body by relying on the cheap chip given by the mayor. And in that driver chip, there may also be a backdoor. Mukaiyama's artificial skull does not open and close freely like Yuki. Without special tools, he had to rely on someone else to help him get the chip out.
It's the equivalent of exposing one's own brain to someone else. Xiang Shan 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 that "in the middle of the process, the assistant is remotely controlled by the brain, and a trembling finger pokes into his brain". That's why he gave priority to Yuki to prepare an "empowerment".
Yuki transmitted his math homework to Xiangshan for inspection, and at the same time, he ran and jumped according to Xiangshan's instructions to test whether there were any bugs in the driver chip.
Humans have learned very early on that "don't pursue programming without bugs", and as long as the program can run, it doesn't matter if there are bugs.
High-level languages can be roughly divided into "type-unsafe languages", "type-safe languages" and "strongly normalized languages" according to the classification of "type theory". Strong normalization languages can guarantee "error-free", and such languages will give a unique result for any program and will never get stuck in an endless loop. But it is precisely because the strong normalization language abandons the concept of "loop" and loses the Turing completeness that any error system is not recognized at all and cannot be operated.
To put it simply, a strong normalization language is a situation where "the program will never make mistakes when it runs, and it will not run if there is a mistake in it".
Knights, on the other hand, tend to use "type-insecure language". Speakers of this language are in the daily dilemma of "I can't run the code I write?" Why is that? Can I run the code I wrote? Why is that? Doubts. This kind of language is prone to "unpredictable errors"β"unpredictability" that can be said to be predestined by mathematics itself, and even the writer himself cannot predict it before the program is running.
Of course, this "incomprehensibility" is the same for the enemy.
Xiang Shan would rather go to the trouble and do a few tests before writing any program, and also choose a "type-insecure language".
But the level of Xiangshan seems to be really okay. Yuki's driver chip can still control the prosthesis normally.