Tech Enthusiasts Weekly (Issue 206): How to Survive Disappointment and Doubt

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

Eleven giant trees over 70 meters were discovered in Medog County, Tibet, among which the tallest Bhutan pine is 76.8 meters high, the tallest known tree in mainland China. ( via )

Topic of the Week: How to Get Out of Disappointment and Doubt

A few days ago, I received a private message. Netizens said, Mr. Ruan, I have a question for you.

“After the outbreak in Shanghai, my confidence in the future has been severely damaged, and I have doubts about reality. How should I face this situation?”

I read this letter and felt the same way. I’ve been at home for 50 days and don’t know when it will end. When this happens, no matter who it is, I am afraid it will not be in a good mood.

Let me share how I adjust my mentality, I hope it will be useful to everyone. If the world makes you feel disappointed and doubtful, how do you face it, maintain inner peace, and not let negativity overwhelm you?

First of all, I would like to state that the method I mentioned may not help solve practical problems or change your situation, but it will probably make you feel less uncomfortable and have the strength to endure it in your heart.

The first thing you have to do is, no matter how bad your mood is, you must ask yourself to do three things: eat, sleep, and laugh .

This is what I read from Mr. Lai Jiancheng ‘s book. He said that his wish in life is not to be rich and rich, but to be able to achieve these three points no matter what the situation is. This inspires me a lot.

Think about it this way: Even if you can’t eat, sleep, or laugh, will your problem be solved? Will the world change because of this?

Certainly not. That being the case, why should I torture myself? On the contrary, when you are energetic and awake, you can calmly face and solve the problems you encounter.

Some netizens may say, I also want to eat and sleep well, but I have no appetite, and I can’t sleep in bed, what should I do? Then try to maintain a normal routine, eat when you eat, sleep when you sleep, and when you encounter a problem that cannot be solved, shrug and smile bitterly, admitting that it is beyond your ability.

You know, when you eat, sleep and laugh, no matter how big a psychological problem is, half of it is solved.

The second thing you need to do is to divert your attention from thinking about real difficulties that are beyond your ability all day long.

You have to look a little further. Reality is a wall, and you have to look beyond that wall to see beyond. You can try the following methods.

(1) find a hobby . Hobbies are a parallel world that has nothing to do with reality. The more immersed you are in it, the more you will temporarily forget about reality. Fishing is so popular right now, and I think that’s why. Programmers have natural advantages in this regard, so they might as well immerse themselves in the technical world, figure out more technical details, and improve their skills.

(2) read some biographies . Many biographies of famous people have strong stories and are easy to read. More importantly, when you look at other people’s lives, you will understand that you are not alone in suffering, and you can absorb confidence from it, understand how previous people have done it, and learn from experience. I recommend reading “John Christopher” , a must read if you want to have a strong mind.

(3) take a long trip . The purpose of this kind of travel is not to have fun, but to increase awareness. The best travel will make you realize that there is a world beyond the world, there are always other possibilities in life, and human society has always obeyed the principle of entropy increase in the long run.

If you only think about broadening your knowledge and expanding your mind, traveling abroad is more rewarding than domestic travel, and it can make you feel the diversity of the world. Moreover, poor countries are more interesting than rich countries. I have been to Islamic countries. The tallest building in the city is the minaret. It broadcasts on time five times a day, and the whole city enters prayer time, which makes me feel a lot.

The third thing you need to do is lower your expectations . Life is full of hardships, and expectations are lower, so it is not easy to be disappointed, and what ordinary people can do is inherently limited.

You might as well decide that this is an unwinnable battle and have no expectations of victory. Without expectations, there is no disappointment, but this does not mean giving up, you still insist on doing what you want to do. I love a quote from Richard Stallman : “I’m a pessimist. Others fight to win, I’m not. I always fight and occasionally win.”

Alibaba Cloud Certification Exam

Among the domestic public clouds, Alibaba Cloud has the largest share, and there are many large companies and government units.

