Hey! I work at Joom on the infrastructure team. In my practice as a code reviewer, I regularly encounter the fact that the author does not understand that the reviewer is not a magic black box into which you can throw any changes and get feedback on them. The reviewer, like the author, as a human being, has a number of weaknesses. And the author should (if, of course, he is interested in a quality review), help the reviewer as much as possible.
I want to tell you how the author of the code can simplify the work of the reviewer and thereby increase both the quality of the review and the productivity of the reviewer. This article may well be used in your internal corporate documentation as a guide for preparing changes for review. It, in fact, was compiled from such a guide.
Why do we do a code reviewYou probably know this without me. Therefore, I will tell you about the very basics, without going into details.
Recently, more and more news appears like "video chips are not enough", "processor shortage", "laptop supplies are under threat." And this is not just news, but a reflection of reality, which is even worse than it might seem. According to experts, problems in the semiconductor market will persist until the end of this year.
The main reason is the digitalization of everything and everyone, the transition to online, the increase in traffic volumes, etc. The industry turned out to be unprepared for the post-covid reality. As a result, we have a global shortage in the chip market that threatens the normal operation of many industries, from automotive to laptop and industrial systems.
It happened during the destruction of a star by a black hole, next to which this star was. As a result, a high-energy neutrino was formed, which became a real gift for earthly science. One of the important conclusions that can be drawn is that such phenomena are natural accelerators and generators of elementary particles, and very powerful ones.
Having traveled insane by our standards, the neutrino reached the South Pole in October 2020, where it was registered by an elementary particle detector. This complex system is located right under the ice, it serves to detect high-energy particles coming to us from afar. A few months later, a telescope in California was able to "see" a flash of light in the very galaxy referred to in the title, and where the neutrino came from.
New GKE mode is more expensive and less flexible, but easier and safer
Autopilot in GKE manages pods for you
Two things are well known about Kubernetes clusters. The first is that it is absolutely the best tool for the mission-critical task of container orchestration. And second, its complexity is a barrier to implementation and a common cause of errors. Even Google, the inventor and main promoter of Kubernetes, admits it.
To simplify the deployment and management of clusters, the company provided all GKE customers with access to the service. Autopilot which google already has been using Borg in its own clusters for a long time ... It is automatic resource configuration based on machine learning.
The moon is the closest neighbor of the Earth, and now mankind continues to actively study our satellite. Not so long ago, the Chinese sent a station to the moon, which completed a number of scientific tasks. Now the European Space Agency plans to join the direct study of the moon. Only not its surface, about which a lot is known, but caves.
Yes, there are caves on the moon, and quite a few. Some of them can serve as a reliable shelter for lunar colonists, which will allow them to avoid a number of dangers that threaten on the surface. ESA collected lots of ideas proposed by scientists and engineers and selected the five most promising. Then another stage of selection followed, so now the agency has three ideas that are planned to be implemented. They are all interconnected.
Summary: due to the presence of hydrogen bonds in water molecules, the configuration of the O-H covalent bonds changes, with the accumulation of additional energy in them, released during cooling and working as an additional heating that prevents freezing. In hot water, the hydrogen bonds are stretched, the covalent bonds are not strained, the energy storage is low-cooling and freezing is faster. There is a certain characteristic time tau required for the formation of hydrogen bonds; if the cooling process proceeds slowly, then the Mpemba effect will disappear. If the cooling process proceeds relatively quickly (up to tens of minutes), then the effect is pronounced. Probably, there must also be some critical temperature, starting from which the effect appears, but this is not reflected in the article.
Would it surprise you if I said that BASIC is still relevant? In addition to being the progenitor of modern home computing, the language is still viable even outside the retro-enthusiast circles. We propose to plunge into a brief overview of the history of its formation, starting from the basics and ending with modern implementations.
Crystal structure of S. aureus Cas9 in complex with crRNA and its target DNA
In past posts, you asked tell in more detail about CRISPR / Cas9 and approaches to genome editing. I just did not include such a voluminous material in the last post. And in this I will not include, for example, the TALEN method, which can potentially be more accurate and has its advantages. But darling, yes.
Let's try to walk through the already well-described method of genetic modification using CRISPR-Cas9 and look a little more broadly at the prospects that it opens up for us. I was wildly interested in the direction of xenogeneic transplantation from pigs to humans. The first, "pre-correction" methods showed that such a pig transplant is killed by the body within a few minutes ... But the method was not discarded at all. Still, this is a promising way not to wait until the next potential organ donor dies, but to grow them in advance. Then it turned out that pigs also carry a pack of specific retroviruses that are built into their genome and can cause an epidemic of a new xenozoonosis. And viruses, too, must somehow be picked out before transplantation. And somewhere here people in white coats appear on the stage, doing something incomprehensible in their laboratories ...
The website and online store "Eldorado" is about 40 thousand purchases every day. There is probably no need to explain what this means for the company's business.
Historically, the store runs on the Bitrix engine with a huge amount of custom code and add-ons. The storage is a MySQL cluster with four master servers.
A significant number of companies have monolithic applications, and many have to work with them. There are plenty of ways to deal with the monolith, but, unfortunately, few people write about successful ones. I hope that the story of how we prop up our monolith (until we saw it) will be of interest to you.
We are well aware that massive architecture can bring a lot of problems. But it is easy to destroy it, by a simple strong-willed decision, it is impossible: sales are going, the site should work, changes for users should not be radical. Therefore, the transition from a monolith to a set of microservices takes time, which we need to hold out: to ensure the system is operational and its resistance to stress.
With the latest breakthrough, the eerie vibrations of a new, pulsating form of matter have been filmed for the first time using a special microscope. It allows us to see this strange, phase form of matter, which is very different from the usual solids, liquids, gases and plasmas.
The picture was taken by Maximus, an ultra-powerful X-ray microscope at the Helmholtz Center in Berlin. It gives us an idea of the behavior of new time crystals, which were first experimentally created in the laboratory in 2016. The discovery promises "outstanding new breakthroughs in basic research," says material published by the German-Polish team in Physical Review Letters.