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

推荐订阅源

CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
L
Lohrmann on Cybersecurity
aimingoo的专栏
aimingoo的专栏
V
V2EX
S
Security Affairs
T
Threatpost
C
CXSECURITY Database RSS Feed - CXSecurity.com
IT之家
IT之家
J
Java Code Geeks
The Register - Security
The Register - Security
U
Unit 42
C
CERT Recently Published Vulnerability Notes
月光博客
月光博客
A
About on SuperTechFans
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
The Blog of Author Tim Ferriss
Cisco Talos Blog
Cisco Talos Blog
Project Zero
Project Zero
S
Schneier on Security
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
D
DataBreaches.Net
博客园 - 司徒正美
V
Vulnerabilities – Threatpost
T
Tor Project blog
Security Latest
Security Latest
T
The Exploit Database - CXSecurity.com
T
Threat Research - Cisco Blogs
Scott Helme
Scott Helme
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
M
MIT News - Artificial intelligence
云风的 BLOG
云风的 BLOG
小众软件
小众软件
L
LangChain Blog
Attack and Defense Labs
Attack and Defense Labs
Recent Commits to openclaw:main
Recent Commits to openclaw:main
P
Palo Alto Networks Blog
A
Arctic Wolf
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
Cyber Attacks, Cyber Crime and Cyber Security
博客园 - 叶小钗
D
Darknet – Hacking Tools, Hacker News & Cyber Security
L
LINUX DO - 最新话题
MongoDB | Blog
MongoDB | Blog
Webroot Blog
Webroot Blog
H
Hacker News: Front Page
Know Your Adversary
Know Your Adversary
Spread Privacy
Spread Privacy
AWS News Blog
AWS News Blog
Engineering at Meta
Engineering at Meta

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 built a cross-platform AI SaaS solo in 12 weeks — 2,258 commits, and one set $50 on fire
Aaron Cao · 2026-06-01 · via DEV Community

Twelve weeks ago: an empty repo. This morning: 2,258 commits, a desktop app shipping on macOS and Windows, a billing system, an admin dashboard, a 26-language marketing site — all live in production. Solo. No co-founder, no team, no funding.

I'm a full-stack dev, and yes, an AI coding agent did a big share of the keystrokes. But "#showdev: AI wrote my app" is the lazy headline and it's wrong. The interesting part is the engineering discipline that makes a solo + agent setup actually ship something that doesn't fall over — plus the handful of times it absolutely fell over.

Here's the stack, the dead ends, real config, and the lesson that cost me fifty dollars.

The stack (for the curious)

  • Backend: Cloudflare Workers (Hono + TypeScript), D1 (SQLite) for data, KV for sessions/cache, R2 for uploads, Vectorize for embeddings.
  • Clients: SwiftUI on macOS, Tauri 2 (React + Rust) on Windows. Real-time audio capture (system + mic), streamed to STT, answers rendered in a floating overlay.
  • Payments: Paddle as Merchant of Record.
  • The product: SubcueAI (subcue.ai) — a real-time AI interview assistant. It transcribes both sides of a call live and suggests talking points in an overlay; there's also a mock-interview practice mode.

Now the parts that hurt.

Lesson 1 — I threw away v1 on day two

The first version was a native macOS app built the "proper" way. It lasted ~36 hours. The second commit in the whole history is literally "migrate to backend (Cloudflare Workers) + macOS rewrite, remove legacy project."

Not a bold strategic call — I just realized within a day the architecture would make everything downstream (auth, sync, a website, an admin panel) three times harder. So I deleted it.

Your sunk-cost reflex is the most expensive bug you'll ship. Deleting two days of work in week one is cheap. Deleting it in month three is a funeral.

Lesson 2 — Five STT providers, and a bug you can't unit-test

Real-time transcription is where this app lives or dies. The git history is a graveyard of providers: Apple's built-in speech → whisper.cpp locally → Deepgram → ElevenLabs → OpenAI realtime transcribe. Five. Each looked great in a 90-second demo, then fell apart on latency, accents, dropped websockets, or cost.

The bug that taught me something: one provider had a silent 60-minute hard cap per session. Demos are 5 minutes, so I never hit it. Then someone does a real 70-minute interview and transcription dies at minute 60, cascading the whole pipeline into a dead state.

You don't catch that in a test. I caught it because I'd wired up client telemetry and saw failures clustering at the one-hour mark. The fix is a watchdog that proactively rotates the session before the limit:

// Rotate at 55 min — 5 minutes early, on purpose, so the handoff is invisible.
const SESSION_LIMIT_MS = 60 * 60 * 1000
const ROTATE_BEFORE_MS  = 5  * 60 * 1000

if (now - sessionStartedAt >= SESSION_LIMIT_MS - ROTATE_BEFORE_MS) {
  await rotateSttSession({ countsTowardReconnectQuota: false }) // smooth, not a "reconnect"
}

Enter fullscreen mode Exit fullscreen mode

"Works in the demo" and "works in a 50-minute session on flaky hotel wifi" are different products. Instrument prod or you're flying blind.

Lesson 3 — I rebuilt the Windows UI four times (and lost a day to a rounded corner)

I wanted the Windows client to match the macOS one: a translucent, blurred, rounded-corner floating window. Sounds trivial. It is not.