Four years ago, Alibaba Cloud launched its own certification exam. Once you pass the exam, it issues a certificate to an engineer that proves you have the skills to use its cloud services.

Many students ask, is this certificate useful?

It is useful if you are engaged in server operation and maintenance work, or cloud computing related industries. (1) As long as your work requires exposure to servers and clouds, this exam can improve your understanding of cloud computing to a certain extent, which will be helpful to your work. (2) Alibaba Cloud has many ecological enterprises, and many companies will first consider Alibaba Cloud when purchasing cloud products. (3) After years of development, this exam has become quite formal and can prove that you can solve business problems based on Alibaba Cloud.

Alibaba Cloud certification is currently divided into three levels, suitable for different groups of people.

  • Junior engineer level (ACA for short): suitable for students who want to get started in the cloud industry.
  • Senior engineer level (ACP for short): It is suitable for students who join Alibaba Cloud related companies and “add up” for promotion and salary increase.
  • Expert engineer level (abbreviated as ACE): It is suitable for the situation that the company has this requirement.

Each level is divided into different directions, you can choose a direction for research: cloud computing, cloud native, cloud security, big data, database, artificial intelligence, Internet of Things, industry certification.

The test is held twice a month, with a full score of 100. As long as you pass the test with a score of 80, you can get a certificate. It does not have a pass rate limit, just look at the score, prepare well, and generally pass.

Kaiba is currently cooperating with Alibaba Cloud to provide agent certification training. Students who are interested in the examination can contact us through the following contact information for consultation and registration.

They take classes in the evening, ACA (junior engineer) training is 15 nights, and ACP (senior engineer) is 30 nights. Apart from the registration fee for the exam, there are no other fees to be paid.

The training includes supporting courses + exam practice simulation question bank + ACP pre-exam proficiency test + practical project proficiency assessment and other services. In case the exam is not passed, they promise to make a free retake within a year .

It is worth mentioning that they provide a real project practical evaluation, the purpose is to allow students to increase project experience and improve practical skills in addition to taking the test. The above figure shows the practical arrangement of cloud-native containers.

Interested students, scan the QR code above on WeChat, or visit this link to consult the exam information for free and register. Don’t forget to add a course advisor to gain access to free public courses. There are a lot of people to add, please be patient.

Technology trends

1. Ear canal custom earphones

Some high-end earphones are customized for the ear canal, and each pair is different. It completely fits the user’s ear canal and pursues the best acoustic effect and wearing comfort.

The manufacturer first pours silicone into the customer’s ear to generate an ear canal model. Then according to the model, make earphones of the same shape.

As you can imagine, such headphones are expensive, with prices ranging from a few hundred dollars to thousands of dollars.

2. Desert Office Building

The famous British Zaha Hadid Architects designed a desert office building for the United Arab Emirates, which is completely futuristic and has zero carbon dioxide emissions in the desert.

The surface and surroundings of the building are covered with solar panels to supply electricity. Half of the building is underground, which helps keep it warm. In addition, large floor-to-ceiling glass windows ensure natural lighting and natural ventilation inside the building.

3. Perfume shopping guide

With so many fragrances available, consumers are often confused about which one to buy. In order to solve this problem, L’Oreal has launched a “perfume guide”, as long as you wear it on your head, after you smell each perfume, it will choose the most suitable one.

Its principle is to record the response of brain waves to different perfumes, judge the emotions of consumers, and give recommendations. It seems that this principle can also be used to recommend other products.

4, bite the teeth certification

Recently, a paper has proposed an incredible identity authentication method. Users can identify their identity as long as they bite their teeth.

Its principle is that the sound of each person clenching their teeth will form a unique sound wave through the structure of the teeth (type of occlusion, strength, whether there is cavities or dentures, etc.) and the ear canal, which will be received by the headset to verify the identity.

The advantage of this method is that it is difficult to crack, even if the user’s toothmark is restored. Moreover, the user is very simple to use, as long as the headset and mobile phone.

