Blog

Letter to Spiritual Shareholders 2026

Letter to Spiritual Shareholders 2026

Reflections on AI's transformation of the internet world and human-AI collaboration in 2025. Exploring agent production cycles, content creation shifts, and the enduring power of writing in an AI-driven future.

February 14, 2026

Docker Architecture Deep Dive

Docker Architecture Deep Dive

Comprehensive analysis of Docker's core technologies including namespaces for process isolation, network virtualization, mount points, CGroups for resource management, and UnionFS for image layering.

January 26, 2026

Docker Containers and Container Cloud Study Notes

Docker Containers and Container Cloud Study Notes

Comprehensive study notes on Docker containers and container cloud concepts covering IaaS PaaS SaaS models namespace isolation mechanisms and container orchestration principles for effective container management.

January 26, 2026

Regular Expression Quick Start Guide

Regular Expression Quick Start Guide

A comprehensive introduction to regular expressions covering syntax patterns matching techniques and practical examples in JavaScript and Go. Learn essential regex concepts including character classes quantifiers grouping and advanced features like lookaheads and backreferences.

January 26, 2026

Principles and Techniques for Prompt Writing in Context Engineering

Principles and Techniques for Prompt Writing in Context Engineering

Learn essential principles and techniques for effective prompt writing in context engineering including clarity focus minimalism right altitude approach structured prompts and curated few shot examples for building reliable AI agents.

October 12, 2025

Best Practices Guide for Writing Efficient Tools (Essential Edition)

Best Practices Guide for Writing Efficient Tools (Essential Edition)

A comprehensive guide to building effective tools for AI agents, covering key strategies from prototyping and evaluation to collaboration optimization. Learn essential principles including proper tool selection, namespacing, contextual responses, token efficiency, and prompt engineering to enhance agent performance.

September 13, 2025

Meta-Prompting Techniques for Enhanced AI Output Quality

Meta-Prompting Techniques for Enhanced AI Output Quality

Learn meta-prompting concepts and applications through templating and feedback iteration mechanisms. This guide helps generate higher quality AI prompts and improves large language model output effectiveness across various use cases.

June 8, 2025

Best Practices for Wrapping C++ Libraries with CGO

Learn essential techniques and best practices for wrapping C++ libraries with CGO in Go applications. This comprehensive guide covers performance optimization, memory management, smart pointer handling, and common pitfalls when integrating C++ code with Go through CGO bridge technology.

March 27, 2022

Memory Leak Caused by Using Go STL to Query DB

Problem Origin Recently, a Go API service was found to have continuously increasing memory usage through regular monitoring. The memory usage rose from the initial 70MB to over 1GB until it ran out of memory and crashed. This clearly indicated a memory leak issue. Since memory leaks rarely occur in languages with built-in garbage collection, if there is one, it must be a significant problem. Therefore, the following detailed investigation process was carried out to accumulate experience for handling similar issues in the future.

March 6, 2020

Understanding the Impact of CPU Cache on Concurrent Performance

Learn how CPU cache architecture affects concurrent programming performance including L1 L2 and L3 cache hierarchy false sharing problems and solutions for optimizing multi-threaded applications.

December 30, 2019