Warning: mysqli_query(): MySQL server has gone away in /home/wwwroot/syntaxbug.com/wp-includes/wp-db.php on line 1924

Warning: mysqli_query(): Error reading result set's header in /home/wwwroot/syntaxbug.com/wp-includes/wp-db.php on line 1924
loc – Page 3 – SyntaxBug

Use cdc technology to synchronize data in real time (canal) – monitor local data and synchronize data to the cloud database through MQ

Use cdc technology to synchronize data in real time (canal) – monitor local data and synchronize data to the cloud database through MQ 1. Download the canal package and modify the configuration file conf -> instance.properties under example canal.instance.master.address=192.168.8.211:3306 Change the connection database path canal.instance.dbUsername=root user account to connect to the database canal.instance.dbPassword=123456 User password […]

Local construction of Elastic Stack (Elasticsearch + kibana + Logstash + FileBeat + APM) 7.17.14 version

Local construction of Elastic Stack (Elasticsearch + kibana + Logstash + FileBeat + APM) 7.17.14 version 1. Foreword: 1. This article is a non-cluster environment configuration description for the installation of Elastic Stack version 7.17.14. If you are using the 8.x version of the Elastic Stack product, this article does not apply. 2. The example […]

std::condition_variable condition variable and lock_guard, unique_lock

Used to block one thread, or block multiple threads at the same time, until another thread modifies the shared variable (condition) and notifies condition_variable. A thread that intentionally modifies a variable must Obtain std::mutex (often via std::lock_guard ) Modify while holding lock Perform notify_one or notify_all on std::condition_variable (no need to hold locks for notifications) […]

Llama2 quantifies Windows & Linux local deployment through llama.cpp model

Llama2 quantifies Windows & amp;Linux local deployment through llama.cpp model What is LLaMA 1 and 2 LLaMA, it is a set of basic language models with parameters ranging from 7B to 65B. models trained on trillions of tokens and show that state-of-the-art models can be trained exclusively using publicly available datasets without resorting to proprietary […]

Thread-safe, simple lock creation demo code

Thread safety means that the program can still maintain correct behavior and data integrity when multiple threads access it concurrently. That is, multiple threads can access an object or method at the same time without damaging the consistency and correctness of the data. The implementation of thread safety needs to follow some rules, such as […]

Euler angles (roll angle, pitch angle, yaw angle), rotation matrix, quaternion conversion and solution to universal joint deadlock

1. Overview The description method of the pose (position and direction) of an object is generally represented by two coordinate systems. One is the world coordinate system or the ground coordinate system. Here I call it the ground coordinate system, which belongs to the reference coordinate system; the other is its own Coordinate system, it […]

lang-segment-anything local deployment

1. Introduction Code address: https://github.com/luca-medeiros/lang-segment-anything https://github.com/IDEA-Research/GroundingDINO lang-segment-anything is an algorithm for segmenting objects in images based on language text prompts. It combines the two major algorithms of GroundingDINO and segment-anything. It has a good application scenario in semi-automatic annotation. It can classify objects without training. Segmentation is performed, that is, matching of text to image […]

[SCM Graduation Project] [cl-010] Alarm for people stranded in the car | Alarm for children stranded in the car | Children accidentally lock the car

1. Basic introduction Item name: Design of vehicle personnel stranded alarm system based on microcontroller Design of child stranded alarm system in car based on microcontroller Design of children’s accidental car locking system based on microcontroller Project name: Alarm for people staying in the car Project number: mcuclub-cl-019 Microcontroller type: STC89C52 Specific functions: 1. Use […]