5. Business composition of Internet giants

American Internet giants have released their 2021 annual reports, which contain a lot of business composition information.

Apple’s wearable business (headphones + watches) has surpassed the Mac business.

Microsoft’s Windows business is only ranked third, and the largest revenue comes from the Azure cloud business, which is the company with the highest cloud proportion among all major manufacturers, which is unexpected.

More than 80% of Google’s revenue comes from advertising, which is already very high, but it pales in comparison to Facebook, whose advertising revenue accounts for 97.5% of total revenue.

article

1. Snapchat, the national-level AR application (Chinese)

The social software Snapchat has integrated a large number of AR functions and has become the only AR application worthy of the name in the industry.

2. Henan turns off international SMS reception by default (Chinese)

In order to prevent overseas telecom fraud, Henan communication service providers (Telecom, China Mobile, and China Unicom) disable overseas SMS reception by default, and users need to manually send SMS to open it. It is estimated that other provinces will follow up soon. Some overseas websites will send verification codes through SMS, so you need to pay attention to this problem.

3. How to use the online corpus (Chinese)

There are some large English corpora online that can be used to query English grammar, such as preposition collocations, suitable adjectives, and so on.

4. How to check the web code of the Mac UI (English)

Some UIs of MacOS are developed using Web technology. This article teaches you how to use developer tools to view the code of these UIs.

5. HTML comments also work with JavaScript (English)

Did you know that HTML comments <!-- and --> are also JavaScript comments. Of course, it should not be used in JS scripts.

6. Introduction to Barcode Detection API (English)

The Chrome browser of Android phones has a built-in barcode detection API, which can directly interpret barcodes and QR codes. However, other browsers do not support this API.

7. Use gdb to learn C language (Chinese)

This article presents gdb, a powerful tool for learning C language, introduces commonly used gdb commands, and demonstrates how to use gdb to understand the difference between pointers and arrays. (Contributed by @StrokMitream )

8. Differences between 3G and 4G/5G (English)

This article explains the differences between 3G and 4G/5G, as well as the meaning of Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), and Orthogonal Frequency Division Multiple Access (OFDMA). Note that the article is divided into two pages, with the main content on the second page.

9. Regular expressions that can check prime numbers (English)

The author introduces a regular expression /^1?$|^(11+?)\1+$/ that can check for prime numbers.

tool

1. Postgres.js

PostgreSQL database manipulation library for Node.js and Deno.

2. Microwave leak test tool

This web tool can detect microwave leaks from microwaves by placing your phone in the microwave (but don’t start the microwave) and see if it can pick up a Wifi signal.

3. Exping

A mobile app that adds personalized markers to maps and provides a variety of map templates for export and sharing. (Contributed by @designedbyclu )

4. Geeker Admin

A background management system based on Vue3. (Contributed by @HalseySpicy )

5. Musicn

A command-line tool for downloading high-quality music in flac and mp3 formats. (Contributed by @zonemeen )

6. NetEase Cloud Music Upload Assistant

NetEase Cloud Music Mac is not open for uploading for some reason. The author made an uploading tool based on electron. (Contributed by @lulu-ls )

7. zhihutime

The oil monkey script, above the answer of Zhihu, shows how long the answer has been. (Contributed by @lucienlugeek )

8. wireproxy

A wireguard client that provides a local socks interface.

9. Andi

A question and answer robot type (one question and one answer) search engine, the English search effect is better.

10. ClonePilot

A plugin for the VSCode editor, as long as you write a function name, it will automatically copy the existing code to StackOverflow.

resource

1. Type challenges

TypeScript question bank, used to brush questions to improve the ability to write types. There are also video answers made by netizens. (Contributed by @cuixiaorui )

2. Packages for Linux and Unix

This site returns modules matching the search criteria under various Linux distributions. (Contributed by @fish-404 )

3. Thanks-Mirror

This repository organizes the mirror sites of various package managers, mainly domestic mirrors. (Contributed by @eryajf )

