Packet capture and analysis of mysql traffic under Linux C/C++ (protocol analysis)

The MySQL communication protocol is a stateful protocol mainly used for communication between MySQL clients and servers. This protocol is implemented in MySQL client connectors (such as Connector/C, Connector/J, etc.), MySQL Proxy, and master-slave replication. Features of the protocol include support for SSL, compression and authentication. The interaction process between the MySQL client and the […]

In order to improve search efficiency, a database constructs a binary search tree (BST) for a certain integer field.

Disclaimer: The following method is not necessarily correct. It was written during personal study and has not been tested extensively. It is for reference only. There may be bugs and will not be changed for the time being. Description: In order to improve search efficiency, a database constructs a binary search tree (BST) for a […]

vscode debugging code, efficiency increased by 20%

Preface Whether at work or debugging source code, debugging is essential. Finding the correct debugging method can improve our work efficiency by at least 20%, so that we can make more 20% of the time is spent fishing, fishing makes me happy (^▽^) From now on, let us abandon the console.log old shabby car and […]

Build efficient Android apps with Bazel

Build efficient Android applications with Bazel 1. Introduction In modern software development, build tools are a crucial part. Bazel is an open source build tool developed by Google and used for its internal projects for many years. It is designed to provide efficient, scalable and reliable building solutions. Bazel was originally focused on building large-scale […]

Efficient reuse: Optimization tips when horizontal lists are nested inside RecyclerView | Developers say·DTalk

Original author of this article: Little Horse Run, Original textPublished on: Code Talk Background Suppose you want to achieve the following renderings: As shown in the figure, first of all, this is a multi-style sliding list (only 3 styles are listed in the screenshot). There is no doubt that the overall external use of RecyclerView […]

Jellyfin transcoding and tone mapping efficiency improvements: enable processor low voltage mode (GuC/HuC)

Jellyfin transcoding and tone mapping efficiency improvements System environment Pull the nyanmisaka/jellyfin image Turn on low voltage mode Jellyfin configuration Enable QSV and low voltage mode decoding Turn on tone mapping (based on OpenCL) Actual measurement Verify low voltage mode Actual measurement of transcoding frame rate Test video overview Version 221029 vs Version 230901 Turn […]

Explore Allure Report: the secret weapon to improve automated testing efficiency

1. Use Allure2 running mode-Python # –alluredir parameter generates test report. # Collect results during test execution pytest [test case/module/package] –alluredir=./result/ (the –alluredir option is used to specify the path to store test results) # Generate online test report allure serve ./result 2. Use Allure2 running mode-Java 1. Use the allure:report parameter to generate a […]

8 practical Python office automation tips

When I do data analysis in the company, I also use Python to do some office automation work. Yesterday, my leader said that we can do what others do in 3 hours in 3 minutes. O(∩_∩)O~ This article will introduce to you some office automation techniques that I use: 1. Convert Word document doc to […]