Code Mala Tang
Author

Code Mala Tang

Read source code together, write articles together, and enjoy spicy hot pot together.

451
Articles
0
Likes
1.4k
Views
0
Comments
Recent Articles

Latest from Code Mala Tang

100 recent articles max
Code Mala Tang
Code Mala Tang
Feb 25, 2026 · R&D Management

Can AI Agents Keep Your Specs Up‑to‑Date Without Human Docs?

The article argues that traditional documentation quickly becomes obsolete and proposes a self‑updating specification workflow where both developers and AI agents read and write the spec, eliminating hidden maintenance work and keeping the plan aligned with reality.

AI agentsAutomationDevOps
0 likes · 5 min read
Can AI Agents Keep Your Specs Up‑to‑Date Without Human Docs?
Code Mala Tang
Code Mala Tang
Feb 24, 2026 · Backend Development

Why Async FastAPI Still Blocks and How to Offload Heavy Work

After fixing unlimited queries and pagination issues, this article reveals why async FastAPI still stalls under load, outlines the hidden bottlenecks in the request lifecycle, and provides practical rules and code examples for offloading heavy work to background workers, ensuring scalability, idempotence, and observability.

AsyncBackground TasksFastAPI
0 likes · 9 min read
Why Async FastAPI Still Blocks and How to Offload Heavy Work
Code Mala Tang
Code Mala Tang
Feb 22, 2026 · Backend Development

Why FastAPI Slows Down with Millions of Rows—and How to Keep It Fast

FastAPI feels lightning‑fast on small datasets, but returning millions of rows can exhaust memory, block the event loop, and cripple the database; this article explains why that happens and provides concrete design rules—selective fields, pagination, cursor‑based queries, streaming, and chunked processing—to keep APIs stable at scale.

FastAPIPaginationStreaming
0 likes · 9 min read
Why FastAPI Slows Down with Millions of Rows—and How to Keep It Fast
Code Mala Tang
Code Mala Tang
Feb 21, 2026 · Artificial Intelligence

Mastering Cursor AI Agents: Best Practices for Efficient Code Generation

This guide explains how to harness Cursor's AI agents for software development by covering agent harness components, planning modes, context management, rule and skill extensions, long‑running loops, image handling, common workflows like TDD and Git integration, parallel execution, cloud delegation, and debugging strategies.

AI agentsAgent WorkflowCursor
0 likes · 20 min read
Mastering Cursor AI Agents: Best Practices for Efficient Code Generation
Code Mala Tang
Code Mala Tang
Feb 21, 2026 · Backend Development

10 Common Pitfalls When Streaming JSON in Node.js and Safer Patterns

This guide enumerates ten frequent traps encountered when streaming JSON in Node.js—such as assuming one chunk per object, UTF‑8 split issues, missing newline delimiters, back‑pressure overload, and handling of large numbers—and presents reliable patterns like using NDJSON framing, StringDecoder, pipeline, and proper error handling to avoid data loss and memory spikes.

JSONNDJSONNode.js
0 likes · 13 min read
10 Common Pitfalls When Streaming JSON in Node.js and Safer Patterns
Code Mala Tang
Code Mala Tang
Feb 20, 2026 · Artificial Intelligence

How to Integrate Claude Code with Ollama for Local and Cloud LLM Workflows

This guide walks you through installing Claude Code and Ollama, pulling and configuring various open‑source models, setting environment variables, and running Claude Code with both local and cloud‑hosted models, while covering context length, performance considerations, and tool‑calling examples.

Claude CodeLLM integrationOllama
0 likes · 14 min read
How to Integrate Claude Code with Ollama for Local and Cloud LLM Workflows
Code Mala Tang
Code Mala Tang
Feb 19, 2026 · Frontend Development

When AI Becomes a Junior Engineer: Real Front‑End Gains and Limits

AI is not the future of engineering but a tireless junior engineer that can speed up repetitive tasks, mechanical refactoring, and test scaffolding, while still failing at architectural decisions, performance reasoning, and async concurrency, so senior developers must guide and verify its output.

AIPerformancefrontend
0 likes · 10 min read
When AI Becomes a Junior Engineer: Real Front‑End Gains and Limits