<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Huangbo</title>
    <description>The latest articles on DEV Community by Huangbo (@dilless).</description>
    <link>https://dev.to/dilless</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F353055%2F6f5e87ee-2915-46ea-bf68-e14b3092684f.jpeg</url>
      <title>DEV Community: Huangbo</title>
      <link>https://dev.to/dilless</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dilless"/>
    <language>en</language>
    <item>
      <title>Rendering 241 Interactive 3D Stadiums in the Browser: Brotli GLB, Unified Seat-Map Geometry, and Mobile Sightlines</title>
      <dc:creator>Huangbo</dc:creator>
      <pubDate>Sat, 28 Nov 2026 13:26:28 +0000</pubDate>
      <link>https://dev.to/dilless/rendering-241-interactive-3d-stadiums-in-the-browser-brotli-glb-unified-seat-map-geometry-and-136k</link>
      <guid>https://dev.to/dilless/rendering-241-interactive-3d-stadiums-in-the-browser-brotli-glb-unified-seat-map-geometry-and-136k</guid>
      <description>&lt;p&gt;When you buy a stadium or concert ticket, most seating charts give you a flat 2D polygon and leave you guessing how steep the upper bowl is, whether a balcony overhang blocks the main screen, or how far a corner section actually feels from a concert stage.&lt;/p&gt;

&lt;p&gt;While building &lt;a href="https://seatvp.com/" rel="noopener noreferrer"&gt;Seat Viewpoint&lt;/a&gt; — a free, no-account 3D venue and concert seat-view explorer covering 241 stadiums and arenas across 12 languages — we hit four engineering problems that show up in almost any large-scale Three.js / WebGL web app. Here is what actually worked in production and what broke along the way.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. One Data-Driven Model Format Instead of Per-Venue Code
&lt;/h2&gt;

&lt;p&gt;Early prototypes tempted us to write custom React or Three.js branches for oddball venues (asymmetric baseball outfields, split-level club suites, or removable dome roofs). That collapses fast once you pass 20 venues.&lt;/p&gt;

&lt;p&gt;Instead, every stadium, arena, and concert overlay compiles into a single versioned &lt;code&gt;ArenaModel&lt;/code&gt; JSON + GLB geometry contract:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Shared renderer, data-only venue differences:&lt;/strong&gt; Bowl tiers, aisle staircases, stage rigs, sightline obstructions, roof meshes, and section-to-row coordinate frames live in validated data rather than slug-specific runtime code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Event overlays on top of base venues:&lt;/strong&gt; A concert tour date binds a stage + floor-seating overlay to the base stadium model, so the same venue renders sports layouts and date-specific concert tours without duplicating the architectural shell.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Default roofless exterior + toggleable roof:&lt;/strong&gt; Showing the real architectural facade with the roof hidden by default lets visitors immediately read bowl depth and orientation, then toggle the roof on from a fixed camera angle to check ceiling rigging and enclosed acoustics.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. Delivering 3D Geometry Fast: Brotli-Compressed GLB + Edge Caching
&lt;/h2&gt;

&lt;p&gt;Raw &lt;code&gt;.glb&lt;/code&gt; files compress dramatically well with Brotli, especially when mesh vertex buffers are quantized and repetitive geometry is instanced.&lt;/p&gt;

