Interesting Spring: Understanding Aware, Asynchronous Programming, Scheduled Tasks

Hello, I'm Silent Wang Er, a programmer as tall as Huang Jiaju and as beautiful as Liu Dehua (I don't trust to watch around friends).From the age of the two idols, you can tell that I'm over 10 years old, but to be honest, I've always believed that I'm only 18 because learning makes me young.This article is going to talk about "Spring's A ...

Posted by twilightnights on Sat, 28 Mar 2020 03:02:22 +0100

Interpreter Model for Architect's Inner Work, known as Moss Password

Interpreter Pattern refers to a given language that defines a representation of its grammar and defines an interpreter that uses that representation to interpret sentences in the language.It is a mode of parsing according to the prescribed grammar. For example, a compiler can interpret source code compilation as machine code so that the CPU can ...

Posted by bassdog65 on Fri, 27 Mar 2020 08:07:01 +0100

Spring Boot integrates Redis and JavaMailSender to realize mailbox registration

Opening chapter Today's websites basically have the function of email registration. After all, they can send users some spam recommendations on a regular basis It is very important. To get back to the point, first of all, we need to make a few points clear ==What information do you need for email registration? = = Basic: email address, passwo ...

Posted by N-Bomb(Nerd) on Wed, 25 Mar 2020 17:59:45 +0100

check the logs or run fsck in order to identify the missing blocks

hadoop version is 2.8.3 Today, I found a strange problem, as shown in List-1 below, indicating that two file blocks are missing     List-1 There are 2 missing blocks. The following files may be corrupted: blk_1073857294 /tmp/xxx/b9a11fe8-306a-42cc-b49f-2a7f098ecb5a/hive-exec-2.1.1.jar blk_1073857295 /tmp/xxx/b9a11fe8-306a-42cc-b49f-2a7f0 ...

Posted by tomfmason on Wed, 25 Mar 2020 15:31:06 +0100

Use Python to dig out those "amazing" grandma masters in station B!

Preface Recently, the new year's Party of station B has swept over all major video websites due to its unique creativity, which has brought great positive impact to the company. At the same time, the stock price has also skyrocketed. Presumably, everyone regrets not buying the shares of station B earlier: ​     ​   However, today we are not goi ...

Posted by numoon56 on Mon, 23 Mar 2020 11:38:50 +0100

2020, still need to learn JSP?

Preface 2020, still need to learn JSP? I believe that the students who are still in university will have this question. In fact, when I was 18 years old, I had already seen a similar question: "should JSP still learn?". In the past 18 years, I have published several JSP articles, and many developers have commented on "isn't t ...

Posted by Ricklord on Mon, 23 Mar 2020 07:58:48 +0100

Setting method of static files on nginx cache server

1, Advantages of nginx caching As shown in the figure, nginx caching can reduce the processing pressure of the source server to a certain extent. Because many static files (such as css, js, pictures) are not updated frequently. nginx uses proxy cache to cache users' requests to a local directory. The next same request can directly fetch the ...

Posted by acabrera on Sun, 22 Mar 2020 18:39:44 +0100

Architect's Inner Work, Memo Mode Details Participating in Rich Text Editor Development

Memento Pattern, also known as Snapshot Pattern or Token Pattern, captures an internal state and preserves it outside the object without destroying the encapsulation.The object can then be restored to its original saved state. In software systems, the memo mode provides us with a mechanism of "regret medicine", which allows us to roll ...

Posted by coollog on Sun, 22 Mar 2020 07:16:37 +0100

Elasticsearch series--prefix search and fuzzy search

outline In this article, we introduce several ways to use partial search. The browser search box that we often use, when typing, pops up a drop-down prompt, which is also based on the principle of local search. PrefixQuery In the previous search, terms are the smallest matching unit and the words that exist in the inverted index. Now let's talk ...

Posted by jariizumi on Sun, 22 Mar 2020 03:14:31 +0100

Machine Learning Algorithms-Linear Regression Algorithms

In the previous section, we learned the KNN classification algorithm.Among them: Classification means that the Y variable is categorical, such as color category, computer brand, and reputation. The linear regression algorithm learned today, where: Regression means that the Y variable is a continuous numerical variable, such as house price, popu ...

Posted by spikeon on Sun, 22 Mar 2020 02:50:25 +0100