Python multi thread crawling bucket map expression pack

I. application technology: Lxml: parsing web pages Requests Library: get web page information re: replace illegal characters os: process filename Queue: Secure multithreading Urlib: download the acquired pictures II. Design idea: Here, the producer consumer model is u ...

Posted by Spitfire on Sat, 26 Oct 2019 11:19:23 -0700

[original] Linux memory management - zoned page frame allocator - 4

background Read the fueling source code! - by Lu Xun A picture is worth a thousand words. --By Golgi Explain: Kernel version: 4.14 ARM64 processor, Contex-A53, dual core Using tool: Source Insight 3.5, Visio 1. overview This paper will describe memory compaction, memory defragmentation technology. Memory fragments are divided into interna ...

Posted by xwin on Sat, 26 Oct 2019 10:46:59 -0700

MySql database learning

Content review of MySql database learning (1) -Database creation: Name of create database character set character set collate collation --Database deletion: drop database database name -- Amendment: alter database character set character set (utf8) - enquiry: show database ...

Posted by richiec on Sat, 26 Oct 2019 04:19:55 -0700

Develop a game with MelonJS

By Fernando DoglioCrazy technology house Original text: https://blog.bitsrc.io/writin... Forbidden without permission Game development does not need to be limited to users using Unity or unreal engine 4. JavaScript game development has been around for some time. In fact, the latest versions of the most popular browsers (such as Chrome, Firefox ...

Posted by phpnewbiy on Thu, 24 Oct 2019 21:29:28 -0700

unity3D patrol

Game requirements Create a map and several patrols (using animation); Each patrol takes a convex multilateral form with 3-5 sides, and the location data is the relative address. That is to say, each time the next target position is determined, it is calculated with its current position as the origin; ...

Posted by shadysaiyan on Thu, 24 Oct 2019 19:08:55 -0700

A new micro ORM open source framework

Weed3 a micro ORM framework (only 0.1Mb) Source: https://github.com/noear/weed3 Source: https://gitee.com/noear/weed3 In 2005, I started to write the first generation version of this framework... In 2008, I entered into the Internet company restructuring and wrote a 2-generation version... In 2014, refactoring wrote the current generation 3 ve ...

Posted by silrayn on Thu, 24 Oct 2019 01:05:01 -0700

Save pictures for quick app

There is a hole in the saved image in the quick application. If you step on it, you will be hit. Here, you should also distinguish Huawei from other manufacturers. Although there is no problem with the debugger provided by Huawei and the official suppliers, Huawei mobile phones cannot be saved after the application goes online. 1. different poi ...

Posted by ignorant on Wed, 23 Oct 2019 11:10:52 -0700

oop object oriented [inheritance, super, this, abstract class]

Content today 1. Three characteristics inheritance 2. Method rewrite 3.super keyword 4.this keyword 5. abstract class Teaching objectives 1. Be able to interpret class name as parameter and return value type 2. Be able to write out the inheritance format of the class 3. Be able to say the characteristics of inheritance 4. Be able to s ...

Posted by rach123 on Tue, 22 Oct 2019 20:49:23 -0700

Flutter EasyRefresh+ListView+Scoped Model realizes pull-up refresh and paging load

Preface: The Flutter project needs to realize the function of "pull-up refresh and page loading". The page can divide a large amount of data into small segments and load them in batches. This can effectively avoid the problem that the client slows down due to loading all the data at one time. Here I use the EasyRefresh third-party pl ...

Posted by blade_922 on Tue, 22 Oct 2019 08:08:51 -0700

Parameter validation in Java (non Spring version)

1. Parameter validation in Java (non Spring version) 1.1. Preface Why do I always encounter this kind of abnormal problem? We know that most of the time our parameter verification is carried out on the incoming parameters of the controller layer. Our common verification method is to introduce the following jar package, add @ Validated to the p ...

Posted by timbr8ks on Tue, 22 Oct 2019 04:02:19 -0700