Code Farmer Manor Chronicle
Author

Code Farmer Manor Chronicle

A heart like drifting clouds, ever at ease; a mind like flowing water, free to roam.

19
Articles
0
Likes
10
Views
0
Comments
Recent Articles

Latest from Code Farmer Manor Chronicle

19 recent articles
Code Farmer Manor Chronicle
Code Farmer Manor Chronicle
Oct 9, 2026 · Frontend Development

Master TypeScript Generics & Utility Types: From Basics to Production-Ready Patterns

This practical guide covers TypeScript generics, constraints, keyof, index access types, nine essential utility types (Partial, Pick, Omit, Record, ReturnType, etc.), conditional types with infer, and distributive conditional types, demonstrating real-world patterns for API responses, form handling, and permission mapping with executable code examples.

Conditional TypesGenericsIndex Access Types
0 likes · 13 min read
Master TypeScript Generics & Utility Types: From Basics to Production-Ready Patterns
Code Farmer Manor Chronicle
Code Farmer Manor Chronicle
Oct 7, 2026 · Backend Development

Mastering High-Concurrency Caching: Penetration, Breakdown, Avalanche & Hot Keys

This article explains four classic high-concurrency caching problems—cache penetration, breakdown, avalanche, and hot keys—their root causes, differences, and practical solutions including empty-value caching, Bloom filters, mutex locks, logical expiration, TTL jitter, multi-level caching, and cache-database consistency patterns.

Bloom FilterCache AsideCache Avalanche
0 likes · 12 min read
Mastering High-Concurrency Caching: Penetration, Breakdown, Avalanche & Hot Keys
Code Farmer Manor Chronicle
Code Farmer Manor Chronicle
Oct 6, 2026 · Databases

Chinese Domestic Databases: Three Generations Compared for Selection

This article compares five major Chinese domestic databases across three technical generations—traditional centralized (Dameng, Kingbase), open-source modified (openGauss), and self-developed distributed (OceanBase, TiDB)—detailing their kernel origins, compatibility targets, strengths, weaknesses, and a decision framework based on compliance requirements, existing workload, scale, and operational readiness.

DamengHTAPKingbase
0 likes · 9 min read
Chinese Domestic Databases: Three Generations Compared for Selection
Code Farmer Manor Chronicle
Code Farmer Manor Chronicle
Oct 1, 2026 · Databases

Database Selection Guide: Decision Framework for New Projects with Xinchuang Options

This article provides a structured decision framework for choosing databases in new projects, covering four key questions, relational and NoSQL comparisons, Xinchuang (domestic) database options, distributed NewSQL systems, a practical decision tree, typical technology stacks, and guidance on writing selection documents with POC validation.

MySQLNewSQLPostgreSQL
0 likes · 9 min read
Database Selection Guide: Decision Framework for New Projects with Xinchuang Options
Code Farmer Manor Chronicle
Code Farmer Manor Chronicle
Oct 1, 2026 · Databases

Xinchuang Database Migration: MySQL→Kingbase & Oracle→Dameng 5-Phase Guide

This article details a five-phase migration process for China's Xinchuang database replacements, covering Oracle-to-Dameng and MySQL-to-Kingbase routes, compatibility mode selection, schema conversion, data migration, application refactoring, regression verification, and critical dialect pitfalls like auto-increment, upsert, date functions, and empty-string handling.

DamengKingbaseMySQL
0 likes · 10 min read
Xinchuang Database Migration: MySQL→Kingbase & Oracle→Dameng 5-Phase Guide
Code Farmer Manor Chronicle
Code Farmer Manor Chronicle
Sep 30, 2026 · Artificial Intelligence

Model Context Protocol (MCP): Unifying AI Tool Integration Like USB-C

This guide explains the Model Context Protocol (MCP), an open standard that solves the M×N integration problem between AI applications and tools by defining three roles (Host, Client, Server), three capability types (Tools, Resources, Prompts), and two transports (stdio, HTTP), with a minimal Python server example and integration steps for Trae, Claude, and Cursor.

AI agentsAI tool integrationFastMCP
0 likes · 10 min read
Model Context Protocol (MCP): Unifying AI Tool Integration Like USB-C
Code Farmer Manor Chronicle
Code Farmer Manor Chronicle
Sep 28, 2026 · Artificial Intelligence

Prompt Engineering Fundamentals: Ask LLMs the Right Way

This guide covers essential prompt engineering techniques for large language models, including clear instructions, role assignment, output formatting, context injection, few-shot examples, chain-of-thought reasoning, structured outputs, troubleshooting common failures, and template-based prompting for RAG and agent applications.

AgentChain-of-ThoughtFew-shot
0 likes · 7 min read
Prompt Engineering Fundamentals: Ask LLMs the Right Way