python3-cookbook notes: Chapter VI Data Encoding and Processing

Each section in the python3-cookbook explores the best solution of Python 3 to a given problem in three parts: problem, solution, and discussion, or how Python 3's own data structure, functions, classes, and so on, can be better used in a given problem.This book is very helpful for understanding Python 3 and improving Python programming capabil ...

Posted by Slashscape on Sat, 22 Feb 2020 08:48:46 -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

RabbitMQ from entry to Mastery Series: details of work queues

(1) RabbitMQ work queue model structure The work queue model increases the number of consumers compared to simple queues. The producer provides the message to the message queue, and the consumer can get the message in the queue. By default, polling distribution is used to distribute messages t ...

Posted by neveriwas on Fri, 21 Feb 2020 05:52:43 -0800

Java language introduction ๐ž“œ 02 | object oriented and common class ๐ž“œ day10 | interface, polymorphic

Chapter I interface 1.1 Interface Overview and life examples Interface is a common standard As long as it conforms to the standard, it can be used by all 1.2 basic format of interface definition Interface is a kind of reference data type, and the most important content is abstract method. D ...

Posted by nikes90 on Fri, 21 Feb 2020 04:08:02 -0800

Breakthrough CRUD universal tree tool class encapsulation

0. You may be able to gain after learning this article Experience the process of gradual optimization and perfection of a tree tool from the beginning Design and implementation of tree tool package Finally, we get a ready to use tree tool source code Students who have some knowledge and use of the front-end tree components can dir ...

Posted by ale8oneboy on Fri, 21 Feb 2020 02:26:49 -0800

VTK? Learning? Image smoothing? Mean filter? Gaussian filter? Median filter? Anisotropic filter

1. Mean filtering Mean filtering is a kind of smoothing method which is often used. The value of each pixel of the corresponding template is 1. stay VTK There is no class to implement mean filtering directly, but we can do it by image convolution. Convolution operation passes vtkImageConvolve Class ...

Posted by blueman on Fri, 21 Feb 2020 02:14:08 -0800

netty learning note 14 - TCP packet sticking and unpacking

Basic introduction of TCP packet sticking and unpacking TCP is connection oriented, flow oriented, and provides high reliability services. There should be one-to-one comparison of socket s on both sides of the transceiver (client and server). Therefore, in order to send multiple packets to the server ...

Posted by ProblemHelpPlease on Fri, 21 Feb 2020 00:06:39 -0800

Netty - DefaultEventExecutorGroup feature of concurrent failure cases

In order to improve the performance, if the ChannelHandler implemented by the user contains complex business logic or may cause synchronous blocking, it is often necessary to enhance the concurrency capability through the thread pool. There are two strategies for adding the thread pool: user-defined th ...

Posted by jannoy on Thu, 20 Feb 2020 01:12:50 -0800

[wechat assistance] at present, python helps you to find out Wuhan friends in your circle of friends and give them care

I am a programmer Xiaoye, bringing you original and wonderful technical content. The epidemic situation is unbearable for both individuals and enterprises. I hope that the epidemic will pass as soon as possible, which is a small wish of ordinary people. Relatives and friends around us are more or less ...

Posted by badassrocker on Thu, 20 Feb 2020 00:11:31 -0800

Source code analysis of muduo Network Library: TimerQueue timing mechanism

Preface The first three chapters make the log part clear. From this chapter, start with TimeQueue and introduce Runinloop. In the next or next chapter, describe the event distribution mechanism of the entire muduo TimerQueue seems to be a troublesome class, but it's very simple. We can regard it as a ...

Posted by NTGr on Wed, 19 Feb 2020 22:55:17 -0800