Web3j+Maven Development of Taifang Application

In this tutorial, we will learn how to create a Maven-managed Java Ethernet project in Eclipse, connect Ethernet nodes using the web3j library, make JSON-RPC API calls, and display the results. Learn in the language you are familiar with and develop in Taifang DApp: Java | Php | Python | .Net / C# | Golang | Node.JS | Flutter / Dart web3j is ...

Posted by sonnieboy on Sat, 20 Jun 2020 03:54:08 +0200

Concept and application of Spring Statemachine

From https://www.jianshu.com/p/9ee887e045dd , thank you 1 Finite-state machine 1.1 definition of state machine FSM (finite state machine, FSM), also known as FSM, is a mathematical model that represents finite states, their transitions and actions. Finite state machine embodies two points: first ...

Posted by echoindia756 on Thu, 18 Jun 2020 05:48:33 +0200

Android uses Kotlin to connect to MQTT

MQTT It is a lightweight and flexible Internet of things message exchange and data transfer protocol, which is dedicated to achieving the balance between flexibility and hardware / network resources for IoT developers. Kotlin Kotlin is a programming language developed by JetBrains company. Kotlin is based on JVM, so developers can easily use it ...

Posted by RossC0 on Tue, 09 Jun 2020 08:30:15 +0200

Example of Alibaba cloud IOT platform IoT Studio calling face recognition service

Summary Current IoT The studio service development module provides the calling module of face recognition API in the cloud market, but there is no direct way to call the Alibaba cloud face recognition API. In this paper, the image is uploaded to the oss service from the device side, and then the image URL is passed through the uplink message, a ...

Posted by camarosource on Mon, 30 Mar 2020 16:35:07 +0200

Quick source Inside Eclipse

+source- Format: This is a very convenient operation that I've always recommended. For example, if you write a poorly formatted piece of code and it's messy, then you choose this one. You will find, wow~~, how my code looks beautiful all at o ...

Posted by veenasv on Tue, 03 Mar 2020 02:55:08 +0100

Spring boot2. X integrates MQTT to realize message subscription (with source code)

MQTT protocol is widely used in the field of industrial Internet of things because of its low latency and high efficiency. The previous article introduced how to send MQTT message by code. Based on the previous article, this paper implements the subscription and reception of MQTT message.Operation steps: Introduce related dependencies <de ...

Posted by omarh2005 on Sat, 22 Feb 2020 18:27:15 +0100

JavaSE learning notes-Day12

1, Introduction of containers and generics No matter what language it is, it is necessary to deal with data in the process of developing programs. In order to better accommodate these data, we introduced the concept of array in the previous study, which is indeed a good way to accommodate data, but ar ...

Posted by yanjchan on Wed, 12 Feb 2020 13:10:04 +0100

Java agent learning summary

Preface Recently, because of the company's needs, we need to understand the java probe, find information on the Internet, and find a lot of data, but there are too few examples. Some of them paste the company code directly, which is too complex, and some of them are particularly simple, which is not what I want. I want an example like this: The ...

Posted by mohamdally on Sat, 01 Feb 2020 11:42:40 +0100

NO.1 foundation drawing

NO.1 foundation drawing Zero etching🔗 HenCoder Preface Get the xp value corresponding to dp public static float dp2px(int dp){ return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,dp, Resources.getSystem().getDisplayMetrics()); } Rotation direction Path.Direction.CW; //Clockw ...

Posted by nosheep on Mon, 27 Jan 2020 15:00:18 +0100

Java implementation of Chinese word frequency statistics

Yesterday, there was a demand for Chinese word frequency statistics. After Baidu's visit, it found a lot of party articles with titles, which were seriously inconsistent with the content. Here is a simple record of its own implementation process!   Different from the word frequency statistics of English words, the difficulty of Chinese lies i ...

Posted by markjia on Mon, 30 Dec 2019 16:59:07 +0100