Tag:offset

  • Linux modifies elf to solve glibc compatibility problem

    Time:2021-9-28

    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

    Time:2021-9-28

    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:2021-9-23

    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

    Time:2021-9-14

    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

    Time:2021-8-28

    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

    Time:2021-8-28

    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

    Time:2021-8-25

    1、 Set the value of the specified key Commands: Set Format: set key value 127.0.0.1:6379> set test_key test_value OK 2、 Gets the value of the specified key Command: get Format: get key 127.0.0.1:6379> 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

    Time:2021-8-18

    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

    Time:2021-8-6

    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

    Time:2021-8-5

    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

    Time:2021-8-2

    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

    Time:2021-5-30

    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; […]