Like attention, no more lost, your support means a lot to me!

🔥 Hi, I’m Chouchou. This article “technology Weekly” – distant glimmer, star sea has been collected, there are Android advanced growth route notes & blog, welcome to grow with Peng Chouchou. (Contact information at GitHub)


  • Time this week: 1615737600 ~ 1616342399
  • Progress in 2021:21 percent

Content Output summary

  • The stack data structure | know, monotonous stack have know?”
  • “| queue data structure all know, monotonous queue have to know?”
  • [the Android application | installation process] (Editting…).
  • [the Android | Window mechanism] (Editting…).

Further reading

What kind of monitoring really tells you something is wrong with the system? — 58 By Shen Jian

Single dimension is easy to be missed, multidimensional three-dimensional monitoring is the foundation of monitoring platform. In the design, general, non – invasive.

How can designers Make a Good Product from Zero to one by Luckgg

How to Write high Quality Technical articles? — Zhang Jianfei (Ali

Why write technical articles?

“Feynman learning method” : Writing an essay is the process of forcing yourself to understand the problem in depth (defining the problem, sorting out ideas, articulating clearly). It is the best way to build a knowledge system.

What is a good technical article?

1. Index factors: number of page views, likes, comments and favorites 2. Valuable content 3

How to write a good technical article?

1, the content is useful, we are curious, their own technical opinions and thinking, dare to tell the truth.

2. Clear structure: “Pyramid Principle” : conclusion first, above and below, classification and grouping, logical progression. The apex of the pyramid for a piece of writing is the main point (usually the title), which is supported by multiple points of view around the main point. If there is a lot to express, ideas can be further subdivided into pyramid structures.

Use the 3W2H model to help structure the article:

  1. What is abstract?
  2. Why is abstraction important?
  3. How: How to abstract;
  4. Where: Where abstraction can be used;
  5. How much: How abstract.

Deliberate practice 4. Iterative optimization


NDK

1. Learning content

  • C++ language review (10%)

Algorithms & data structures

1. LeetCode clocks in

  • Monday punch: 54. Spiral matrix I
  • 59. Spiral matrix II
  • Wednesday Punching: 115. Different subsequences
  • Thursday punch: 92. Reverse linked list II
  • Clock in Friday: 1603. Design parking system
  • Saturday punching: 150. Inverse Polish expression evaluation
  • Sunday clocking: 73.

2. Output articles

Data structures & algorithms Tips & Ideas
The stack data structure | know, monotonous stack have know?” The time complexity is optimized by changing space for time
“| queue data structure all know, monotonous queue have to know?” The time complexity is optimized by changing space for time

The logical question

Problem of crossing the river

Three lions and three wildebeests are running for their lives as a fire sweeps through the grasslands. To escape the flames, they must cross a river where crocodiles lurk. Luckily, there happened to be a small raft nearby that could accommodate up to two animals at a time. It is important to note that wildebeests are a target for lions, and once lions outnumber wildebeests on either side of the river, even for a short time, lions will instinctively attack wildebeests. So, how can all six animals safely cross the river without being attacked?

Select-retrospective thinking: Enumerating every choice at all times and the consequences they led to. If this choice is not valid, go back to the previous state and select another choice.

It takes 11 steps.


engineering

Git Commit Template plugin

IDEA plugin to assist in the specification of the commit log

<type>(<scope>) : <subject>

<body>

<footer>

[Skip CI]
Copy the code
  • Submit type
type describe
feat Feature:
fix Bug fix
docs Changes to documents or comments
style Change the code format to D, such as format
refector Code refactoring, such as using design patterns
perf Performance improvement
test Added unit tests or automated scripts
build Changes that affect the build
ci Continuous inherited changes
chore Other minor changes
revert The rollback

  • Scope of impact: indicates the level of change impact, which is generally business-oriented, for example, divided into modules such as User and ORDER.


  • Topic: a summary of changes;

  • Text: detailed change description;

  • : Additional hook logic, such as jIRA work order closing;

  • [Skip CI] : Set the CI tool to ignore this commit.

Aurora Share JShare — Aurora

SDK source code reading thinking:

1. ShareParams: Use Map

to store parameter values instead of defining variables. The disadvantage is that the value/assignment is cumbersome, and the advantage is that globally only this class is needed to pass shared arguments. If you use the variable definition approach, you need to define the subclass to extend the sharing channel, which means that the sharing function module needs to use generics, the source code is more difficult to read, but the benefits of generics are low. PlatformConfig: third-party SDK configuration class, output data structure is Map

. 3. PlatformManager: Sharing platform global management class (not public), collect PlatformName-PlatformImpl class name mapping, use reflection to create sharing platform implementation. ShareListener: Share callback. The callback parameters include sharing platform and ShareParams. 5. Confusion: Integrating JShare can be done without integrating platform SDK. How is the technical principle accomplished?
,map>
,object>


Technology to share

[no]


Read the extract

Behind the Scenes Products: Building Breakthrough Product Thinking (Chapter 2, Section 4). By Wang Shimu

Young People in China are increasingly lonely at heart (a product of the pressures of long-term competition). People’s material living standards are improving, but there is still a long way to go before they are well off. Everyone in my circle of friends believes in financial freedom, but most of them don’t have a clear goal and fight for it. Every year seems to be no different from the previous life, we are not satisfied, but do not know where this dissatisfaction comes from. Everything seems to be in a state of anxiety. Anxiety and loneliness are typical of young people in today’s fast-paced life (especially in China’s first-tier and second-tier cities), and lack of satisfaction in real life makes users increasingly eager for emotional resonance.

Words and music just happen to be a good way to connect resonance and memory fragments. Both can open people’s imagination, and the comments section of netease Cloud Music is where users can resonate. A touching song gathers people who resonate with it, and the best ones with books and poems write comments that generate stronger emotional resonance among a wide range of users. The value of commentary goes beyond the words themselves and is a real consolation.

A good article is composed of the text itself and the reader’s imagination through the text. A good product is composed of both the product itself and the feelings obtained by users in the process of using the product.


Always believe that something wonderful is about to happen!