&lt;p&gt;Two subtle CDN details mattered more than our Three.js micro-optimizations:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Content-addressed asset keys with immutable caching:&lt;/strong&gt; Storing models under &lt;code&gt;models/&amp;lt;sha256&amp;gt;/*.glb&lt;/code&gt; with &lt;code&gt;Content-Encoding: br&lt;/code&gt;, &lt;code&gt;Content-Type: model/gltf-binary&lt;/code&gt;, and &lt;code&gt;Cache-Control: public, max-age=31536000, immutable&lt;/code&gt; keeps repeat visits instant and makes rollbacks trivial.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Watch out for &lt;code&gt;cf-cache-status: DYNAMIC&lt;/code&gt;:&lt;/strong&gt; Some edge CDNs do not cache &lt;code&gt;.glb&lt;/code&gt; or &lt;code&gt;.hdr&lt;/code&gt; extensions by default unless you add an explicit cache rule for those paths. Verifying edge cache headers cut cold-load latency across &lt;a href="https://seatvp.com/venues" rel="noopener noreferrer"&gt;the 241-venue catalog&lt;/a&gt; far more than tweaking draw calls alone.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  3. Solving the 2D-to-3D Seat Map Problem on Narrow Mobile Screens
&lt;/h2&gt;

&lt;p&gt;A 3D viewport is only half the UX. Users still locate their ticket by section number on a 2D map first — and 2D seat maps fail spectacularly on 375px phone screens:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Long section names collide in narrow bowls&lt;/strong&gt;, while hiding labels makes small suites impossible to find. Our fix: render concise published section codes inside polygons, keep full names in search and accessible labels, and route crowded small sections to scrollable leader-line callout columns that collapse back inside the polygon as the user zooms in.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Two-step tier tapping on touchscreens:&lt;/strong&gt; Trying to tap a tiny inactive upper-deck section on a phone often jumps straight into the wrong 3D view. Making an inactive tier a broad tap target first reveals that tier's section numbers on the 2D map; the second tap opens the exact 3D seat perspective.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. Camera Framing and Side-by-Side Comparison
&lt;/h2&gt;

&lt;p&gt;Computing a believable first-person eye position requires seating tread height, riser slope, row depth, and a realistic human eye offset above the concrete deck (plus checking that aisle portals and cross-aisle landings actually connect when looking backward or downward).&lt;/p&gt;

&lt;p&gt;Because buyers rarely judge one section in isolation, we kept the exact venue, layout revision, section, row, and camera heading serialized in shareable URLs. That allows &lt;a href="https://seatvp.com/compare" rel="noopener noreferrer"&gt;side-by-side seat comparison&lt;/a&gt; between two candidate tickets (for example, lower-bowl side angle vs. club-level front row) or across &lt;a href="https://seatvp.com/concerts" rel="noopener noreferrer"&gt;upcoming concert stage layouts&lt;/a&gt; without requiring an account.&lt;/p&gt;

&lt;h2&gt;
  
  
  Takeaways for WebGL App Builders
&lt;/h2&gt;

&lt;p&gt;If you are shipping a multi-scene Three.js application on the web:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Keep scene variation in validated data and retire per-scene code branches early.&lt;/li&gt;
&lt;li&gt;Verify your CDN actually caches &lt;code&gt;.glb&lt;/code&gt; and environment maps at the edge (don't assume default rules cover 3D MIME types).&lt;/li&gt;
&lt;li&gt;Test mobile touch interactions and cold-load asset swaps during drag gestures, not just static desktop screenshots.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you want to inspect the resulting WebGL viewer directly, you can explore any stadium or concert seating chart on &lt;a href="https://seatvp.com/" rel="noopener noreferrer"&gt;Seat Viewpoint&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>webdev</category>
    </item>
    <item>
      <title>Why I moved coding-agent work out of the terminal</title>
      <dc:creator>Huangbo</dc:creator>
      <pubDate>Wed, 29 Jul 2026 09:05:04 +0000</pubDate>
      <link>https://dev.to/dilless/why-i-moved-coding-agent-work-out-of-the-terminal-bb0</link>
      <guid>https://dev.to/dilless/why-i-moved-coding-agent-work-out-of-the-terminal-bb0</guid>
      <description>&lt;p&gt;At some point, I noticed that I had stopped closing terminal tabs.&lt;/p&gt;

&lt;p&gt;One had an agent halfway through a feature. Another contained a useful investigation I didn’t want to lose. A third was waiting for me to answer a question. I kept them all open because each tab held a piece of project state that existed nowhere else.&lt;/p&gt;

&lt;p&gt;The terminal had quietly become my filing system.&lt;/p&gt;

&lt;p&gt;I like coding agents, and I’m generally comfortable letting them do real work. The problem wasn’t that they were doing too much. The problem was that, once I had several projects and sessions going, I had no good way to see the whole picture.&lt;/p&gt;

&lt;p&gt;Which ideas were still rough? What was ready to build? Which session was running? What was waiting for me? What had already been tried?&lt;/p&gt;

&lt;p&gt;Checking terminal tabs one by one wasn’t a workflow. So I started building &lt;a href="https://github.com/boh5/archcode" rel="noopener noreferrer"&gt;ArchCode&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  A place for the work around the code
&lt;/h2&gt;

&lt;p&gt;ArchCode is an open-source cloud workbench for AI coding.&lt;/p&gt;

&lt;p&gt;By “cloud,” I don’t mean that it has to run on somebody else’s infrastructure. It can run on the same laptop where the code lives, on a workstation under your desk, or on a remote server. You choose the machine. The browser is simply how you manage it.&lt;/p&gt;

&lt;p&gt;I wanted the workbench to cover more than the moment when an agent is writing code. Most project work starts much earlier than that.&lt;/p&gt;

&lt;p&gt;Sometimes I have a clear bug to fix. Other times it’s just a vague thought:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This part of the codebase is getting difficult to change. I should look into it later.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That isn’t ready to become a prompt, but it’s still worth keeping.&lt;/p&gt;

&lt;p&gt;ArchCode gives every project its own Todos, where I can save features, bugs, refactors, experiments, or half-formed ideas. A Todo can sit there until I’m ready to think about it. I can discuss it with an Agent, work out what I actually want, and only then mark it Ready.&lt;/p&gt;

&lt;p&gt;When the time comes, the Todo can become a real Session or an Automation. The original idea stays attached to the work instead of disappearing into a new chat window.&lt;/p&gt;

&lt;p&gt;That flow now looks like this:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Idea → Discussion → Ready → Session or Automation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It sounds simple, but this was one of the main things I was missing from existing coding-agent tools.&lt;/p&gt;

&lt;h2&gt;
  
  
  Multi-agent, but with someone in charge
&lt;/h2&gt;

&lt;p&gt;I also wanted multi-agent work to have a clear owner.&lt;/p&gt;

&lt;p&gt;“Multi-agent” can easily turn into several agents talking to each other without anyone being obviously responsible for the result. ArchCode takes a more straightforward approach.&lt;/p&gt;

&lt;p&gt;A Lead owns the task. It can do the work directly, but it can also bring in specialist Agents when there is a clear reason:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Analyst for deeper analysis and review&lt;/li&gt;
&lt;li&gt;Build for implementation and verification&lt;/li&gt;
&lt;li&gt;Explore for quickly investigating the codebase&lt;/li&gt;
&lt;li&gt;Librarian for documentation and external research&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A small change may only need the Lead. A larger task might need an investigation first, a Build Agent to implement it, and an Analyst to review the result.&lt;/p&gt;

&lt;p&gt;I don’t want more Agents for the sake of having more Agents. I want each one to have a recognizable job, its own tools, and a clear boundary around what it is responsible for.&lt;/p&gt;

&lt;p&gt;ArchCode runs its own Agent runtime. It isn’t a Web UI placed on top of Claude Code, Codex, or another coding CLI. The server owns the Agent execution, Sessions, tools, approvals, memory, and durable state.&lt;/p&gt;

&lt;p&gt;That distinction matters because the Session remains part of the project even after a particular run has finished. Its conversation, model choice, tool activity, decisions, and execution history are still there when I come back.&lt;/p&gt;

&lt;h2&gt;
  
  
  The browser is a control room
&lt;/h2&gt;

&lt;p&gt;The actual Agent work runs on the ArchCode host, not inside the browser.&lt;/p&gt;

&lt;p&gt;That means I can start something on a machine that stays online, close the page, and check it later from another browser. As long as ArchCode and the host machine are still running, closing the tab doesn’t cancel the work.&lt;/p&gt;

&lt;p&gt;From the Web UI, I can move between projects, follow active Sessions, add instructions, answer questions, approve sensitive actions, inspect changes and test results, or stop something that is going in the wrong direction.&lt;/p&gt;

&lt;p&gt;I don’t want an Agent to interrupt me for every harmless command. That would defeat much of the reason for letting it work in the background. I’d rather give it room to operate and bring me back in when there is a real decision to make.&lt;/p&gt;

&lt;p&gt;For work that needs stronger isolation, ArchCode can be run inside a controlled machine or virtual environment. Self-hosting doesn’t remove security concerns, but it does let me decide where the boundary should be.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Agent role and the model are separate choices
&lt;/h2&gt;

&lt;p&gt;Using the strongest model for every piece of work gets expensive quickly. It also isn’t necessary.&lt;/p&gt;

&lt;p&gt;ArchCode has three configurable model Profiles: &lt;code&gt;principal&lt;/code&gt;, &lt;code&gt;deep&lt;/code&gt;, and &lt;code&gt;fast&lt;/code&gt;. I can use a stronger model where judgment or review matters, then use something faster, cheaper, or local for routine implementation and codebase exploration.&lt;/p&gt;

&lt;p&gt;The Agent’s responsibility stays the same even when the model changes.&lt;/p&gt;

&lt;p&gt;This is important to me because I don’t want the workflow tied to one model vendor. ArchCode supports different providers and custom OpenAI-compatible endpoints, and a Session can use a different model when the job calls for it.&lt;/p&gt;

&lt;p&gt;The models are replaceable. The project history and workflow are not.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I’m actually trying to build
&lt;/h2&gt;

&lt;p&gt;I’m not claiming that ArchCode makes a model write better code than Claude Code, Codex, or other established coding agents.&lt;/p&gt;

&lt;p&gt;That isn’t the problem I set out to solve.&lt;/p&gt;

&lt;p&gt;I’m trying to build the layer around the coding: the place where ideas wait, work gets shaped, Agents take responsibility, Sessions keep running, and I can see what is happening without opening six terminals.&lt;/p&gt;

&lt;p&gt;ArchCode is still early. It is currently built for one private operator rather than a multi-user engineering team. Active work can survive a closed browser, but not a restart of the ArchCode server yet. Remote deployment also needs proper authentication and network security.&lt;/p&gt;

&lt;p&gt;There are rough edges, and I’m sure parts of the workflow will change once more people use it.&lt;/p&gt;

&lt;p&gt;If you already have several projects or coding agents running at once, I’d like to know what you lose track of first. That’s the problem I care about most.&lt;/p&gt;

&lt;p&gt;The source code and installation instructions are here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/boh5/archcode" rel="noopener noreferrer"&gt;github.com/boh5/archcode&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I used AI assistance to help organize this draft and polish my English. The experience and product decisions are mine, and I reviewed every technical claim before publishing.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>productivity</category>
      <category>agents</category>
    </item>
  </channel>
</rss>
