Advanced operating system process management

1, Process descriptor Process control block PCB: it is a data structure for OS control process operation, and a task struct structure. PCB includes: process identification information (process identifier PID, etc.), execution field information (CPU field, field information needs to be saved during process switching), process image information ( ...

Posted on Wed, 18 Mar 2020 06:43:00 -0700 by whiterecluse

Python+appium automation example: use Python 3+appium to automatically collect Payment Ant forest energy

1. Environmental Construction   1. Download and install appium.On the official website http://appium.io/ Download and install the appium installation package. 2. Install Android SDK.Can be directly in ( https://android-sdk.en.softonic.com ) in the download.You can also install Android Studio first, then install it in Android Studio. 3. Configur ...

Posted on Tue, 17 Mar 2020 19:51:43 -0700 by firecircle

Hook crawler (single and multi thread)

Hook crawler Crawling method Matters needing attention Key example Single thread example Multithreading example Crawled data Crawling method emmmm here is to find the law of page number from the homepage This rule is easy to find, but the page number has changed The following is the main page of ...

Posted on Tue, 17 Mar 2020 01:08:14 -0700 by d-woo

Learning notes: simple source code analysis of zookeeper client

Version 3.4.13 The analysis of the interaction between the client and the server of zookeeper needs to be done from two aspects: the client and the server; Client: it can be seen from the startup command in zkCli.cmd file that the access is: zookeeper main public static void main(String args[]) thro ...

Posted on Mon, 16 Mar 2020 23:30:31 -0700 by bsarika

How to register dubbo with zookeeper

Dubbo's Provider and Consumer will create a registration center when they start. The registration center can choose zookeeper and Redis. Zookeeper is commonly used In Dubbo, zkclient is used to operate the zookeeper server by default. It encapsulates the original customer list of zookeeper to a certain extent. When operating zookeeper, it is m ...

Posted on Mon, 16 Mar 2020 03:35:59 -0700 by Tezread

In depth analysis of Spring source code -- Annotation config application context

Today's pig's foot is annotationconfiguapplicationcontext. It's a long time ago to start looking at this class. It looks like a few simple codes, but there are tens of thousands of them behind it. First, the overall analysis, and then the local analysis. It's called ACAC What is ACAC for This class ...

Posted on Sun, 15 Mar 2020 21:01:18 -0700 by La Parka

Three implementation methods of mybatis: pure xml configuration

** The implementation of mybatis: pure xml configuration ** First, First, add mybatis related dependency <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.5.1</version> </dependency> &lt ...

Posted on Sun, 15 Mar 2020 04:11:52 -0700 by brownca

How to use GAN to color Pokemon

In the previous Demo, we used the conditional GAN to generate a handwritten digital image. So what else can we do with neural networks besides generating digital images? In this case, we use neural network to color the wireframe of Pokemon. Step 1: import and use the library from __future__ import absolute_import, division, print_function, uni ...

Posted on Thu, 12 Mar 2020 20:37:02 -0700 by tkmk

iOS live audio video collection technology sharing

1. The process of iOS live Technology The process of live broadcast technology can be roughly divided into several steps: data acquisition, image processing (real-time filter), video coding, packet, upload, cloud (transcoding, recording, distribution), live player. Data acquisition: obtain real-time audio and video data through ...

Posted on Tue, 10 Mar 2020 19:20:45 -0700 by gilgimech

Oracle architecture

Composition of ORACLE Database: database server + database software + database instance + database file Data server: real hardware devices such as PC SERVER or AIX/HP UNIX. Database software: a bunch of files installed under $ORACLE_HOME. Database instance: memory structure + process structure Memo ...

Posted on Mon, 09 Mar 2020 02:15:59 -0700 by perrohunter