Django's Main Function-Interface Architecture Check

Ways of Verification of Interface Structures Checking in Pure Coding Form Generally, the conventional interface return value verification requires assertion judgment of the fields that need to be checked one by one, which has a great coding workload and is obviously not suitable for the interface testing platform. Let's look at an ...

Posted by Senate on Tue, 07 May 2019 12:25:39 -0700

Generic programming learning, writing an iterator similar to a simple list in STL Libraries

Generic programming learning, writing an iterator similar to a simple list in STL Libraries Preface Recently, in the study of STL source code and various implementation details in stl, beginners will inevitably imitate, the following will write their own simple list container iterator. First, when we start writing List itera ...

Posted by rtconner on Tue, 07 May 2019 06:30:40 -0700

Java Byte Code Constant Pool

Introduction The last article briefly introduced the basic format of java Class byte code files.In this paper, we will further understand the constant pool structure in byte code by reading the byte code file directly. First let's create a new simplest Java file public class Test { public static void main(String[] args) { ...

Posted by webhamster on Mon, 06 May 2019 21:15:38 -0700

TensorFlow|Transformer-based Natural Language Inference (SNLI)

After going through the process of reading the paper, the source code and Bert source code, I sorted out my ideas, implemented a Transformer, and built a small Transformer to do some SNLI tasks. 1.Transofrmer The principle is not repeated anymore. It's good in other blogs. For example: https://jalammar.github.io/illustrated- ...

Posted by zimick on Mon, 06 May 2019 20:40:39 -0700

Learning and Practice of HTML5 Native Drag and Drop Events

Preface Previously, you learned drag and drop events for HTML5 and used drag and drop components in development.To clarify the logic of the whole, a small example is given. The effect is also simple: elements can be dragged arbitrarily in the container, and when elements are moved into the container, there will be related style changes that hav ...

Posted by hammerloaf on Mon, 06 May 2019 19:50:39 -0700

Python Interesting | Data Visualization

pyecharts visualization Above, we used Excel visualization to draw a pseudo "The Economist" chart. To some extent, this method solved the shortcomings of pandas: not beautiful, not powerful. But its operation is complicated, and the Handicapped Party says it dislikes it the most. So this section explains a Python t ...

Posted by laurus on Mon, 06 May 2019 13:50:38 -0700

Using Jaeger to Complete Link Tracking between Services

There is no road in the world, and when there are more people to walk, it becomes a road--Lu Xun The topic of this discussion is the need to step out of a "road" between services, so that bug s have a "road" to follow. Why use jaeger... this multi-language solution? Do you follow the opentracing specification? Is it ready-t ...

Posted by rwwd on Mon, 06 May 2019 11:00:39 -0700

Android Custom Control - Draggable Control Ring Control Bar

Received such a demand the other day, originally thought it was very simple, but I didn't expect to find that it was still a bit cumbersome to achieve in the end. Here is a small summary. Take a look at the following sample of this requirement: Then take a look at the final result, which may be a problem with the gif recording ...

Posted by MStaniszczak on Mon, 06 May 2019 08:25:39 -0700

Explanation on Ribbin's Custom Algorithms Creation in Spring Cloud

Explanation on Ribbin's Custom Algorithms Creation in Spring Cloud Let me introduce Rabbin in Spring Cloud today. Ribboin Spring Cloud Ribbon is a client load balancing tool based on Netflix Ribbon. Simply put, Ribbon is an open source project released by Netflix. Its main function is to provide client-side software load bala ...

Posted by andyd34 on Mon, 06 May 2019 06:20:38 -0700

Introduction of redux state management framework zoro

I am a long-term user of DVA framework. I like the encapsulation of redux by DVA very much. But I encounter a lot of problems which are not easy to handle in the process of using dva. So I write a set of dva-like libraries by myself and try to solve the shortcomings in the process of using dva. Later, I will introduce the problems ...

Posted by gojakie on Mon, 06 May 2019 03:25:39 -0700