4. Visualize the memory layout of Rust data structures

A video with Chinese subtitles that introduces the memory layout of Rust’s various data structures, with visual presentations and written scripts . (Contributed by @trdthg )

picture

1. Colors with infinite temperature

If an object was infinitely hot, what color would it be?

You might think it’s white or orange, but the physicists have calculated that the color will be sRGB(148,177,255), which is the color in the image below.

This is the color of a typical neutron star (neutron stars are extremely hot), and the color of the early universe.

2. The hardest plane geometry problem

What is the angle D in the picture above?

This question does not look difficult, but it is actually not easy, and it is even called the most difficult plane geometry problem. However, it is true that only the knowledge of plane geometry in junior high school can be solved.

abstract

1. Pixar lunch in 1994

In 1994, Pixar was still an obscure animation company, and their first work “Toy Story” was nearing completion, and no one knew how the market would react.

One day, the four main directors of Pixar got together for dinner to discuss what animated films the company would shoot after the completion of Toy Story.

They decided that the next movie should be about insects, because insects, like toys, are easy to model and animate in 3D. They also decided to use Aesop’s fable “The Ant and the Grasshopper” in the story, and let the grasshopper snatch the ants’ food. This is the movie “A Bug’s Life” released in 1998.

They thought that the inspiration for Toy Story came from their usual observations of children, who always believed that toys would come to life when no one was there. So one director suggested another idea for filming the kids: when you open the closet, a monster pops out of it. This later became the 2001 movie Monsters, Inc.

Speaking of children, another director recalled the experience of visiting the dentist when he was a child. There was a fish tank in the dentist’s office, and he wanted to know if the fish in the tank wanted to go home. This later became the 2003 film Finding Nemo.

Towards the end of lunch, they had one last thought: What if humans had to leave Earth in the future, but forgot to turn off the robots that were left behind? Later, this became the 2008 movie “Wall-E”.

In this way, they planned the company’s works for the next 10 years in one meal.

speech

1,

As long as something can make money, it will start to deteriorate.

Around 2000, Google invented an algorithm to calculate the weight of a website based on links. Since then, links are no longer objective and neutral, but become a means of making money. That’s when link spam became a big problem and changed the internet forever.

Hacker News reader

2,

Chinese and Japanese do not have italics and uppercase characters, which prevents them from having the same visual impact by changing glyphs that Latin languages ​​do. As a result, their typography has to create a layered contrast of information through other elements (such as font size, graphic decoration, etc.).

“Why Japanese web design is so different”

3.

In-house software is often very bloated because it is difficult to share code between teams. Enterprises are managed from top to bottom, and the managers of each team cannot manage other teams, which makes communication between teams very difficult.

If you delegate a feature to another team in-house, it incurs a lot of communication and planning costs, and makes your development plan dependent on others, so you might as well do it yourself. That’s why the code for in-house software is often very bloated.

“Why enterprise software is so bloated”

4.

It is not right that Chinese classes always prefer to teach prose and novels that are beautiful and poetic, just as basketball classes should not encourage students to do fancy dribbling. The most important goal of writing is to write clearly, and then to think about writing poetically.

— David Perell

this week in history

2021 (Issue 158): The Devaluation of Content Channels

2020 (Issue 107): Getting Rich and Leveraging

2019 (Issue 55): Instead of opposing 996, we should advocate telecommuting

2018 (Issue 4): Issues in Marxist Studies

subscription

This weekly magazine is published every Friday, and is updated simultaneously on Ruan Yifeng’s web log and WeChat public account.

Search for “Yifeng Ruan’s web log” on WeChat or scan the QR code to subscribe.

(Finish)

document information

  • Copyright statement: Free to reprint – non-commercial – non-derivative – keep attribution ( Creative Commons 3.0 license )
  • Date of publication: May 13, 2022

This article is reprinted from: http://www.ruanyifeng.com/blog/2022/05/weekly-issue-206.html
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment