In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Bostar's rule
Bostar's law, also known as the law of robustness, its main meaning is "conservative when sending, open when receiving".
Since it is a rule, it is the principle that should be followed in practice, and it is also a standard to test whether the design is successful or not.
The Berstar rule is reflected in many of the programs we use, the most commonly used being the browser that everyone uses every day. We all know that the version of the HTML language has changed, from the earliest 2.0 to the present HTML5, each version has been expanded on the basis of the original, HTML5 is a revolutionary change. Browser vendors understand that they have to support all versions, and they won't stop supporting previous versions of HTML just because everyone now writes websites in HTML4.1 or HTML5. The reason is simple: browsers must be backward compatible, which can be figured out with your toes. When we understand "open on reception", we should know that backward compatibility is a self-evident part of the law.
In fact, what embodies the browser's spirit of "open when receiving" not only means that the browser can perfectly parse and render a website that conforms to a certain version of the HTML standard, but also refers to a website that does not follow the HTML standard and writes freely and freely, the browser can still parse and render as much as possible. That is, one or more errors in the website should not be the reason for the browser to give up parsing, because the browser faces thousands of different websites, which must be sufficiently inclusive and open enough to win the favor of most people.
"conservative when sending" is a warning to web developers that your HTML code should be written as standard as possible so that it can be easily parsed by others (browsers). This is not the field of art and design, and maverick and non-compliant will be despised. And you don't know which browser your users will use, and you don't have to know the truth. In order for your users to use your site with as few problems as possible, it is absolutely necessary to follow HTML standards.
Bostar's law is a bit like a social principle in human society, "be strict with yourself and be tolerant of others". People who can do this principle believe that everyone is willing to make friends with him. And software programs that can achieve Berstar's law are also popular with everyone.
Pareto principle
Pareto principle, that is, the Pareto effect, also known as the 28 rule, the most labor-saving rule. Its core content is that "20% of efforts can produce 80% of output." It was first proposed by Pareto, an Italian economist, that the 28% ratio means that 20% of the people in the economy control 80% of the wealth. This principle actually coincides with the power-law distribution in all areas of nature, not just in the economic field.
In the field of human resources management, they believe that 20% of the people in the company create 80% of the value of the company. according to this law, one of the key points of human resource management is to find out how to find these 20% of the key employees and establish a reasonable benefit distribution mechanism. keep these people.
In life planning, people may have a lot of expertise, but few of them really play a role. Therefore, it is necessary to be good at mastering your own advantages and looking for things that you like very much, are very good at, and are not very competitive, and there will be gains. When it comes to arranging your time, you can only do something if you don't do something. Focus your time and energy on key people, key links, key positions and key projects.
The application in the field of computer programming is that "20% of the effort can reach 80% of the use cases, and the remaining 20% of the use cases require 80% of the effort." so in a specific project, it is reasonable to design only for 80%. In terms of implementation, 20% of the code can achieve 80% of the functionality, while the remaining 20% of the functionality requires 80% of the code, which tells us that we should find the 20% of the code and optimize them as much as possible.
The two-to-eight ratio revealed by the Pareto principle can guide us in many other aspects of life. It is the most labor-saving rule to grasp 20% of the key part and achieve 80% success with only 20% of the effort.
Metcalfe's law
Metcalfe's law reveals the law of the development of network technology: "the value of the network is proportional to the square of the network users." Everyone is on facebook because everyone is on facebook. A colleague in our company recalled his confusion when he applied for email mailbox. What's the use of this thing? I'm the only one who has it. Who do I email? Now he doesn't have to be confused, because everyone has an Email email. The enlightenment of Metcalfe's law to the field of computer programming, especially the field of Internet products, is that the only way to enhance one's own value is to find ways to expand your user base at the early stage of development. The larger your user base, the more users you will attract. This can also understand why so many Internet services are initially free to users, or even forever. Because "as long as there are enough users, there is no shortage of money."
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 220
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.