Original link: http://www.ruanyifeng.com/blog/2022/07/weekly-issue-214.html
Here is a record of weekly tech content worth sharing, published on Friday.
This magazine is open source (GitHub: ruanyf/weekly ), welcome to submit issues, contributions or recommend scientific and technological content.
Weekly discussion forum post “Who’s Hiring? “ , provides a lot of programmer employment information, welcome to visit or post job/internship positions.
cover picture
A construction site for a 3D printed residential complex in Texas, USA. There are very few on-site workers, and scaffolding is no longer needed to build a house. Instead, a 3D printer like a gantry crane is used to continuously go back and forth along the slide rails, printing upwards one centimeter by one centimeter, and a building can be printed in a day or two. ( via )
Topic of the week: Your map is wrong
In 2010, the Web 2.0 Summit was held in San Francisco, USA.
The organizer released an “Internet Map” at the meeting.
This map divides the Internet into different spheres of influence. For example, Google is the search kingdom, Facebook is the social kingdom, and the e-commerce kingdom is Amazon and eBay.
At the time, Zuckerberg, the founder of Facebook, was sitting on the stage. When he saw the map, he said to the host: “Your map is wrong”.
He says:
“The biggest part of the map has to be uncharted territory. The map right now makes the internet world look like a zero-sum game, but it’s not. We’re breaking new ground and creating value, not taking it away from others.”
I think this sentence is very well said. All maps depict the known world, but the larger world is the part that hasn’t been drawn , where the greatest opportunity lies.
If you only focus on the drawn parts of the map, it means that you are limiting yourself to those frontiers. When you grow and develop, it is bound to invade other people’s fields, and the other party will resist desperately.
But if you look beyond the map, there is actually a bigger world with more opportunities where you can build your own kingdom from scratch. Your time and energy are used to solve problems that no one has encountered before, rather than zero-sum competition with your opponents.
In my impression, none of the current Internet giants have become giants by occupying other people’s territory. Each of them grows and develops because of the creation of new fields. For example, Microsoft established a desktop operating system, Amazon created the AWS cloud service, Youtube created a streaming media platform, Netflix established a video-on-demand service, and Douyin is a re-creation of short vertical videos.
Steve Jobs famously said: It’s pointless to ask consumers what they need because they don’t know, and they only realize they need it when you put it in front of them. What he means is to develop uncharted territory, and then lead consumers into it, and they will marvel at how wonderful the new world is, and you will be king here.
Why did Musk become the richest man in the world in just a few years? Because what he has done is unprecedented: the first mass-produced electric car, the first to build a reusable rocket, the first satellite Internet service, the first to immigrate humans to Mars… His every There is huge room for growth in a new field. Once the results are achieved, he will exclusively enjoy the newly added area on these maps.
The next time you look at a map, look for uncharted territory beyond the map, where you build your business and grow. Otherwise, you only see the existing world, and your life is limited there, fighting to the death for a little space in order to win a zero-sum game.
Activity
1. Design and practice of cloud native database
As the core software of the Internet, the database is being further integrated with the cloud infrastructure, transforming from “database on cloud” (On Cloud) to “cloud native database” (In Cloud).
At the 2022 Rare Earth Developer Conference held on July 22, there was a special event “New Generation Cloud Native Database” . Zhang Lei, the technical director of ByteDance Database, as the producer, invited Byte, Intel, Meituan, and Google Cloud. The database experts brought their respective cloud-native database usage experience to share.
Scan the QR code of the poster below, you can register for free, participate in the live speech and on-site exchange, and other activities of the conference. Developers who sign up for the conference will also have the opportunity to draw a lottery to win great prizes.
Technology trends
Humans can now edit genes, but this is risky. In case of editing errors, the consequences are unpredictable. Scientists at Georgia State University in the United States edited the hamster’s genes, hoping to increase its sociality and make it easier to get along with its peers, but they edited it wrong.
The new generation of gene-edited hamsters, instead of becoming friendlier, are unusually aggressive and wild. In the cage, there are fierce fights, biting and chasing with fellow species (below). Scientists cannot explain why this result occurs.
This failed experiment fully revealed the dangers of gene editing. If gene editing is performed on humans, who can guarantee that there will be no mistakes, and what if it leads to abnormal humans?
2. When the sun shines
Someone asked on the Internet, is there a certain moment when the sun can reach the most human beings? After calculation, there is such a moment every year when 99% of the world’s population can see sunlight.
This moment is 11:15 GMT on July 8, which is equivalent to 19:15 Beijing time. At this time, the Americas, Europe, Africa and Asia are all bright, although it is already dusk in the coastal areas of China (the sun is 0 degrees to 12 degrees below the horizon), only Oceania is dark.
At this time, a total of 7.7 billion people saw sunlight, of which more than 6.4 billion were during the day and more than 1.2 billion at dusk. They are equivalent to 99% of the total population of the planet, with less than 80 million people at night.
Musk’s StarLink project officially launched Ocean Internet. As long as their antennas (pictured below) are installed, you can surf the Internet in the sea, and it is said that the network speed can reach 350Mbps.
At present, ocean Internet can only be accessed through maritime satellites, which is very slow and expensive. This business of Starlink will completely solve the problem of ocean Internet access, enabling users to access broadband Internet access in the ocean.
Since the first phase needs to be transferred through the satellite station on the ground, only the offshore areas in Europe and the United States can access the Internet (the light blue part in the figure below). It is said that direct communication between satellites can be achieved by the end of the year, and most of the seas of the earth will be able to access the Internet.
It doesn’t come cheap, at $10,000 for antenna installation and $5,000 for monthly usage. Since Starlink may not enter the country, it is necessary for China to develop its own satellite Internet service to completely solve the problem of Internet access in remote areas and oceans.
4. Pig heart transplantation test
In January of this year, the United States performed the first pig heart transplant, in which a pig’s heart was transplanted into a human body. After the operation, the patient was normal at first, but two months later, he developed various symptoms and died. (The picture above shows a doctor transporting a pig’s heart to the operating room.)
After an autopsy, doctors found a cytomegalovirus in the pig heart, which was suspected to have caused the patient’s death.
To test this hypothesis, doctors this week transplanted pig hearts into two brain-dead patients. The bodies of these two patients still have physiological functions, but their brains are legally dead. With the consent of their families, the remains were donated for experiments. Pig hearts were transplanted into their bodies, and during the 72-hour observation period, everything was normal. This is another step towards pig organ transplantation in humans.
5. Legal liability for autonomous driving
Mercedes-Benz Motor Company promises that as long as it uses its assisted driving system, it will bear legal responsibility and will not make the driver responsible for a traffic accident.
This is in stark contrast to Tesla, whose position is that the current Autopilot can only assist the user in driving, so the user is responsible for traffic accidents.
However, although Mercedes-Benz is willing to take responsibility, there are strict prerequisites.
- The driving speed does not exceed 60 km/h;
- There must be no traffic lights, roundabouts or other traffic control systems on the road, and no construction areas, which means mainly highways;
- The road must be a road approved in the Mercedes-Benz system;
- The driving time must be during the day, the weather is clear, and there are no overhead obstacles (tunnels);
- The person in the driver’s seat cannot close their eyes or sleep.
article
1. Bank face recognition is cracked (Chinese)
This article reports a real case where the bank used face recognition + SMS for identity verification, but it was cracked by criminals and the deposits of several users were transferred.
2. Visit Greece in the game “Assassin’s Creed” (Chinese)
The game “Assassin’s Creed: Odyssey” faithfully restores ancient Greece. This article has organized and compared the scenes in the game with the real scenes one by one. The picture above is the Acropolis in the game, and the picture below is the real Acropolis.
3. Image comparison between Webb and Hubble
This week, NASA released the first images from the Webb telescope. The authors compared the images to the Hubble telescope launched 30 years ago to see how much the images improved. There is also a detailed introduction to the Webb telescope here.
4. How to write a React routing component (English)
This is a script with detailed comments explaining the meaning of each line, less than 100 lines of code, implementing React’s routing.
5. Six misconceptions about .Net technology (English)
This article corrects the name of .Net and explains 6 common misunderstandings one by one, such as thinking that .Net can only be used on Windows systems.
6. How to add OAuth login for static web pages (English)
This article uses Cloudflare’s cloud functions to demonstrate how to implement OAuth login without a backend server, and comes with a sample library .
7. Getting Started with Postgres Indexing (English)
This article briefly introduced the various indexes of the Postgres database and their simple usage.
8. Package management design of NixOS (English)
NixOS is a Linux distribution with a unique package management mechanism, which completely solves the problem of version conflicts. Different versions of software can run at the same time, and new versions can be rolled back to any old version painlessly.
tool
1. Bud
A full-stack web framework in Go language, use it to write the front-end and back-end of the website, compile it into a binary executable file, put it on the server and run it directly without other files.
2. Aspect
A web application that creates React components visually and generates component code quickly.
3. Vexip UI
The Vue component library created by myself, without a big factory background, currently has more than 70 components. (Contributed by @qmhc )
4. gacm
A minimalist Git account management tool, you can use it to switch and manage Git users easily. (Contributed by @alqmc )
5. DBER
A visual design tool for database ER diagrams, used to design database structures, drag and drop to generate model reference relationships, and export SQL statements with one click. (Contributed by @findyourmagic )
6. EnvKey
A server key and configuration management software.
This repository uses GitHub Actions to automatically grab wallpaper images from the Bing homepage every day.
8. C2Rust
This tool can convert C/C++ code to Rust code, in addition to the command line tool, it also provides online conversion.
An open source software used to manage personal documents, you can put PDF, Office, picture files, etc. in it, you need to set up your own services.
resource
This repository collects various one-line Bash commands to accomplish various tasks.
2. Dracula
This site collects dark themes for 266 apps, such as Zsh, Xcode, Vim, Figma, and more. (Contributed by @fish-404 )
Python teaching books, PDF free download, teach beginners to do 22 small Python projects.
4. The art of assembly language
The free e-book “The art of assembly language programming” to read online is an assembly language tutorial for beginners, starting from the most basic binary.
5. place.dog
The site offers dog photos as placeholder images in various sizes, similar to cat photo placeholders .
picture
The photos circulating on the Internet are said to be of a company in Shenzhen, with surveillance probes installed above each workstation.
The monitor probe can see the display of each computer.
The “United Nations Population Report” released this week not only predicts that India’s population will surpass China’s next year and become the world’s largest; it also predicts that by the end of this century, India’s population will be twice that of China (1.53 billion vs. 767 million).
Although India’s internal problems are far more than China’s, but the population is placed there, it will definitely be a major power in the world in the future.
In 2015, an NGO in India printed the 0 rupee note, which looks like the legal 50 rupee note, but has a face value of 0.
The reason is that the corruption of officials in the country is so severe that they even openly demand bribes. The organization printed “I promise not to accept bribes, nor to offer bribes” on the front of the 0-yuan banknote, and also attached a report phone number and report mailbox.
If an official asks for a bribe, you give him the note, the group says, and he might get scared and give up asking for a bribe. However, the usefulness of this approach is doubtful.
abstract
1.Common health problems of programmers
Programming is actually an unhealthy occupation, and it takes your bodily harm unknowingly.
The following are the 9 kinds of physical health problems that programmers most often encounter, hoping to arouse everyone’s vigilance.
(1) Muscle strain (RSI) caused by a large number of keystrokes, which eventually leads to wrist pain.
(2) Staring at the screen for a long time causes problems with the eyes.
(3) Poor sitting posture leads to tight back muscles and eventually back pain, especially in the lower back and upper shoulders.
(4) Intestinal and urinary problems caused by prolonged sitting and holding back urine.
(5) Sedentary causes hemorrhoids and prostate problems.
(6) Drinking too much coffee can lead to dehydration.
(7) Drinking too much coffee and staying up late also leads to sleep disorders.
(8) Lack of sunlight leads to vitamin D deficiency.
(9) Stiffness and soreness caused by lack of exercise.
speech
1,
There are nearly 8 billion people on this planet, maybe 10,000 people who are very similar to you and have a soulmate. The Internet is the most likely way for you to find them and connect.
— “Making Friends on the Internet”
2,
The glaciers of the Himalayas are home to numerous rivers that feed countries from Pakistan to Vietnam. These countries should work together to protect glaciers, but the reality is that countries only sweep the snow before their doors. India owns India’s glaciers and Pakistan owns Pakistan’s glaciers.
— “The Earth is a Climate Orphan”
3.
I’m really tired of people arguing over React classes and hooks, which is better. They both get the job done, and they both write code that is hard to understand and maintain.
What bothers me the most is that there are people who don’t understand how hooks work, but claim that their code is faster with hooks, just because they read somewhere that functional programming is a better way.
4.
SpaceX was the last big manufacturing company in California, where there used to be more than a dozen car factories, but now they’re gone, and we’re even considering moving to Texas now.
— Musk complains about California taxes being too high
5.
I once had an interviewer who couldn’t answer a single question, not even the simplest of questions. He would just say “I don’t know, let’s change the question”.
After a few weeks, I realized he might have been sent to collect interview questions. Because then we hired a girl who answered all the interview questions perfectly, but when she was officially hired, she wrote terrible code.
this week in history
2021 (Issue 166): Is Video Learning Better than Reading?
2020 (Issue 115): Protect Your DNA from Leaks
2019 (Issue 64): How do newcomers enter the Internet industry?
2018 (Issue 13): Why does the weekly only talk about technology?
thanks
The domestic software FlowUs provides a personal column service (see the weekly column ), which integrates “document + table + network disk”, which is suitable for knowledge base, data management, and file storage.
(Finish)
document information
- Copyright statement: Free reprint – non-commercial – non-derivative – keep attribution ( Creative Commons 3.0 license )
- Date published: July 15, 2022
This article is reproduced from: http://www.ruanyifeng.com/blog/2022/07/weekly-issue-214.html
This site is for inclusion only, and the copyright belongs to the original author.