Block Chain Introduction Course eth Source Code Analysis p2p-udp.go Source Code Analysis (I)

Brotherly Block Chain Introduction Course eth Source Code Analysis p2p-udp.go Source Code Analysis (I) The network discovery protocol of p2p uses Kademlia protocol to deal with network node discovery. Node lookup and update. Kademlia protocol uses UDP protocol for network communication. Reading the code in this section suggests looking at the ...

Posted by johnkelly on Fri, 01 Feb 2019 00:54:15 -0800

Linear model of sklearn er Library Learning

Linear models use linear functions of input characteristics to predict, and learn the difference between algorithms of linear models. (1) The specific combination of coefficients and intercepts is used to measure the fitness of training data. Different algorithms use different methods to measure the fitness of training set, whic ...

Posted by joix on Thu, 31 Jan 2019 10:45:15 -0800

Disabled Word Detection

utf8 encoded data can be directly used by the following code The most critical step is to split the string into a single word, UTF-8 coded word, if there is only one byte, its maximum binary bit is 0; if it is multi-byte, its first byte starts from the highest bit, the number of consecutive binary bit values of 1 determines the number of bits ...

Posted by Dale on Thu, 31 Jan 2019 03:18:16 -0800

ABP Framework Code Batch Generator

Need the latest source code, or technical questions, Please add QQ group: 538327407, because the source code is constantly improving, it will be synchronized to open source projects later. brief introduction ABP framework has been used for nearly two years, and has completed many projects. As CTO and architect, when dealing with small and med ...

Posted by NiXXeD on Sat, 26 Jan 2019 16:57:15 -0800

Fourth day of mall notes

** I. Functional Realization of Adding Commodities ** Request url:/item/save Parameter: Form data. Receive using the pojo type. The pojo attribute name is required to be the same as the attribute name of the form input. Class TBItem. Return value: Using easyUIResultThe EasyUIResult class code is as follows : `import java.util. ...

Posted by ijmccoy on Fri, 25 Jan 2019 21:15:13 -0800

javaSE Basic Grammar for java Development

javaSE Basic Grammar for java Development 1. Keyword and Reserved Word Keyword Definition: Strings (words) given special meaning by the Java language for specific purposes. Features: All letters in keywords are lowercase Java Retention Words: Existing Java versions are not yet in use, but future versions may be used as keywords. Avoid using th ...

Posted by Azeryk on Fri, 25 Jan 2019 19:57:14 -0800

Custom View - ListView (Event Distribution) for deletable item s

The source code used in this paper: https://github.com/HeXiaosa/ItemDeletableListView This article is based on reading this article. https://blog.csdn.net/lmj623565791/article/details/22961279 And combined with Andorid to explore the development of art. Overview of event distribution Touch events in Android are mainly contro ...

Posted by whitmard on Wed, 23 Jan 2019 13:27:13 -0800

8-vue Django restful framework to create fresh supermarket-commodity category data display (part two)

Vue+Django REST framework Set up a website of fresh supermarket with front and back ends separated Django rtf completes the commodity category page vue Displays the List of Commodities Page Data Click on a navigation level class to display the data. Or click on the search to find the results These two functions need to be compl ...

Posted by joel danny on Thu, 10 Jan 2019 12:36:10 -0800

13-vue Django restful framework to create fresh supermarket-drf authority verification

Vue+Django REST framework Using Python 3.6 and Django 2.0.2 (Django-rest-framework) and front-end vue to develop front-end and back-end separated mall website The project supports Alipay payment (temporarily does not support WeChat payment), supports mobile phone SMS verification code registration, supports third party login. sen ...

Posted by allworknoplay on Tue, 08 Jan 2019 19:33:11 -0800

django Rest Framework Series 4 - Authentication & Permissions

Official address: http://www.django-rest-framework.org/tutorial/4-authentication-and-permissions/ Currently, our API does not limit who can edit or delete snippets code. We need some more advanced behavior to ensure that: snippets code is always associated with the Creator Only authenticated users can create snippets Only the creator of ...

Posted by jzimmerlin on Tue, 08 Jan 2019 16:21:09 -0800