The LZSS Compression AlgorithmIntroduction to LZSS LZSS is an improved version of LZ77, published by James A. Storer and Thomas Szymanski in the Journal of the ACM in 1982. LZSS...lzssalgorithm
The LZ77 Compression AlgorithmIntroduction to LZ77 LZ77 is a lossless compression algorithm first published by two Israeli researchers in 1977. It is a classic dictionary-based...lz77algorithm
Langfuse: Observability for LLM ApplicationsLangfuse: Observability for LLM Applications After an LLM app ships, developers quickly learn that a single user request often passes through promp...LangfuseLLMObservabilityEvals
How Agents Use E2B Code Interpreter to Isolate Untrusted Code ExecutionHow Agents Use E2B Code Interpreter to Isolate Untrusted Code Execution When building agents, one of the most tempting capabilities is letting the...e2bsandboxcode-interpreterAgentsecurity
Building Agents with LangChain in PracticeBuilding Agents with LangChain in Practice This article starts from the LangChain basics, beginning with a simple agent and working up to the conce...PythonLangChainAI
Hands-On Linear Regression Training with PyTorchHands-On Linear Regression Training with PyTorch Based on Jupyter Notebook examples from my own experiments, this post uses PyTorch to build, train...PythonPyTorchAI
Function Calling in LLM ApplicationsFunction Calling in LLM Applications LLMs are used very widely today, from the most common chat Q&A (e.g. ChatGPT, DeepSeek chat) to retrieval-base...AILLM
Memory Management in High-Level Languages: C++ vs. Go vs. RustMemory Management in High-Level Languages: C++ vs. Go vs. Rust C++, Go, and Rust are three high-level languages with three distinctly different sty...C++RustGo
A First Look at the OpenAI APIIntroduction Artificial intelligence is nothing new; it has been developing for many years, and along with it came the numerical, matrix, graphics,...OpenAIAIChatGPT
Playing with a Self-Hosted GitLab Community EditionPlaying with a Self-Hosted GitLab Community Edition This self-hosted setup uses Docker containers for both gitlab-ce and gitlab-runner. What is G...gitlinux
On Modifying Program CodeWhat Is a Code Change Every software project has a lifecycle, and however long or short it is, it involves code changes. Whether you are fixing ear...expr
A Quick Introduction to the MongoDB Cloud PlatformWhat Is MongoDB Cloud At the core of MongoDB Cloud is , a fully managed cloud database for modern applications. Atlas is the best way to run MongoD...MongoDBSQL
Thread Safety in JNI Function CallsWhat is JNI development? I used to do this kind of work, and after a former colleague raised some questions, I set aside time to dig into JNI devel...jnijavaC++
An Overview of Distributed Service System DesignOverview and definition A distributed system is a system made up of a group of independent computers (nodes) working together over a network. Toget...SQLActorMongoDBRedisetcdRocketMQ
Using GitHub OAuth AppsGitHub offers two kinds of apps: regular Apps (often used for automation bots) and OAuth Apps that act on behalf of a signed-in user. With an OAuth A...githuboauth
Using Linux Core Dumps to Quickly Locate Program BugsWhat Is a Core Dump? A core dump is a mechanism inherited from UNIX. When a program crashes due to an error, it saves a snapshot of the stack, memo...linuxdebugcoredumpgdbobjdump
How to Enable UEFI Secure Boot on LinuxOverview Secure Boot is a UEFI option that can be turned on or off. (On a few machines Secure Boot is enabled with no option to disable it, and the...linuxUEFIopenssl
How to Copy Files from MINIX in a Virtual Machine to the Host Linux SystemBackground Reading MINIX source code directly inside the virtual machine is very inconvenient, and modifying, debugging, or porting it there is eve...minixqemu
Setting Up a Chinese LaTeX Typesetting System on LinuxAbout TeX TeX is a computer typesetting system originally created by Donald E. Knuth, professor at Stanford University. Most of you will know him f...linuxlatex
How to Use SQL Server 2008 in Visual Studio 2010SQL Server is Microsoft's database product and a fairly well-known one. SQL Server 2000 was especially popular with users and widely recognized, and...SQL
Designing a PE File PackerIntroduction Today let's discuss packers for PE files. A packer is mainly used for commercially protecting a PE file so that the software is less l...WindowsEXE
Agent Harness: Wiring AI Agents into Engineering WorkflowsAgent Harness: Wiring AI Agents into Engineering Workflows When ChatGPT first took off, my workflow was: open a browser, paste a code snippet, wait...AIAgentEngineering ProductivityPi
Designing High-Concurrency, High-Availability Cloud Services (Go Edition)Designing High-Concurrency, High-Availability Cloud Services (Go Edition) Using a Go cloud service as the example, this post systematically covers...High ConcurrencyHigh AvailabilityArchitecture Design
PKI Architecture and Certificate Trust ChainsPKI Architecture and Certificate Trust Chains When you browse the web, the padlock in the address bar, HTTPS, code signing, email encryption—all of...pkicertificatesecurity
Encryption, Hashing, and Threshold Schemes: Types and ApplicationsEncryption, Hashing, and Threshold Schemes: Types and Applications In day-to-day development, "encryption" tends to be used as a catch-all: HTTPS,...cryptographyhashaesrsaecc
Fitting Problems in Machine Learning Model TrainingFitting Problems in Machine Learning Model Training What Are Fitting Problems Fitting problems boil down to how well a model learns the patterns...AIMachine Learning
AI Notes - Machine LearningArtificial Intelligence - Machine Learning The foundation of artificial intelligence is machine learning. As the name suggests, it lets machines pr...AI
AI Notes - Data Analysis and Decision-MakingArtificial Intelligence - Data Analysis and Decision-Making This part is divided into four layers: - Data collection - Data cleaning - Data analys...AI
The Linux Boot ProcessLoading the kernel In the I explained how computers boot, from early machines to modern ones, but I did not go deeper once we reached the operatin...linux
The Computer Boot ProcessThe Ancient Era At this stage the computer lives in a purely electrical world, with almost no notion of software (not entirely accurate—more on th...GRUBUEFIBIOS
Asynchronous I/O on LinuxAsynchronous I/O on Linux In systems programming, the I/O (input/output) model determines how you interact with data, and it has a critical impact...linux
Software Design Patterns - Behavioral PatternsSoftware Design Patterns - Behavioral Patterns Behavioral patterns deal with efficient communication between objects and the delegation of responsi...Design Patterns
Software Design Patterns - Structural PatternsSoftware Design Patterns - Structural Patterns Structural patterns describe how classes and objects are assembled into larger structures while keep...Design Patterns
Software Design Patterns - Creational PatternsSoftware Design Patterns - Creational Patterns The creational patterns are: Factory Method, Abstract Factory, Builder, Prototype, and Singleton....Design Patterns
An Introduction to Software Design PatternsAn Introduction to Software Design Patterns Software design patterns are a basic problem-solving method in software engineering: they provide a rea...Design Patterns