惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

G
GRAHAM CLULEY
V
V2EX
WordPress大学
WordPress大学
博客园 - Franky
Last Week in AI
Last Week in AI
博客园 - 司徒正美
有赞技术团队
有赞技术团队
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 【当耐特】
V
Visual Studio Blog
C
CERT Recently Published Vulnerability Notes
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Jina AI
Jina AI
Attack and Defense Labs
Attack and Defense Labs
腾讯CDC
The Hacker News
The Hacker News
Hugging Face - Blog
Hugging Face - Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
J
Java Code Geeks
人人都是产品经理
人人都是产品经理
阮一峰的网络日志
阮一峰的网络日志
T
Tailwind CSS Blog
S
SegmentFault 最新的问题
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
A
Arctic Wolf
量子位
博客园 - 聂微东
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
N
News and Events Feed by Topic
雷峰网
雷峰网
博客园_首页
Google Online Security Blog
Google Online Security Blog
Spread Privacy
Spread Privacy
罗磊的独立博客
H
Hacker News: Front Page
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
月光博客
月光博客
TaoSecurity Blog
TaoSecurity Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
博客园 - 三生石上(FineUI控件)
宝玉的分享
宝玉的分享
IT之家
IT之家
The Cloudflare Blog
爱范儿
爱范儿
博客园 - 叶小钗
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Apple Machine Learning Research
Apple Machine Learning Research
酷 壳 – CoolShell
酷 壳 – CoolShell

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
I Cancelled My $240/Year ChatGPT Subscription. 30 Days Later, My Laptop Knows Me Better Than GPT-4 Ever Did.
TheonaiaO · 2026-06-19 · via DEV Community

The subscription renewal email landed on a Tuesday.

$20/month. Auto-renew in 3 days. I'd been paying it for a year without thinking — the way you pay for a gym membership you stopped using in March. Except I was using it. Every day. Dumping my business plans, my client notes, my half-formed product ideas into a system that forgot everything the moment I closed the tab.

I stared at that email for maybe ten seconds. Then I cancelled it.

Not because I had a plan. Because I had a question that had been gnawing at me for weeks: Why am I paying a company $240 a year to borrow intelligence that doesn't even remember what I told it yesterday?

What happened next almost broke me. But it also built something I didn't know was possible — a private AI brain, running entirely on my aging laptop, that now answers questions about my work better than any cloud AI ever has.

This is that story.


Act I: The $0 Bet

The idea was simple. Maybe too simple.

What if I ran AI models locally — no subscription, no API keys, no data leaving my machine — and gave them access to everything I know? My documents. My notes. My research. Not the internet's knowledge. Mine.

I pulled up Ollama on a Wednesday night. One installer. One terminal command:

ollama pull llama3.2:3b
ollama run llama3.2:3b "Explain what you are in one sentence"

It answered in two seconds. On a 2018 i7 laptop. No GPU. No cloud. Just CPU and spite.

I pulled two more models. mistral:7b for when I needed the AI to actually think. And the one that would matter most — the one nobody talks about:

ollama pull nomic-embed-text

274 megabytes. A model whose only job is to turn text into 768 numbers that represent what that text means. Not its words. Its meaning.

That tiny model is the reason everything that follows works.


Act II: Teaching a Machine to Remember

Having a chatbot on your laptop is a party trick. The real question was: How do you give it a memory?

Here's what cloud AI does: you paste your document into a chat window. The AI reads it, answers your question, and forgets everything the moment the session ends. Next time, you paste it again. And again. Like explaining your job to a new colleague every single morning.

I wanted something different. I wanted to drop a file into a folder and have the system know it — permanently, searchably, semantically.

So I built a pipeline. Four steps, running in sequence:

Parse — strip the text out of any file. PDF, Word doc, markdown, HTML. Doesn't matter.

Chunk — split it into ~300-word pieces. Because a model can't usefully reason about a 50-page document all at once, but it can reason about a paragraph.

Embed — feed each chunk through nomic-embed-text. Each one becomes a 768-dimensional vector. A fingerprint of meaning.

