This document is based on https://github.com/alibaba/spring-cloud-alibaba/blob/2022.x/spring-cloud-alibaba-docs/src/main/asciidoc-zh/graalvm.adoc. Test verification and configuration Optimized. 1. Installation environment yum install freetype-devel unzip zip gcc 1.Install sdk curl -s “https://get.sdkman.io” | bash source “$HOME/.sdkman/bin/sdkman-init.sh” 2.Install java Note: Select version 22.3, which is consistent with the plug-in version configured in pom.xml. sdk install java 22.3.r17-nik sdk use java 22.3.r17-nik 2. The […]
Tag: native
Alternatives to Transform in Gradle8.0
1. Routing plug-in design ideas Transform was removed in Gradle 8.0. From the official document “Android Gradle Plug-in API Update”, it can be seen that it does not provide a direct replacement API, but provides several corresponding solutions based on different scenarios. In the previous article “Plug-in Development Based on Gradle 8.0”, based on the […]
ID card number, format verification: @IdCard (Validation + native implementation of verification logic)
Goals Customize an annotation @IdCard for verifying the ID card number format, which is compatible with the existing Validation parameter verification mechanism. Use The method is consistent with other validation annotations (use @Valid to annotate interface parameters). This article uses native methods to implement verification logic, and the implementation of verification rules is relatively basic; […]
7. React Native hot update
RN hot update I believe friends who have used RN know that even if you only write one line of code, the packaged apk is very large, which is similar to that of electron. I happen to have an RN project in hand. If I make some small changes (without touching the native version), I […]
Cloud native microservice Spring Cloud Hystrix downgrade and circuit breaker practical application
Directory of series articles Chapter 1 Application of Java Thread Pool Technology Chapter 2 Application of CountDownLatch and Semaphone Chapter 3 Introduction to Spring Cloud Chapter 4 Spring Cloud Netflix-Eureka Chapter 5 Spring Cloud Netflix Ribbon Chapter 6 OpenFeign of Spring Cloud Chapter 7 GateWay of Spring Cloud Chapter 8 Hystrix of Spring Cloud Netflix […]
Implementing native web calculators with 84.7% native js: Harness the power of JS in the browser
Implementing native web calculators with 84.7% native js: Harness the power of JS in the browser Description This document focuses on how to implement a web calculator in browser view using native js to minimize the use of HTML tags. After reading this document, you will learn: Learn how to use the basic browser api […]
Android Native Looper Mechanism
This article is excerpted from Android Framework Tutorial for Application Development. For the complete tutorial, please visit https://yuandaimaahao.github.io/AndroidFrameworkTutorialPages/. For more detailed video tutorials and Q&A services, please contact WeChat zzh0838 This article is based on the aosp android-12.0.0_r26 branch. After a simple main function is executed, the entire process ends. In order to allow a […]
UDS for Linux native inter-process communication
There are many ways to communicate between processes on this machine. Baidu has too many articles to introduce related topics, including message queue, shared memory, socket, etc. Here we focus on the usage of socket (socket). Generally speaking, socket It is used for communication between different hosts, but how to use socket to communicate when […]
Use the native-image local image tool to compile the SpringBoot environment image
Windows environment uses native-image local image tool to compile SpringBoot project local image MSVC environment installation Download VisualStudio (not VSCode) Check local tool installation Install GraalVM GraalVM installation Verify installation Test gu tool Local mirror tool installation Verify native-image tool installation Add system environment variables ready Create a sample SpringBoot project Project structure Use native-image […]
[react native] The whole process of building react native-iOS on mac M2! ! !
I encountered many problems when setting up RN on a Mac with M2 chip. It took more than half a month to solve the problems one after another. I am very happy to be able to summarize them in one article. Article directory Preface 1. Preparation 2. Problem description 1. Failed to download Ruby Gems? […]