Chapter 592: Code Repository

readx;

Add a more chapter and ask for a monthly pass

==========

The release and open source of the general version of Linx has attracted some technology enthusiasts to devote themselves to the development camp of Linx. Pen @ fun @ pavilion wWw. biqUgE怂 ļ½‰ļ½Žļ½†ļ½.

They became active in the community, contributing to the development and improvement of Linx, contributing system code, writing and sharing software on the platform.

The official open source community is no longer as deserted as before, and has gradually become lively.

The beauty of LINX is that it is small, modular, and highly adaptable, and as long as it conforms to a certain architecture, it can run smoothly on it, no matter how old the hardware is, no matter how low the configuration.

Within a few days of the general release of Linx, a number of people announced that they had successfully installed Linx on their classic consoles, game consoles, and all sorts of weird computer devices.

This feature of Linx has attracted a large number of electronics enthusiasts to join its camp, and even aroused the fanatical interest of many people in DIY computers, who find or make all kinds of strange accessories themselves, and then solder them together very crudely by hand, and finally form a computer with an ugly and strange shape, but it does work.

From the very 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 computer DIY knowledge, many of these people are the technical backbone of major giant companies, and they have made great contributions to the development and promotion of LINX in the early days.

Lin Hong after the open source of Linx. I started investing time in writing a whole suite of software for source code commits and version control.

Nowadays, source code management is still relatively primitive, and many open source software are set up by themselves FTP or other file-sharing software, and then several core members use FTP to upload and cover.

This can lead to frequent version conflicts, or situations where poor code overwrites good code, causing a lot of loss and trouble for the project.

Based on his own experience and the feedback provided by everyone, Lin Hong spent a week writing a distributed version control software called "Code Repository". The English name is "codehu".

and open source it.

Traditional version control software is centrally managed. All the code is stored on the server, and everyone who wants the code downloads it from the server. If you want to contribute code, you can upload it directly from your local computer to the server and overwrite it.

The "code repository" uses distributed version control, and each developer has a copy of the database on the server's computer, and they can create branch versions locally, commit them locally, and synchronize them with the versions on the server.

The main developer can compare and review the code according to their branch, and finally decide whether to merge the branch and the major version.

Of course, if other developers find a code bug in the main version. You can make a patch locally and send it to the main developer to decide whether or not to apply it to a public server.

In this way, the disadvantages of the previous centralized version control are well solved. This greatly improves the efficiency of collaborative development between developers who are not in the same place.

In addition, the repository also has an instant communication function and a log memo communication function, team players can communicate in their own team chat room, or directly submit team logs for delayed communication, and the project leader can also directly assign tasks to team members to be responsible for the development of a specific feature.

In a word. The original intention of the "code repository" is to enable developers around the world to better contribute code to Linx, and to make it easier and more efficient to collaborate with teams that are more dispersed.

After the code repository was open-sourced, it immediately attracted the attention of the open source industry.

This software, compared to the current mainstream version control software, is simply an artifact, solving almost all the various headaches that already exist, so that developers can focus on development instead of worrying about solving these problems.

"Code repositories" were initially only circulated among the Linx developer community, but they were so good and practical that these developers, accustomed to the convenience of code repositories, couldn't stand the version control software used by their own companies or other open source projects, and strongly demanded that these project leaders upgrade the software and replace the version control software with "code repositories".

On the Internet, information travels faster than any traditional medium, and after the rise of the Internet, it has been said that the Internet has turned the entire earth into a village.

After the code repository was released and open-sourced, it immediately caused a sensation in the industry, even far more than the open-source event of the Linx system itself.

Linus, the founder of Linux, was the first to react by making some minor changes to the open source version of Linx, and then quitting 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 in it at will.

Linus's status in the open source industry has skyrocketed because of the "code repository" software, and in a media interview, Linus personally praised the "code repository" as very easy to use, solving the headache that has seriously plagued him for a long time, and said that he hopes to have the opportunity to meet the founder of Linx.

Linus didn't know that the founder of Linx was his friend Stone back then.

……

……

Time flies, and in the blink of an eye, time has unconsciously bought the threshold of 98 years, and in more than a month, the Lunar New Year will come.

Lin Hong has been rooted in the company for the past few days, ignoring things outside the window, and only engaging in technology research and development.

Since his return, the development of Linx has progressed rapidly, and the frequency of version updates has increased significantly, and with each update, there have been very big improvements.

On the one hand, thanks to the open source of Linx, it has attracted more and more excellent developers to join the development camp of Linx 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, but every time he reached a critical moment, he was indispensable, some problems that may not be completed in the eyes of others may not be completed for several months, but in his hands it is like writing a starter program such as "Hello, World", often a solution can be proposed within a few days, and tasks can be assigned, and then everyone can solve this problem in less than a week or two.

In addition to spending his time on the company's affairs, on the other hand, Lin Hong mainly spent his time on the development of the "superbrain constructor".

There is no way, Shu Xiaoxian whispers in his ear every day that she also wants to superbrain system, and keeps asking in private when she will install it for her.

These days, the superbrain system in Si Qian's brain is working well, which has brought great convenience to her life and work, in her words, she feels that she has now become a robot, and some things involving computing are not difficult for her at all.

Moreover, Si Qian also fell in love with photography, of course, with her own eyes.

Whenever she sees a beautiful scenery or a meaningful image, she will take a picture of the scene and enjoy it slowly.

Digital cameras are just emerging, and there are few such products in China, but she is already using them now, and they are very powerful digital cameras.

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 to indicate the direction of light are missing.

Yes, light also has a direction, and the photos taken by traditional cameras directly ignore these two parameters, and the final photos are completely flat, which is different from the picture we see with our eyes.

Unlike photographs taken with a camera, a photograph taken with the eyes has a distinctive feature that it has no focal length. In other words, there is no such thing as one place being clear and others being blurred, every place is clear and has a three-dimensional effect.

In Lin Hong's words, it is the device that realized the vision of Leonardo da Vinci, which can capture every optical scene.

The version of the camera software used by Si Qian was made by Lin Hong after many improvements.

The reason why the eye has a focus is because the position of the light projected on the retina is different, so that it has different effects on the photoreceptor cells, but the light itself is not clear and blurry, Lin Hong later wrote the upgraded version, he specially dealt with this point, in addition to the three functions of three-dimensional space, in addition to the three functions of the three-dimensional space, two functions representing the direction of the light were also introduced, forming a five-bit all-light field function.

Of course, Lin Hong did not discover this theory, but saw it from the scientific journal "Nature", and some scientists have been studying it for a long time, and put forward the theory of "square photography", and said that this theory will bring a new round of imaging revolution.

Many people expected that it would take at least ten years for this theory to become a reality, but Lin Hong realized it in the superbrain system shortly after the release of this theory.