Category:Program

  • A common API for ES6

    Time:2021-9-18

    preface This article mainly records the common syntax API of ES6 to achieve the purpose of quick reference. It is not suitable for novices to learn. Now the new version of Chrome browser has fully supported ES6 syntax. When testing and learning ES6 syntax, you can directly use Google browser without considering the troublesome Babel […]

  • Telegraf, a sharp tool for understanding index collection

    Time:2021-9-18

    Author Jiang MingmingSource |Erda official account​ Reading guide: in order to let you better understand the design and implementation of APM system in MSP, we decided to write a series of articles on detailed discussion on microservice observation to go deep into the products, architecture design and basic technology of APM system. This is the […]

  • In the simplest way, learn about react’s redux

    Time:2021-9-18

    This paper starts with the create react app project and grows from the most basic code to an actual project.Note: This article does not have most theories, only code, which will be gradually extended. Redux components createStore.js reducer.js action.js 1. Let’s talk about the first one, createstore.js Look at the code first import { createStore […]

  • Several common data structures

    Time:2021-9-18

    Binary tree The characteristic of binary tree is that the key value of the left subtree is less than that of the root, and the key value of the right subtree is greater than that of the root However, in some scenarios, binary trees will have such a structureThe binary tree of this structure is […]

  • React? Setstate is a task. It is a guarantee task

    Time:2021-9-18

    There are three questions in this article, i.e. to test the problems that have been put forward by others, which are the problems I have mentioned in the title/ p> These are the questions that can lead to questions, and the four tests to determine the response to the request and the response to react […]

  • Customize camera with Camera2 API for Android

    Time:2021-9-18

    preface Because the project needs to customize the camera, the author learned about the Android API for camera. Android SDK 21 (lollipop) has abandoned the previous camera class and provided Camera2 related APIs. At present, there is little information about Camera2 API on the Internet. The author collects online information and makes a summary here […]

  • How does jmonkeyengine use appstate to manage and implement game scene switching?

    Time:2021-9-18

    What is appstateGenerally speaking, appstate in JME is to solve the management problem of various game elements in complex game scenes. When the game becomes larger and more complex, various elements in the game (such as models, environments, events, special effects, etc.) will become more and more difficult to manage and control. The existence of […]

  • Springboot multiple data sources

    Time:2021-9-18

    Springboot multiple MySQL data sources: https://segmentfault.com/a/11…Springboot Mongo data sources: https://blog.csdn.net/qq_ 2833…

  • Preview of new features in the software v4.7 version Co:: cancel()

    Time:2021-9-18

    I believe that many users wanted an API to cancel the collaboration process before, but they didn’t add it. Now it is added in v4.7: For specific implementation, see:#4247 ,#4249 New API & constants Two APIs have been added, namely Co::cancel($cid): bool It is used to cancel a collaboration, but cannot cancel the current collaboration […]

  • Optimization of packaging speed after upgrading webpack3. X to 4. X

    Time:2021-9-18

    preface LastWe talked about the optimization of package size after upgrading webpack3. X to 4. X. let’s talk about it todaywebpack 4.x(webpack 4.43.0) is actually upgrading its packaging speed optimizationwebpack4Since then, the packaging speed has been greatly improved, but the search time (narrow the scope)loaderThere is still room for optimization in processing time (multi process) […]

  • Leetcode 1. Sum of two numbers

    Time:2021-9-18

    Given an integer array nums and a target value target, please find the two integers with and as the target value in the array and return their array subscripts. You can assume that each input will correspond to only one answer. However, you cannot reuse the same elements in this array. Example: given num = […]

  • Application of dataX in data migration

    Time:2021-9-18

    Introduction: application of dataX in data migration DataX definition =========== First, briefly introduce what dataX is.DataX is an offline data synchronization tool / platform widely used in Alibaba group. It realizes efficient data synchronization between various heterogeneous data sources, including mysql, Oracle, sqlserver, postgre, HDFS, hive, ads, HBase, tablestore (OTS), maxcompute (ODPs), DRDS, etc. DataX […]