vue entry: (component)

Template: (template) Template declares the mapping relationship between data and the DOM that is ultimately presented to the user. Initial data: (data) The initial data state of a component. For reusable components, it is usually a private state. Receiving external parameters: (props) data transfer and sharing between components through para ...

Added by grandeclectus on Mon, 08 Jul 2019 23:56:10 +0300

30 minutes introduction Vulkan

30 minutes to know Vulkan API This article is written for readers who are familiar with the existing concepts of D3D11 and GL, but want to know more about how they are implemented in Vulkan. So this article will end with a conceptual tour of Vulkan. The article does not seek to be easy to understand (in order to understand the obscure c ...

Added by rathlon on Mon, 08 Jul 2019 22:21:32 +0300

C++ Abstract Programming - Recursive Introduction (3) - Generating Permutation Number (2)

Textbook's original code Last time we talked about the principle of generating permutation numbers. C++ Abstract Programming - Recursive Introduction (3) - Generating Permutation Number (1) So we're going to implement it. In the first article of this article, I specifically mentioned the foreach statement, because this article involves. So le ...

Added by freedomclan on Sun, 07 Jul 2019 05:34:40 +0300

iOS Animation Series No. 9: Implementing Spotted Animation and Playing Fluctuation Indicators

iOS Animation Series, a total of 10. Now I'm going to write the ninth article. Interest can be entered into several other articles through the transmission gate below. Chapter 1: One of the iOS Animation Series: Learning the principles of CALayer and Perspective through actual combat. Make a clock animation with a time-second pointer (Part ...

Added by bcoffin on Sun, 07 Jul 2019 00:34:59 +0300

RxJava 1.x from introduction to abandonment to RxJava 2.x (2)

Preface RxJava 1.x from entry to abandonment to RxJava 2.x (1) This article explains the simplest introduction, and in this section we will learn about RxJava thread scheduling together. text In the beginning of the last article, RxJava was used to handle asynchronous tasks. But by default, subscribe() is invoked in which thread we produce ...

Added by RickyF on Sat, 06 Jul 2019 23:36:13 +0300

Exploring C++ Multithreading: future Source (1)

Several header files supporting multi-threading in C++11.0 standard library are introduced and analyzed in previous articles respectively: <thread>, <mutex>, <condition_variable>. Then the next step is to take advantage of the heat to strike the iron. In this article, we will analyze the asynchronous operation of multi-threadi ...

Added by jbx on Wed, 03 Jul 2019 00:55:10 +0300

Large Data Resource Monitoring-IDC Room Cluster Indicator Acquisition

Background:IDC computer room built by the company, based on IDC computer room to build a large data cluster; need to monitor cluster resources, the cluster uses CDH cluster, collection is mainly divided into two parts: Collection of indexes related to HDFS and YARNIDC machine's own index collection Note: Some may wonder why the CM interface a ...

Added by tomprogers on Sun, 30 Jun 2019 20:02:08 +0300

Go Source: Coprocess Stack

Original: Go Source: Coprocess Stack Tips Go version 1.12 Inspired by Contiguous stacks When it comes to implementation details, you need to Stack Frame And pointer operation basis. Preface Stack management use of go prior to version 1.4 Segmented stack Mechanism implementation.Implementation: When a function is detected to require more stac ...

Added by myfafa on Mon, 24 Jun 2019 19:35:24 +0300

Event Distribution Mechanism of Android Custom View (I)

Event Distribution Mechanism of Android Custom View (I) Say what I said before. In the development, we write a custom control, an inescapable topic is event distribution. And this is also the most common interview question in an interview, but I found that many interviewers even answer this question vaguely. Not knowing why it is so. ...

Added by caaronbeasley on Wed, 19 Jun 2019 22:15:49 +0300

Arbitrary combination judgments are still understood with the Switch? Bit operator~

Scenario Reproduction Many times, when we write programs, there will be such a situation, that is, code multiple-choice operations. For example, the following operations. For example, there are four view views (A, B, C, D, respectively). When the button a is clicked, the background color of view A and B changes. Whe ...

Added by jokerofsouls on Mon, 17 Jun 2019 21:28:32 +0300