Chapter 798: Complex Logical Operations
Watson was smoking in his office, and the ashtray in front of him was already full of cigarette butts, looking a little scary.
Seeing this, Niu Xiaoqiang said, "Professor, why do you smoke so much? ”
Watson snuffed out the cigarette butt: "It's an old habit, every time I program, I can't help but want to smoke, if I don't smoke, I feel like something is missing." ”
Niu Xiaoqiang poured the cigarette butts in the ashtray into the trash: "You can smoke less." ”
Watson nodded: "Well, I'll pay attention, you sit down first, and I'll talk to you about programming." ”
On the way here, Niu Xiaoqiang felt very curious, it stands to reason that Professor Watson's programming level is so high, and general questions must be difficult for him. Even if you have a problem, you shouldn't ask yourself for help. There are a lot of masters in the MIT School of Computer Science, and he should find a solution to these people.
"Professor, what's the problem you're having?"
Watson sighed embarrassedly: "I'm old, my brain is not as flexible as before, and I have degraded a lot in terms of calculations." ”
Computer science is a subject that is closely related to mathematics, especially programming. All programs need to be supported by rigorous logical formulas. The so-called logical formula is actually a mathematical operation.
Mathematics is the most rigorous subject in the world, and it is the cornerstone of all basic sciences. Take computer science as an example, if you want to write a program, you have to perform mathematical operations, and build rigorous logical programs through rigorous logical operations in mathematics.
A program is essentially a mathematical formula, it is built by the superposition of zero and one, if the logical thinking is not rigorous enough, the written program will have loopholes, and in serious cases, the program will not work properly.
Niu Xiaoqiang understood as soon as he heard it, and he smiled slightly: "I know, I'll be in charge of the calculation and provide data support for the professor's programming." ”
The writing of robot instruction programs involves a lot of calculations, not only mathematics, but also physics. For example, if you want the robot to walk, you need to ensure its balance, which involves many problems such as the shift of the center of gravity and kinetic energy variables, and you need to calculate how much the robot arm swings and what is the distance of the step.
If it doesn't calculate the exact data, the robot won't be able to keep its balance and it won't be able to walk.
There's so much to think about just letting it walk, and there's so much more to do if you want it to run or jump. Without strong knowledge and computing power, it is difficult to write relevant programs.
Watson smiled: "With your help, my programming speed will definitely be faster, and the program will be more stable and reliable." ”
The two stopped talking and began to work together.
With Niu Xiaoqiang's help, the efficiency of programming has been significantly improved, and the huge computing problems that plagued Professor Watson have been solved, and in just one afternoon, the core framework of the program has been built in half.
When it was time to get off work, Professor Watson stopped working, and he couldn't help but sigh: "You kid is really good, your brain is like a calculator, no matter what the calculation, you can get the results in the first time, people like you are born for programming." ”
Niu Xiaoqiang was busy for an afternoon, and his head was a little dizzy. He stretched out his hand and rubbed his temples, and said modestly: "The professor has won the award, I still have a lot to learn in programming, if you can find Senior Robert to help, I think you will definitely be more relaxed." ”
Watson nodded: "Robert's programming ability is indeed extraordinary, but unfortunately there is no way to rescue him for the time being, otherwise I wouldn't have to work so hard." ”
Niu Xiaoqiang couldn't help but ask: "Professor, according to your estimate, how long will it take for us to complete the artificial intelligence project?"
"According to the current work efficiency, it can be completed within half a month, and then I will hold a press conference to announce the news of artificial intelligence, as long as the project can be recognized by the relevant departments, we can achieve the goal." ”
Watson's purpose is to rescue Robert and then discuss the World Wide Web. Niu Xiaoqiang's original purpose was to make money through this project. Now he has another purpose, he wants to win over Robert while earning money, so that Robert can work for him in the future.
In a sense, it was more important to win over Robert. This person is indeed a rare talent, as long as people are willing to help him, there will be masters in the future to open a software company, which can save Niu Xiaoqiang a lot of things.
Watson patted Niu Xiaoqiang on the shoulder when he said this: "I've worked hard for you today, you can go back to rest early, and come over tomorrow to help, judging from the current progress, the construction of the core framework should be completed within three days, and then there will be no need to trouble you anymore." ”
Niu Xiaoqiang nodded: "The professor should also go home early to rest, let's see you tomorrow morning." ”
After saying goodbye to Watson, Niu Xiaoqiang walked home. It was already half past five in the afternoon, and Karina was sitting on the sofa watching TV, when she saw Niu Xiaoqiang coming back, she turned her head and asked, "Do you want to take a break and teach me to cook?"
Niu Xiaoqiang smiled and shook his head: "I've already rested on the way back, let's go, let's go to the kitchen." ”
Kailina agreed, stood up and walked into the kitchen with Niu Xiaoqiang.
During dinner, Niu Xiaoqiang took the initiative to ask: "Karina, are you familiar with the second-hand car market?"
Karina nodded: "It's relatively familiar, why, did you decide to buy a car so quickly?"
Niu Xiaoqiang took a piece of braised pork and stuffed it into his mouth, and replied while eating: "Well, I'm going to buy the car first, you can use it during the time I take the driver's license, and when I get the driver's license, it is estimated that the company's renovation project is almost completed, and I will pay you the labor fee I owe you at that time, and you can buy the car yourself." ”
Kailina helped Niu Xiaoqiang search for patented technology, which requires an additional fee, adding up to more than 30,000 US dollars to Kailina.
Karina couldn't help but look surprised: "Can you get the money so quickly?"
Niu Xiaoqiang smiled: "In about twenty days, I will be able to get the R&D funds, part of which is my salary, which is definitely enough to pay for your labor fees." ”
Karina then asked, "When are you going to buy a car?"
"I'll have time in three days, and then you can take me to the second-hand car market. ”
"No problem. ”