I went WinUI 3 → Qt → Avalonia → Tauri 2. WinUI couldn't do the layered transparency. Avalonia, after real effort, couldn't hit macOS-grade rounded + transparent + blur on the Windows desktop. I have an entire afternoon of commits that are just me fighting window chrome: DWM constants typed as the wrong integer width, Mica vs. Acrylic, vibrancy, CSS backdrop-filter, a 1px white border that would not die. One commit message: "drop CSS chrome border — stacked with DWM edge looked 2-3px thick." A whole day. For a corner.

The fix wasn't willpower. I moved to a webview shell (Tauri) where the rounding is one line:

.window-chrome {
  border-radius: 12px;
  background: rgba(16, 16, 26, 0.72);
  backdrop-filter: blur(22px);
}

Enter fullscreen mode Exit fullscreen mode

If you've spent a day fighting the framework for something cosmetic, the framework is the bug. Change the tool, not your willpower.

Lesson 4 — Payments is the real mountain (and the most boring one)

Everyone wants to talk about the AI. Nobody wants to talk about the thing that decides whether you have a business: getting paid.

I started on Stripe, then moved to Paddle as a Merchant of Record. For a solo dev that distinction is huge — the MoR becomes the legal seller and handles global sales tax / VAT. I'm not going to become a tax expert in 40 jurisdictions; I'll trade a few points of margin for not getting a letter from a tax authority I've never heard of.

Then the lifecycle, which I waded through commit by commit: daily-quota → credits balance; upgrades that prorate immediately; downgrades that have to defer to period end (the provider has no native "change my price later," so you store a pending_plan and a sweeper applies it at the boundary); cancellations that end at period close with a captured reason; resume; and webhooks reconciling all of it so the source of truth never drifts.

The unsexy 80% — billing, auth, i18n, infra — is where the real work and the real moat live. It's not the dessert, it's the meal.

Lesson 5 — A cron job set $50 on fire while I slept

My favorite disaster. I'd built an automated content pipeline. A scheduled job kicked off a publish step on a background task that got cancelled; the platform read the cancellation as failure and retried ~34 times; each retry fired ~25 paid LLM calls. I woke up to a very calm dashboard and a not-calm bill.

The damage was small. The shape of it was the lesson: automation + an AI agent moves fast in every direction, including "on fire," silently, overnight. The fix is a set of money-safety invariants I now treat as sacred:

# wrangler.toml — the money-safety contract
[[queues.consumers]]
queue       = "content-publish"
max_retries = 0            # a failed paid job must NOT auto-retry into a loop
# NO dead_letter_queue — a DLQ feeding back in is how you bill yourself 34x
max_batch_size = 1

Enter fullscreen mode Exit fullscreen mode

// Consumer: idempotent, always ack, never re-throw.
export async function queue(batch, env) {
  for (const msg of batch.messages) {
    try {
      await runPublish(env, msg.body.draftId) // guarded: no-op if already published
    } catch (err) {
      logError(err)        // swallow — re-throwing tells Queues to redeliver = pay again
    } finally {
      msg.ack()            // ALWAYS
    }
  }
}

Enter fullscreen mode Exit fullscreen mode

Give your robots a blast radius. Before you automate anything that costs money, ask "what's the worst case if this loops?" — and cap it.

How I actually drive the AI agent

"I used AI" tells you nothing. Here's the mechanics that made the volume sustainable:

1. A living instructions file is the whole game. The highest-leverage artifact in the repo isn't code — it's a long, dense instructions doc (mine is a CLAUDE.md) encoding invariants the agent reads every session: how auth works and must never change, the billing identity, the money-safety rules above, naming conventions. It's an external brain that survives the agent's per-session amnesia. An entry looks like:

- change-plan endpoints may ONLY PATCH an existing provider_subscription_id
  or write pending_* columns — NEVER create a second subscription.
  (This was the double-charge root cause. Do not "helpfully" refactor it.)

Enter fullscreen mode Exit fullscreen mode

2. Write down the NOs, not just the YESes. Half the value is negative space — explicit vetoes like "do not add this schema type, it was removed on purpose." Without them, a well-meaning agent re-introduces the exact thing you deleted, every time.

3. Let it own whole subsystems — once the rails exist. I let the agent build the entire subscription lifecycle and the content pipeline mostly end-to-end. That only works because the invariants were written first. Rails before speed. Speed without rails is Lesson 5.

4. Persist learnings across sessions. Every "oh, that's why" gets saved — gotchas, decisions, the difference between a real bug and expected weirdness. Future-me and the agent stop relearning the same things.

5. The mental model: it's a brilliant junior who forgets everything overnight and never pushes back. Your job shifts from typing to writing the spec, drawing boundaries, reviewing every diff, and owning the judgment calls it can't make. You become the senior doing only the senior parts.

And the catch, so this doesn't read like an ad: speed without taste is dangerous. It will confidently do the wrong thing, fast (see: $50, on fire). The guardrails, architecture, and judgment are still entirely on you. The agent deletes the typing; it does not delete the engineering.

TL;DR for solo builders

  • Commit count isn't the flex. Knowing what to delete is.
  • The boring 80% (billing, auth, i18n, infra) is the moat. Anyone can wire up an LLM call.
  • Positioning compounds faster than features.
  • An AI agent removes the typing and amplifies the judgment — for better and worse. Bring the judgment.

The product this was all for is SubcueAIsubcue.ai. I'm @imaaroncao on GitHub and @real_aaron_cao on X. Questions welcome in the comments — including the dumb ones, I clearly have plenty.