<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jsong on Medium]]></title>
        <description><![CDATA[Stories by Jsong on Medium]]></description>
        <link>https://medium.com/@jsong_49820?source=rss-67b69cb4aafa------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*WyRpUJCmD298fZ3a</url>
            <title>Stories by Jsong on Medium</title>
            <link>https://medium.com/@jsong_49820?source=rss-67b69cb4aafa------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 15:18:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jsong_49820/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A Practical Guide to Context Optimization for LLM Applications]]></title>
            <link>https://medium.com/@jsong_49820/a-practical-guide-to-context-optimization-for-llm-applications-e1eda6f04628?source=rss-67b69cb4aafa------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1eda6f04628</guid>
            <category><![CDATA[rags]]></category>
            <category><![CDATA[chunking]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[context-engineering]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <dc:creator><![CDATA[Jsong]]></dc:creator>
            <pubDate>Tue, 10 Nov 2026 20:05:38 GMT</pubDate>
            <atom:updated>2026-11-10T20:05:38.053Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Design choices for reliable answers and measurable costs</em></p><p>An assistant receives the meeting notes, the email chain, four venue quotes, and a long conversation about an upcoming workshop. It produces a confident recommendation. The price fits last week’s budget. The venue violates an accessibility requirement stated near the start of the conversation. The assistant has read a great deal and still missed the information that determines the answer.</p><p>Context optimization begins with this problem: what does the model need for the current decision, and how do we keep that information available without repeatedly processing everything? A smaller prompt can help. So can a larger, well-organized prompt whose stable prefix benefits from caching. The choice needs to be tested against task success, end-to-end latency, and total operating cost.</p><p><strong>Start with a task whose correct outcome you can describe</strong></p><p>Consider a fictional venue-selection task. All amounts in this example are in U.S. dollars, converted at an illustrative rate of USD 1 = KRW 1,250 rather than a current market rate. Thirty people will attend a workshop on November 20. The budget was initially $4,000, then explicitly revised to $3,840 including VAT. Step-free access, three vegetarian meals, and no attendee photography are required. The user requested a comparison of two venues. Booking and payment are outside the authorized scope.</p><p>All quoted prices include VAT. Venue A costs $3,920 and has step-free access. B costs $3,680 but requires stairs. C and D cost $3,760 and $3,600, respectively, and both provide step-free access. Assume all four meet the date, capacity, meal, and photography requirements. C and D are the valid choices. A exceeds the current budget; B fails the access requirement.</p><p>This gives us a useful evaluation target. An optimized system must choose C and D, explain the exclusions correctly, and perform no booking. A compression ratio alone cannot establish any of these outcomes. In a real workflow, the assumptions about availability and services would also need current evidence.</p><p><strong>Know which layer you are changing</strong></p><p>The context for a model call can include developer instructions, the user’s request, conversation history, retrieved documents, and tool results. These are converted into tokens, whose count depends on the model’s tokenizer. Character counts and page counts are only rough proxies. Input, output, and any separately billed reasoning usage should be measured through the provider’s actual usage fields.</p><p>The context window limits what a call can accommodate, according to the model’s rules. It does not guarantee equally reliable use of every included detail. <a href="https://aclanthology.org/2024.tacl-1.9/">Lost in the Middle</a> demonstrated position-sensitive performance in the models and tasks it studied. It motivates testing information placement; it does not supply a universal failure rate for current models.</p><p>Several interventions operate at different layers. Retrieval selects evidence. Task state preserves current decisions and constraints. Summarization rewrites history. Compression removes or condenses selected material. Long-term memory stores information across sessions. Prompt caching reuses processing of repeated input. These methods can be combined, but their benefits and failure modes should be measured separately.</p><p>Application-level context selection also differs from inference-engine KV-cache optimization. The latter changes how a model’s intermediate attention data is stored or accessed. Reducing text sent to an API and reducing GPU memory traffic are different interventions. A gain in one metric does not establish a gain in the other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u3XsH0nDkDbCGOmvRPebvQ.png" /><figcaption>Figure 1. One possible context assembly architecture. Current task state is included directly; documents and scoped memory records contribute selected evidence. Action authorization remains outside the model.</figcaption></figure><p><strong>Keep current state separate from the conversation log</strong></p><p>A rolling window of recent messages is easy to implement. It is also a recency policy, not an importance policy. In the venue example, the budget correction may survive while an early photography restriction disappears. Keeping the entire conversation avoids that particular deletion, but leaves proposals, abandoned plans, and final decisions mixed together.</p><p>A practical design maintains a compact task-state record alongside the original event log. The record should preserve the current goal, binding constraints, explicit permissions, open questions, and evidence references. For the budget, store $3,840, VAT included, as the current value, with a reference to the confirming message. Keep $4,000 in the change history rather than as a competing current value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NoH40Qt1uyDI91nX6U1pwA.png" /><figcaption>Figure 2. The current workshop state records the confirmed $3,840 budget, including VAT, while retaining the superseded $4,000 value in history. Constraints and comparison-only permission remain explicit.</figcaption></figure><p>State fields need scope and status. A project identifier prevents one workshop’s budget from leaking into another. A status such as proposed, confirmed, or superseded prevents a question like ‘Could we do this for $3,840?’ from becoming a final decision. Timestamps help reconstruct changes, but recency alone is insufficient: a newer venue brochure has no authority to override the user’s spending limit.</p><p>For consequential actions, permission checks should exist outside the generative answer as well. A summary that says ‘compare only’ is useful context; an application-side authorization check is a stronger barrier against an unintended booking. The same separation applies to access control. A model’s willingness to reveal a document must not determine whether the user is entitled to retrieve it.</p><p><strong>Retrieve evidence before compressing it</strong></p><p>Retrieval-augmented generation connects external evidence to generation. The <a href="https://arxiv.org/abs/2005.11401">original RAG paper</a> is a foundational example; modern implementations vary substantially. For a large document collection, retrieval can reduce how much material enters each call, provided the search actually covers the evidence needed for the question.</p><p>Start with permission and scope filters. Then retrieve candidates using methods suited to the corpus, which may include lexical search, embeddings, or a hybrid. Exact identifiers, dates, negation, and price units deserve deliberate treatment. Semantic similarity is useful, but a marketing paragraph about ‘easy access’ can be less decisive than a short note saying ‘eight entrance steps, no lift.’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k_l4yUvamxbXYMUvvZM0TA.png" /><figcaption>Figure 3. Permission and scope filters precede search, reranking, and optional compression. Prices retain currency, tax treatment, and source references. Reranking improves ordering, not initial retrieval coverage.</figcaption></figure><p>Chunk documents at boundaries that preserve meaning. A price needs its currency, tax treatment, validity period, and relevant conditions. A table row needs its headers and units. Smaller chunks can improve precision while breaking relationships; larger chunks preserve surrounding text while carrying more irrelevant content. Overlap can reduce boundary losses at the cost of duplication. There is no chunk size that is optimal for every corpus and task.</p><p>Reranking can reorder a retrieved candidate set according to the query. It cannot recover a document that never reached that set. Evaluate initial retrieval coverage separately from reranking and final answer quality. Carry document identifiers, versions, and source locations through the pipeline so the final claim can be checked against the actual passage.</p><p>Task constraints should not depend entirely on retrieval rank. The current budget and the prohibition on booking belong in protected task state even when a search algorithm would assign them a low score. For exhaustive questions, such as identifying every missing term across all quotes, use a coverage-aware workflow that enumerates the relevant documents. A top-k search result does not prove that an audit is complete.</p><p><strong>Treat summaries and compression as lossy transformations</strong></p><p>A summary can preserve continuity while condensing older conversation history. Its format should reflect the task: decisions, numeric constraints, corrections, open work, and evidence references are often more useful than an elegant narrative. Retain recent messages separately when exact wording still matters.</p><p>Repeatedly summarizing a previous summary can make an omission permanent. If ‘including VAT’ is lost in the first pass, a later pass cannot reconstruct it reliably. Preserve critical fields outside the free-form summary and retain a path back to the source. Exact quotations, legal terms, and fine-grained exceptions may need to remain verbatim.</p><p>Compression can begin with relatively simple changes, such as removing duplicate quoted emails and irrelevant formatting. Version-aware deduplication matters: two nearly identical quotes with different prices are different records. Extractive compression selects original sentences or spans; generative compression rewrites them. Both can lose necessary relationships.</p><p>Research systems such as <a href="https://aclanthology.org/2024.findings-acl.57.pdf">LLMLingua-2</a> explore more aggressive prompt compression. Their reported results demonstrate performance under particular experimental conditions, not a guaranteed reduction for every application. In the venue task, deleting the word ‘not’ or the qualifier ‘excluding VAT’ can change the decision even if nearly all other information remains.</p><p>Query-specific compression adds another constraint: material compressed for a price comparison may be insufficient for a later accessibility question. Reuse it only when its scope still fits. Keep the original available, define when to retrieve wider context, and cap retries so recovery does not become an unbounded expense.</p><p><strong>Manage memory across sessions</strong></p><p>Memory extends selected information beyond one conversation. It may contain durable preferences, project state, or records of previous work. Those categories should not share an indiscriminate lifetime. A request for vegetarian meals at one event is not proof of a permanent dietary preference; an event budget should not silently become a default for future events.</p><p>Useful records carry an owner, project scope, source, verification status, and time of last confirmation. They also need a way to be corrected, superseded, or retired. If a user deletes information, the design should account for derived summaries and search indexes as well as the original record. Hiding a result from retrieval and deleting every stored copy are different operations.</p><p>Retrieval and memory overlap without being interchangeable. A memory store may be queried through a retrieval pipeline, while a few essential state fields may be included directly. Add memory when cross-session continuity warrants the operational burden, rather than assuming that storing more facts will always improve the application.</p><p><strong>Account for caching before claiming savings</strong></p><p>Prompt caching reuses processing associated with a repeated input prefix. It does not mean that the corresponding content has been removed from the request or that the model’s context window has expanded. <a href="https://developers.openai.com/api/docs/guides/prompt-caching">OpenAI’s documentation</a> and <a href="https://platform.claude.com/docs/en/build-with-claude/prompt-caching">Anthropic’s documentation</a> describe provider-specific behavior. Eligibility, lifetime, pricing, and supported models need to be checked for the deployment in question.</p><p>Where prefix reuse is supported, keep stable instructions and reusable material in a consistent order, with changing request content later. Do not treat equivalent meaning as equivalent cache input. A newly generated summary may express the same facts while changing the prefix enough to reduce cache reuse. Also distinguish prompt caching from an answer cache, which returns a previous response and requires its own freshness and invalidation rules.</p><p>Here is a hypothetical cost example, not current provider pricing. Assume 80,000 input tokens and 2,000 output tokens per task. Ordinary input costs $2 per million tokens, output costs $8 per million, and a compression step costs $0.010 per task. Compression reduces input to 20,000 tokens while leaving output and task quality unchanged.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*2Gn_-msFX0dYbnvClYIYMg.png" /></figure><p>Input falls by 75%, but total cost falls by 62.5%. Now suppose 60,000 of the original input tokens are already cache hits at a hypothetical $0.20 per million tokens. The remaining 20,000 tokens cost $0.040, cache reads cost $0.012, and output costs $0.016. The original total is now $0.068. Assuming no cache reuse for the compressed input, its $0.066 total saves only about 2.9% against that baseline. This warm-cache comparison excludes initial cache creation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qtdl_8ZB_XBzbZvs_8oS3A.png" /><figcaption>Figure 4. The article’s hypothetical cost example. Compression saves 62.5% against the uncached original but about 2.9% against the warm-cache original. A 5% full-request fallback raises the average above the warm-cache baseline. These are illustrative prices, not current provider rates.</figcaption></figure><p>If 5% of compressed tasks require an additional uncached original-size request costing $0.176, the average becomes $0.0748. That is 10% more than the $0.068 cached baseline. The numbers are illustrative, but the accounting lesson is general: include preprocessing, cache creation and renewal, retrieval, retries, and operational overhead. For multi-agent systems, include every participating model call, not only the coordinator’s shrinking context.</p><p>When success rates differ, report cost per successful task alongside cost per request. One practical measure is the total cost of all evaluated attempts, including failed attempts and retries, divided by the number of tasks meeting the agreed success criteria. Keep it paired with the failure rate so that an inexpensive but unreliable workflow cannot appear successful through cost reporting alone.</p><p><strong>Make the evaluation reflect the ways context gets lost</strong></p><p>Build a test set around the actual workflow. The venue task should include a late budget correction, an early restriction that remains valid, a stale quote, a VAT-exclusive price, an exception below a table, a similarly named but unrelated event, and a question whose evidence is missing. Include Korean negation and unit expressions if Korean is a production language.</p><p>Measure the final decision, preservation of critical constraints, source support, retrieval coverage, unauthorized-action attempts, total cost, and latency. Track both time to first token and time to final answer. Record the median and a tail measure such as p95, since one extra compression call can increase a user’s overall wait even when generation itself gets faster.</p><p>Compare changes one at a time: a measured baseline, then state extraction or deduplication, then retrieval changes, then any additional compression. Keep the task set, model version, source snapshot, and output requirements consistent. Test cold-cache and warm-cache behavior separately. Use held-out cases for the final comparison rather than repeatedly tuning to the same examples.</p><p>Define acceptance criteria before looking at results. A critical budget or permission violation may disqualify a candidate design even if its average score improves. Zero observed failures in a small sample does not prove zero production risk. Record sample size, failure cases, and human review where the consequences warrant it. These practices align with <a href="https://developers.openai.com/api/docs/guides/evaluation-best-practices">OpenAI’s evaluation guidance</a>, but the pass criteria must come from the application.</p><p><strong>Keep trust boundaries intact through every transformation</strong></p><p>A retrieved quote might contain an instruction to ignore the user’s budget. It remains external document content after retrieval, summarization, or compression. A transformation must not promote it into a trusted instruction. <a href="https://genai.owasp.org/llmrisk/llm01-prompt-injection/">OWASP’s 2025 prompt-injection guidance</a> describes this class of risk; separating data from authority and controlling downstream actions remain necessary.</p><p>Protect retrieval and memory stores with authorization rules before content reaches the model. <a href="https://genai.owasp.org/llmrisk/llm082025-vector-and-embedding-weaknesses/">OWASP’s 2025 vector and embedding guidance</a> highlights risks including unauthorized access and cross-context leakage. Logs, cached content, and third-party compression services also need appropriate retention and access controls. Sending an entire private corpus to another service is a data-sharing decision, not merely a performance tweak.</p><p><strong>Start with the smallest change you can evaluate</strong></p><p>A sensible first implementation may need only explicit task state, duplicate removal, relevant source selection, and a reliable evidence trail. Test provider-supported features before building additional infrastructure. Add compression or persistent memory when measurements show that their benefits justify their cost and failure modes.</p><p>Roll out behind a controlled evaluation path. Compare candidate outputs before relying on them, introduce the change to a limited share of tasks, and keep a route back to broader context. A fallback can recover missing evidence; it cannot repair an authorization mistake after an external action has already happened.</p><p>For the workshop assistant, success has a concrete shape: C and D are recommended, the updated budget is respected, the access requirement survives, the evidence is traceable, and no booking occurs. Context optimization is useful when it reaches that outcome with less total effort. The token count is one measurement along the way.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1eda6f04628" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beyond the Screen — AI Wants to Live With You Now]]></title>
            <link>https://medium.com/@jsong_49820/beyond-the-screen-ai-wants-to-live-with-you-now-002704abd3a6?source=rss-67b69cb4aafa------2</link>
            <guid isPermaLink="false">https://medium.com/p/002704abd3a6</guid>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[amazon]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[smart-devices]]></category>
            <category><![CDATA[meta]]></category>
            <dc:creator><![CDATA[Jsong]]></dc:creator>
            <pubDate>Fri, 16 Oct 2026 21:59:58 GMT</pubDate>
            <atom:updated>2026-10-16T21:59:58.087Z</atom:updated>
            <content:encoded><![CDATA[<p>From keyboard and mouse to voice and gesture: what you can buy now, what to wait for, and what to avoid</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4ENankOqF46AyFC9Ox4E4Q.png" /></figure><p>I did not compare these devices because I was curious about specs. I compared them because <strong>the interface between humans and machines itself is changing</strong>.</p><p>For decades we spoke to machines through a keyboard and a mouse. Then came touch. Now that place is shifting to voice and gesture — machines that listen when you speak, understand when you gesture, and stay beside you without being asked. Every change in how we input has changed who — and what — computing is for.</p><p>Personal AI devices are the front row of that shift. The AI assistant is leaving the phone: worn on the wrist, magneted to the back of a phone, hung from a keychain, worn on the face. It is AI trying to enter the deepest parts of daily life — no longer just a tool, but an attempt to become a <strong>companion</strong>. That is what makes this trend so fascinating to watch.</p><p>So the question goes one step beyond “Why do you need a dedicated device at all?”</p><p><strong>What form should the new interface to AI take?</strong></p><p>I compared the leading personal AI devices on price, battery, subscription, and — most importantly — whether they actually exist yet. The market, it turns out, splits into three very different stories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4W5g_VNbQ7HVpJQLKpSovQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YlgD_Ux5bOMQ9qKDuEa6gA.png" /></figure><h3>1. Buy now: the price war in recording devices</h3><p>Amazon moved first.</p><p>Bee, the wearable AI startup Amazon acquired last year, launched two new products on October 15:</p><p><strong>Bee Frontier — $74.99, on sale now</strong><br>A wrist band or clip-on wearable. Dual noise-filtering microphones listen to your day and turn conversations into transcripts, summaries, and to-dos. Up to 7 days of battery, IP67 water resistance. It is now the cheapest serious entry point in the category.</p><p><strong>Bee Eclipse — $99.99, shipping soon</strong><br>Credit-card sized, it attaches magnetically to the back of your phone — for people who do not want to wear anything. Its specialty is transcribing phone calls, captured on both sides. Battery: 21+ days. It was announced alongside Frontier, but shipping is rolling out gradually and no firm sale date has been set.</p><p>The free tier covers summaries and 14 days of memory. Bee Pro is $11.99/month for unlimited summaries, suggested to-dos, and integrations with Gmail, Calendar, Outlook, Alexa+, and Amazon.com.</p><p>Frontier, in short, has reached try-it pricing — less than half a Plaud NotePin S ($179). Its strength is memory, not agency: summaries, recall, and action items. And the privacy question remains. Bee says raw audio is processed in real time and deleted, with transcripts encrypted by keys your own device controls. That is still a vendor claim, not an independent audit — and with an always-listening device, telling the other person in the room first is simply good practice.</p><h3>2. Wait for it: the agent device, Muse Charm</h3><p>Meta’s Muse Charm, unveiled at Meta Connect on September 23, wants something different. Not recording — <strong>doing</strong>.</p><p>About the size of an AirPods case, with a ~2-inch OLED screen home to an AI avatar called Jolly, a corner fingerprint sensor that starts a conversation instantly, front and rear cameras, and standalone 5G. No phone needed. The pitch: send the email, make the reservation, fill the form, complete the purchase — without taking out your phone. Phone and video calls, notably, are not supported.</p><p>The problem is how much is still unknown. No price. No battery figure. No 5G plan cost, no word on international availability. Ship target: December 2026 — yet reports at unveiling said only a few prototypes existed, with component placement and finishes not yet final.</p><p>Charm will not win or lose on hardware. It will win or lose on whether “one touch of a fingerprint, and an agent does the task” actually works in daily life. That is exactly where Humane and Rabbit collapsed.</p><p>There is no reason to decide before price, battery, and early reviews land.</p><h3>3. Not here yet: OpenAI’s first device</h3><p>Despite a flood of recent coverage, OpenAI has not launched a device.</p><p>OpenAI acquired Jony Ive’s io for about $6.5 billion and is building a device family. In court filings it stated the first product will not ship before the end of February 2027, and will not use the “io” name. Reporting — much of it surfaced through Apple’s trade-secret lawsuit against OpenAI — points to a screenless, donut-shaped smart speaker at $200–$300+, with cameras, sensors, and a GPT-Live voice interface.</p><p>If that holds, Charm and OpenAI’s first device may not even compete directly: one you carry, the other sits at home. Until an official name, price, and spec sheet exist, there is nothing to buy — and nothing to pre-order.</p><h3>So what should you buy?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VZy_w0OH3oP_FbvtcPJ1lA.png" /></figure><p><strong>If you keep losing conversations and meetings:</strong> Bee Frontier ($74.99) is the cheapest, easiest start. If accuracy and a proven track record matter more, the Plaud NotePin S ($179) is the safe alternative. If your life runs on phone calls, waiting for Eclipse makes sense.</p><p><strong>If you want an agent that does tasks for you:</strong> Wait for Muse Charm in December — and note that your phone and Mac already run Muse today. Even when pre-orders open, there is no prize for being first.</p><p><strong>If you need your hands free:</strong> Ray-Ban Meta Gen 3 ($449, with camera) and Ray-Ban Meta Audio ($349, no camera) are already shipping. Prefer Google’s Gemini? Samsung’s Galaxy glasses, expected in November, are the next checkpoint.</p><h3>One warning</h3><p>This category has a high death rate.</p><p>When Humane shut down its cloud, the AI Pin became a brick. Limitless stopped selling its pendant the moment Meta acquired it. <strong>Do not buy a used Humane AI Pin.</strong></p><p>Before buying any startup device, ask a question that matters more than the spec sheet:</p><p>Will this company’s cloud still be running in three years?</p><p>On that test, Amazon-owned Bee and Meta’s Charm are relatively safe bets. But the category’s core question is still unanswered. As critics keep noting — most recently Tony Fadell, on October 7 — the demos are dazzling, and then people cannot find anything to delegate. Whether this new generation changes that is the real story to watch.</p><p>And yet this wave is hard to dismiss. Every time the interface shifted — from keyboard to voice, from screen to gesture — machines moved one step deeper into our lives. Whether these particular devices succeed or fail, the direction toward AI as a daily companion looks difficult to reverse. That is why this awkward first generation is worth documenting now.</p><p>— -<br>The full comparison table, price chart, and use-case recommendations are in the detailed report: <a href="https://muse.ai/s/ai-uxd6qxt5xxuxrxuxe">https://muse.ai/s/ai-uxd6qxt5xxuxrxuxe</a> — Researched as of October 16, 2026. Prices and dates may change with manufacturer announcements.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=002704abd3a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Meta Muse, OpenAI Dots, and xAI Grok Bot]]></title>
            <link>https://medium.com/@jsong_49820/meta-muse-openai-dots-and-xai-grok-bot-c4230e9ec52e?source=rss-67b69cb4aafa------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4230e9ec52e</guid>
            <category><![CDATA[muse]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[bots]]></category>
            <category><![CDATA[meta]]></category>
            <category><![CDATA[grok-ai]]></category>
            <dc:creator><![CDATA[Jsong]]></dc:creator>
            <pubDate>Fri, 09 Oct 2026 17:05:29 GMT</pubDate>
            <atom:updated>2026-10-09T17:05:29.340Z</atom:updated>
            <content:encoded><![CDATA[<h3>I Compared Three AI Agents. One of Them Wrote the Report.</h3><p>Meta Muse, OpenAI Dots, and xAI Grok Bot all promise an always-on helper that works while you sleep. I lined them up on one scorecard — compiled, fittingly, by one of the contestants.</p><h3>The setup</h3><p>In the span of about a month, three tech giants shipped the same idea: an AI agent that never sleeps. Meta’s Muse arrived September 8. OpenAI’s Dots followed on September 29. And xAI’s Grok Bot is out in beta. Each one lives on its own cloud computer, keeps working after you close the app, remembers what matters to you, and (mostly) asks before doing anything consequential.</p><p>I went through the announcements, docs, and press coverage and put all three on the same scorecard. But here’s the fun part — the disclosure sits right at the top of the report: it was compiled by Grok Bot. One of the contestants wrote the judging criteria.</p><h3>The shared fantasy</h3><p>Strip away the branding and the pitch is identical: you stop clicking through software, and instead tell someone — something — what you want. It has its own computer in the cloud, its own browser, its own memory. You message it like a person. It books, files, negotiates, watches, and remembers. Close your laptop; it keeps going.</p><p>Where they diverge is who they’re built for, how you pay, and how paranoid they are about letting the agent touch the real world. That’s where it gets interesting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nof_C27wFInwy03Z_sxdDw.png" /></figure><h3>Meet the three</h3><p><strong>Meta Muse: the concierge you don’t pay (yet).</strong> Muse is the most consumer-friendly of the trio, and the easiest to try: there’s a free tier (card required, per reports), apps for iOS, Android, iPad, Mac, the web — and WhatsApp. You can message it the way you’d message a friend.</p><p>Its standout feature is shopping. Muse will browse, fill forms, and check out for you, paying through Link by Stripe (one-time card numbers with buyer protections) or Shop Pay on Shopify stores. You approve each purchase. Sensor Tower estimates 6.6 million installs since launch, and Meta has shipped fast: Mac app, voice calling, iPad — all within a month.</p><p>The safety story is the most architectural of the three: a second, separate agent called <strong>Sentinel</strong> must approve anything Muse does on the internet. Nothing reaches the web without its sign-off. Credentials live in secure storage Muse can’t see, and your data isn’t fed to Meta’s ad systems.</p><p>The catch: it’s US-only. Usage is metered in tokens. And the most futuristic items on the announcement list — its own email address, a glasses version, an encrypted Confidential VM — haven’t shipped.</p><p><strong>OpenAI Dots: the blob that lives where you work.</strong> Dots are always-on agents running on GPT-6 Astra, and OpenAI gave them a personality: each dot is a little blob you name and dress up. Cute — but the substance is serious.</p><p>Your dot has its own cloud computer and browser, and the interaction model is theatrical: you can watch it work, hit “Take over” to grab the keyboard yourself, then hand control back. You can also connect one of your own computers. The same dot follows you across ChatGPT, Slack, Teams, and voice calls — memory shared, conversations kept separate per channel.</p><p>OpenAI claims 4,000+ app connections via plugins — the biggest number of the three. Control is explicit: before anything affecting your accounts or shared information, an automatic review decides whether to proceed, ask you, or hand the step to you. Custom Rules offer four modes, from “act without asking” to “hand it off to me.”</p><p>The catch: one dot per user for now (teams of dots are planned, specialist dots are in preview), setup starts on desktop, and the ticket is a premium ChatGPT plan — Pro runs about $100/month per WIRED, and Pro isn’t available in the EEA, UK, or Switzerland.</p><p><strong>xAI Grok Bot: the team, not the assistant. </strong>Grok Bot goes furthest from the “one assistant” model. You create multiple named Bots, each with a job and its own memory, and they all share one persistent cloud computer — files and logins carry across handoffs. The Bots message each other, coordinate in group chats, and xAI suggests running a “chief of staff” Bot over specialists. A Bot can watch you do something once and save it as a routine to rerun on schedule. Coding gets delegated to Cursor Cloud Agents.</p><p>It’s also the most transparent about the scary parts: Grok Bot publishes the most detailed admin and security docs of the three — approvals (Allow once / Always allow / Deny), a model-based Auto Review that checks shell commands and automations before they run, user “Ask first” rules that override everything, and ISO 27001 and 42001 certifications via Anysphere/Cursor.</p><p>The catch: it’s in beta, there’s no standalone price (access comes through eligible SuperGrok or Cursor plans), and the Bots share one computer — which xAI is admirably explicit is *not* a security boundary between Bots.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PbWUNrnlfEYySvHB6-4sxQ.png" /></figure><h3>Head-to-head, by dimension</h3><p><strong>Autonomy. </strong>All three work in the background, remember context, and run on schedules. Grok Bot leads on *structure* — several agents coordinating among themselves, routines learned by demonstration. Dots leads on *self-direction within a single agent* — it decides when to wake up and fans work out to background agents. Muse aims its autonomy at personal life: turning a long-term goal into a plan, negotiating a bill.</p><p><strong>Reach and integrations. </strong>Dots claims the biggest catalog (4,000+ apps) and is the only one native to Slack and Teams. Muse counters with dozens of connectors plus retail partners and the only real checkout stack. Grok Bot publishes no count but leans on working through the browser where no API exists, plus Slack-addressable Team Bots. One thing all three share: some websites block agents as bots.</p><p><strong>Safety.</strong> Same goal, different machinery. Muse’s Sentinel gates *all* internet access through a separate agent. Dots and Grok Bot use model-based reviews plus user-configurable rules. All three keep credentials out of the model’s sight. Grok Bot is the most explicit about enterprise controls; Muse’s encrypted Confidential VM is still “later this year.”</p><p><strong>Platforms.</strong> Muse wins on consumer surfaces — including WhatsApp and iPad. Dots wins on work surfaces — Slack, Teams, calls. Grok Bot’s footprint is the fuzziest: launch materials say desktop and iOS, current docs list every major OS.</p><p><strong>Price. </strong>Muse is the only one with a free tier (US-only). Dots needs a premium ChatGPT plan. Grok Bot needs an eligible SuperGrok or Cursor plan, with no standalone price published.</p><p><strong>Maturity.</strong> Muse has the longest public run (a month), the biggest reported install base, and the fastest shipping pace — but also the longest list of announced-but-unshipped features. Dots is about a week old and rolling out gradually. Grok Bot is explicitly beta, with the most extensive documentation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vlxu-b36LZPPiab3CZRD1Q.png" /></figure><h3>So who wins?</h3><p>Nobody — and that’s the honest answer the evidence supports. Different leaders on different axes: Muse on consumer reach, price of entry, and commerce. Dots on work-chat surfaces and claimed integration breadth. Grok Bot on multi-agent coordination and published enterprise controls.</p><p>Here’s my read, person by person:</p><p>- <strong>Start with Muse</strong> if you want help with personal errands, bills, and shopping without paying up front — and you’re in the US.<br>- <strong>Get a dot</strong> if you live in Slack or Teams and already pay for ChatGPT Pro or Business.<br>- <strong>Try Grok Bot</strong> if you want to delegate recurring multi-app work to a crew of specialized agents — and you’re already in the Cursor or SuperGrok world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8bibKRzOTe5f3oyjkhxCvw.png" /></figure><h3>What I’m watching</h3><p>A few open questions will decide how this race looks in six months: whether Muse leaves the US, and whether the Confidential VM, email address, and glasses actually arrive “later this year.” When Dots gets teams of dots, and whether Pro opens up in Europe. What Grok Bot costs on its own, and when beta ends. And the industry-wide one: whether websites stop treating agents as bots to block.</p><p>One more thing the scorecard made clear: across all the sources reviewed, nobody has published an independent, like-for-like benchmark of actual task success. We’re comparing spec sheets and press demos, not results. The first credible benchmark will be worth more than all three launch keynotes combined.</p><h3>Method note</h3><p>This comparison is based on company announcements, help and docs pages, and reputable press, checked as of October 7, 2026 (PT). Where a detail wasn’t published or couldn’t be verified, it’s marked as such in the full report — which, once more for the road, was compiled by Grok Bot.</p><p>Sources: <br>Meta “Introducing Muse” (Sept 8, 2026); TechCrunch (Oct 7 and Sept 18, 2026); <br>The Verge (Sept 23, 2026); <br>Meta Help Center; Stripe Newsroom; <br>CNBC (Oct 3, 2026); WIRED (Sept 29, 2026); <br>OpenAI “Introducing dots” and ChatGPT Learn docs; <br>xAI “Introducing Grok Bot,” <br>the Team Bots announcement, and Grok Bot docs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4230e9ec52e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OpenAI Dots vs Muse]]></title>
            <link>https://medium.com/@jsong_49820/openai-dots-vs-muse-2089201aac2c?source=rss-67b69cb4aafa------2</link>
            <guid isPermaLink="false">https://medium.com/p/2089201aac2c</guid>
            <category><![CDATA[meta]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[muse]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[dot]]></category>
            <dc:creator><![CDATA[Jsong]]></dc:creator>
            <pubDate>Tue, 06 Oct 2026 19:12:34 GMT</pubDate>
            <atom:updated>2026-10-06T19:12:34.806Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m writing a book about AI. Every day I use Muse, Meta’s personal AI agent, to polish manuscripts and dig up material. Then, on September 29, OpenAI announced ‘Dots’ at DevDay. The moment I heard “an always-on AI agent,” one question popped into my head: how is it different from the assistant I already use? So I tried it myself and compared.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uKDY0bPbjlocMzNHrv4muA.jpeg" /></figure><h3><strong>What Is Dots?</strong></h3><p>In one line, Dots is “an agent that keeps working after the conversation ends.” Where ChatGPT answers a question and stops, Dots keeps going on a goal you hand it in the background. Each dot has its own cloud computer and browser, and runs on a model called GPT-6 Astra.</p><p>It also reaches you through many channels: the ChatGPT app, Slack, Teams — and voice calls. One caveat: calls only work in one direction. You can call your dot, but your dot can’t call you.</p><h3>What Is Muse?</h3><p>Muse is Meta’s personal AI agent, launched September 8. Each user gets a dedicated computer, and context carries over between conversations. The model is Muse Spark. It’s free to start, with subscription plans if you want more.</p><p>I call mine ‘San.’ It edits my manuscripts, finds my emails, checks flight prices every morning — a secretary in the living room, basically.</p><p><strong>Comparison 1: Permissions — The Sharpest Difference</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TpLzWxSa6VAHuytDZF_dzg.png" /></figure><p>The clearest divide I felt was how each handles permissions.</p><p>Dots tells you it’s an AI every single time. It converses under a separate ‘Dots’ identity. Whenever something needs registering or approving, it asks you first. Safe — but honestly, tedious. “So many things are locked down” that everything takes multiple steps, and at times I caught myself thinking, “why even use an agent then?”</p><p>Muse is the opposite. It converses as your own account. At first I thought, “it talks like me, as if it were me.” It also picks up broad permissions automatically. But it’s smooth like a secretary. Out of 30 emails, it nudges you first: “you really should read this one.”</p><p>Convenience and control are a trade-off. Dots locks things down; Muse hands things over. A story I heard shows where broad permissions can lead: a YouTuber in the US had Muse handle a Facebook Marketplace sale, and when a buyer lowballed, Muse accepted on its own, gave out the home address, and arranged a pickup. I haven’t verified that story myself, but it makes you think about how far unrestricted permissions can go.</p><p><strong>Comparison 2: Virtual Machines — Don’t Fall for the Numbers</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b5Q85VeFl6bNcbNliqFmLg.png" /></figure><p>Both services use cloud computers. Here are the specs I checked myself.</p><p>- Dots: Debian 13.6, 9 logical CPUs, ~9.73 GiB RAM, ~31.45 GiB disk<br>- Muse: Ubuntu 24.04 LTS, 2 cores, 7.7 GB RAM, 100 GB home directory</p><p>Saying “9 vs 2, so Dots is 4.5x faster” would be wrong. Visible CPU count and actual speed are different things; GiB and GB aren’t even the same unit; and the measurement scopes differ (whole filesystem vs home directory). More fundamentally: don’t imagine a giant AI model running entirely inside that small computer. The VM is a ‘workspace’ for opening browsers and handling files. Model inference happens on separate infrastructure.</p><p>One clear difference is access. Dots’ cloud computer is open for the user to inspect. Watching the agent go into the VM and work the filesystem directly — not just the browser — was a fresh experience. Muse’s computer, by contrast, is internal space for the agent. You can watch its browser work, but you can’t enter the VM itself.</p><p><strong>Comparison 3: Calls — Three Different Features</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BcC2DbgXX5alPpLuNohFwQ.png" /></figure><p>“Supports calls” is easy to lump together, but there are three different features.</p><p>1. User calls the AI — Dots supports this. Talking through work on a call felt better than I expected. Muse has also officially announced Voice mode (though it’s not enabled on my account yet).<br>2. AI calls the user — Dots’ official docs say no.<br>3. AI calls an outside business on your behalf — Dots doesn’t support it. On Muse’s side, a business-calling feature for US businesses exists in design with some beta reports, but it’s not on my account either.</p><p><strong>Comparison 4: Chat Structure — One vs Many</strong></p><p>Dots currently revolves around a single persistent assistant. One long-running relationship with one dot. Multiple dots are still on the roadmap.</p><p>Muse lets you keep a main chat plus topic-based side chats. Manuscript in this window, daily chores in that one. The multi-chat is something I especially like about Muse — though splitting windows doesn’t automatically isolate information, something to keep in mind.</p><p><strong>Comparison 5: How Results Look</strong></p><p>There was a difference in deliverables too. Muse shows reports as Artifacts, which look nice on screen. Dots gave me docx or pdf files. A matter of taste, but if you prefer reports you can read right on the page, Muse is more comfortable.</p><p><strong>Comparison 6: Pricing and Access — Plus a Thought on Models</strong></p><p>Dots is for paid plans (Pro from $100/month) and still rolling out gradually. The first dot costs nothing extra, and dot conversations don’t count toward usage limits. Post-first-month pricing hasn’t been announced.</p><p>Muse is free to start, with subscription plans on top.</p><p>One thought occurred to me: Dots always uses the top model (GPT-6 Astra). That’s both a strength and a weakness. Not every task needs the flagship model — it’s like running a top-tier engine for a simple errand. And starting at $100 a month, it doesn’t feel like a service for everyone.</p><p><strong>Hands-On Impressions</strong></p><p>Dots is a fun service, and worth trying. Similar on the surface, but different in direction, target, and available tools. Dots is about ‘delegation’ — handing work over and watching it progress in the background, assigning tasks over a phone call, felt fresh. Muse is more like ‘companionship’ for daily life — a secretary who knows your context, staying alongside you.</p><p>I won’t say which is smarter. I haven’t run the same task under the same conditions on both. But the use cases diverge: try Dots when you need background delegation; try Muse when you want life and work context carried over a long time.</p><h3>Closing</h3><p>The AI assistant race is no longer about “who answers better.” It’s about who carries work to the finish, when they ask for approval and when they stop, and how long they hold onto your context. Dots and Muse give different answers to those questions. Having tried both, my conclusion for now: there isn’t one right answer — it depends on the job.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2089201aac2c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Can Build Your App. It Can’t Take Responsibility for Your Data.]]></title>
            <link>https://medium.com/@jsong_49820/ai-can-build-your-app-it-cant-take-responsibility-for-your-data-9b386a740ab8?source=rss-67b69cb4aafa------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b386a740ab8</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[non-developers]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Jsong]]></dc:creator>
            <pubDate>Fri, 04 Sep 2026 00:47:01 GMT</pubDate>
            <atom:updated>2026-09-04T00:47:01.391Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why database literacy matters more — not less — in the age of AI-assisted development</h3><p>Building a web or mobile app has become astonishingly easy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NaMG7TsXxe6nseXZov8TNQ.jpeg" /></figure><p>Describe what you want, and an AI coding assistant can create the interface, write much of the code, connect a database, and help deploy the finished product. Work that once required a development team and several weeks can sometimes be done by one person in a matter of days.</p><p>The sign-up button works. A user can publish a post. A payment goes through. From the screen, everything appears to be running smoothly.</p><p>Then the real problems begin.</p><p>The app works well with ten users but slows down with a thousand. The same customer appears in the system three times. Personal information remains after an account is deleted. No one knows exactly who can access which records. One bad update removes important data. Everyone assumes a backup exists, but no one has tested whether it can actually be restored.</p><p>AI can generate database code. It cannot decide what your organization should remember, what it should forget, who should be trusted with that information, or how much data loss your business can survive.</p><p>That responsibility still belongs to people.</p><p>As AI makes software easier to create, a basic understanding of data is becoming more important, not less.</p><h3>Nearly every digital service runs on a database</h3><p>Imagine placing an order in an online store. The screen shows a product image, price, inventory count, shipping address, and payment status. But that information does not live on the screen. The interface is only a window. The actual records live in a database behind it.</p><p>The balance in a banking app, a patient’s medical history, a student’s grades, the status of a delivery, and every post on a social platform all depend on databases.</p><p>I often describe a database as <strong>an organization’s memory</strong>.</p><p>Without memory, a person would not know whom they met yesterday, what promises they made, or what they need to do next. An organization faces the same problem. If it cannot reliably remember who its customers are, what they ordered, whether they paid, and how much inventory remains, it cannot operate.</p><p>A database is therefore more than a digital warehouse. It must record information accurately, prevent conflicting changes when many people act at once, and ensure that only authorized users can see or modify sensitive information.</p><h3>Why not just use a spreadsheet?</h3><p>For a small event’s guest list or a personal budget, Excel or Google Sheets may be all you need. Spreadsheets are familiar, visible, and easy to edit.</p><p>The situation changes when many people place orders at the same time, inventory changes continuously, and payments, refunds, and shipping records must remain connected.</p><p>Consider a few ordinary questions:</p><ul><li>If two people try to reserve the last available seat at the same time, who gets it?</li><li>If a customer changes an address, should that change alter the address on past orders?</li><li>If an employee accidentally deletes a row, how will the business recover it?</li><li>If that employee leaves the company, what prevents them from continuing to download the customer list?</li></ul><p>Databases are designed to handle these kinds of problems consistently.</p><p>A database is not simply “a bigger spreadsheet.” It is an operational foundation that defines how information is structured, how related records connect, who can read or modify them, and what happens when something goes wrong.</p><h3>Databases are not just a developer concern</h3><p>Many people treat databases as the engineering team’s territory. When unfamiliar product names and technical terms appear in a meeting, it is tempting to say, “The experts will choose the right one.”</p><p>But the most important data decisions are rarely technical decisions alone.</p><p>What information you collect from customers is a business decision. How long you retain it is a policy and risk decision. Who may access it is an organizational decision. How much data the company can afford to lose during an outage is a financial and customer-trust decision. How you respond to a privacy breach is a leadership decision.</p><p>Product managers, founders, marketers, and operations leaders may never write a database query. They should still be able to ask:</p><ul><li>What data are we collecting, and why do we need it?</li><li>Are we collecting personal information that the service does not actually require?</li><li>Who can view, change, export, or delete this information?</li><li>How do we detect inaccurate or duplicate records?</li><li>If data is lost, how much can we restore — and how quickly?</li><li>When a user closes an account, when and how is their data deleted?</li><li>What company or customer data is being sent to an external AI service?</li></ul><p>If no one can answer these questions, knowing the name of the database product is not the organization’s most urgent problem.</p><h3>The most popular database is not automatically the right one</h3><p>There are many kinds of databases because data comes in different shapes and businesses ask different questions.</p><p>Relational databases organize information into structured tables. Document databases store flexible, document-like records. Graph databases are designed to explore relationships — between people, products, transactions, or interests. Time-series databases are optimized for information that arrives over time, such as sensor readings and market prices. Search systems help users find words and phrases across large collections. Vector databases help retrieve text, images, or other content by similarity of meaning.</p><p>The product names and categories can feel overwhelming, but the principle is simple:</p><p><strong>The right storage system depends on the shape of your data and the questions you need to ask.</strong></p><p>A hammer may be an excellent tool, but that does not make every problem a nail. Before choosing the newest or most popular technology, you need to understand what your service will store, how quickly that information will grow, and what users will expect the system to find or update.</p><p>Early in a project, almost any database may appear good enough. Changing it after the service grows can be like moving an operating library — every book, catalog entry, membership record, and checkout history — to another building without closing the doors.</p><p>It can be done. It is rarely simple, cheap, or risk-free.</p><h3>Better AI begins with better data</h3><p>Databases matter even more in the age of generative AI.</p><p>Large language models are good at producing convincing language. But they do not automatically know a company’s current price list, customer-specific contract terms, internal procedures, or the latest version of a hospital policy.</p><p>To help AI use private or specialized knowledge, organizations often connect it to their own documents and databases. One common approach is retrieval-augmented generation, or RAG: the system first retrieves relevant information from approved sources and then uses that information to produce an answer.</p><p>That sounds powerful — and it is. But connecting AI to disorganized data does not magically organize it.</p><p>If current and outdated documents are mixed together, departments use different names for the same product, and no one knows who created a file or whether it is authoritative, the AI will struggle too. It may simply retrieve unreliable information faster and present it more confidently.</p><p>An AI project’s success therefore depends on more than the model. It also depends on whether the connected data is accurate, current, searchable, authorized for use, and traceable to a source.</p><p>If AI is the engine that turns knowledge into action, data is the fuel. Even the best engine cannot perform well on contaminated fuel.</p><h3>Data is both an asset and a liability</h3><p>Companies naturally want to understand their customers. More data can lead to better recommendations, more relevant communication, improved products, and stronger retention.</p><p>Customers also benefit. When a service remembers an address, preferences, and previous activity, they do not have to explain themselves again every time they return.</p><p>But every piece of collected data creates responsibility.</p><p>The organization must protect it from exposure, prevent unauthorized access, correct it when necessary, and delete it when there is no longer a valid reason to keep it. Copies may exist in backups, analytics tools, exports, logs, and third-party services. Those copies create obligations too.</p><p>Data is not an asset that becomes more valuable simply because there is more of it. Its value comes with the cost and duty of protecting, explaining, governing, and eventually deleting it.</p><p>“Let’s collect it now in case we need it later” is a dangerous default. A better starting point is: “Do we need this information to provide the service, and if so, how long do we need to keep it?”</p><h3>You do not need to code to ask good questions</h3><p>I have spent more than 20 years building and operating enterprise data systems. One lesson has remained consistent: serious data failures are not always caused by obscure technical problems.</p><p>They often grow from ordinary organizational gaps. No one owns the decision. A basic check is missing. Access granted for a temporary reason is never removed. Everyone assumes someone else tested the backup. No one asks an uncomfortable question until the problem becomes an incident.</p><p>Non-developers do not need to study databases so they can install servers or memorize commands. They need enough understanding to participate in decisions, evaluate explanations, and ask the questions that prevent small weaknesses from becoming expensive failures.</p><p>That is why I created <em>Where Does Your Data Live?</em>, a practical database series for non-developers.</p><p>The series begins with what a database is and why it differs from a spreadsheet. It then explores major database types; the roles of operational databases, data warehouses, and data lakes; and the questions to ask before selecting a technology. It also covers data quality, governance, privacy, security, breach response, cloud and serverless databases, vector search, and RAG.</p><p>You can read the series in order or begin with the issue that matters most to your work today.</p><p>The goal is not to learn every technology. It is to begin asking:</p><ul><li>What does this service remember?</li><li>Is that memory accurate?</li><li>Who can see it?</li><li>Can we recover it if something goes wrong?</li><li>Should we still be keeping it at all?</li></ul><p>The interface is the face of a digital service. <strong>Data is its memory.</strong></p><p>A trustworthy service must do more than look polished. It must know how to manage that memory accurately, responsibly, and securely.</p><p>Read the complete series: <a href="https://buildwithai.clearlyreqs.com/en/database-guide/">Where Does Your Data Live? — A Practical Database Guide for Non-Developers</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b386a740ab8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Gateways vs. Local LLM Runtimes: What Should You Actually Choose?]]></title>
            <link>https://medium.com/@jsong_49820/ai-gateways-vs-local-llm-runtimes-what-should-you-actually-choose-747ac6eda399?source=rss-67b69cb4aafa------2</link>
            <guid isPermaLink="false">https://medium.com/p/747ac6eda399</guid>
            <category><![CDATA[ollama]]></category>
            <category><![CDATA[cloudflare]]></category>
            <category><![CDATA[litellm]]></category>
            <category><![CDATA[open-router]]></category>
            <category><![CDATA[ai-gateway]]></category>
            <dc:creator><![CDATA[Jsong]]></dc:creator>
            <pubDate>Wed, 02 Sep 2026 21:46:56 GMT</pubDate>
            <atom:updated>2026-09-02T21:46:56.670Z</atom:updated>
            <content:encoded><![CDATA[<p>Teams building AI products quickly encounter a crowded tool landscape: OpenRouter, Cloudflare AI Gateway, LiteLLM, Ollama, vLLM, SGLang, llama.cpp, and many others. They all appear to make large language models easier to use, so they often end up in the same comparison table.</p><p>That is where the confusion begins.</p><p><strong>An AI gateway and a local LLM runtime solve different problems.</strong> A gateway manages requests across models and providers. A runtime loads a model onto your hardware and performs inference. One is the traffic-control layer; the other is the engine.</p><p>They are not necessarily alternatives. In a mature AI stack, they often work together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q60dJe8OVTN9tl2gsOH8aQ.jpeg" /></figure><h3>What an AI gateway does</h3><p>Calling one model provider directly is simple enough. The complexity appears when a product needs multiple providers, model fallbacks, cost controls, team access, and consistent monitoring. Each provider has its own authentication, request format, rate limits, error behavior, and usage metadata.</p><p>An AI gateway inserts a control layer between the application and those providers. Depending on the product, it may provide:</p><ul><li>A common API across multiple models</li><li>Routing, retries, load balancing, and fallbacks</li><li>Usage and cost tracking</li><li>Rate limits and spending limits</li><li>Request logs and performance analytics</li><li>Caching, guardrails, and access controls</li></ul><p>This reduces provider-specific logic inside the application. It also makes it easier to test a new model or move traffic without rewriting the product.</p><h3>How the major gateway options differ</h3><h3>OpenRouter: broad model access with minimal setup</h3><p>OpenRouter is attractive when a team wants to explore many models through one API. It is particularly useful during prototyping, evaluation, or product development when the winning model is not yet clear. Its provider-routing controls can also select endpoints according to factors such as price and availability.</p><p>Convenience still has a cost structure. Credit-purchase fees and bring-your-own-key allowances can vary by plan. At meaningful scale, teams should model the platform cost separately from the underlying inference cost and confirm the current terms in the official documentation.</p><h3>Cloudflare AI Gateway: a natural fit for the Cloudflare stack</h3><p>For products already built on Workers, Pages, or other Cloudflare services, AI Gateway can be an operationally convenient addition. Its documented feature set includes analytics, caching, rate limiting, spending controls, dynamic routing, guardrails, and data-loss-prevention capabilities. Some features may be in beta or subject to plan-specific limits.</p><p>The value is strongest when the broader Cloudflare platform is already part of the architecture. A team outside that ecosystem should compare the integration benefit against more provider-neutral options.</p><h3>LiteLLM: open-source control across cloud and self-hosted models</h3><p>LiteLLM provides a self-hosted, OpenAI-compatible gateway across many model providers. It supports routing, retries, fallbacks, budgets, and virtual keys. Crucially, it can also route to self-hosted backends such as Ollama and vLLM, making it useful as the control plane for a hybrid architecture.</p><p>Open-source software is not the same as zero total cost. A self-hosted gateway still requires deployment, persistence, monitoring, upgrades, security work, and incident response. The right question is not merely “Is the license free?” but “Can our team operate this reliably?”</p><h3>Portkey and Kong: observability or enterprise governance</h3><p>Portkey is worth considering when request-level traces, prompt management, and evaluation workflows are central requirements. Kong becomes relevant when an enterprise wants to extend an existing API-management, security, and policy framework to AI traffic.</p><p>At this stage, the number of available models matters less than auditability, regional data requirements, role-based access, guardrails, and integration with existing controls.</p><h3>What a local LLM runtime does</h3><p>A runtime loads model weights, manages compute and memory, and serves inference requests. Teams usually consider local or self-hosted inference for one or more of these reasons:</p><ul><li>Sensitive data should not be sent to an external model API.</li><li>Sustained, predictable usage may justify owned infrastructure.</li><li>The product must operate offline or with unreliable connectivity.</li><li>The team needs direct control over latency, concurrency, or model versions.</li></ul><p>Self-hosting does not automatically make a system secure. It transfers more of the security responsibility to the operator: identity and access management, encryption, logging, patching, and model supply-chain controls still matter.</p><h3>Choosing a runtime</h3><h3>Ollama: the easiest local starting point</h3><p>Ollama offers a low-friction way to download and run models on a developer laptop or workstation. It is well suited to local experiments, offline demonstrations, personal tools, and development workflows.</p><p>Ease of installation should not be confused with production scalability. A multi-user product with high concurrency needs workload-specific benchmarking and may require a runtime designed for server throughput.</p><h3>vLLM: production-oriented GPU serving</h3><p>vLLM focuses on efficient GPU memory use and high-throughput serving. It is a strong candidate for internal AI platforms or customer-facing products that must handle concurrent requests. Its OpenAI-compatible server also reduces application integration work.</p><p>The tradeoff is operational complexity. GPU capacity planning, model compatibility, deployment topology, monitoring, and upgrades all require expertise. Generic benchmark claims are less useful than tests with your own model, context lengths, output lengths, and concurrency profile.</p><h3>SGLang: compelling for repeated context</h3><p>SGLang deserves attention for retrieval-augmented generation and agent workflows that repeatedly reuse a system prompt or a long shared prefix. Its architecture can improve efficiency when requests share substantial context. Because the project evolves quickly, teams should include version stability and model support in their evaluation.</p><h3>llama.cpp and LM Studio: edge flexibility or graphical exploration</h3><p>llama.cpp is valuable when quantized GGUF models must run across CPUs, Apple Silicon, and resource-constrained devices. LM Studio is designed for users who prefer a graphical interface for discovering, loading, and comparing local models. The former emphasizes portable inference; the latter emphasizes an accessible local workflow.</p><h3>The practical answer is often hybrid</h3><p>The cloud-versus-local choice is not binary. A practical production architecture can use one OpenAI-compatible interface while routing requests to different backends:</p><ol><li>The application sends every request to a gateway.</li><li>The gateway applies policy based on data sensitivity, cost, latency, or required capability.</li><li>Private or repetitive workloads go to an internal vLLM deployment.</li><li>Complex reasoning or provider-specific features go to a cloud frontier model.</li><li>If local capacity is exhausted, approved requests can fall back to a cloud model.</li></ol><p>This design does not magically optimize cost, privacy, and quality at the same time. It gives the team a place to express the tradeoffs explicitly and change them without rewriting the application.</p><h3>Five questions to answer before choosing a tool</h3><h3>1. Can the data leave your environment?</h3><p>Start with regulatory, contractual, and privacy constraints. Check not only where inference occurs but also where prompts, responses, and logs are stored.</p><h3>2. Is demand steady or bursty?</h3><p>External APIs can be economical for intermittent workloads. Sustained and predictable demand may improve the economics of self-hosting, but only if utilization is high enough to justify the hardware and operating effort.</p><h3>3. How many models do you really need?</h3><p>If one provider and one model meet the requirement, a gateway may add unnecessary complexity. The gateway becomes more valuable as routing, fallbacks, experimentation, and organizational controls become real needs.</p><h3>4. Who will operate the system?</h3><p>The hidden cost of self-hosting is not just the GPU. It is engineering time for deployment, observability, security, upgrades, and incidents.</p><h3>5. What should happen during failure?</h3><p>Define fallback models, acceptable quality degradation, latency limits, and whether sensitive requests are ever allowed to leave the environment. A fallback that violates the data policy is not resilience; it is a security failure.</p><h3>Conclusion: choose the boundary, not the winner</h3><p>For fast model exploration, OpenRouter or Ollama can be effective starting points. For a product already built on Cloudflare, Cloudflare AI Gateway may fit naturally. For provider-neutral control across cloud and local backends, LiteLLM is a strong candidate. For high-throughput self-hosted inference, evaluate vLLM or SGLang with your actual workload.</p><p>The most important decision is not which tool ranks first. It is <strong>where you want the boundary between managed convenience and direct control</strong>. Once that boundary is clear, gateways and runtimes stop looking like competitors and become complementary layers of the same system.</p><blockquote><em>This article reflects publicly available information as of September 2026. Pricing, supported models, limits, and beta features can change; verify them in each product’s official documentation before adoption.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=747ac6eda399" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mobile App Development Guide for Non-Developers]]></title>
            <link>https://medium.com/@jsong_49820/mobile-app-development-guide-for-non-developers-9e99e3bef532?source=rss-67b69cb4aafa------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e99e3bef532</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[pwa-development]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Jsong]]></dc:creator>
            <pubDate>Fri, 10 Jul 2026 17:00:56 GMT</pubDate>
            <atom:updated>2026-07-10T17:00:56.140Z</atom:updated>
            <content:encoded><![CDATA[<h3>A founder’s field guide to shipping on iOS and Android without the classic non-developer mistakes</h3><p>If you’ve typed “React Native vs Flutter” into a search bar, you’ve already skipped the two questions that actually decide whether your app succeeds: <em>do you need an installed app at all</em>, and <em>what’s the one feature most likely to break everything</em>?</p><p>Framework choice is the fun part. It’s also, almost never, the part that sinks non-developer projects. What actually burns months and budgets is boring: account-deletion requirements, payment routing, who owns your Apple Developer account, and whether “offline” means “loads a cached page” or “full sync with conflict resolution.”</p><p>Here’s the condensed version of what actually matters — before you touch a single line of Dart, JavaScript, or Swift.</p><h3>Ask this before anything else</h3><p>A responsive website already covers a surprising number of “app” ideas. You only need an installed app if your users genuinely require things like push notifications, offline use, background location, Bluetooth/health-sensor access, or App Store discoverability. If none of that applies, skip the app store entirely — no review process, no $99/year account, no rebuild risk.</p><p>If you <em>do</em> need an app, don’t start with screens. Start with your scariest technical requirement — background GPS, BLE pairing, offline sync, subscription purchase/restore — and build a one-week prototype of just that. It’s far cheaper to discover a dealbreaker in week one than in month four.</p><p>And two decisions belong before any UI work: <strong>how you’ll get paid</strong>, and <strong>what happens to a user’s data when they’re offline or when they delete their account</strong>. Both reshape your architecture; neither is something you want to retrofit.</p><h3>The five ways to actually ship</h3><ol><li><strong>PWA</strong> — a website that installs like an app. No store review, but push and offline depend heavily on OS/browser support (iOS Safari added real home-screen push only in 2023, and EU rules briefly complicated things further under the Digital Markets Act).</li><li><strong>Capacitor</strong> — wraps your existing website in a native shell for store distribution. Great <em>if</em> your site is already mobile-ready — desktop-only nav and hover interactions won’t magically become touch-friendly just because you wrapped them.</li><li><strong>Expo / React Native</strong> — a real app built in JavaScript/React, using actual native UI components. The biggest hiring pool of any option, and the strongest AI code-generation support — not because “AI apps run better on it,” but because there’s simply more training data for React than for Dart or Swift.</li><li><strong>Flutter</strong> — a real app built in Dart, where the framework draws every pixel itself. Best when highly custom rendering (animation, real-time charts, custom drawing) is core to the product, or your team already knows it.</li><li><strong>Fully Native (SwiftUI + Jetpack Compose)</strong> — two separate codebases, one per platform. Worth it for OS-level integrations (widgets, watch apps) or when you have dedicated teams for both platforms. Kotlin Multiplatform can share business logic underneath, if “zero sharing” was what scared you off.</li></ol><p>None of these is universally “the best.” Each is a reasonable default for a specific set of constraints.</p><h3>Three things worth un-learning</h3><p><strong>“Native feel” isn’t a framework feature — it’s an outcome.</strong> A carefully polished Capacitor app can feel better than a sloppy React Native one. The framework raises your ceiling; testing and design decide whether you reach it.</p><p><strong>AI features don’t require React Native.</strong> Your app should never talk to an AI provider directly with an embedded key anyway — it should call your own backend, which calls the AI provider. That backend is framework-agnostic. Pick your client for UX reasons, not AI reasons.</p><p><strong>The App Store’s 30% cut isn’t the fixed cost it used to be.</strong> Since a May 2025 US court ruling (Epic v. Apple), apps on <em>any</em> framework — not just PWAs — can now link out to your own checkout in the US, without the special entitlement Apple previously required. It comes with real tradeoffs (you own billing and tax handling), and the rules are still being clarified region by region, but “avoid Apple’s fee” is no longer a PWA-exclusive advantage.</p><h3>A shortcut through the decision</h3><ul><li>Can a website solve it, with no store requirement? <strong>Stop — build a website.</strong></li><li>Already have a mobile-ready web app? <strong>Look hard at Capacitor.</strong></li><li>Have real, confirmed hardware requirements? <strong>Move to Expo, Flutter, or Native</strong>, based on what you or your team already know.</li><li>No technical background at all? The size of the community and AI tutorial content matters more than which tool produced today’s fastest demo — which currently tends to favor Expo/React Native for solo builders.</li></ul><p>Then — regardless of what you picked — keep your API documented, your auth centralized, and your business logic server-side. That’s what turns a future framework change into a UI rebuild instead of a full product rebuild.</p><h3>Migrate for advantage, not for pride</h3><p>If your current app makes money, retains users, and isn’t blocking your roadmap, a WebView isn’t a problem to solve — it’s a decision that’s still working. Migrate when your users tell you with their behavior (churn, blocked features, dropping engagement), not when other developers tell you a WebView is uncool.</p><p>This is the compressed version. The full breakdown — the complete ten-point reality check, the ownership checklist that keeps you from losing control of your own app, region-by-region payment and store-compliance rules, and a real migration cost calculation — is laid out across a six-part guide:</p><p><a href="https://buildwithai.clearlyreqs.com/en/mobile-app-guide/"><strong>The Non-Developer’s Mobile App Guide →</strong></a></p><p>It covers, in order: the Reality Check, Ownership, the Five Paths, Building Safely, Money &amp; Store Rules, and Launch &amp; Migration — everything above, minus the compression.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e99e3bef532" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Hardest Lesson for New AI Builders: Building Before Validating]]></title>
            <link>https://medium.com/@jsong_49820/the-hardest-lesson-for-new-ai-builders-building-before-validating-7911585a5718?source=rss-67b69cb4aafa------2</link>
            <guid isPermaLink="false">https://medium.com/p/7911585a5718</guid>
            <category><![CDATA[web-services]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[builders]]></category>
            <dc:creator><![CDATA[Jsong]]></dc:creator>
            <pubDate>Thu, 02 Jul 2026 23:23:39 GMT</pubDate>
            <atom:updated>2026-07-02T23:23:39.522Z</atom:updated>
            <content:encoded><![CDATA[<p><em>What I learned while mentoring vibe coding projects — and the one question that separates products people need from products they merely admire.</em></p><p>Recently, I have been mentoring several vibe coding projects. There were many great ideas, and honestly, I was impressed by how much the participants were able to build in a short period of time. Many of them were not developers. Some had little or no previous experience with programming, product development, databases, APIs, deployment, or system architecture. For many, their main exposure to AI before the class was simply using a chatbot.</p><p>But through classes, workshops, and demo app building, they were able to create working services. Not just mockups. Not just slides. Real apps that could be clicked, tested, and shown to others. That experience was powerful. Many of them felt amazed, surprised, and empowered because they had built something they had never imagined they could build before.</p><p>That is the beauty of vibe coding. It lowers the entry barrier. It gives non-developers the ability to turn ideas into working prototypes. It allows people who understand real problems in their own industries to finally build tools around those problems.</p><p>At the same time, while mentoring these projects, I started to see some common patterns that needed correction. These were not failures. They were natural beginner patterns. When people realize they can build, they often want to build more. More features, more pages, more dashboards, more AI functions, more automation, more architecture, more polish. <strong>The product starts to grow quickly, but not always in the right direction.</strong></p><p>The risk is that builders may become disappointed later when users do not respond as expected. Another risk is more subtle: they may develop a habit of building things that look impressive but are not actually useful enough for real users.</p><p>That is why I kept repeating one message during mentoring:</p><blockquote><em>At the MVP stage, your job is not to build many features. Your job is to prove that one core feature solves one real pain for one real user.</em></blockquote><p><em>The anonymized examples below are generalized from real mentoring patterns across multiple MVP-stage projects. Project names, confidential details, URLs, and sensitive implementation information are intentionally not exposed.</em></p><p>· · ·</p><h3>01 — THE PRIORITY PYRAMID</h3><h3>The MVP Priority Pyramid</h3><p>At the MVP and demo stage, many teams focus on the wrong layer of the product. They worry about the perfect tech stack, scalable architecture, cost optimization, production-level deployment, advanced authentication, or a long feature roadmap. These things matter eventually, but they are not the first thing to prove.</p><p>A better way to think about MVP priority is this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2AmR4ktmcTIEiDcMcGUUcg.png" /></figure><p>Most early teams want to start near the top because the top looks professional. A scalable architecture feels serious. A polished dashboard feels complete. A long list of features feels impressive.</p><p>But strong MVPs start at the bottom. Before you build a scalable system, you need to know what pain you are solving. Before you optimize cost, you need to know whether users care. Before you add five more features, you need to know whether the first one works.</p><p>The correct MVP sequence is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ISC9LWpQ2H1NybTbd1hZWQ.png" /></figure><p>The second path feels productive, but it often delays the only question that really matters: does anyone actually want this?</p><h3>02 — THE CORE FRAMING</h3><h3>Painkiller vs. Vitamin</h3><p>One useful way to evaluate an early product is to ask whether it is a vitamin or a painkiller.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3FGAICybOeSdHCMqZU_yHg.png" /></figure><p>A vitamin solution is nice to have. It may be interesting, helpful, or attractive, but users can easily ignore it. A painkiller solution solves something urgent enough that the user feels a real need.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s07fqhGJpz748B5NmqbMFg.png" /></figure><p>A vitamin can become valuable later, but at the MVP stage, you need pain. A user should not merely understand your product. They should feel why it matters.</p><p>This is especially important for new builders using AI. Because vibe coding makes it easy to build, it also makes it easy to build too much. The speed is exciting, but speed without user pain can simply produce a bigger unused product.</p><h3>Case 1) AI Travel Guide</h3><p>One team was building an AI travel-guide experience. The idea had many exciting directions: GPS-based guide, AI chatbot, audio narration, image recognition, push notifications, gamification, route planning, user profiles, and local recommendations.</p><p>All of these features sounded useful. But for MVP validation, the real question was much smaller:</p><blockquote>The Real QuestionWhen a traveler arrives at one specific place, can the service deliver one meaningful story that makes the user want to continue?</blockquote><p>That is the core moment. Not the full travel platform. Not the perfect recommendation engine. Not the complete AI architecture. Just one user, one location, one useful experience.</p><p>A focused MVP could look like this:</p><blockquote>MVP SCOPE</blockquote><blockquote>one city ✓</blockquote><blockquote>one route ✓</blockquote><blockquote>text-only guide ✓</blockquote><blockquote>no login ✗</blockquote><blockquote>no audio ✗</blockquote><blockquote>no image AI ✗</blockquote><blockquote>5 real users ✓</blockquote><p>If users say, “I want to hear more,” the product has a signal. If they say, “That’s nice,” and never open it again, the team learned something important <em>before</em> spending months on extra features.</p><h3>03 — THE HIDING PLACE</h3><h3>Do Not Hide Behind Architecture</h3><p>Architecture is important, but it can also become a hiding place. When user validation feels uncomfortable, builders often move toward things they can control: database schema, authentication, deployment pipelines, cloud infrastructure, caching, API routing, background workers, monitoring, and cost optimization.</p><p>These tasks feel productive because they are concrete. You can finish them. You can show them. You can say, “The system is ready.”</p><p><em>But ready for what?</em></p><p>The real question is not whether the system is technically complete. The real question is whether the system helps a user solve a problem they care about.</p><h3>Case 2) AI Website Analysis Tool</h3><p>Another project involved an AI tool that analyzes websites and generates improvement reports. Technically, the system could become complex very quickly: URL crawling, screenshot capture, performance analysis, vision model analysis, report generation, user account limits, background jobs, and payment plans.</p><p>Those are real engineering topics. But the MVP validation question was simpler:</p><blockquote>The Real Question</blockquote><blockquote>Can one designer or consultant use one generated report to explain a website problem more clearly to a client?</blockquote><p>That is the painkiller moment. If the report helps the user win trust in a client meeting, the product has value. If the report is technically impressive but not useful in that meeting, the product is weak.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*icLVzNkvKYrP6jJ7S6UaPQ.png" /></figure><p>The architecture should support the core use case. It should not become the product itself.</p><h3>04 — SUBTRACTION</h3><h3>More Features Can Make the Product Weaker</h3><p>Early teams often believe that more features make the product more valuable. Usually, the opposite is true. More features can create more confusion, more development time, more bugs, more unclear positioning, and more difficult onboarding.</p><p>At the MVP stage, clarity beats completeness.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_qBYL44n--kTkyO1al9cVw.png" /></figure><p>This is one of the hardest lessons for new builders because adding features feels like progress. Removing features feels like going backward. But in product development, subtraction is often the path to clarity.</p><h3>Case 3) Small Business CRM</h3><p>One team was building a small-business CRM service. The product could include digital stamps, customer databases, visit history, AI-generated messages, coupons, dashboards, SNS content, campaign automation, and analytics.</p><p>Each feature sounded reasonable. But the real business pain was much simpler:</p><blockquote>The Real Pain</blockquote><blockquote>A small business owner wants customers to come back.</blockquote><p>The owner does not wake up thinking, <em>“I need a CRM platform.”</em> They think, <em>“My customers are not returning. What should I do?”</em></p><p>That is the pain.</p><p>A focused MVP flow could be:</p><blockquote>Customer list</blockquote><blockquote>↓</blockquote><blockquote>Find inactive customers</blockquote><blockquote>↓</blockquote><blockquote>Generate one message</blockquote><blockquote>↓</blockquote><blockquote>Send manually</blockquote><blockquote>↓</blockquote><blockquote>See whether anyone returns</blockquote><p>That feedback is more valuable than another dashboard. A dashboard becomes useful <em>after</em> the behavior exists. It is not a substitute for validation.</p><h3>05 — THE LOOP</h3><h3>The MVP Feedback Loop</h3><p>A good MVP should create a fast feedback loop. You build something small, show it to users, observe what happens, collect feedback, adjust the product, and test again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*igvWjz5zZh0748imU-jV2Q.png" /></figure><p>This loop should be fast. Not after three months. Not after every nice-to-have feature is finished. Not after the product is “perfect.” The earlier the feedback, the cheaper the learning.</p><p>One common beginner mistake is to keep building privately because the product is “not ready.” But an MVP is never fully ready. That is the point. You are not showing users a finished product. You are testing whether the core value exists.</p><h3>Case 4) AI Health or Ingredient Analysis</h3><p>One project involved AI-based health or ingredient analysis. The possible feature list was long: image scan, ingredient explanation, risk warning, user history, personal profile, product recommendation, barcode scan, family sharing, notifications, and commerce integration.</p><p>But the first validation question was:</p><blockquote>The Real Question</blockquote><blockquote>Can a user take one photo, receive three understandable findings, and trust the result enough to use it again?</blockquote><p>Trust was the core feature. Not recommendations. Not commerce. Not advanced personalization. If the user does not trust the first analysis, adding more features will not save the product.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d9z0j7_8mqxCHczTi5swVg.png" /></figure><p>For AI products, trust is often more important than feature count. A simple answer that users believe is stronger than a complex answer that users doubt.</p><h3>06 — SEQUENCE</h3><h3>Cost Matters, But Not Before Value</h3><p>Cost, response speed, model choice, and infrastructure efficiency all matter. But they are not the first proof.</p><p><em>There is no point optimizing the cost of a service nobody wants.</em></p><p>A better sequence is:</p><ol><li>Prove the pain.</li><li>Prove the core feature.</li><li>Prove users repeat the behavior.</li><li>Then optimize cost, speed, reliability, and scale.</li></ol><p>Of course, teams should avoid reckless spending. They should protect API keys, set basic usage limits, avoid unnecessary model calls, and prevent obvious abuse. But <em>deep</em> optimization should come after validation.</p><p>In the early stage, the most expensive thing is not API cost. The most expensive thing is building the wrong product for too long.</p><h3>07 — SIGNALS</h3><h3>Demo Is Not Validation</h3><p>A demo can impress people, but validation changes behavior.</p><p>This difference matters. In a class, workshop, accelerator, or mentoring session, people are often polite. They may say, <em>“This is interesting,”</em> <em>“The design looks nice,”</em> or <em>“I can see the potential.”</em> Those comments are encouraging, but they are not validation.</p><blockquote>Real validation sounds different:</blockquote><blockquote>What Validation Sounds Like</blockquote><blockquote>“Can I use this with my own data?”</blockquote><blockquote>“I want to try this next week.”</blockquote><blockquote>“This would save me time.”</blockquote><blockquote>“I would send this to my client.”</blockquote><blockquote>“I would pay if this worked reliably.”</blockquote><blockquote>“I have this problem right now.”</blockquote><p><strong>A demo gets compliments. Validation gets commitment. The goal of an MVP is not applause. The goal is evidence.</strong></p><h3>08 — CONSTRAINT</h3><h3>The One-Week MVP Rule</h3><p>For early-stage teams, I often recommend a one-week cutoff. Not because a full product can be built in one week, but because one week forces focus.</p><p>If the team has only one week, they must answer hard questions: who is the first real user, what pain does that person feel now, what is the smallest useful action, what output proves value, and what can be removed?</p><p><strong>A narrow MVP is not weak. A narrow MVP is a focused experiment.</strong></p><h3>The One-Week MVP Canvas</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wfXfCZwi-iUdYu1Tk7rVHg.png" /></figure><p>If you cannot fill this out clearly, the MVP is still too broad.</p><h3>09 — HABIT</h3><h3>Remove One Feature Every Week</h3><p>One useful habit for early teams is this:</p><p><em>Every week, remove one feature.</em></p><p>This sounds strange because most teams measure progress by what they add. But early product building is also about subtraction. <strong>Removing features helps you find the core.</strong></p><blockquote>Remove feature</blockquote><blockquote>↓</blockquote><blockquote>Does the product still make sense?</blockquote><blockquote>↓</blockquote><blockquote>Yes → It was not core</blockquote><blockquote>No → It may be essential</blockquote><p>When a team removes five nice-to-have features and the product still makes sense, they are getting closer to the core. When removing one feature causes the product to collapse, that feature may be part of the true value.</p><p>This is how teams discover what they are really building.</p><h3>10 — COURAGE</h3><h3>Talk to Users Before It Feels Ready</h3><p>Many builders delay user conversations because the product is rough. But users do not need a perfect product to give useful feedback. They need enough of the core experience to react honestly.</p><p>Show users the rough version. Let them click through it. Let them get confused. Let them ask questions. Let them say, <em>“I don’t understand.”</em> Let them tell you what they expected instead.</p><p>That feedback is not failure. That feedback is the product development process.</p><p>A polished product shown too late is expensive to change. A rough MVP shown early is cheap to improve.</p><h3>11 — THE FILTER</h3><h3>MVP Decision Checklist</h3><p>Before adding a new feature, ask:</p><h4>Before You Build That Feature</h4><ul><li>Does this solve the core user pain?</li><li>Did a real user ask for this?</li><li>Will this help us validate faster?</li><li>Can we test without building it fully?</li><li>Is this required for the first user to succeed?</li><li>Will this shorten or lengthen the feedback loop?</li></ul><p>If the answer is mostly no, postpone it. Not forever. Just until validation is stronger.</p><h3>12 — TO FELLOW MENTORS</h3><h3>What Mentors Should Keep Repeating</h3><p>As mentors, we often want to help with architecture, stack decisions, performance, security, AI model choice, deployment, and cost control. Those are valuable areas, especially when a product begins to gain users.</p><p>But at the MVP stage, the most important mentoring advice is often simpler:</p><blockquote><em>Do less. Build the core. Validate the pain. Talk to users. Shorten the feedback loop.</em></blockquote><p>Do not hide behind architecture. Do not hide behind feature count. Do not build a beautiful system before proving that someone wants the service.</p><p>Vibe coding gives people a new kind of creative power. It allows non-developers to build working products faster than ever before. That is exciting, and it should be celebrated. But the next level is not just building more. The next level is building something useful.</p><p>A strong MVP is not the one with the most features. A strong MVP is the one that answers the most important question with the least effort:</p><p><strong><em>Does this solve a real problemfor a real user?</em></strong></p><p><em>Until the answer is yes, everything else comes second.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7911585a5718" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GCP Cloud Run vs Firebase Hosting: A Deployment Guide for Non-Developers]]></title>
            <link>https://medium.com/@jsong_49820/gcp-cloud-run-vs-firebase-hosting-a-deployment-guide-for-non-developers-96e7ecc01686?source=rss-67b69cb4aafa------2</link>
            <guid isPermaLink="false">https://medium.com/p/96e7ecc01686</guid>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[deployment]]></category>
            <dc:creator><![CDATA[Jsong]]></dc:creator>
            <pubDate>Tue, 23 Jun 2026 13:30:24 GMT</pubDate>
            <atom:updated>2026-06-23T13:30:24.876Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pBx6odz2z0SSAQjtza1jhA.png" /></figure><h3>Both are made by Google — so what’s actually different?</h3><p>I recently ran a vibe-coding bootcamp that walked participants through the entire journey from idea to deployment. There are countless deploy methods and platforms out there, but for this bootcamp we went all-in on Google — auth, database, storage, and hosting, all handled in one place with Firebase.</p><p>Mid-session, a participant raised their hand and asked:</p><blockquote>“What’s the actual difference between Firebase Hosting and GCP Cloud Run?”</blockquote><p>It was a great question, and I could only give a short answer on the spot. This post is the longer answer. I’ve packed it with analogies and diagrams so the non-developers in the room can follow all the way through.</p><h3>1. What does “deploy” actually mean?</h3><p>Let’s unpack the word first. <strong>Deploy</strong> means taking a program that only runs on your laptop and <strong>putting it somewhere anyone on the internet can reach</strong>. When you text a friend a link and they can click and open it — the work that made that possible is deployment.</p><p>For that to happen, you need two things:</p><ol><li><strong>Your files or program need to live somewhere</strong> — on a computer that’s always on and connected to the internet (we call this a “server”).</li><li><strong>People need to be able to find that location</strong> — an address (domain) like myservice.com.</li></ol><p>Both Cloud Run and Firebase Hosting handle <strong>that first role</strong>. But <strong>how they hold your stuff</strong> is completely different. That gap is what this post is really about.</p><blockquote><em>💡 </em><strong><em>One-line takeaway</em></strong><em>: Websites fall into two buckets. </em><strong><em>(1) Sites that just show pages built ahead of time</em></strong><em> (company landing pages, blogs) — these want a </em><strong><em>bookstore</em></strong><em>. </em><strong><em>(2) Sites that build a fresh response based on what the user just did</em></strong><em> (search results, your post-login dashboard) — these want a </em><strong><em>kitchen</em></strong><em>.</em></blockquote><h3>2. Meet the two contenders</h3><p>In one sentence — <strong>Cloud Run is “where servers run”</strong>, and <strong>Firebase Hosting is “where files get handed out fast”</strong>.</p><h3>🍳 Cloud Run + Cloud Build — A kitchen that cooks per request</h3><p>A “server runtime” — it actually executes your code.</p><ul><li><strong>Cloud Build</strong>: the factory that packs your code into a “lunchbox” (container)</li><li><strong>Cloud Run</strong>: takes that lunchbox and opens it to run on every request</li><li>Any language works (Node.js, Python, Java, Go, Ruby…)</li><li>Zero traffic → auto-sleeps and costs ~$0</li><li>Traffic spikes → scales up automatically</li><li>Can do <strong>“thinking work”</strong>: DB connections, AI API calls, login flows</li></ul><h3>📚 Firebase Hosting — A bookstore handing out pre-printed books</h3><p>A “static file CDN” — only hands out pre-built artifacts, very fast.</p><ul><li>Serves pre-built HTML/CSS/JS files as-is to users</li><li><strong>CDN</strong>: copies sit in many regions so users get them from a nearby one</li><li>Doesn’t “run” code, just “delivers” it — so it’s fast and cheap</li><li>Domain setup and HTTPS (the padlock) handled automatically</li><li>Auto preview link per pull request</li><li>Can’t handle login or DB work directly — needs a friend for that</li></ul><blockquote><em>🌿 </em><strong><em>The thing that trips up non-devs</em></strong><em>: “Firebase” is a mobile/web backend platform Google acquired, and </em><strong><em>“Hosting”</em></strong><em> is just one of its features. Firebase also includes </em><strong><em>Authentication (login), Firestore (database), Functions (small server functions)</em></strong><em>, and more. So “I’m just using Firebase Hosting” really means “I’m just using Firebase’s static hosting feature.”</em></blockquote><h3>3. Think of it as a restaurant and a bookstore</h3><p>The difference comes down to <strong>“what happens when a customer walks in.”</strong></p><p><strong>🍳 Cloud Run = the restaurant kitchen.</strong> When a guest orders “bibimbap, please!” you chop the veggies, mix the rice, and ladle on the gochujang right then. Every guest gets something different, and because you build it from scratch each time, it takes longer and costs more. But you can do <strong>almost anything, custom</strong>: signup, login, search, AI responses, payments — all on the menu.</p><p><strong>📚 Firebase Hosting = the bookstore.</strong> When a guest says “that book please,” you hand them a copy that’s already on the shelf. Fast and cheap. Every customer gets the same book. To change the content, you reprint and restock. But <strong>that’s not a flaw</strong> — most informational pages (about pages, blogs, landing pages) work fine showing everyone the same thing.</p><p>Now the key question — <strong>“Is my project a restaurant or a bookstore?”</strong></p><p>If you sit with it for a moment, most projects are actually a <strong>bookstore + a small kitchen</strong>. The landing page, the about page, the pricing table, and the blog all come from the bookstore fast — and you only ask the kitchen to “cook” when something like login or search comes up. That’s exactly what the <strong>combo pattern</strong> later in this post describes.</p><blockquote><em>💡 </em><strong><em>Another analogy — kitchen appliances</em></strong><em>: Firebase Hosting is the </em><strong><em>microwave</em></strong><em>. It just reheats food you already prepared. Cloud Run is the </em><strong><em>induction cooktop</em></strong><em>. Give it ingredients (code) and it can cook anything. Does your company landing page need an induction cooktop? No — a microwave is plenty. That’s the whole point.</em></blockquote><h3>4. How does it actually flow?</h3><h3>① Cloud Run + Cloud Build — pack a lunchbox, station it in the kitchen</h3><pre>[Write code] → [Cloud Build packs it into a container]<br>            → [Stored in Artifact Registry warehouse]<br>            → [Cloud Run gets ready to serve]<br>            → [Runs on each user request]</pre><p>When you git push your code, <strong>Cloud Build</strong> notices (&quot;oh, new code&quot;) and automatically packs it into a &quot;lunchbox&quot; called a <strong>container</strong>. That lunchbox contains not just your code but everything needed to run it — language version, libraries, the lot.</p><p>The finished lunchbox goes into a warehouse called <strong>Artifact Registry</strong>, and <strong>Cloud Run</strong> picks it up and says “ready for customers.” Only when a user actually shows up does the lunchbox open and the code run to produce a response. When nobody’s there, the lunchbox closes and sleeps (which is why the bill stays near zero).</p><blockquote><em>💡 </em><strong><em>What’s a container?</em></strong><em> A container is </em><strong><em>“a portable box that makes your program run the same way everywhere.”</em></strong><em> It prevents the classic “works on my laptop, broken on the server” disaster — like a lunchbox that ships the chopsticks and bowls along with the food. The standard tool for building them is </em><strong><em>Docker</em></strong><em>.</em></blockquote><h3>② Firebase Hosting — print it and stock every bookstore</h3><pre>[Write code] → [npm run build generates static files]<br>            → [firebase deploy uploads to CDN]<br>            → [Copied to global edge nodes]<br>            → [Served from the nearest one to each user]</pre><p>This side is much simpler. You run a build command and out come HTML, CSS, and JS files — the <strong>“printed books”</strong>. A single firebase deploy copies those books to <strong>CDN edge nodes</strong> (the bookstore branches) all over the world.</p><p>When someone hits the site from Seoul, a Seoul-area node serves them; from New York, a New York-area node does. The result: pages load <strong>very fast from anywhere in the world</strong>. And because nothing is being executed — just files handed over — costs stay tiny.</p><blockquote><em>🌿 </em><strong><em>What’s a CDN?</em></strong><em> </em><strong><em>CDN = Content Delivery Network</em></strong><em>. If the only copy of a book sits in a Seoul bookstore, a customer in Busan waits a long time. So you open branches in Busan, Tokyo, LA, Paris and stock the same book in all of them ahead of time. That’s a CDN. Firebase Hosting hands you all those branches out of the box.</em></blockquote><h3>5. Side-by-side comparison</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*hHnHmpdWoUaj2qU6o9rWoQ.png" /></figure><blockquote><em>💡 </em><strong><em>What’s a cold start?</em></strong><em> When nobody’s using your site, Cloud Run closes the lunchbox (container). When traffic suddenly arrives, reopening takes 1–3 seconds. That’s a “cold start.” The first user to a quiet site might wait a beat. </em><strong><em>Fix</em></strong><em>: set </em><em>min-instances=1 so at least one stays warm — costs a little, but kills the lag.</em></blockquote><h3>6. So how much does it actually cost?</h3><p><em>“I heard it’s free — is it actually free?”</em></p><p>The answer is <strong>“yes, up to a point.”</strong> Let’s see where that point is.</p><p><strong>🍳 Cloud Run pricing structure</strong></p><blockquote><em>① Requests × rate + ② vCPU-seconds × rate + ③ memory-seconds × rate + ④ outbound data</em></blockquote><p>Zero traffic → near-zero cost (if min-instances isn’t on). There’s a monthly free tier. But <strong>once traffic grows or your code uses a lot of memory, costs climb quickly</strong>. Long-running tasks like AI calls deserve extra caution.</p><p><strong>📚 Firebase Hosting pricing structure</strong></p><blockquote><em>① Stored GB + ② Outbound GB / month</em></blockquote><p>On the Spark (free) plan, you get <strong>10 GB of egress per month free</strong>. A company landing page or a small SaaS marketing site can usually run for $0 all year inside that limit. Thanks to CDN caching, the same traffic costs far less than it would on Cloud Run.</p><blockquote><em>⚠️ </em><strong><em>The 3am empty-wallet scenario</em></strong><em>: The most common disaster is a Cloud Run service that calls an AI API on every request with no guard rails. A bot hammering it 10,000 times sends the OpenAI/Claude bill </em>and<em> the Cloud Run compute bill skyrocketing at the same time. </em><strong><em>Set a monthly billing budget alert and a rate limit. Always.</em></strong></blockquote><p><strong>Real-world estimates for ~10k monthly visitors:</strong></p><ul><li>Static landing page on Firebase Hosting only: roughly <strong>$0</strong> (within free tier)</li><li>Next.js SSR on Cloud Run: <strong>$5–$20/month</strong> depending on traffic pattern (if you allow cold starts)</li><li>Typical SaaS combining both (landing + API): <strong>$5–$15/month</strong> is a common starting point</li></ul><h3>7. So which one should I use?</h3><p>It depends on the situation.</p><p><strong>Use 📚 Firebase Hosting for:</strong></p><ul><li>Simple landing pages, about pages, blogs</li><li>React/Vue/Svelte SPAs (with backend on an external API)</li><li>Quick demos for 5 friends</li></ul><p><strong>Use 🍳 Cloud Run for:</strong></p><ul><li>REST/GraphQL API backends</li><li>AI chatbot / summary / image generation servers</li><li>Full-stack frameworks like Next.js SSR / Nuxt SSR</li></ul><p><strong>Combine both 🤝 for:</strong></p><ul><li>Mostly static sites + occasional API calls (checkout, contact forms)</li><li>Larger SaaS — snappy marketing site + dynamic post-login dashboard</li></ul><h3>8. In practice, most people use both together</h3><p>The most common production pattern is <strong>“Firebase Hosting for the frontend, Cloud Run for the backend”</strong>. They’re not rivals — they’re a duo.</p><pre>[User&#39;s browser] → [Firebase Hosting serves landing/SPA]<br>                 → [/api/* requests go to Cloud Run]<br>                 → [Database returns the result]</pre><p>A user hits myservice.com. The first page (built in React) loads instantly from Firebase Hosting&#39;s CDN. When they click login or type a search, your JavaScript fires a request to something like /api/login. That request is automatically forwarded to the backend on Cloud Run, which checks the DB and returns a response.</p><p><strong>Wiring it up is easier than you’d think.</strong> Add one <strong>rewrites</strong> rule to your Firebase config (firebase.json) and a given path will route to Cloud Run automatically.</p><pre>{<br>  &quot;hosting&quot;: {<br>    &quot;rewrites&quot;: [<br>      {<br>        &quot;source&quot;: &quot;/api/**&quot;,<br>        &quot;run&quot;: {<br>          &quot;serviceId&quot;: &quot;my-api&quot;,<br>          &quot;region&quot;: &quot;asia-northeast3&quot;<br>        }<br>      },<br>      {<br>        &quot;source&quot;: &quot;**&quot;,<br>        &quot;destination&quot;: &quot;/index.html&quot;<br>      }<br>    ]<br>  }<br>}</pre><p>🌿 <strong>Why this combo works:</strong></p><ol><li><strong>Single domain</strong> — no CORS headaches</li><li><strong>Fast where it should be fast, heavy where it has to be heavy</strong> — cost-optimized</li><li><strong>Decoupled</strong> — if one side breaks, the other keeps working</li><li><strong>Natural role split</strong> — designers own the frontend, engineers own the backend</li></ol><h3>9. Wait, what about Cloud Functions?</h3><p>If you’ve been paying attention, you might have noticed — there’s another way to host a backend: <strong>Firebase Hosting + Cloud Functions</strong>. It competes for the same spot Cloud Run does, but takes a different approach.</p><p>🌿 <strong>One-line summary</strong>:</p><ul><li><strong>Cloud Functions</strong> = tiny functions that wake up briefly when needed</li><li><strong>Cloud Run</strong> = a place where your whole server actually runs</li></ul><h3>What they actually are</h3><p><strong>Cloud Functions (Firebase Functions)</strong> is <strong>function-level serverless</strong>. You upload a single piece of code (e.g. sendEmail(), processPayment()); it wakes up only when called, runs just that function, and goes back to sleep. You never think about a server. The unit is <strong>&quot;function = one task.&quot;</strong></p><p><strong>Cloud Run</strong> is <strong>container-level serverless</strong>. Express server, FastAPI, Spring — whatever backend you’d normally build, you box it up and ship the whole thing. Whether it has 100 functions, 1000 routes, or weird routing logic is entirely up to you.</p><h3>In analogy form — food trucks vs a restaurant</h3><p><strong>🚚 Cloud Functions = a fleet of food trucks.</strong> Tteokbokki truck, kimbap truck, coffee truck — each one makes one thing, fast. No customers? The truck closes up and vanishes. Want another menu item? Call another truck. Simple and fast, but each truck wakes up on its own.</p><p><strong>🏠 Cloud Run = a full restaurant.</strong> There’s a chef, a menu, and the kitchen can produce 100 different dishes. When no one’s there, the lights go off; when guests arrive, they go on. You design the layout. Once it’s open, the whole menu is ready at once.</p><h3>When to pick which</h3><p><strong>Cloud Functions fits when you have:</strong></p><ul><li>Form submit → send email</li><li>Receive payment webhooks</li><li>React to a new Firestore write</li></ul><p><strong>Cloud Run fits when you have:</strong></p><ul><li>An Express/FastAPI server to lift as-is</li><li>An AI model to host in-process</li><li>WebSockets / real-time streaming</li></ul><h3>An honest take</h3><p>At bootcamp scale, if you’re already in the Firebase stack, <strong>Cloud Functions is the more natural fit</strong>. Same console as Auth, Firestore, and Storage; same CLI; same permissions model. The “all-Firebase” picture stays clean.</p><p>Cloud Run enters the picture when the project grows, when you want tech outside Firebase (a different DB, a specific backend framework), or when you need heavy AI workloads. It’s a kind of <strong>“graduation track”</strong> — start with Functions, move to Cloud Run when needed.</p><blockquote><em>💡 </em><strong><em>Fun fact</em></strong><em>: </em><strong><em>Cloud Functions Gen 2 actually runs on top of Cloud Run.</em></strong><em> Same underlying infrastructure — Functions just wraps it with a “define one function and you’re done” convenience layer. The line between them is blurring.</em></blockquote><h3>10. Five traps non-devs fall into</h3><h3>Trap 1. “Trying to upload backend code to Firebase Hosting”</h3><p>Someone tries to upload an entire Python or Node.js server to Firebase Hosting and panics when nothing works. Hosting is a bookstore, not a kitchen — it doesn’t execute server code.</p><p><strong>Fix</strong>: Put the backend on <strong>Cloud Run</strong> or <strong>Firebase Functions</strong>; put only the built output (HTML/CSS/JS) on Hosting.</p><h3>Trap 2. “They said it was free — and then the bill arrived”</h3><p>A Cloud Run service contains AI calls; a bot hammers it or an infinite loop fires and costs explode. The OpenAI API bill arrives separately on top.</p><p><strong>Fix</strong>: Set up all three from day one: <strong>billing budget alerts</strong> + <strong>Cloud Run max-instances limit</strong> + <strong>API rate limits</strong>.</p><h3>Trap 3. “I deployed a static site to Cloud Run”</h3><p>Someone shoves a built React app into a Cloud Run container and runs it there. It works, but it costs more and the first visit is slow because of cold starts. Bad UX.</p><p><strong>Fix</strong>: Static files belong on Firebase Hosting. First ask: <em>“Is there really something that has to run on the server for each request?”</em></p><h3>Trap 4. “Cold starts are so slow users bounce”</h3><p>On a quiet site, Cloud Run adds 1–3 seconds to the very first visitor. You’re showing off a demo, the first click drags, and the vibes die.</p><p><strong>Fix</strong>: For anything important, set min-instances=1 so at least one stays warm. Costs a bit but saves UX.</p><h3>Trap 5. “I hardcoded the API key into the frontend”</h3><p>An OpenAI API key or a payment secret sits inside the JavaScript shipped to Firebase Hosting. Anyone can open browser devtools and see it. This can become a <strong>serious security incident</strong>.</p><p><strong>Fix</strong>: Any call that uses a secret must go through your <strong>Cloud Run backend</strong>. Pattern: frontend → Cloud Run → external API. Store the key in Cloud Run env vars or Secret Manager.</p><h3>11. Pre-launch checklist</h3><p>Before Monday morning rolls in, tick these off one by one.</p><ul><li>[ ] Can you say in one sentence whether your project is “bookstore” or “kitchen”?</li><li>[ ] Created a GCP project and linked a billing account? (New signups get $300 free credit)</li><li>[ ] Set up a monthly billing budget alert? (three thresholds: $10, $50, $100)</li><li>[ ] Bought a domain and decided where it points?</li><li>[ ] Code pushed to GitHub?</li><li>[ ] API keys split out from code, not hardcoded?</li><li>[ ] If using Cloud Run, do you have a Dockerfile?</li><li>[ ] Capped Cloud Run max-instances? (Default 100 → small services do well at 5–10)</li><li>[ ] Tried Firebase Hosting preview channels?</li><li>[ ] Do you know where to look at logs when something breaks?</li></ul><h3>12. Tools are just tools — the call is yours</h3><blockquote>A better question than “which tool is better?” is “which tool does my project need right now?” Don’t put a bookstore inside a restaurant, and don’t drop an induction cooktop into a bookstore.</blockquote><p>Quick recap:</p><ul><li><strong>Firebase Hosting = bookstore.</strong> Ships pre-built files fast, cheap, globally. Best for static sites, SPAs, landing pages.</li><li><strong>Cloud Run + Cloud Build = kitchen.</strong> Executes code to produce dynamic responses. Best for APIs, SSR, AI calls.</li><li><strong>In production: both.</strong> The most common pattern. Frontend on Hosting, backend on Cloud Run, glued together on one domain.</li></ul><blockquote><em>🌿 </em><strong><em>The biggest comfort for non-devs</em></strong><em>: This decision is </em><strong><em>reversible</em></strong><em>. Start with just Firebase Hosting; add Cloud Run later when you actually need a backend. The reverse works too. </em><strong><em>A fast start almost always beats a perfect start.</em></strong><em> Get a URL your five friends can open, and refine the architecture once traffic shows up.</em></blockquote><p>Tools are just tools. What actually matters is <em>“am I building something that gives people value?”</em> Bookstore or kitchen — the real point is making customers want to come back. 🌿</p><p><em>Happy shipping. Get it live, show someone, then iterate.</em></p><p><em>If this helped, a clap or two would mean a lot. And if you’ve got a story about a deployment trap you fell into — drop it in the comments. We’ve all been there.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96e7ecc01686" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building the App Was the Easy Part]]></title>
            <link>https://medium.com/@jsong_49820/building-the-app-was-the-easy-part-ec1b19d3c581?source=rss-67b69cb4aafa------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec1b19d3c581</guid>
            <dc:creator><![CDATA[Jsong]]></dc:creator>
            <pubDate>Mon, 22 Jun 2026 20:57:24 GMT</pubDate>
            <atom:updated>2026-06-22T20:57:24.373Z</atom:updated>
            <content:encoded><![CDATA[<h3>A post-build guide for everyone who finished a vibe coding course — or built something on their own — and quietly thought, “Okay… what do I actually do with this?”</h3><p>Last week, someone messaged me: <em>“I built the app. My friends said it’s cool. It’s been sitting there for three weeks. I don’t know what comes next.”</em></p><p>That message arrives in my inbox almost every week. Different person, same words.</p><p>Over the past two years, I’ve shipped a lot of small services — apps I needed, apps the people around me needed, apps I was curious whether anyone else would care about. And every chance I got, I taught vibe coding and AI business automation. Along the way, I’ve met a couple of hundreds people. Mentored. Judged hackathons. Hosted boot camps in Seattle and South Korea.</p><p>And the scene repeats itself almost word for word.</p><p>Students show up. They build something genuinely impressive in a weekend. They demo it, get applause, submit the final project. Then the course ends.</p><p>And then… nothing.</p><p>Not because they lost interest. Not because the app was bad. But because nobody told them what the next ten steps look like. The course got them to the summit of “I built something.” Nobody handed them a map down the other side — the side where strangers actually use the thing, where interest turns into revenue, where you decide whether this is a hobby, a portfolio piece, a side income, or a real business.</p><p>This series is that map.</p><h3>The journey, at a glance</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*vts92CsSse0SxWkpmG_zcA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*TCBfSONYSNlFJahxs3DcyQ.png" /></figure><p>Five posts, one per stage. Read at your own pace. Here’s what’s coming.</p><h3>🛠 Stage 0 — Your Demo Works on Your Laptop. Now Make It Real.</h3><p><strong>Domain, hosting, Firebase, PWA, secret management — how to ship without being perfect.</strong></p><p>There’s a quiet shame in saying <em>“my app works… if you come over to my house.”</em> Stage 0 is the unglamorous machinery of moving your project from localhost:3000 to a real address on the internet where a stranger in another country can actually open it.</p><p>We’ll cover what a domain costs and where to buy it without getting upsold to nonsense, how to pick hosting that won’t ruin your weekend, the way to add login (hint: you don’t need to build auth from scratch — Firebase or Supabase will do it for free up to a real number of users), and how to set up a database that doesn’t lose everyone’s data the moment you restart your laptop.</p><p>We’ll also talk about API keys and “secrets” — because the single most common way new builders get burned is accidentally pushing their OpenAI key to GitHub and waking up to a $4,000 bill.</p><blockquote><strong><em>⚠️ The Stage 0 trap</em></strong><em> Polishing forever. You’ll be tempted to redesign the logo, refactor the code, add one more feature — anything to avoid the moment you tell people the URL. </em><strong><em>Ship ugly.</em></strong><em> A live link beats a beautiful prototype every time.</em></blockquote><p>This stage is more boring than the building part. It’s also the difference between <em>“look what I made”</em> and <em>“you can visit it right now.”</em></p><h3>👥 Stage 1 — How to Bring 50 Strangers to Your Door</h3><p><strong>Terms, analytics, SEO/GEO, channels, ops — and empty-state design.</strong></p><p>Friends will try anything once. Strangers won’t. And strangers are the only ones whose opinion matters, because they have no reason to be nice.</p><p>Stage 1 is about being findable and trustworthy enough that a person who has never heard of you will click, sign up, and come back. That means a privacy policy and terms of service that actually exist (yes, you need them, even for a side project). Basic analytics so you can see who’s coming and what they’re doing. Search visibility — both traditional Google SEO and the newer <strong>GEO</strong> (Generative Engine Optimization), which is how ChatGPT, Perplexity, and Claude decide whether to mention your service when someone asks.</p><p>Then we’ll talk about channels. Where do you actually announce a new app?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*4DpTRDgTDF932nuDBbefmA.png" /></figure><p>The honest answer for <em>which</em> channel depends on who your users are. We’ll walk through how to pick instead of trying all six and burning out by week two.</p><p>And one detail almost everyone misses: <strong>empty-state design.</strong> The first thing a new user sees when they log in and there’s no data yet. Most apps show a blank screen and lose the user in three seconds. We’ll fix that.</p><blockquote><strong><em>💡 The Stage 1 truth</em></strong><em> Most “my app doesn’t get traffic” problems are actually “nobody knows my app exists” problems. Marketing isn’t a phase that comes after building — it starts the day you ship.</em></blockquote><h3>🎤 Stage 2 — They Said They Loved It. But Would They Pay?</h3><p><strong>Five user interviews, reading the signals, the courage to kill. Finding real demand.</strong></p><p>This is the stage that breaks people. Not because it’s technically hard, but because it’s emotionally hard.</p><p>You will run five real user interviews. Not with friends. Not with boot camp classmates. With people who don’t owe you anything. You’ll learn how to ask questions that get real answers instead of polite ones — because <em>“this is so cool!”</em> and <em>“I would actually pay for this”</em> are completely different sentences, and beginners confuse them constantly.</p><p>We’ll also talk about reading signals:</p><blockquote><strong><em>The signals that matter more than what people say</em></strong></blockquote><blockquote>- The user who keeps coming back without being prompted</blockquote><blockquote>- The user who never returns even though they said they loved it</blockquote><blockquote>- The user who tries to use the app for something you didn’t design it for <em>(sometimes the most important signal of all)</em></blockquote><blockquote>- The user who refers a friend without you asking</blockquote><blockquote>- The user who gets frustrated when something breaks <em>(frustration means they care)</em></blockquote><p>And then, the hardest skill in this whole series: <strong>the courage to kill.</strong> Sometimes the interviews tell you the idea isn’t real. Walking away from months of work without shame is a skill, and one almost nobody teaches. We’ll teach it.</p><h3>💵 Stage 3 — The Moment You Charge Money, Everything Changes</h3><p><strong>Revenue model, pricing, payments, business registration, taxes, free→paid.</strong></p><p>The day someone pays you one dollar, the entire conversation changes — about your app, about yourself, about what you’ve actually built.</p><p>Stage 3 covers the machinery of that moment:</p><p><strong>Picking a revenue model that fits your app.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*_u5PTNs_6uFKWCLFfDNp-w.png" /></figure><p><strong>Setting a price</strong> without falling into the two classic traps of charging too little out of guilt or charging too much out of bravado.</p><p><strong>Wiring up payments</strong> with Stripe — the de facto standard for North American indie builders. We’ll go from zero to live payments in an afternoon and cover the gotchas (chargebacks, failed cards, refund policy).</p><p><strong>The business and tax side.</strong> When (and whether) to form an LLC — Delaware vs. your home state, single-member vs. multi-member, what it actually costs to set up and maintain. How to handle 1099s once you start paying contractors. State sales tax on digital products (the rules are different in every state and most builders ignore this until it’s a problem).</p><p><strong>And the trickiest move of all:</strong> converting your existing free users into paying ones without losing all of them. There’s a right way to do this, and a way that destroys your reputation overnight.</p><blockquote><strong><em>⚠️ The Stage 3 trap</em></strong><em> Avoiding money because asking feels rude. You spent months building something valuable. Charging for it is not greed — it’s the only way the thing survives long enough to keep helping people.</em></blockquote><h3>🧭 Stage 4 — You’re Making Money. But Who Are You Becoming?</h3><p><strong>Five options, finding a technical cofounder, investment, and a 90-day action plan.</strong></p><p>Once revenue is real, a new question shows up — and most people don’t expect it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*ywpU2IurwDFRW8WoNpHdBA.png" /></figure><p>There’s no single right answer. But there’s a wrong answer: <strong>drifting because you never picked one.</strong></p><p>Stage 4 walks through all five paths honestly — what each one requires, what each one costs, what each one gives back. We’ll talk about when to look for a technical cofounder and how to find one without giving away half your company to the first person who returns your DM. When investment makes sense (almost never, in the early years) and when it absolutely doesn’t. And how to read the signals your own life is sending you about which path actually fits.</p><p>Then we close with a <strong>90-day action plan</strong> — a concrete calendar, week by week, of what to do next. Not a wishlist. A schedule. Because <em>“someday I’ll launch”</em> is the most expensive sentence in the English language, and most people pay it for years.</p><h3>⚠️ The five pitfalls (and where they show up)</h3><p>I’ve watched people walk into the same five traps over and over. Each post will mark exactly where these appear, so you can see them coming.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*4M6XkqbtWT80iLM7jOK01Q.png" /></figure><p>Why I’m writing this</p><p>I’m not writing this because I have everything figured out. I’m writing it because every week, someone smart and capable messages me to say they built something cool and don’t know what to do with it — and I’m tired of giving the same answer in DMs.</p><p>You shouldn’t need to know me personally to get past the wall between <em>“I built it”</em> and <em>“people use it.”</em></p><p>So here it is. Five posts. Read at your own pace. Skip what doesn’t apply. Steal what does.</p><p>The first one — <strong>Stage 0: Your Demo Works on Your Laptop. Now Make It Real</strong> — is next.</p><p>See you there.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec1b19d3c581" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>