Bsdiff, differential incremental upgrade of Bspatch (based on Win and Linux)

Table of Contents background content Preparation on windows platform on linux platform Formal work Ideas for generating differential files Functional differential file idea Perform differential incremental upgrade while maintaining the same directory structure Server (generate differential file) Client (function differential file) Updated on December 6th (bug fixed) Perform analysis Notes and areas of concern: background […]

WebSDK_V3.3.0 is implanted into the Vue2 project

1. The company needs to show the preview screen of Hikvision camera 2. After two days of searching for information and trying, several methods 2.1 Back-end transcoding, front-end interface debugging is too troublesome and puts a heavy load on the server 2.2 The vlc plug-in fetches RTSP streams. Various browsers with higher versions do not […]

MobSDK for Unity Gradle integration documentation

1. Download the dependencies and copy them to your own project shareSdk:https://github.com/MobClub/New-Unity-For-ShareSDK/tree/SourceCode About the plug-in selection method corresponding to the unity version 2. Modify configuration There are two situations here: Figure 1 (gradle version with base and launcher) Figure 2 (only one maingradle version) Figure 1 Situation Configuration Modify launcherTemplate.gradle file apply plugin: ‘com.android.application’ dependencies […]

golang implements FreeBSD deployment minio distributed data upload, display, download

golang implements the upload, display and download of minio distributed data deployed by FreeBSD package main import ( “go-project/minio/weblib” “net/http” ) func main() {<!– –> // Implement an upload service through a multiplexer mux := http.NewServeMux() mux.HandleFunc(“/uploadFile”, weblib.UploadFile) //Upload page template mux.HandleFunc(“/listFile”, weblib.ListFile) //File list template mux.HandleFunc(“/upload”, weblib.Upload) //Function to process uploaded files http.ListenAndServe(“:80”, mux) […]

QT implements BSDIFF differential algorithm and LZMA compression algorithm to make differential package tool

QT implements BSDIFF difference algorithm and LZMA compression algorithm to make difference package tool A code to import old and new files Take opening an old file as an example, first create an .ini file to store the directory of the opened file, so that the directory saved last time can be read from the […]

bugfix –rtklib demo5_b34e decode_obsdata function

There is a problem in the decode_obsdata function in demo5_b34e rinex.c, which selects the observed values according to the priority, causing the array to exceed the bounds. Original function (with bug): /* decode observation data —————————————— ———*/ static int decode_obsdata(FILE *fp, char *buff, double ver, int mask, sigind_t *index, obsd_t *obs) {<!– –> sigind_t *ind; […]

[Play with RT-Thread] RT-Thread network framework: BSD network interface & SAL socket abstraction layer

Article directory RT-Thread network framework: BSD network interface & SAL socket abstraction layer basic knowledge 1. The difference between TCP and UDP 2. TCP programming server configuration process 3.TCP programming client configuration process 4. UDP programming client configuration process SAL socket abstraction layer 1. Main features of SAL components: 2. SAL network framework 3. Working […]

One of freebsd memory management: startup phase

Create page table during startup This article analyzes the code for creating the initial page table in the startup phase of freebsd11 (based on i386), and only keeps the code related to the main logic for the convenience of writing and understanding the article. Code and Comments #define R(foo) ((foo)-KERNBASE) #define ALLOCPAGES(foo) \ movl R(physfree), […]