AOP knowledge for Android engineers

Author: sloth is not lazy If you have been exposed to Java background development, you must have heard the concept of AOP. What is it and what is its use for our Android development? This blog explores the familiar and unfamiliar concept of AOP from the perspective of Android Engineers: What is AOP AOP is the acronym of Aspect Oriented P ...

Added by SerpentSword on Wed, 09 Mar 2022 08:20:54 +0200

Calculation of ring ratio and N kinds of posture year-on-year

When doing data analysis, we often hear the concepts of year-on-year and month on month. When publishing statistical data, enterprises and organizations usually like to compare the previous historical data with the year-on-year and month on month data to illustrate the changes of the data. For example, the Bureau of Statistics announced that in ...

Added by jpbox on Wed, 09 Mar 2022 08:05:53 +0200

The source code analyzes the difference between @ Configuration and @ Component, as well as the Full and Lite modes of @ Configuration

differenceimport org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; // First code @Configuration // Second code //@Component public class MyTestConfig { // Second code correction // @Autowired // Car car; @Bean public Driver driver() { Driver driver = new Driver(); driver.set ...

Added by jyushinx on Wed, 09 Mar 2022 07:48:30 +0200

Calculation of ring ratio and N kinds of posture year-on-year

When doing data analysis, we often hear the concepts of year-on-year and month on month. When publishing statistical data, enterprises and organizations usually like to compare the previous historical data with the year-on-year and month on month data to illustrate the changes of the data. For example, the Bureau of Statistics announced that in ...

Added by unreal128 on Wed, 09 Mar 2022 07:46:56 +0200

Redis distributed lock redison source code analysis

Distributed lockWhen designing distributed locks, we should consider at least some conditions that distributed locks should meet, and how to design distributed locks efficiently1. Mutually exclusiveUnder the condition of distributed high concurrency, we most need to ensure that only one thread can obtain a lock at the same time, which is the mo ...

Added by kcorless on Wed, 09 Mar 2022 07:44:19 +0200

How to restore fastjson deserialization after the type of generic type is erased?

Original: WeChat official account, welcome to share, reprint, please keep the source. Hello everyone, I'm Hydra ~ in the previous article, we talked about the type erasure of generics in Java, but a little partner left a message in the background and asked a question, how to realize the deserialization process of entities with generics. Today ...

Added by GetReady on Wed, 09 Mar 2022 07:43:13 +0200

Installation and use of yara

Environment and installation Operating system: win10 Installation address: https://github.com/VirusTotal/yara/releases/tag/v4.2.0-rc1 Just under this address Tool use Open in cmd directory Command: yara my_rule my_file The first parameter is your yara rule file, and the second parameter is the detection file, which can be a directo ...

Added by erupt on Wed, 09 Mar 2022 07:38:38 +0200

Fundamentals of test development | Python algorithm and data structure interview question series I (with answers)

⬆️ Pay attention to @ Hogwarts test institute official account, reply "interview", receive BAT big factory test interview real album. 1. Time complexity Known alias = [1, 2, 3], BSet = {1, 2, 3} (1) Find 4 from list and BSet. Which is the worst time complexity? (2) Insert 4 from AList and BSet. Which is the worst time complexity? ...

Added by drexnefex on Wed, 09 Mar 2022 07:23:05 +0200

A simple cool front-end small project (html+css+js) -- 3D picture demonstration

A simple cool special effects page (html+css+js including source code) --- 3D image demonstration preface1, Page effect display2, Function description 1. Open the page and all pictures will rotate automatically2. The size and spacing of pictures can be changed as the mouse wheel scrolls3. Press and hold the mouse anywhere on t ...

Added by hearn on Wed, 09 Mar 2022 07:16:06 +0200

[project practice] implementation of login and registration business (front end + back end + database)

This example is based on Vue JS and mint UI implementation. catalogue 1, Creation of database 2, Connection between back-end interface and database 3, Front end code implementation 1. Relevant codes of registration page 2. Effect of registration page 3. Relevant codes of login page 4. Landing page effect 4, Demo login 5, Project fil ...

Added by medar on Wed, 09 Mar 2022 07:15:08 +0200