Store — push those vectors into Qdrant, a vector database running in a Docker container on my machine.

The core of it looked like this:

vectors = client.embed(model="nomic-embed-text", input=chunks)["embeddings"]
qdrant.upsert("nexus", points=[
    PointStruct(id=str(uuid.uuid4()), vector=v,
        payload={"doc_id": doc_id, "source": f.name, "text": c})
    for c, v in zip(chunks, vectors)
])

Each chunk stored with its text, its source filename, and the 768-number vector that captures what it's about. No keyword index. No full-text search. Pure semantic similarity — cosine distance between meaning-vectors.

I dropped my first PDF into the inbox folder. A business plan I'd written three months ago. Watched the terminal:

learned: Q3-business-plan.pdf (23 memories)

Twenty-three memories. That's what it called them. I hadn't programmed that word. It just felt right.


Act III: The 3 AM Crash (and the Bug Nobody Warns You About)

It wasn't smooth.

Docker on Windows has a specific personality — the personality of a coworker who works brilliantly when they feel like it and goes completely silent when they don't. My containers would just... stop. Commands hanging forever. No error. No timeout. Just the cursor, blinking.

The fix was crude: quit Docker Desktop, open PowerShell, run wsl --shutdown, restart Docker. Sometimes a full reboot. Your data survives — it lives in named Docker volumes — but the first time it happened at 3 AM while I was loading my third batch of documents, I thought I'd lost everything.

I hadn't. But the adrenaline taught me to add connect_timeout=10 to every database connection and timeout=600 to every Ollama call. Without those, a hung service hangs your entire system forever. Silently.

Then came the bug that almost made me quit.

I'd been running ingestion for two hours. Feeding it everything — client notes, project plans, research PDFs. The terminal was printing beautifully: learned, learned, learned. Then:

UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f4a1'

Crash. Hard stop. Because Windows — in 2026 — still defaults its console to cp1252 encoding. And when the AI generated a lightbulb emoji in its response, the console itself couldn't print it. Not a model error. Not a logic bug. A display encoding crash.

The fix was three lines. I put them at the top of my shared config so every single module inherits them:

import sys
if sys.stdout and hasattr(sys.stdout, "reconfigure"):
    sys.stdout.reconfigure(encoding="utf-8", errors="replace")

Three lines. Two hours of debugging. The kind of thing that makes you understand why most people give up on local AI and go back to paying $20/month.

I didn't give up.


Act IV: The Moment It Clicked

Day 12. Forty-something documents ingested. Business plans, meeting notes, research reports, half a dozen markdown files I'd written about my own product ideas.

I typed a question into the terminal:

python brain/memory/ask.py "what's my strategy for reducing customer acquisition cost"

I hadn't used those words in any document. What I had written, buried in a strategy doc from February, was a paragraph about "cutting the cost-per-lead pipeline through organic content loops."

Different words. Same meaning.

Qdrant found it. Not because it matched keywords. Because nomic-embed-text had compressed both the question and that paragraph into nearby points in 768-dimensional space. The concepts were close, even though the words weren't.

The system pulled the five closest memories, stitched them into a context block, and handed them to mistral:7b:

context = "\n\n".join(f"[{h.payload['source']}]\n{h.payload['text']}" for h in hits)
resp = llm.chat(model="mistral:7b", messages=[{
    "role": "user",
    "content":
        f"Answer ONLY from these notes. If they don't contain the answer, say so.\n\n"
        f"NOTES:\n{context}\n\nQUESTION: {question}"
}])

The answer was three paragraphs. It cited my own documents. It connected ideas from two different files I'd written months apart — one about content strategy, one about funnel metrics — and synthesized a coherent answer I hadn't explicitly written anywhere.

I sat there reading my own ideas, reorganized and connected by a machine running on my own hardware, using my own documents, with zero data sent to any server.

That was the moment I knew I was never going back to ChatGPT.


Act V: The Brain Gets Autonomous

A brain that waits for you to type commands is just a search engine with extra steps. I wanted something that worked while I wasn't looking.

