A brief introduction to managed execution and CLI
Catalog
CIL and ILDASM
View CIL output of myApp.dll
Use ILSpy to view the decompiled code of myApp.dll
The processor cannot interpret the assembly directly. Assemblies use another language, the Common Intermediate Language (CIL), or intermediate language (IL) 1.
The C compiler converts the C source ...
Posted by stenk on Tue, 10 Dec 2019 15:02:29 -0800
OpenGL ES rendering stereograph
I. understanding
The vertex data is stored in the applied buffer, which is passed to the shader by the data bus (if it is a chip shader, the vertex must also be converted into a chip), and finally rendered to the coating by the shader;
Two, train of thought
1. Set the coating;
2. Create context;
3. Clear the cache;
4. Create render buffer ...
Posted by MindOverBody on Tue, 10 Dec 2019 14:47:14 -0800
amazon connect (call center)
background
In order to improve the communication efficiency of customer service department, the company chose Amazon Connect service of Amazon after investigation, because Alibaba cloud was not selected for foreign business, so there was a hole.
Amazon Connect background
We need to create "contact flow" in the background, that is, ...
Posted by rusbb on Tue, 10 Dec 2019 13:37:28 -0800
[VTK] vtkTextActor position setting problem
Previous articles [vtk] get the length and width of vtkTextActor We know how to get the length and width of text.
This paper discusses the position of vtkTextActor when its size becomes wider.
In vtkTextActor, SetPosition method is provided. From the annotation, it can be seen that its parameter corresponds to the lower left cor ...
Posted by rblais666 on Tue, 10 Dec 2019 07:08:49 -0800
Let Vue also use Redux
Last weekend, I saw the source code of Vuex. I was inspired. Why are all Vuex. So Dongtong wrote a plug-in one afternoon to help Vue use Redux
Gayhub Url
Vue-with-Redux
This is a plug-in used to help Vue use Redux to manage state. Redux is a very popular state management tool. Vue with Redux provides you with a way to use Re ...
Posted by AstroTeg on Tue, 10 Dec 2019 04:23:05 -0800
The use of c/c + + multi thread unique lock
The use of multi thread unique lock
Features of unique lock:
1. Flexible. You can create an instance of unique_lock without locking, and then manually call the lock_a.lock() function, or std::lock(lock_a,...) ), to lock. When the instance of unique lock is destructed, the unlock function will be called automatically to release the lock.
unique_ ...
Posted by Robkid on Mon, 09 Dec 2019 22:46:02 -0800
GIL and cooperation
I. GIL global interpreter lock
Demonstration
'''
python interpreter:
-Cpython c language
- Jpython java
1. GIL: global interpreter lock
-For multiple threads opened in the same process, only one thread can execute at the same time, because Cpython's memory management is not thread safe.
-GIL global interpreter lock is essent ...
Posted by jorgep on Mon, 09 Dec 2019 17:14:00 -0800
AngularJS integrated wangedit rich text editor
Recently, the project requirements built with AngularJS2(ng alain) need rich text. Many of them are found online, either too heavy or without detailed integration steps.
Below is a detailed list of how I can integrate wangedit into my project (project name myPro).
Specific operation steps
Operation steps reference:
https://github.com/fengnovo/ ...
Posted by Hellusius on Mon, 09 Dec 2019 13:34:16 -0800
WPF: WPF drawing curve
Sketch
In the development of WPF, it is often necessary to draw curves, histograms, etc. Although WPF has its own basic functions such as drawing graphics, a very basic principle of programming is to avoid repeated wheel building. The official WPF drawing curve open source library of Microsoft was found on GitHub: InteractiveDataD ...
Posted by andreasb on Mon, 09 Dec 2019 11:22:37 -0800
Python uses 61 lines of code to realize picture pixelation
cause
It's interesting to see the pixel pictures on the Internet, so I plan to write one with some PIL libraries of python.
Implementation ideas
Divide a picture into several blocks. The color of each block is equal to the color with the most colors in this color block, as shown in the following figure.This image takes 2 × 2 pixels as the ...
Posted by trp on Mon, 09 Dec 2019 09:46:43 -0800