✕ Clear all filters
48 articles

📰 Dev.to · BAOFUFAN

48 articles · Updated every 3 hours · View all reads

All Articles 89,383Blog Posts 108,035Tech Tutorials 22,205Research Papers 18,925News 14,693 ⚡ AI Lessons
The 3-Hour Redis Cache Bug: Automated with Pytest
Dev.to · BAOFUFAN 5d ago
The 3-Hour Redis Cache Bug: Automated with Pytest
It was 2 AM when my phone started buzzing like crazy. Operations had posted three frantic messages in...
localStorage Clearing Pitfalls: A Stale Token Took Me 3 Hours to Debug
Dev.to · BAOFUFAN 6d ago
localStorage Clearing Pitfalls: A Stale Token Took Me 3 Hours to Debug
At 1:47 AM, my phone buzzed like a motor. A security colleague dropped a screenshot in the group: an...
LLM Memory System Pitfalls: A 3-Hour Bug Hunt Solved with Pytest Snapshot Testing
Dev.to · BAOFUFAN 6d ago
LLM Memory System Pitfalls: A 3-Hour Bug Hunt Solved with Pytest Snapshot Testing
It was 2 a.m. when the alert call jolted me awake — our production Agent had suffered “amnesia” for...
How I Slashed Context Loss from 30% to 0% with Automated LangChain Memory Tests
Dev.to · BAOFUFAN 1w ago
How I Slashed Context Loss from 30% to 0% with Automated LangChain Memory Tests
I was jolted awake at 1 AM by an alert call. The ops team told me that our chatbot—supposedly “the...
Bringing LLM Memory Regression Tests from 30 Minutes Down to 90 Seconds with pytest + Redis
Dev.to · BAOFUFAN 1w ago
Bringing LLM Memory Regression Tests from 30 Minutes Down to 90 Seconds with pytest + Redis
At 2:17 a.m., a chain of alarms yanked me out of sleep — the LLM in production had suddenly "lost its...
Automating Agent Memory Regression with pytest & Vector DB: 5x Defect Discovery Speedup
Dev.to · BAOFUFAN 1w ago
Automating Agent Memory Regression with pytest & Vector DB: 5x Defect Discovery Speedup
It was 1 AM when my phone rang. "You updated the embedding model this afternoon, and now the agent’s...
LangChain Memory Pitfall: A Concurrency Race Condition That Cost Me 6 Hours
Dev.to · BAOFUFAN 1w ago
LangChain Memory Pitfall: A Concurrency Race Condition That Cost Me 6 Hours
At 2:17 AM, I was jolted awake by a phone call. The ops team told me the production chatbot had...
LangChain + Chroma: Multi-turn RAG Memory and Automated Testing That Turned 2-Hour Bugs Into 5-Minute Fixes
Dev.to · BAOFUFAN 1w ago
LangChain + Chroma: Multi-turn RAG Memory and Automated Testing That Turned 2-Hour Bugs Into 5-Minute Fixes
At 1 a.m., the customer group chat exploded: “Does your customer service bot have only a 7-second...
How Automating RAG Memory Tests with ChromaDB Quadrupled Our Bug Discovery Rate
Dev.to · BAOFUFAN 1w ago
How Automating RAG Memory Tests with ChromaDB Quadrupled Our Bug Discovery Rate
At 2 a.m., our ops group chat exploded — “The support bot is mixing up historical orders from the...
From Mock to Real Redis: Cutting Agent Memory Test Leakage from 30% to 0
Dev.to · BAOFUFAN 1w ago
From Mock to Real Redis: Cutting Agent Memory Test Leakage from 30% to 0
Woken up by PagerDuty at 2 AM. The user group was on fire — our AI customer service agent suddenly...
50 pytest Tests That Caught Redis Cache Bugs Before Production — 90% Fewer Incidents
Dev.to · BAOFUFAN 2w ago
50 pytest Tests That Caught Redis Cache Bugs Before Production — 90% Fewer Incidents
At 2:07 a.m., my phone vibrated three times. The alert channel lit up with a red message: “DB...
How I Built a Private Knowledge Base with LangChain + FastAPI — and the 3 Pitfalls That Cost Me 8 Hours
Dev.to · BAOFUFAN 2w ago
How I Built a Private Knowledge Base with LangChain + FastAPI — and the 3 Pitfalls That Cost Me 8 Hours
At 1:30 AM, my phone went crazy. The ops chat exploded: “The knowledge base QA endpoint is timing out...
AI Chat Memory Pitfalls: 30% of Conversations Lost on Refresh
Dev.to · BAOFUFAN 🤖 AI Agents & Automation ⚡ AI Lesson 1mo ago
AI Chat Memory Pitfalls: 30% of Conversations Lost on Refresh
It was 1 a.m. when the product manager dropped a screenshot in the group chat: “A user chatted for 20...
How Moving Rate Limiting to Redis+Go 8x'd Our API Gateway Throughput (And Cost Us 3 Days of Debugging)
Dev.to · BAOFUFAN 1mo ago
How Moving Rate Limiting to Redis+Go 8x'd Our API Gateway Throughput (And Cost Us 3 Days of Debugging)
It was 2 AM. I was jolted awake by a cascade of alerts — our downstream order database was thrashing...
Stop Guessing Memory: How to Automate LangChain Memory Testing and Catch 80% of Multi-Turn Failures
Dev.to · BAOFUFAN 🧠 Large Language Models ⚡ AI Lesson 1mo ago
Stop Guessing Memory: How to Automate LangChain Memory Testing and Catch 80% of Multi-Turn Failures
2 a.m. The customer Slack channel explodes — the support bot just asked for the same order number...
IndexedDB Automation Testing Pitfalls: 3 Hidden Bugs & 30 Wasted Hours
Dev.to · BAOFUFAN 1mo ago
IndexedDB Automation Testing Pitfalls: 3 Hidden Bugs & 30 Wasted Hours
Last Thursday at 10 PM, our product chat exploded: more than a dozen users reported that all their...
Debugging AI Agent Memory Loss: A 3-Day Investigation
Dev.to · BAOFUFAN 1mo ago
Debugging AI Agent Memory Loss: A 3-Day Investigation
I got paged at 2 AM. Our AI teaching assistant had "amnesia." A student had just explained their lab...
How I Slashed Our LLM API Token Costs by 90% — From 1M to 100K Daily
Dev.to · BAOFUFAN 1mo ago
How I Slashed Our LLM API Token Costs by 90% — From 1M to 100K Daily
Last week, finance dropped a screenshot into the group chat: this month’s LLM API bill was ¥5,368, up...
Validating AI Agent Memory with ChromaDB: How a Misaligned Similarity Threshold Cost Me 3 Hours
Dev.to · BAOFUFAN 1mo ago
Validating AI Agent Memory with ChromaDB: How a Misaligned Similarity Threshold Cost Me 3 Hours
It was 1 a.m. when a DingTalk alert yanked me out of sleep. Users were complaining that our AI...
From 2 Hours to 3 Minutes: Eliminating Missed Tests in AI Memory Consistency Testing
Dev.to · BAOFUFAN 1mo ago
From 2 Hours to 3 Minutes: Eliminating Missed Tests in AI Memory Consistency Testing
At 2 a.m. I got woken up by an alert call – our online AI assistant suddenly “lost its memory.” A...