Exploring RocketMQ source code -- Series1: viewing transaction messages from the perspective of Producer

Introduction: explore RocketMQ source code - Series1: transaction messages from the perspective of Producer 1. Preface Apache RocketMQ, as a well-known open source messaging middleware, was born in Alibaba and donated to Apache in 2016. From RocketMQ 4.0 to the latest v4 7.1 Alibaba has won wide attention and praise both inside and outside th ...

Added by 00tank on Thu, 10 Feb 2022 09:35:33 +0200

yolov5 python API (for other programs to call)

Your yolov5 🚀 Is it limited to detect py? If other programs want to call yolov5, you need to make a detect python API for python. python has objects everywhere. Making the detect API is actually making the detect class. preface yolov5 Source code version: as of 2022.2.3 Link: https://github.com/ultralytics/yolov5 As a &quo ...

Added by ecco on Thu, 03 Feb 2022 20:40:41 +0200

Using Vue instances (Global API s)

Overview Vue.extend(options) // Create a Vue instance by inheriting an option object Vue.nextTick([callback, context]) // Perform a deferred callback after the next DOM update cycle ends Vue.set(target, key, value) // Set the properties of the object. If it is a responsive object, it will trigger the view update Vue.d ...

Added by jefrat72 on Thu, 20 Jan 2022 11:33:10 +0200

VUE learning notes (final)

13, Sending requests using Axios13.1 what is AxiosAxios is an open source asynchronous communication framework that can be used in browser and NodeJS. Its main function is to realize AJAX asynchronous communication. Its functional features are as follows:Create XMLHttpRequests from the browserFrom node JS create http requestPromise API supporte ...

Added by stuart7398 on Wed, 19 Jan 2022 11:20:17 +0200

Fast writing method of SpringBoot unit test based on link idea

Author Tao FuSource: Ali technical official accountintroduction:This paper prefers practice rather than methodology. The writing method of SpringBoot unit test mentioned in this paper is not an official solution, but a writing method that the author thinks is more convenient and efficient. Each team and even each developer in the team may have ...

Added by Coco on Thu, 13 Jan 2022 20:56:31 +0200

10 minutes, using node JS creates a real-time early warning system for bad weather!

Some time ago, many disasters occurred in China. Zhengzhou high tech Zone, where we were at that time, experienced the situation of water and power failure. It's frightening to think of it!Therefore, it was decided to build a complete real-time weather early warning project, mainly using node JS and the third-party free interface for aggregatin ...

Added by comtek on Thu, 16 Dec 2021 17:15:35 +0200

gRPC: Quickly configure generic API to get process meta-information

introduceThis article describes how to quickly configure a common API through rk-boot and obtain process meta-information.What is process meta-information?The process meta-information contains the following:NamedetailsAPI ListGet API ListgRPC Error InformationgRPC corresponds to grpc-gateway error informationOS InformationCurrent OS Information ...

Added by ddevitt on Wed, 15 Dec 2021 23:37:29 +0200

Interpretation of JavaMoney specification (JSR 354) and corresponding implementation

1, Overview1.1 current situationAt present, the class used to express currency in JDK is Java util. Currency, this class can only represent the currency type described in [ISO-4217]. It has no value associated with it, nor can it describe some currencies outside the specification. There is no relevant support for currency calculation, currency ...

Added by hawkenterprises on Tue, 14 Dec 2021 06:26:05 +0200

Stream stream system (overview, acquisition, common API s, comprehensive application and collection)

1, Overview 1. Stream occurrence time: JDK8 2. Function: simplify the API of collection and array operation. Combined with Lambda expression 3. Ideas and usage steps of Stream flow: (1) get the Stream stream of the set or array first (that is, a conveyor belt) (2) put the elements on it (3) then use the simplified API of Stream stream to ...

Added by ezekiel on Fri, 10 Dec 2021 16:54:23 +0200

The system takes you to learn the second lecture of WebAPIs

Web APIs Learning objectives of this article: Be able to say the general implementation steps of exclusive operation You can use the dataset method in html5 to manipulate custom attributes Be able to complete Baidu skin changing cases according to the tips Be able to complete the selection of all cases according to the prompt Be a ...

Added by rline101 on Wed, 03 Nov 2021 11:02:38 +0200