Chapter 592 Code Repository
Add a new chapter, ask for a monthly ticket... The release of the general version and open source have attracted some technology enthusiasts to invest in the development camp of LINX.
They began to be active in the community, making suggestions for the development and improvement of LINX, and also contributing system code to write and share software on this platform.
The official open source community is no longer as deserted as before and gradually becomes lively.
LINX is small, modular and highly adaptable. As long as it conforms to a certain architecture, no matter how old the hardware is or how low the configuration is, it can run smoothly on it.
Within a few days after the release of the general version of LINX, many people announced that they had successfully installed their classic machines, game consoles, and various strange computer devices... This feature has attracted a large number of electronic enthusiasts to join its camp, and even caused many people to With a crazy interest in DIY computers, they find or make all kinds of strange accessories by themselves, and then weld them together very roughly by hand, and finally form an ugly and strange-looking computer that can really run.
From the beginning, the LINX open source community has gradually formed a unique computer DIY culture. A large number of hardware hackers who are determined to make their own computers are stationed here to discuss and share knowledge about computer DIY. Many of these people are the technical backbone of major giant companies. They have made great contributions to the early development and promotion of LINX.
Lin Hong after the open source of LINX. Then I began to devote time to writing a complete set of software related to source code submission and version control.
The current source code management is still relatively primitive. Many open source software set up their own FTP or other file sharing software, and then several core members use FTP to upload and overwrite.
This will lead to frequent version conflicts, or poor-quality code covering excellent code, causing great losses and trouble to the project.
Based on his own experience and feedback from everyone, it took Lin Hong a week to write a distributed version control software called "Code Warehouse". The English name is... and open source it.
The traditional version control software is centrally managed. All the code is stored on the server. If you want the code, you can download it from the server. If you want to contribute the code, upload it directly from the local to the server for overwriting.
The "code repository" uses distributed version control. Each developer's computer has a database copy of the server. They can create a branch version locally and submit it locally to synchronize with the version on the server.
And the main developers can compare and review these codes according to their branches, and finally determine whether to merge and overwrite the branch with the main version.
Of course, if other developers find code bugs in the main version. You can make a patch locally and then send it to the main developer to decide whether to apply it to the public server.
In this way, the disadvantages of the previous centralized version control are well solved. It greatly improves the efficiency of collaborative development among developers who are not in the same place.
In addition, the code warehouse also has instant communication function and log memo communication function. Team members can communicate instantly in their own team chat room, or directly submit team logs for delayed communication. Project leaders can also directly refer to tasks. Assign to the members of the team to be responsible for the development of a certain function.
In a word. The original intention of writing "code repository" is to enable developers around the world to better contribute code to LINX, and to make it more convenient and more efficient and more decentralized team development.
After the code repository was open source, it immediately attracted the attention of the open source industry.
This software, compared with the current mainstream version control software, is simply an artifact, which solves almost all the existing headaches, so that developers can devote all their energy to development, instead of worrying about solving these problems.
At the beginning, the "code repository" was only circulated among the LINX developer group, but it was too excellent and practical. After these developers got used to the convenience of the code repository, they couldn't stand the version control software used by their companies or other open source projects. They strongly required These project leaders upgrade the software and replace the version control software with a "code repository".
On the Internet, the dissemination of information is faster than that of any traditional media. After the rise of the Internet, some people said that the Internet has turned the whole earth into a village.
After the code repository was released and opened to the public, it immediately caused a sensation in the industry, and even far exceeded the open source of the LINX system itself.
LINUS, the founder of LINUX, first reacted. He made some detailed modifications based on the open source version of LINX, and then exited the version control software developed for the LINUX system, called GIT.
Because the open source protocol of the code repository is very open, as long as it is not used for commercial profit, anyone can use and modify the code at will.
Because of the "code warehouse" software, LINX's position in the open source industry has soared. In a media visit, LILINUS personally praised the "code warehouse" as very useful, which solved the headache that has seriously plagued him for a long time, and said that he hoped to have the opportunity to meet the founder of LINX. .
LINUS doesn't know at all that the founder of LINX is his friend in those years... Time flies by, and in a blink of an eye, time has unconsciously bought the threshold of 98 years. In more than a month, the Lunar New Year will come.
Lin Hong has been rooted in the company these days, turned a deaf ear to things outside the window, and only engaged in technology research and development.
After his return, the development of LINX has progressed rapidly, the frequency of version updates has been significantly accelerated, and every update has been greatly improved.
On the one hand, thanks to the open source of LINX, it has attracted more and more excellent developers to join the LINX development camp and spend all their spare time on it.
On the other hand, this is also inseparable from Lin Hong's active promotion and contribution to the code.
Although he did not participate in the whole process of development, every time at a critical moment, his figure is indispensable. Some problems that may not be completed in the eyes of others may not be completed for a few months are like writing an entry-level program such as "Hello, World" in his hands, which can often be solved within a few days. Solve the plan and assign tasks, and then it will take less than a week or two for everyone to overcome this problem.
In addition to spending time on the company's affairs, Lin Hong, on the other hand, spent his time mainly on the development of the "superbrain constructor".
There was nothing she could do. Shu Xiaoxian told him in his ear every day that she also wanted a super-brain system, and kept asking in private when to install it for her.
These days, the super-brain system in Si Qian's brain has been running well, which has brought great convenience to her life and work. In her words, she feels that she has now become a robot. Some things involving computing can't beat her at all.
Moreover, Si Qian also likes photography. Of course, she shoots with her own eyes.
Whenever she sees a beautiful scenery or a meaningful picture, she will take a picture of the scene and enjoy it slowly.
Digital cameras have just emerged, and it is rare to buy such a product in China, but she is already using it now, and it is a very powerful digital camera.
At least, Si Qian knows that whether it is a traditional camera or a digital camera, the photos taken by it are flat and focused on a certain focus.
In Lin Hong's words, two parameters used to indicate the direction of light are missing.
Yes, the light also has a direction, and the photos taken by the traditional camera directly ignore these two parameters. The final photos are completely flat, which is different from the picture we see with our eyes.
Unlike photos taken with cameras, photos taken with eyes have an obvious feature that they have no focal length. That is to say, there is no phenomenon that one place is clear and other places are blurred. Each place is clear and has a three-dimensional sense.
In Lin Hong's words, it is a device that Leonardo da Vinci once conceived, which can capture every optical scene.
The version of the photography software used by Si Qian is made by Lin Hong after many improvements.
The reason why the eyes are in focus is that the position of the light projected on the retina is different, which has different effects on photosensitive cells. However, the light itself is not clear and blurred. Lin Hong later specially dealt with this when writing the upgraded version, except for the three-dimensional space. Three functions, in addition to two functions representing the direction of light, are introduced to form a five-digit full light field function.
Of course, Lin Hong did not find this theory, but what he saw in the scientific journal Nature. Scientists have studied it for a long time and put forward the "square photography" theory, saying that this theory will bring about a new round of imaging revolution.
Many people expect that it will take at least ten years for this theory to become a reality, but Lin Hong realized it in the superbrain system soon after the theory was released. ( To be continued) RQ