An article on the beauty of DirectX 12

DirectX 12 is Microsoft's latest graphics API library, which is only supported on Win10 system (if it is not Win10, it must be upgraded to Win10). My biggest feeling about this API is that it is particularly complex, because it exposes many underlying methods. Even though I have learned DX9, I still ...

Posted by javiqq on Sun, 23 Feb 2020 03:47:31 -0800

persepolis in open source code learning [2]

  1, Download Interface   1. Main interface download display MainWindow first initializes aria and starts aria2. The startup method is in download.py.  # start aria2         start_aria = StartAria2Thread()         self.threadPool.append(start_aria)         self.threadPool[0].start()         sel ...

Posted by 0riole on Sun, 23 Feb 2020 00:38:50 -0800

Crawling more than 200000 pictures of mn52 beauties website with the framework of scratch, and packing them into exe executable file

Target website: https://www.mn52.com/ The code of this article has been uploaded to git and Baidu. The link is shared at the end of the article Website overview     Target, grab all the pictures using the graph framework and save them locally. 1. Create a sketch project scrapy startproject images 2. Create a spider cd images scrapy genspide ...

Posted by Hagaroo on Sat, 22 Feb 2020 20:51:09 -0800

Computer vision -- the basis of image processing

Catalog 1. PIL-Python image library 1.1 image gray processing code implementation Operation result 1.2 adjustment of dimensions and rotation code implementation Operation result 2. Matplotlib Library 2.1 drawing, tracing points and lines code implementation Operation result 2.2 image outline ...

Posted by gordonrp on Sat, 22 Feb 2020 20:04:12 -0800

Pool technology -- custom thread pool

Catalog Pool technology -- custom thread pool 1. Why use thread pools? 1.1 characteristics of pool technology: 1.2 benefits of thread pool: 1.3 how to customize a thread pool 2. Three methods 2.1. Thread pool method of single thread 2.2. Fixed thread pool size method 2.3 me ...

Posted by Justin98TransAm on Sat, 22 Feb 2020 19:42:40 -0800

Deploy Ethereum smart contract (Hello World)

Ethereum is a public blockchain platform that provides a smart contract function. To develop an application on Ethereum, you need to install Geth based on Go language on its client. The official website is: https://github.com/ethereum/go-ethereum. 1. Enter the command line window 2. Enter in the command line window geth --datadir "E:\geth ...

Posted by stockton on Sat, 22 Feb 2020 06:03:32 -0800

Data structure string (explain KMP algorithm in detail)

1. Definition of string: A finite sequence of zero or more characters, also known as a string Empty string without characters A string with only spaces is called a space string 2. Abstract data type of string: ADT String ( string) Data //The element of a string consists of only one character, and the ...

Posted by seavolvox on Sat, 22 Feb 2020 04:56:51 -0800

PyQt5 basic window control ----- QWidget

Pyqt5 learning path, click to have pyqt5 learning notes QWidget class is the base class of all user interface objects. All windows and spaces are directly or indirectly inherited from QWidget The window control (Widget) is the main element to build the interface in PyQt. Window coordinate system PyQ ...

Posted by ElArZ on Sat, 22 Feb 2020 01:58:24 -0800

python requests log in to e-rui authorized access system and urp integrated educational administration system

Using Python requests library to crawl educational administration system When I was a sophomore, I felt that the school's educational administration system was particularly backward. It was very troublesome to use the functions of score query and schedule check. At that time, the official account of t ...

Posted by Dima on Fri, 21 Feb 2020 23:10:08 -0800

2020.2.21Menu and PopupWindow

menu menus and windows System menu OptionsMenu Code display Effect display Matters needing attention Context menucontextmenu Code display Effect display Matters needing attention Pop-up Menu Code display Effect display PopupWindow window Code display Effect display Matters needing attention ...

Posted by LanHorizon on Fri, 21 Feb 2020 07:15:11 -0800