Promise introduction and use scenario

Promise introduction Promise is a constructor and a solution for asynchronous programming. The so-called Promse itself is a container that holds the results of asynchronous operations. Yes, it is similar to a callback function. The Promise container itself is not asynchronous, but encapsulates an asynchronous task. He has three states: 1. Pen ...

Posted by Iceman18 on Tue, 15 Oct 2019 12:43:26 -0700

net.sf.json.JSONException: There is a cycle in the hierarchy!

Abnormal problem net.sf.json.JSONException: There is a cycle in the hierarchy! at net.sf.json.util.CycleDetectionStrategy$StrictCycleDetectionStrategy.handleRepeatedReferenceAsObject(CycleDetectionStrategy.java:97) at net.sf.json.JSONObject._fromBean(JSONObject.java:657) at net.sf.json.JSONObject.fromObject(JSONObject.java:172) ...

Posted by kecebong_soft on Tue, 15 Oct 2019 11:41:39 -0700

Build elasticsearch + logstash + kibana version 7.2.0

Preface Recently I saw the 7.x version of elasticsearch. In addition, I used elasticsearch frequently in the project. I simply recorded the learning process. At the beginning, I was ready to build an ELK on this machine. Building ELK - elastic search First step Select the appropriate version to download: https://www.elastic.co/cn/dow... The sec ...

Posted by refiking on Tue, 15 Oct 2019 10:50:30 -0700

Share a powerful Python gadget in Linux Environment

scene Linux users often need to view some data in the terminal, from the file or network protocol to get data and view. For example, view the json data in the file; for example, view the data saved in etcd. If you look directly at the data from cat or curl, it will be painful if the format is scrambl ...

Posted by wpt394 on Tue, 15 Oct 2019 09:16:51 -0700

Learning summary of pixi.js

I. Introduction to pixi.js pixi.js is a very fast 2D sprite rendering engine. It can help us display, animate and manage interactive graphics. In this way, we can easily implement an application or complete a game using javascript and other HTML5 technologies. It has a semantic, concise API, and contains many useful functions. For example, it s ...

Posted by ternto333 on Tue, 15 Oct 2019 00:04:21 -0700

Java crawler server is blocked, don't panic, let's change a server

This is the fourth in a series of Java crawler blogs, in the last one Java crawler encounters data asynchronous loading, try these two methods! ) In this article, we have a brief talk about how to deal with the problem of asynchronous loading of data from the perspective of built-in browser kernel and reverse parsing. In this article, we will b ...

Posted by poknam on Mon, 14 Oct 2019 22:05:25 -0700

Spring Cloud Stream for communication between services

Spring Cloud Stream The underlying implementation of Srping cloud Bus is Spring Cloud Stream, which is designed to build a message-driven (or event-driven) micro-service architecture. Spring Cloud Stream itself encapsulates (integrates) and extends modules such as Spring Messaging, Spring Integration, Spring Boot Actuator, Spring Boot Externali ...

Posted by offnordberg on Mon, 14 Oct 2019 13:21:14 -0700

Introduction to Lodash and summary of the most commonly used methods

I. Introduction of Lodash: Lodash is a set of tool library, which encapsulates many processing functions for common data types, such as strings, arrays, objects and so on, to help developers reduce the difficulty of using JS. Introduction to Lodash: Take Vue-cli as an example: 1,yarn install lodash2. Introduce and use in main.js import _ from ' ...

Posted by rob_maguire on Mon, 14 Oct 2019 01:20:59 -0700

Telecommunication Resource Management System: Based on H5 Overlay OpenLayers 3 GIS

Preface Through the combination of HTML5 and OpenLayers, a very good application of telecommunication map network topology can be formed. The result can be used as a telecommunication resource management system, food location sharing software, area room search, railway line drawing and so on. It is an application that can be involved in all fi ...

Posted by scott.stephan on Sun, 13 Oct 2019 17:55:09 -0700

Authorization of applets

Since the widget document was updated, automatic authorization has ceased to exist. Current authorization is achieved through button. Specific knowledge points can refer to the official documentation of the applet. Here is a small demo I made (enter the home page, pop-up boxes, pop-up boxes are a UI component written by myself), nonsense, dire ...

Posted by jerryroy on Sun, 13 Oct 2019 12:10:33 -0700