The use and advancement of pygame

Use of pygame Pygame is a cross platform Python module designed for video games, including images and sounds. Based on SDL, real-time video game development is allowed without being bound by low-level languages (such as machine language and assembly language). Minimum game development framework impo ...

Posted by expert_21 on Fri, 12 Jun 2020 12:30:57 +0200

Social security card information reading

In recent years, with the popularization and development of medical intelligent self-service terminal, the unattended self-service terminal realizes the patient's independent appointment, registration, report query and other services. It is not only convenient for patients to see a doctor, but also i ...

Posted by daftdog on Fri, 12 Jun 2020 12:29:19 +0200

Java uses RXTX for serial port communication

About RXTX RXTX is an open source java class library that provides serial and parallel port communication. The files published by this project follow LGPL protocol. RXTX project provides compatibility under windows, Linux, Mac OS X, and Solaris Operating Systems javax.comm The implementation of the ...

Posted by nightowl on Fri, 12 Jun 2020 11:01:05 +0200

GStreamer official introductory course 5: integrating GStreamer with your graphical interface

This tutorial demonstrates how to integrate GStreamer into a graphical user interface (GUI) toolkit like GTK +. Basically, GStreamer is responsible for media playback, while the GUI toolkit handles user interaction. The most interesting part is that the two libraries must interact: instruct GStreamer to ...

Posted by kishore_marti on Fri, 12 Jun 2020 10:19:34 +0200

Python crawler example: News total crawling

Python crawler example: News total crawling preface analysis Web page parsing Stock data source Proxy IP code implementation summary preface Some time ago, due to the needs of tasks, it was necessary to climb the number of news of Shanghai Stock Exchange 50 index component stocks on certain da ...

Posted by HavokDelta6 on Thu, 11 Jun 2020 07:10:42 +0200

Asyncpy use documentation

1 create project Install the required environment python version needs > = 3.6 Installation command: pip install asyncpy After the installation is complete, you can start creating a crawler project. Create project command: asyncpy genspider demo Create a project called demo. After the creation is successful, open the project file. The projec ...

Posted by xnor82 on Thu, 11 Jun 2020 05:39:52 +0200

Kubernetes: Build a Windows version of Kubernetes based on WSL2 and Kind or Minikube

The original was published in Chinese Community of kubernetes , an original translation for the author, Original Address More kubernetes articles, please pay more attention Chinese Community of kubernetes Catalog Why use Kubernetes on Windows? Prerequisite WSL2: Combined with Ubuntu [Optional ...

Posted by shantred on Thu, 11 Jun 2020 03:17:10 +0200

Spring Cloud upgrade road - Hoxton - 4. Use Resilience4j to achieve instance level isolation and fusing

How not to enable Hystrix Because our entry annotation class is replaced by SpringBootApplication from @ SpringCloudApplication, spring cloud circuit breaker will not be enabled. The introduced Hystrix dependency has no effect. Please refer to Section 2 of this series: The way to upgrade Spring Cloud ...

Posted by cedricm on Fri, 05 Jun 2020 05:40:36 +0200

Using WindowManager to add View -- the basic principle of floating window

Although there are many types of "windows" in Android system, only two types are often used: one is managed by system process, which is called "system window"; the other is generated by application program, which is used to display UI interface. If you are familiar with window manager service (WMS), everything is very simple ...

Posted by c0le on Sat, 30 May 2020 02:18:58 +0200

[iOS] Beginner's Advancement: AppDelegate's Slim

Is the code inside an AppDelegate messy? Are there thousands of lines of code in an AppDelegate? image.png AppDelegate serves as the entry to the program.You should have simple code and a clear style so you can read it yourself and with the developers. So adding a new category to AppDelegate is the easiest and clearest way to do it i ...

Posted by solon on Tue, 26 May 2020 19:28:06 +0200