Build a project with maven and configure tomcat to run a servlet

1. Use idea to create an empty maven project and delete the src folder in it, because in the later stage, each module will be established under the new project, and the original src folder is not required. 2. Under the general project, maven is used to introduce the jar package of servlet and jsp, which can be found in( https://mvnrepository.co ...

Added by Reformed on Sat, 05 Mar 2022 07:37:27 +0200

Microservice notes 01

Draft, need post-processing 01. Micro service architecture What is micro service? Microservice architecture is an architecture model. It advocates dividing a single application into a group of small services, which coordinate and cooperate with each other to provide final value for users. Each service runs in its own independent process ...

Added by Brit on Sat, 05 Mar 2022 07:35:07 +0200

[classes and objects] initialization list, friends, static members, internal classes

Hello, bald men. Today, let's continue to talk about classes and objects Key points of this chapter Initialization listFriendsstatic memberInner classUnderstand encapsulation again Let's talk about constructors After studying the first two chapters [classes and objects], let's take a look at the structure Constructor body assignment ...

Added by incubi on Sat, 05 Mar 2022 07:32:39 +0200

[TSP problem] solve the three-dimensional traveling salesman problem based on genetic algorithm, including Matlab source code

1 Introduction 1.1 TSP introduction "Traveling salesman problem" (TSP) can be simply described as: a seller starts from one of the n cities, does not repeatedly complete the other n-1 cities and returns to the original starting point, and finds the shortest path among all possible paths. The route of a traveler can be regarded as a ...

Added by saeed42 on Sat, 05 Mar 2022 07:31:48 +0200

AsyncIO - getting started

Python AsyncIO asyncio is a standard library introduced from Python 3.4 +, which supports async IO and coroutine. For example: suppose there is a laundry room with 10 washing machines, and a washer is in charge of these 10 washing machines. Then the laundry is equivalent to a process and the laundryman is equivalent to a thread. If there ...

Added by anindya23 on Sat, 05 Mar 2022 07:29:42 +0200

Daily practice (31): turn the word order

title: daily practice (31): flip the word ordercategories: [sword finger offer]tags: [practice every day]date: 2022/03/05Daily practice (31): turn the word orderInput an English sentence and flip the order of words in the sentence, but the order of characters in the word remains the same. For simplicity, punctuation is treated like ordinary let ...

Added by skymanj on Sat, 05 Mar 2022 07:20:02 +0200

Calculation of geospatial distance from GPS data

Reference link https://en.wikipedia.org/wiki/Haversine_formula https://en.wikipedia.org/wiki/Great-circle_distance https://blog.csdn.net/u011001084/article/details/52980834 https://www.cnblogs.com/softfair/p/lat_lon_distance_bearing_new_lat_lon.html https://blog.csdn.net/weixin_33895604/article/details/93930991 https://www.cnblogs.com/osn ...

Added by fxpepper on Sat, 05 Mar 2022 07:08:10 +0200

Preliminary notes on java learning_ three

01 array introduction Introduction: array is a container that can store multiple values of the same data type. It is a continuous memory space opened up in memory int[] arr = {10,20,'a'}; System.out.println(arr[2]); // 97 double arr = {10,20,30}; System.out.println(arr[0]); // 10.0 ----------------------------------------------- prop ...

Added by mike12255 on Sat, 05 Mar 2022 07:05:22 +0200

Android APP_ Control - Button

From: Android APP_ Control (2) -- Button Author: and pursung Release time: 2021-03-29 14:20:54 website: https://blog.csdn.net/weixin_44742824/article/details/115290501 Opening: Android APP_ Control (1) -- TestView StateListDrawable is a kind of drawable resource. You can set different picture effects according to different stat ...

Added by rahuul on Sat, 05 Mar 2022 07:00:35 +0200

Detailed explanation of k8s pod principle

Introduction to Kubernetes Pod Pod literally translates as a pod. You can think of the container as the beans in the pod. Wrapping one or more closely related beans together is a pod. In k8s, we will not directly operate containers, but package containers into pods for management. Introduction and principle of Pod Is the smallest API obj ...

Added by socialmatrix on Sat, 05 Mar 2022 06:59:06 +0200