Python Learning Notes
Python Learning Notes (8) - Programming Design Methodology
1. Effective solutions to complex problems
1. Top-down:
2. From bottom to top:
2. Computing Thought and Programming
1. Computational thinking:
1.1 Logical thinking:
1.2 Positive thinking:
1.3 Computing thinking:
1.4 Differences among Three Thoughts
Examples: ...
Posted by supernova on Thu, 07 Nov 2019 15:11:13 +0100
Talk about ProcessProbe of Elasticsearch
order
This paper mainly studies ProcessProbe of elastic search
ProcessProbe
elasticsearch-7.0.1/server/src/main/java/org/elasticsearch/monitor/process/ProcessProbe.java
public class ProcessProbe {
private static final OperatingSystemMXBean osMxBean = ManagementFactory.getOperatingSystemMXBean();
private static final Method getMaxFileD ...
Posted by spramod on Wed, 06 Nov 2019 22:08:37 +0100
CORBA Component Development
1 purpose of the experiment
(1) master the concept of component development, understand CORBA model and ORB mechanism;
(2) master the programming method of CORBA Components.
2 experiment content
Steps:
(1) configuration environment JDK environment.
(2) compile IDL interface.
(3) compile the server program.
(4) compile ...
Posted by Daleeburg on Wed, 06 Nov 2019 20:28:55 +0100
Spring series 7: four ways for spring to integrate mybatis
I. use annotation to integrate mybatis
The project contents are as follows
Step 1: import the jar package
<build>
<resources>
<!-- mapper.xml File in java Directory -->
<resource>
<directory>src/main/java</directory>
<includes> ...
Posted by akop on Tue, 05 Nov 2019 22:10:14 +0100
Microservice architecture case (04): middleware integration, public service encapsulation
Source code: GitHub point here || GitEE point here
Update progress (6 sections in total):
01: brief introduction of project technology selection and schematic description of structure02: business architecture design, system hierarchical management03: database selection, business data design and planning04: middleware integration, public servic ...
Posted by nincha on Mon, 04 Nov 2019 22:50:33 +0100
springboot2.1.5 + mybatis to configure multiple data sources
1. Startup is the way to create bean s
pom.xml
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>1.1.10</version>
</dependency>
<!-- maven Not in the warehouse oracle Database driver, here jar Put it under the project for i ...
Posted by partypete on Mon, 04 Nov 2019 16:37:20 +0100
The use of common methods of array operation java.util.Arrays in Java
In any programming language, array is one of the most important and commonly used data structures, but the structure and processing of array are different in different languages.
Java provides the java.util.Arrays class to operate Arrays conveniently, and all the methods it provides are static. Here are a few of the most commonly used methods o ...
Posted by mbbout on Mon, 04 Nov 2019 06:43:42 +0100
Introduction to front end -- HTML <div > tag
div is a block level element, which is mainly used as a large framework layout, such as dividing the web page into left, middle and right structures.
That is to say, the skeleton of web page is mainly set up by div, while the flesh and blood of web page is completed by span, p or ul.
The code example is as follows:
< ...
Posted by seans9 on Sun, 03 Nov 2019 21:47:39 +0100
Change maven source to domestic Alibaba cloud image
For well-known reasons, maven's library is very slow in mainland China. Most of the articles I found on Baidu are directly added to ~ /. m2/setting.xml
<mirrors>
<mirror>
<id>aliyunmaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>https://maven.aliy ...
Posted by Zeekar on Sun, 03 Nov 2019 20:21:00 +0100
Talk about bootstrappcheck of Elasticsearch
order
This paper mainly studies bootstrap check of elastic search
BootstrapCheck
elasticsearch-7.0.1/server/src/main/java/org/elasticsearch/bootstrap/BootstrapCheck.java
public interface BootstrapCheck {
/**
* Encapsulate the result of a bootstrap check.
*/
final class BootstrapCheckResult {
private final String mess ...
Posted by paschim on Sun, 03 Nov 2019 18:11:36 +0100