Flow State: Deep Focus and Happiness Guide

Flow State As I mentioned in my previous post on GTD and the Four Quadrant Rule Practice , I have been striving to enhance my focus and efficiency. Reflecting on the moments when I initially experienced the flow state, whether engrossed in a game or a novel, time seemed to stand still. The flow state is not just about the swift passage of time; it has profound effects on our lives, health, productivity, and even our sense of happiness. ...

February 13, 2024 · 3 min · 558 words · Xinwei Xiong, Me

GTD and the Quadrant Method Practice

GTD and the Quadrant Method Practice During the New Year holidays, I spent a lot of time reflecting. Alongside the growth and many merits over the past year, I also identified several shortcomings: Lack of proactive thought on prioritizing tasks A tendency to actively solve issues without much focus Difficulty in concentrating on completing specific TODOs Whenever I review my tasks, despite their number, I often feel a lack of clear judgment and thorough consideration. Sometimes, I might engage in a task because it seems crucial at the moment or out of a knee-jerk reaction, without truly assessing its priority or importance. This habit not only impacts my work efficiency but also prevents me from deep thinking and planning opportunities, which I aim to improve in the coming year. ...

February 12, 2024 · 13 min · 2589 words · Xinwei Xiong, Me

Go Directives & Automation Tools Deep Dive

These go: instructions in the Go source code && go automation tools Developers have a strong tendency to automate repetitive tasks, and this also applies to writing code. Boilerplate code may include operations such as setting up a basic file structure, initializing variables, defining functions, or importing libraries or modules. In some cases, packages provide boilerplate code as a starting point for developers to build from, typically generated after the code behavior has been configured. Although boilerplate code may be necessary and valuable to application functionality, it can also be wasteful and redundant. For this reason, there are many tools that minimize boilerplate code. go generate is a command line tool for the Go programming language that allows automatic code generation. You can use go generate to generate easily modifiable code specific to your project, making the tool powerful at reducing boilerplate. go generate This command is usually used to automatically generate code before compilation. It can be used to create repetitive or patterned code, thereby saving time and reducing errors. Think about it, in what situations would this be particularly useful? 🤔 ...

January 25, 2024 · 22 min · 4561 words · Xinwei Xiong, Me
Vector database learning

Vector Database Learning

Vector database learning I learned rust today and found that rust is a very suitable language for writing databases. I found a treasure project tikv. Its github project address is https://github.com/tikv/tikv . It is a very active project, but today I The topic is vector database in the field of AI. Without further ado, let’s get started right away. prerequisites 0.1 Introduction to basic knowledge: Understand the basic definition of vector database and its difference from traditional database. 0.2 Data Structure Basics: Learn vectors and other basic data structures, and how to represent and manipulate these structures in databases. 0.3 Introduction to Linear Algebra: Introduction to vector operations, including vector addition, subtraction and dot multiplication. 0.4 Similarity measures: Learn how to calculate similarity between vectors, such as cosine similarity. 0.5 Basics of Database Index: Introduces the basic concepts of database index, especially its application in vector databases. 0.6 Preliminary Search Algorithms: Learn basic search algorithms and understand how to perform effective searches in large data sets. 0.7 Application case studies: Study the application of vector databases in different fields (such as recommendation systems, image recognition). ...

January 20, 2024 · 39 min · 8125 words · Xinwei Xiong, Me

OpenIM: Version Control & Testing Workflow

The success of an open-source project largely depends on its quality management and collaborative processes. In the OpenIM open-source community, the standardization of project management and testing processes is crucial to ensure the quality and stability of the codebase. This document provides a brief overview of our testing strategy, branch management, quality control policies, and how they are applied to the main branch, PR testing branches, and stable release branches to meet the needs of developers, testers, and community managers. Additionally, we will introduce the standards, testing schemes, and project management strategies of the OpenIM open-source community, aiming to provide clear guidance to ensure project stability and sustainability. ...

January 15, 2024 · 5 min · 1023 words · Xinwei Xiong, Me

Emerging Challenges and Trends in 2024

Large language model sharing meeting on January 6, 2024 Limitations of the model: Deep learning Pre-trained model Large language model The emergent power of large language models: 💡 Relevant research on emergence phenomena has been done for a long time in the discipline of complex systems. So, what is “emergent phenomenon”? When a complex system is composed of many tiny individuals, these tiny individuals come together and interact with each other. When the number is large enough, they exhibit special phenomena that cannot be explained by the microscopic individuals at the macro level. This can be called an "emergent phenomenon." Link: ...

January 14, 2024 · 10 min · 2002 words · Xinwei Xiong, Me
about 2023 year

2023 Annual Summary Reflections and Aspirations

My 2023 Annual Summary As 2023 swiftly draws to a close, my university life is nearing its end with just half a year remaining. A friend once said, “What’s frightening is not losing your passion for work, but never being able to find it again.” This year, I encountered many people and experienced numerous events, gradually shaping my world view. I’m fond of Maslow’s hierarchy of needs and often reflect on my own state through it. I enjoy challenges, both in my work and hobbies (like hiking, cycling…). It seems I’ve successfully fulfilled the first four levels of Maslow’s theory: physiological needs, safety needs, social needs, and esteem needs. I’m probably at the stage of self-actualization needs. However, it’s worth mentioning that while Maslow’s theory is hierarchical, human needs aren’t always linear or fixed. For instance, someone at the self-actualization stage might still encounter needs from other levels at different times. If a person loses their job or faces financial difficulties, they may refocus on safety needs like financial security and stability. Similarly, the end of a close relationship or changes in one’s social network might reignite a desire for social needs. Even in everyday life, when we fall ill or feel hungry, our focus might temporarily shift from higher-level needs like self-actualization to physiological needs. ...

December 30, 2023 · 13 min · 2670 words · Xinwei Xiong, Me

Hugo Advanced Tutorial

136: Hugo Advanced Coming to the advanced part, you need to learn some advanced Hugo techniques in depth. Module Hugo modules are the core building blocks of Hugo. A module can be your main project or a smaller module that provides one or more of the 7* component types defined in Hugo: static, content, layouts, data, assets, i18n and archetypes. You can combine modules in any combination you like, and you can even mount directories from non-Hugo projects to form a large virtual union file system. ...

November 6, 2023 · 34 min · 7121 words · Xinwei Xiong, Me

Kubernetes for Kustomize Learning

Introduction About Kustomize GitHub Repository Get Started Kustomize is an open-source configuration management tool designed specifically for Kubernetes. It helps users customize Kubernetes objects and manage them declaratively without modifying the original YAML files . This means you can retain the basic settings for applications and components while overriding default settings with declarative YAML documents called “patches” without altering the original files. Kustomize provides a declarative approach that aligns with Kubernetes philosophy and allows customization of Kubernetes configurations in a reusable, fast, debuggable, and scalable manner. ...

October 31, 2023 · 24 min · 4998 words · Xinwei Xiong, Me

OpenIM Use Harbor Build Enterprise Mirror Repositories

Requirements OpenIM provides various public image registry addresses, such as aliyun, github, Docker Hub, and more. Read https://github.com/openimsdk/open-im-server/blob/main/docs/conversions/images.md for more image building guidelines. Most enterprises choose to set up their own image repository using Harbor, integrating it into their CI/CD pipeline to eventually replace Docker Hub and further reduce image storage costs. Additionally, in a production environment, Harbor generally enables TLS, so you will also need to prepare a valid domain name. ...

October 25, 2023 · 5 min · 1009 words · Xinwei Xiong, Me