Android drag and drop startDragAndDrop drag and drop Glide to flexibly load stacked rounded corners, Kotlin (6)

Android drag and drop startDragAndDrop drag and drop Glide to flexibly load stacked rounded corners, Kotlin (6) Android drag and drop startDragAndDrop drag and drop Glide to load stacked rounded corners, Kotlin (5) – CSDN blog article has been read 1.3k times. Android DynamicGrid: Drag to swap positions. Android DynamicGrid is a third-party open source […]

Pytorch model use, modification, saving and loading

This article introduces the use, modification, saving and loading of Pytorch models. Taking torchvision in image processing as an example, PyTorch provides more pre-trained models through the torchvision.models module. Article directory Use and modification of network models VGG16 model use VGG16 model modification Saving and reading network models Save the model Loading the network model […]

[Android] Screen lag, optimized list fluency, pull down to refresh, pull up to load more components, RefreshLayout modification

I have also written about similar components before: Address: Pull down to refresh & pull up to load more components SmartRefreshLayout I originally planned to replace it with this one, but after careful research I found it was not suitable. The functions are very good, but they cannot be embedded in the current engineering system. […]

Summary of all aspects of getting started with SpringCloud Alibaba components (Part 1): registration center-nacos, load balancing-ribbon, remote calling-feign

Article directory Nacos Ribbon Feign FeignExpansion Nacos Concept: Nacos is a new open source project launched by Alibaba. It is a dynamic service discovery, configuration management and service management platform that makes it easier to build cloud native applications. Nacos is committed to helping users discover, configure and manage microservices. It provides a simple and […]

nginx four-layer tcp load balancing and active and standby, four-layer udp load balancing and active and standby, 7-layer http load balancing and active and standby configuration (wndows system active and standby, load balancing)

Preparation Prepare two centos7 computers, virtual machines can also be used Use vmware17 to build centos7 mini version server on windows-CSDN Blog Set up a static IP address (because the network load balancing manager on the Windows server does not support dhcp servers) Modify the network card IP address in ky10, centos7 and other linux […]

Nginx implements load balancing

Table of Contents 1: Introduction to load balancing 2. Functions of load balancing 1. Improve server performance 2. Improve system availability 3. Improve system scalability 4. Achieve traffic balance 3. Example configuration, how to use nginx to achieve load balancing 4. Load balancing policy configuration 1. Poll-based load balancing (default) 2. Weight-based load balancing 3. […]

Haproxy implements seven-layer load balancing

Table of Contents Haproxy overview haproxy algorithm: Haproxy implements seven-layer load ①Deploy nginx-server test page ②(active/standby) deploy load balancer ③Deploy keepalived for high availability ④Add health check on haproxy ⑤Test Haproxy Overview haproxy—It is mainly used for layer 7 load balancing, but it can also be used for layer 4 load balancing. Apache can also […]

One Demo handles the front-end and back-end multi-part uploading of large files, resumed uploading at breakpoints, and instantaneous uploading.

1Foreword File uploading is very common in project development. Most projects will involve the uploading of pictures, audios, videos, and files. Usually a simple Form can upload small files, but when encountering large files, such as more than 1GB, or When the user’s network is relatively slow, simple file upload is not applicable. The user […]

ESP32-DHT11 temperature and humidity data upload to MQTT server

ESP32-DHT11 temperature and humidity data uploaded to MQTT server Introduction ESP32 DHT11 experiment Experiment instructions wiring MQTT server establish connection Add subscription ESP32 drives DHT11 ESP32 sends data to MQTT server Upload temperature and humidity data Experimental results Introduction ESP32 Click on the image to purchase The ESP32 series modules integrate Wi-Fi, traditional Bluetooth and […]