Python playing with Excel: automatic function filling and data sorting

In the work, we often use excel to deal with data and display, but for some work we can use the help of programs to achieve efficient problem-solving effect. For example, the json returned from the interface is parsed and saved in Excel, the data in excel is processed according to certain rules and then written into a new EXCEL file, and the co ...

Posted by 3r0ss on Sun, 24 May 2020 23:33:32 -0700

Here are several typical memory overflow cases in Java!

Here are several typical memory overflow cases in Java! Write in frontAs a programmer, more or less will encounter some memory overflow scenarios. If you haven't yet, it means that you may have a relatively short working life, or you are a fake programmer at all! Ha ha, make a joke. Today, we will list several typical memory overflow cases in t ...

Posted by pomme on Sun, 24 May 2020 19:43:06 -0700

Design pattern series -- responsibility chain pattern

definition In the responsibility chain mode, each node in the chain is regarded as an object, each node processes different requests, and the next node object is automatically maintained internally. When a request is sent from the first end of the chain, it will be passed to each node object in turn along the path of the chain until the request ...

Posted by SaMike on Sun, 24 May 2020 09:03:15 -0700

Day 10: Python classes and objects

by programmer When we first came into contact with programming, we learned that there are two major ideas in the field of programming: process oriented and object-oriented. Python is an object-oriented language. If you have known the idea of object-oriented, naturally you know that the idea of object-oriented contains two basic concepts: ...

Posted by clairian on Sun, 24 May 2020 02:29:45 -0700

JavaScript Statistics Processing - Encapsulation and Inheritance of Classes

JavaScript is a widely used Web programming language. Using JavaScript technology to process statistics in browsers has the best dissemination effect A class is a collection of common attributes and methods.JS is an object-oriented language whose objects as objects are simulated and encapsulated using the prototype property. The cl ...

Posted by BLaZuRE on Fri, 22 May 2020 19:13:38 -0700

New feature of JDK9: xlog of JVM

brief introduction In java programs, we use logs to locate and discover potential problems in our projects.In modern java projects, we use logging frameworks such as log4j or slf4j, Logback, and so on to handle logging issues. JVM is the basis of running java programs. Events in JVM such as GC, class loading, JPMS, heap, threads and so on can a ...

Posted by littlejones on Fri, 22 May 2020 16:54:30 -0700

One Day Model - Responsibility Chain Model

1. The concept of responsibility chain model The responsibility chain model is an object's behavior model.In the responsibility chain model, many objects are linked together to form a chain by each object's reference to its subordinates.Requests are passed along this chain until an object in the chain decides to process the request.The clie ...

Posted by Cardale on Fri, 22 May 2020 10:08:54 -0700

docker problem set

The following problems were encountered while installing docker [root@sm-docker249 yum.repos.d]# yum install docker-ce docker-ce-cli containerd.io Loaded plugins: fastestmirror, langpacks docker-ce-nightly | 3.5 kB 00:00 docker-ce-stable | 3.5 kB 00:00 d ...

Posted by wchris on Fri, 22 May 2020 08:03:14 -0700

Architecture design | interface idempotence principle, anti duplicate submission Token management

Source code: GitHub point here || GitEE point here 1, The concept of idempotent 1. An introduction to idempotent The characteristic of an idempotent operation in programming is that the influence of any multiple execution is the same as that of one execution. That is to say, one or more requests for a resource have the same effect. 2. HTTP req ...

Posted by careym1989 on Fri, 22 May 2020 06:59:12 -0700

PHP quickly uses RabbitMQ to decouple some businesses in the project

preface: Last time, I introduced the installation of RabbitMQ under windows and the addition of AMQP extension of PHP. Here, the code of local test is put into the service, so that is to install it again on Linux. But there is no need to use it directly. It is mainly about the use of control console after RabbitMQ is installed and how to call ...

Posted by angershallreign on Fri, 22 May 2020 01:41:35 -0700