• Linux modifies elf to solve glibc compatibility problem


    Linux glibc problem It is believed that many Linux users have encountered glibc compatibility problems when running programs released by a third party (not the system’s own software source). This is generally caused by the relatively old version of GNU C library (glibc) on the current Linux system. For example, when I run a third-party […]

  • Xcli, an easy-to-use command-line tool


    Project address: https://github.com/kingwel-xi… Xcli is a command line tool that supports user-defined commands. Each command supports abbreviations and tab completion commands. Design ideas This tool is designed to provide command-line functions and easily add custom commands. Application scenario At present, in libp2p RS, xcli provides the function of command line, which can debug swarm and […]

  • java8 LocalDateTime ZoneDateTime OffsetTime


    time zoneThe earth rotates from west to East. The sun is seen in the East before the west, and the time in the East is earlier than that in the West. In order to unify world time, the regulations of the international longitude conference in 1884 stipulated that the world was divided into 24 time […]

  • Talk about Kafka: building Kafka on Linux


    Welcome to my WeChat official account, old Chou chat architecture, the principle of Java back-end technology stack, source code analysis, architecture and various Internet high concurrency, high-performance and high availability solutions. 1、 Environmental preparation JDK download address link:jdk 1.8, extraction code: dv5hZookeeper download address link:zookeeper3.4.14 , extraction code: 3dchKafka download address link:kafka2.12, extraction code: 61bc […]

  • Android recycleview split line colored egg


    I have collected some learning materials, including a lot of learning, interview, middle and high-level fluuter materials, and a lot of video explanations. If any students want to know more, please see the end of the article for details. We also welcome all the great gods to install X. First of all, the problem How […]

  • How to implement offset consumption specified by Kafa in spring boot


    This article mainly introduces how to realize Kafa specified offset consumption in springboot. It is introduced in great detail through the example code, which has a certain reference value for everyone’s study or work. Friends in need can refer to it In the process of Kafka consumption, it is inevitable to encounter the scenario of […]

  • Redis basic operation – string


    1、 Set the value of the specified key Commands: Set Format: set key value> set test_key test_value OK 2、 Gets the value of the specified key Command: get Format: get key> get test_key “test_value” 3、 For the string value stored in key, obtain the substring in the specified interval Command: getrange Format: getrange […]

  • Non maximum suppression


    This article starts from personal bloghttp://zuyunfei.com/2020/06/1…, welcome to the latest content! definition In the model prediction stage, we first generate multiple anchor boxes for the image, and predict the category and offset for these anchor boxes one by one. Then, we get the prediction boundary box according to the anchor box and its prediction offset. […]

  • Talk about Kafka’s group Coordinator


    order This article is mainly about a Kafka group coordinator. In Kafka version 0.9.0, a new consumer config was started. This new consumer config uses bootstrap.servers to replace the previous version of zookeeper.connect, mainly to gradually weaken ZK dependency and hide ZK dependency behind brokers. group coordinator Use bootstrap.servers to replace the previous version of […]

  • This article explains the underlying data structure and principle of GIT


    Introduction:This paper will systematically share git’s underlying knowledge: object life cycle change, underlying data structure, packet file structure, packet file index, and detailed analysis of object query process and algorithm. state model The figure above describes the different storage locations of GIT objects in different life cycles, and changes the storage life cycle of GIT […]

  • [share] IOS development – limit the sliding of Scrollview (including tableview) after sliding to the top or bottom


    1. Use of agents <UIScrollViewDelegate> 2. Set the proxy target to self (this is not required for uitableview, because uitableview itself inherits from uiscrollview) self.scrollView.delegate = self; 3. #pragma mark – #pragma mark – UIScrollView Delegate -(void)scrollViewDidScroll:(UIScrollView *)scrollView { CGPoint offset = scrollView.contentOffset;// Scrollview the offset of the current display area point from the frame […]

  • #How to use pragma pack


    Reference article:https://fanxinglanyu.blog.csdn.net/article/details/106616772 1 cause When defining communication frame structure variables in communication protocol, the compiler will compile each variable with the corresponding maximum number of bytes by default because the structure contains multiple variables and the number of bytes occupied by each variable is different. There are two problems 1) The waste of memory resources; […]