Chapter 402: Write a search engine to play
Chapter 403 Write a search engine to play
At the beginning of the year, the search engine was still relatively mysterious to many people, but after twenty years, it is already a public technology, the whole process and various pages The rank algorithm can be downloaded on the Internet, a detailed explanation of the core technology of the search engine, various books at home and abroad have been published one after another, Hu Yiting himself has analyzed multiple algorithms when he was bored, and once thought of pulling a point to invest in a search engine, get out of the heavy research and development business of IC design full-stack engineers, and be a small boss himself, so he is no stranger to this, he can copy one out with his eyes closed, and on this basis, it will be continuously updated and strengthened by technical personnel, if you want to copy, in any case, those are algorithms that are ahead of this era for more than ten years, and you can immediately kill Yahoo in seconds when you take out your hands, and strangle Google in infancy。
Hu Yiting saw that everyone looked at him with admiration, and thought that they didn't believe it but were embarrassed to say it, so he had to laugh and say: "This is really not a difficult thing, the search engine will take three steps to put it bluntly, the first step is to download it, and catch the web page to be analyzed." The second part is the index, which is mainly to write a full-text search engine, preprocess the text content downloaded from the first part, carry out intelligent word segmentation, and then carry out data cleaning, cut out non-keywords and invalid content, and only keep the important parts. Yahoo is a manual index, in fact, in essence, it exposes that their algorithm has a big problem, the too young, too simple Tucson is very naïve.
The third point is really a bit difficult, that is, when there is too much matching content, how to sort, how to rank the content that best meets the user's search purpose, which has a sorting algorithm problem, which involves a scoring system, and the sorting algorithm should rank the high-scoring items in front, which involves the importance of the website and the timeliness of the web page.
But in general, if I had to write it, I would be able to get the product up and running in a week.
Really, it's not really a sophisticated technique. ”
Hu Yiting explained, but where did everyone have any doubts about him, and when he heard the words, he felt that he was simply the god of technology!
The technical personnel who participated in the meeting were all excited, and felt that Mr. Hu was really a great talent! Niu Dafa! To talk about such cutting-edge technology like a cabbage, how much confidence must this have! The whole country probably will never be able to find a second person like Mr. Hu! It is really worthy of being the new favorite of China's mathematical circles! The genius leader of China's IC industry! The pride of the Institute of Computing of the Chinese Academy of Sciences! The hope of domestic processors! The creator of the world's first communication software! The head of the Chongguang Group! The guardian of independent research and development faith!
Several technical directors of Chongguang Software have expressed their opinions, "Mr. Hu, can you let me participate in this project and take me, I have always wanted to know how to write a search algorithm." ”
"Mr. Hu, take me with you! Don't say a week, it's okay for a year! Such cutting-edge search engine technology can be written at a super high level in a year!"
"Mr. Hu, I also want to participate in this project, I will help you catch bugs, I am an expert. ”
Among these technicians, Wang Baoliang knew the difficulty of Hu Yiting's downplay of a few words, and he was excited and said: "Mr. Hu, you are really light! Such a difficult cutting-edge technology, but listening to you is like a leisurely stroll, you are really a genius! You are worthy of being a first-class mathematician in our country!" I should have known that you can even solve the Poincaré conjecture, you can write the multimedia instruction set of the processor single-handedly, and writing an algorithm is not just fun, this kind of thing must be as easy as a child's play in your eyes. ”
Wang Lili was also proud of Hu Yiting, and said proudly: "This is natural, I have never seen a technical problem that Mr. Hu can't solve, in research and development, Mr. Hu is a real kung fu, a real genius." ”
Hu Yiting smiled and waved his hand: "You don't have to praise me, I know how many pounds and taels I have, of course I will do what I can do, so let's write out the algorithm as soon as possible, and strive to put our heavy search engine online as soon as possible and accept the user's inspection." ”
After the meeting, Hu Yiting had drawn up the list of the project team, because he was sure enough to finish writing or copying the algorithm in a short time, Hu Yiting called Wang Baoliang and other five software engineers in one go, and the six of them worked together to write the core algorithm of the search engine.
In the next week, Hu Yiting got up before dawn every morning and wrote algorithms with Wang Baoliang and others in the small conference room of Chongguang Software, which was regarded as a temporary requisition of this room.
In the process of compiling, Wang Baoliang and others really learned what it means to be a genius.
After Hu Yiting simply wrote a software development plan on the first day, he was seen writing code in front of the computer without lifting his head in the next few days, and a set of advanced algorithms that did not need to be modified at all flowed out of his fingertips like a clear stream.
The five software engineers were busy enough just to analyze Hu Yiting's algorithms, and they couldn't get involved in the writing of the core algorithms at all, and they couldn't even make a suggestion, so they could only give him a hand, write web pages, catch a few websites for testing, and write a little edge code under his command.
Hu Yiting chose to write out a set of English algorithms first, because Chinese search and English search are somewhat different in the index, and there is no space between words in Chinese, so the collocation of a word and the two words before and after often has other meanings, so it needs to be adjusted in the algorithm.
In addition, he plans to launch the English search engine first, focusing on the North American market, the current domestic Internet development is still in the embryonic state, and can not show the huge role of the search engine, so the English search engine is naturally the first choice for development.
Over the course of a week, Hu Yiting completely completed the compilation of the search engine and completely suppressed Wang Baoliang and others.
Software engineer Huo Da said to Hu Yiting: "Mr. Hu, I think if you were born in the early days of the founding of the People's Republic of China, you will definitely be a top-secret scientist of the two bombs and one satellite project." ”
Jiao Jingran, a doctor from the Department of Computer Science at Tsinghua University, said: "Mr. Hu, your workload for a week alone is worth a year for me, and this is still when I have ideas, if I don't have ideas, I may not be able to come up with this set of algorithms you wrote in three years." ”
Wang Baoliang exclaimed: "Mr. Hu, your brain is really a national treasure, what do you want, you have to do science, if you do liberal arts, we will have to be lame in China's software engineering." ”
Hu Yiting smiled proudly: "False praise, I am also inspired to write so fast, some things I have no inspiration, writing is like constipation, I can't start at all, there are also that kind of situations." ”
Huo Da said: "Mr. Hu, let's celebrate, how about we go to eat barbecue in the evening? This week, the food delivered by the restaurant has changed its taste today." ”
Hu Yiting said with a smile: "Okay, everyone has fun at night, we should withdraw our temporary group when we go back, and everyone has to go back to Chongguang Software, I am very reluctant." ”
Jiao Jingran said: "I heard that our Chongguang Software is going to move into the newly built East Building over there in the second half of the year?"
Hu Yiting nodded: "Yes." ”
Jiao Jingran laughed, "That's good, I can see Mr. Hu often in the future." ”
Everyone smiled, these days of getting along, so that these technical controllers are completely convinced of Hu Yiting, I can't wait to always engage in project development under his leadership, and follow such a leader who can take the lead, what difficulties are I afraid of.
Wang Baoliang smiled bitterly: "In the future, I will bring projects, you can't ask me to be like Mr. Hu, his ability is a genius, and I am a talent at most." ”
Xu Guoxing, who graduated from Tsinghua University Computer Software Engineering, said with a smile: "Don't worry, Wang, we are not stupid." ”
Everyone burst into laughter.