Rule system

Chapter 155

"Relying on the correlation between cause and effect, grasp the flaws and deficiencies in the correlation process?"

"Causality, correlation..."

"flaw?"

"Looking for the code error?"

Zhao Yi carefully read the ability introduction, and immediately thought of the code problem.

Generally, there are some errors in the code just written. Causality and correlation are added together and put on the computer program design, which is equivalent to a set of completed code.

So the new ability is used to find code errors?

This……

A bit tasteless!

In the case of using the "Law of Contact", the code written is very rigorous and there are almost no errors in it, but it is still very useful to think about it carefully.

A certain framework algorithm or a small part of the program is written purely using the "Law of Contact". There are indeed very few errors, but there are also many input errors, which can also be found by the "Law of Supervision", which can save a lot of debugging time.

In addition, a usable program has many parts, and each part is written in the "Law of Liaison", and the connection between parts and parts will not be too perfect.

Zhao Yi simply opened the source code of the Rubik's Cube calculator and directly used the "Supervision Law" to test the effect.

Suddenly.

A clear judgment was produced in the mind.

The connection between the two function packages is not perfect, and some algorithms have repeated calls.

Compare, modify!

Zhao Yi continued to be busy for half an hour, modifying the core code of the Rubik's Cube calculator to the part that was judged to be'problematic'. The overall code has become a bit streamlined, and even the efficiency of the core algorithm has been improved to a certain extent.

"The "Supervision Law" is used to perfect the code, which is really good..."

Zhao Yi came back to his senses after thinking about it, and realized that he was really used to work, so he went to modify the code immediately. In fact, what he had to do was experimental ability.

The "Law of Supervision" cannot be used only for writing code, but it can use the code as the object and use the ability to check the effect.

Zhao Yi found out the algorithms and control packages related to the robot, and immediately experimented with the ability effects.

He quickly grasped the point.

"Supervision Law" requires causality and association as the conditions. It sounds like the demand is very high, which is similar to the "Law of Liaison". In fact, Zhao Yi found that "Supervision Law" and "Causality Law" are somewhat similar. They are all abilities that can be used without special conditions.

At the very beginning of "The Law of Cause and Effect", he used direct answers to multiple-choice questions on the test paper. He didn't even know the basic formulas for many questions at that time.

This situation does not work in the "Law of Liaison".

The "Supervision Law" can.

Even if it is something completely unknown, the "Supervision Law" can get "fuzzy perception". He used the "Supervision Law" to check the construction, commands, and applications of the robot's physical layer and found that he could perceive some imperfections.

He can tell what is wrong, but he doesn't know what is wrong.

This is'fuzzy perception'.

In fact, his knowledge of the lowest level of computers, the connection between hardware and software, only knows a rough idea, and his true understanding is far from enough.

That involves knowledge of hardware and automation.

For pure software code, it is much easier to use the "Supervisory Law", especially if you write code by yourself, you can find problems directly without even consuming energy, and you can also know what specific problems are, and even perceive them. The ideal modification direction'.

This can be understood as a large number of "conditional lines" when the individual has enough knowledge, and the "conditional lines" can greatly reduce the energy consumption and make the "perception" clearer.

Therefore, the characteristics of the use of the "Law of Supervision" are not much different from those of the "Law of Causality". In many cases, it can be directly'supervised'. What cannot be'supervised' is either not causally related, or it is too complicated and insufficient energy to make it unusable.

The result of the'monitoring' is directly related to the condition, and the condition can be clearly perceived.

Otherwise, it can only blur perception.

Zhao Yi suddenly thought of Professor Liu's algorithm package. Several algorithm packages have been in the computer for a long time. They have been placed in corner files for a long time. He only opened it once, and he didn't want to open it again if he was annoyed.

Try it now.

The algorithm package sent by Professor Liu was made by his students. There are no problems with operation and debugging, but there are many BUGs, and the algorithm is a bit too complicated. The amount of calculation must be simplified. He asked Zhao Yi to help. Look.

Before Zhao Yi was really incomprehensible, the main reason was that he didn't have enough knowledge in the university, and he couldn't understand some places.

He intends to redesign it, but he is not in a hurry to think about it, Professor Liu is also very complicated to re-make the algorithm package, it is not like Zhang Zhen’s part-time job, he will have money to make it...

Cough.

The last point is not important.

Zhao Yi was never a person to look at Qian. After opening the algorithm package, he directly looked for problems in the Supervision Law.

very effective!

Although there are still some points in the algorithm package that I don’t understand, it is very complicated to understand the past from beginning to end, but the "Supervision Law" directly helps to find the'problem', and some can clearly know the'ideal' "The direction of modification", there are some places where only vague perception, but can understand which code has problems.

Just mark it like this.

Zhao Yi marked the algorithm package from beginning to end, and he could clearly know the "ideal modification direction", and he also explained it in words.

After an algorithm was packaged, he opened the system and checked it and found that 15 points of energy were consumed.

Fortunately, continue!

Two, three, four...

Zhao Yi completed the four algorithm packages in one go, and felt a little headache. He quickly kryptonized a "learning coin", and immediately sent the modified algorithm package to Professor Liu.

There is an explanation, "I found the problem inside, so let's see, Professor Liu, let someone change it!"

