Git 2.19 to be Rolled Out

Good news for all programming laguages developers all raound the globe
12 September 2018   149

The developers of the distributed version control system Git released the service update. In Git 2.19, new options appeared for more accurate search by repository, configurations for setting the default sorting of the branches, and tools for comparing the chains of commits.

  • Thegit range-diff tool that compares the two chains of commits. With it, you can see the changes in the content and attached notes, the differences in the order of the commits.
  • New options for the git grep search tool: git grep --column to highlight the first match with the query in the column,-o (in the -only-matching value) to search for full matches and -hiI to skip matches with file names and ignore binary files.
  • The new configuration to configure the default branching sorting is branch.sort.
  • Detection of file transfers from one directory to another in the git merge tool by default.
  • Fixed a vulnerability in .gitmodules that allowed remote code execution.
  • The experimental function git clone --filter = blob: none for partial cloning of objects.
  • Support for the second version of the Git protocol, which Google introduced in May 2018.
  • Switch to the SHA-256 hash algorithm.

Get more info at GitHub.

Git 2.18 was released in June 2018 and contained 903 changes, and in April Git 2.17 made 516 revisions. A detailed overview of the changes in the current version is available in the GitHub blog.

Cloudflare to Develop IPFS Gateway

According to the developers, new gateway will allow to create P2P based websites
20 September 2018   80

Cloudflare told about the IPFS gateway, which will allow creating sites based on P2P network. The company said that access to content will be done without having to install special software on the devices.

As a technology feature, Cloudflare experts note decentralization. Using a standard network scheme with servers involves physical storage of data in one place. Hacking the server or damage to communications as a result of an emergency (for example, a natural disaster) will lead to inaccessibility of information or its loss. The same is threatened with information if the server owner has decided to refuse it.

Cloudflare Network
Cloudflare Network

The IPFS gateway combines computers, on each of which some information is stored, to the worldwide network. Therefore, the inaccessibility of one computer does not mean that the content can not be viewed or downloaded. Therefore, the key differences are two:

  1. With IPFS, anyone can freely post information instead of storing it on remote servers and paying for their services.
  2. Requests for access to data are carried out using cryptographic hashing, rather than by IP address. The query data is converted to a series of letters and numbers, by which the system finds the required files. For example, the query for any information will not like "get information that is located at IP address 93.184.216.34", but the kind "get information with hash sum QmXnnyufdzAWL5CqZ2RnSNgPbvCc1ALT73s6epPrRnZ1Xy". This hash sum is part of the desired file and is on several computers.

The system automatically determines the authenticity of the file. If we take as an example a query with a hash sum QmXnnyufdzAWL5CqZ2RnSNgPbvCc1ALT73s6epPrRnZ1Xy, then when receiving the information it should remain the same. If the hash value differs, then the file has been changed. In other words, the hash-sum can be represented as a unique fingerprint:

IPFS Security
IPFS Security

Supporters of decentralization are also in a number of other companies. Mozilla employees believe that consumers should not be tied to a particular product, brand or platform. In early August 2018, developers published a version of the IoT gateway Things Gateway 0.5. In it, they realized the possibility of loading third-party icons and an interface for complex devices.