Flink 1.9.0 source compilation on mac (using yhadoop2.6.0-cdh5.15.1)

Source code compilation and installation of flink Preconditions: JDK8 Maven3 (please search for jdk and maven by yourself, thank you!) Compile by downloading Flink source code instead of downloading binary package directlyFlink GitHub address Find the version you need in releases. I used version 1.9. ...

Posted on Sun, 02 Feb 2020 08:31:38 -0500 by oneofayykind

mockito short tutorial

1 overview of mockito Mockito is a mocking framework that tastes really good. It lets you write beautiful tests with a clean & simple API. Mockito doesn't give you hangover because the tests are very readable and they produce clean verification errors. Mockito is a very good simulation framework ...

Posted on Sun, 02 Feb 2020 04:45:32 -0500 by jennyp

Analysis of question answering system based on medical knowledge map

Knowledge map has been more and more applied in question answering system, semantic search and other fields. It is a hot research issue in the field of artificial intelligence. The author recently worked on the project qabasedon medica knowledge graph (github link: https://github.com/liuhuanyong/QASyste ...

Posted on Fri, 31 Jan 2020 23:55:59 -0500 by ClevaTreva

The introduction of echart chart in applets

Echart and wechat applet official team work together to provide the wechat applet version of echart. Echart chart technology should be the best in China, and it's really excellent to be able to integrate into the applet application. Preparation: applet development environment, Download ECharts component, gitHub address: ecomfe/echarts-for-weix ...

Posted on Fri, 31 Jan 2020 18:51:46 -0500 by Vigilant Psyche

Making websocket application easily with mongols

It is very suitable to use websocket as chat system. mongols It is an open source c + + library running on linux system, which can easily open a websocket server. First, build a websocket server. #include <mongols/ws_server.hpp> //websocket server int main(int,char**){ int port=9090; const char* host="127.0.0.1"; mongols::ws_server se ...

Posted on Fri, 31 Jan 2020 11:19:52 -0500 by MarcB

The 15th expansion of Unity editor: NGUI mass replacement atlas tool

NGUI batch replace atlas tool Tool purpose Because the project needs to realize the skin changing function, i.e. multiple sets of UI atlas, provide tools to change atlas in batches, so as to view the effect under each skin (Atlas) of Prebab conveniently Sketch Map Gif operation diagram: Tool screenshot: On the left ...

Posted on Fri, 31 Jan 2020 10:53:51 -0500 by beaudoin

Canvass' carousel draw

Canvass' carousel draw   1. Sorting (1) the rotary table is mainly the product position / / sAngle start radian baseRadian product default radian [option.canvas / 2.25 large circle radius                     let tranX = 0 + Math.cos(sAngle + _option.baseRadian / 2) * _option.canvasH / 2.25;                     let tranY = ...

Posted on Fri, 31 Jan 2020 09:46:22 -0500 by leewad

Android alphabetical address book

Android alphabetical address book Design sketch: Code department: Activity class ContactViewActivity: AppCompatActivity(){ private var mAdater: ContactSortAdapter? = null private var mDataList: MutableList<SortModel>? = null override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(s ...

Posted on Fri, 31 Jan 2020 07:21:45 -0500 by jonstu

Daily AC Series: Merge K Sort Chain Lists

1 Topic LeetCode Question 23 To merge k ordered list of chains. 2 Violence Law Traverse through all the list directly, take out the values of all nodes, store them in an array, sort them in a non-descending order, and then create a new list to insert the nodes in turn by header interpolation. List<Integer> s = new ArrayList<>(); fo ...

Posted on Thu, 30 Jan 2020 15:17:06 -0500 by Shadeless

[NLP] Chinese error correction code analysis (pycorrector)

Catalog Install pycorrector on 0.win10 1. Training language model on Ubuntu: 2.use kenlm 2.1 kenlm scoring 2.2 participle 2.3 2 or 3 gram scoring 2.4 numpy matrix processing 3. Edit distance 4.pandas use pycorrector Install pycorrector on 0.win10 https://github.com/shibing624/pycorrector1.pip ...

Posted on Thu, 30 Jan 2020 10:19:30 -0500 by deepakagrawal1982