...

Zhao Yi fell asleep deeply after finishing it.

He was awakened by a burst of hunger. He opened his eyes and remembered. He was too excited yesterday and forgot to eat dinner, and fell asleep when he felt tired.

There is only one person in the family.

Zhao Yi simply got up and cooked a noodle. He ate a meal and thought, "Xu Chao should be good at cooking, right? He can also serve as a nanny and cook for me when he comes? Responsible for cleaning the house, plus Make a dinner..."

"very good!"

Zhao Yi thought about the small high-rise in the back row. It seemed that there was a house for rent, so he simply rented a room to Xu Chao. Anyway, the rent was only a few hundred yuan, so that Xu Chao could be closer to him so that he could help make a meal at night.

The premise is that Xu Chao can cook.

Zhao Yi quickly sent a message to Xu Chao, "Brother Chao, learn to cook more, so I can find a girlfriend!"

Get it done!

It's almost time to go to school after dinner.

Seeing that it was still early, Zhao Yi simply exercised around the community, ran a circle to make his mind clearer, and then rode downstairs to wait.

Lin Xiaoqing went out on the cart on time, and when she saw Zhao Yi straightened her face, the corner of her mouth made a dissatisfaction tone.

"Humph!"

"What's wrong?" Zhao Yi was a little inexplicable.

Lin Xiaoqing didn't give any explanation, so she rode the bike up, with her small pouting mouth and the appearance that she deliberately didn't see it, it was obviously very dissatisfied with Zhao Yi.

why?

Zhao Yi thought about it for a while. It might have something to do with yesterday.

He asked for a kiss and was rejected...

"That's because I was rejected, okay?" Zhao Yi thought depressed, "I should be angry if I am angry, why is she angry?

Forget it.

Little girl!

After all, there is a certain period of menstruation, and if you have not experienced it, you will inevitably be a little confused.

Ok.

Zhao Yi followed the bike indifferently, and later simply rode faster than Lin Xiaoqing. Lin Xiaoqing was angry and hurried after it, as if he were in a bicycle race with Zhao Yi.

You chase me...

In the end, Lin Xiaoqing got better, fell more than ten meters away from Zhao Yi, and rushed into the school gate by bike.

Zhao Yi slowly followed behind.

This time it was not modest.

On the road, Zhao Yi really worked hard, but his Flying Pigeon bikes weren’t good. Compared with Lin Xiaoqing’s light bikes, the only advantage was weight. However, in competition sports, weight and speed are roughly inversely proportional. It's not fast.

"What!"

"It's time to change cars!"

Zhao Yi grumbled and walked into the classroom.

morning.

Li Lisheng supervised the self-study class.

When the get out of class was about to end, he seriously criticized the students who were not serious in the self-study class. He also took Sun Liang as an example, "Look at Sun Liang! First prize in the National Olympiad!"

"Sun Liang has already been admitted to Capital University in advance and is recommended! He doesn't need to take the college entrance examination anymore. Self-study is still very serious. This is a question of attitude towards learning!"

The students disagree.

Sun Liang is really serious, but what he reads is Mathematical Olympiad, or college mathematics-related books.

These books sound great. They can all be classified as'extracurricular books' when they are placed in the third year class working hard for the college entrance examination. Some teachers even ask students not to study the content of the university by themselves. They are worried that the knowledge of the university will affect it. Exam play.

For example, if university formulas and methods are used in the college entrance examination, points may be deducted.

Li Lisheng still looked at the audience seriously, and said seriously, "I know that studying is usually very tiring. I go to bed and get up early every night. Time is very tight. It is not easy to stick to it. But this is how you are in the third year of high school. You are all sprinting for the college entrance examination. ."

"If you want to play, you can."

"After the college entrance examination is over, or after being admitted to the ideal university, you can play whatever you want..."

Zhao Yi straightened his lips while listening.

"University can play whatever you want?"

If this sentence is irresponsible, I don’t know how many students have been poisoned. High school teachers say so. As a result, they feel that university is a place for “play”.

then……

There are not many people who really study in the university because of memorizing questions before the exam, failing in various subjects, not enough credits, etc.

Zhao Yi feels like this.

The university life in my memory, there are more than 40 people in the class, it is good to have 10 hard-working students. Others, including himself, have memorized the exam questions and passed the exam. Some subjects simply have the ability to make up the exam. They took it in four years. A diploma, I didn’t learn anything at all.

but……

Think about it from another angle.

If you study hard at university, it will be very beneficial to the future, but after graduating from university, it is difficult to have a relaxing time.

In high school, work hard for the ease of university.

University, work hard for ease of work.

Work hard to get promoted and save money.

After marriage, work hard for the children...

Perhaps only when you are dying, will you truly achieve liberation, and you will also think, "After you die, you will be relaxed?"

Of course.

It is hard to say whether it is easy for a person to die. In most myths and legends, the soul of a person will suffer in other worlds as well.

In short, very tired!

So being able to enjoy the ease of four years of university is probably also fulfilling the dream of life...

Cough.

Zhao Yi shook his head hurriedly to get rid of the philosophical thinking in his mind. He is a person who has enjoyed four years of'relaxedness' in university. He must study hard before entering university to make up for his regrets.

other people……

People who should worry about it should worry about it!