First: the watcher. A loop that checks the inbox folder every 60 seconds, ingests anything new, and moves the original to data/processed/. It starts at boot, runs invisibly, and if it dies, it sends me a Telegram message before it crashes:

try:
    main()
except Exception as e:
    notify.send(f"⚠ WATCHER DIED\nError: {str(e)[:300]}\n"
                "Ingestion is STOPPED until it is restarted.")
    raise

Rule number one of autonomous systems: silent death is the killer. Every failure must scream.

Then the agents. Built on LangGraph — state machines where each node does one thing and passes results to the next.

The research agent takes a topic and runs a five-step pipeline: generate search queries → search the web through a private SearXNG instance → fetch and extract page text → recall related memories from the brain → synthesize a structured report. The report gets saved to the inbox. The watcher picks it up. The brain learns what the agent researched. Self-feeding.

g = StateGraph(ResearchState)
g.add_node("plan", plan)
g.add_node("search", search)
g.add_node("read", read)
g.add_node("recall", recall)
g.add_node("synthesize", synthesize)
g.set_entry_point("plan")

The writing agent does the same thing but for content: recall my voice from stored style notes, recall topic knowledge, draft a post, generate social excerpts. It saves to data/drafts/ and sends me a preview on Telegram.

Key design decision: nothing auto-publishes. Every draft lands in a review queue. The AI proposes, the human disposes. Trust is built in the approval step, not the generation step.

And here's the detail that cost me the most debugging time: embeddings always stay local. Even when I added a remote GPU box for faster chat responses, I hardcoded the rule:

def embed(self, **kw):
    return _client.embed(**kw)   # ALWAYS local — never change the vector space

If your embedding model changes, every vector in your database becomes meaningless. The numbers were computed by one model; searching with a different model's vectors is like looking up English words in a French dictionary. The vector space is the memory. You don't migrate it. You protect it.


Act VI: What 30 Days of Private AI Taught Me

Here's what I know now that I didn't know when I cancelled that subscription:

The brain compounds. Every document makes every future answer better. Every research report the agent writes gets ingested back into memory, which makes the next research report more informed. After 30 days, the system doesn't just know my documents — it knows the connections between them.

Speed doesn't matter like you think it does. mistral:7b takes 1-3 minutes for long outputs on my CPU. I don't care. Because when it answers, it answers from my context. A sub-second response from GPT-4 that hallucinates because it's never seen my documents is slower than a two-minute response that's right.

The infrastructure is simpler than it sounds. Nine Docker containers. One docker-compose.yml. One Python config file that every module imports. The entire system runs on a laptop that cost me nothing because I already owned it.

Privacy changes how you use AI. When I knew nothing was leaving my machine, I started feeding it things I'd never paste into ChatGPT. Client financials. Personal strategic thinking. Half-baked ideas I'd be embarrassed to show anyone. The AI doesn't judge, and it doesn't share. The quality of my inputs went up because the trust barrier disappeared.


The Question I Can't Stop Thinking About

Right now, millions of people are paying $20/month to type their most sensitive thoughts into a text box owned by a company that explicitly reserves the right to train on that data.

They're building someone else's brain. Not their own.

The tools to change this are free. Ollama is free. Docker is free. Qdrant is free. The models are free. A 2018 laptop with 16GB of RAM can run all of it.

So why isn't everyone doing this?

Maybe because nobody told them they could. Maybe because the first Docker crash at 3 AM is where most people stop. Maybe because "it's only $20/month" feels cheaper than learning something new.

But here's what $20/month actually costs you: ownership of your own intelligence infrastructure. The accumulated knowledge of everything you've ever asked, every document you've ever analyzed, every idea you've ever explored — stored on someone else's servers, enriching someone else's model.

I got that back for $0 and a weekend.

What's your data worth to you?


This is part of what I'm building at THEONAIA — an AI systems studio. One operator. One AI brain called NEXUS. Building automated income systems in public, on infrastructure I own. Every failure is real. Every line of code is running right now on a laptop in my office.

Want the complete NEXUS field guide — every command, every crash, every fix? DM me on Telegram and I'll get it to you.