<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Mr Never Good Enough — Journal</title>
<link>https://mrnevergoodenough.com/blog/</link>
<description>Moreau Christopher (Mr Never Good Enough) designs and ships offline-first iOS, watchOS, Android, Wear OS, and fast web apps. Try live demos.</description>
<language>en</language>
<lastBuildDate>Mon, 30 Nov 2026 00:00:00 +0000</lastBuildDate>
<atom:link href="https://mrnevergoodenough.com/rss.xml" rel="self" type="application/rss+xml"/>
<item>
<title>I rewrote this site from scratch. It still isn&apos;t finished.</title>
<link>https://mrnevergoodenough.com/blog/rewrote-this-site-in-rust/</link>
<guid isPermaLink="true">https://mrnevergoodenough.com/blog/rewrote-this-site-in-rust/</guid>
<pubDate>Mon, 28 Sep 2026 00:00:00 +0000</pubDate>
<description>&lt;p&gt;One typo fix took forty-five minutes of dependency updates. That was the afternoon I decided to throw away my old site stack.&lt;/p&gt;
&lt;p&gt;This portfolio used to be a Next.js app. It worked fine, until I came back three months later to change two sentences and had to wade through 1,100 transitive npm packages just to build six projects and four essays.&lt;/p&gt;
&lt;p&gt;So I designed a custom static site generator from scratch — first as a zero-dependency Rust binary, and later ported straight into a lean TypeScript generator under &lt;code&gt;nge/&lt;/code&gt; (&lt;code&gt;nge/build.ts&lt;/code&gt;) so it deploys effortlessly anywhere Node runs with a single runtime dependency (&lt;code&gt;express&lt;/code&gt;) and &lt;del class=&quot;cm-del&quot;&gt;no framework boilerplate&lt;/del&gt;&lt;ins class=&quot;cm-ins&quot;&gt;zero front-end frameworks&lt;/ins&gt;.&lt;/p&gt;
&lt;figure&gt;&lt;img src=&quot;https://mrnevergoodenough.com/media/site-pipeline.jpg&quot; alt=&quot;Studio overhead layout of cream index cards connected by cobalt-blue pencil pipeline arrows beside a steel ruler&quot; title=&quot;Markdown and TOML in on the left, clean static HTML out on the right — zero third-party middleware.&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot;&gt;&lt;figcaption&gt;Markdown and TOML in on the left, clean static HTML out on the right — zero third-party middleware.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h2 id=&quot;what-the-generator-actually-does&quot;&gt;What the generator actually does&lt;a class=&quot;anchor&quot; href=&quot;#what-the-generator-actually-does&quot; aria-label=&quot;Link to this section&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;It reads &lt;code&gt;site.toml&lt;/code&gt; and every Markdown file in &lt;code&gt;content/&lt;/code&gt;, renders both English (&lt;code&gt;/&lt;/code&gt;) and French (&lt;code&gt;/fr/&lt;/code&gt;) trees, generates interactive SVG device demos and per-page 1200 × 630 PNG Open Graph cards, injects exact image dimensions to eliminate layout shift, and writes plain static files to &lt;code&gt;public/&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&quot;code-block&quot; data-lang=&quot;typescript&quot;&gt;&lt;pre&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;// nge/build.ts, trimmed down&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;const&lt;/span&gt; contents &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;f&quot;&gt;loadAll&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;opts&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;const&lt;/span&gt; c &lt;span class=&quot;k&quot;&gt;of&lt;/span&gt; contents&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
  pages&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;f&quot;&gt;push&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;render&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;f&quot;&gt;home&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;ctx&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; render&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;f&quot;&gt;projectsIndex&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;ctx&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; render&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;f&quot;&gt;blogIndex&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;ctx&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;let&lt;/span&gt; i &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt; i &lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt; c&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;projects&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;length&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt; i&lt;span class=&quot;p&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; pages&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;f&quot;&gt;push&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;render&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;f&quot;&gt;projectPage&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;ctx&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; i&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;let&lt;/span&gt; i &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt; i &lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt; c&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;posts&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;length&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt; i&lt;span class=&quot;p&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; pages&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;f&quot;&gt;push&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;render&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;f&quot;&gt;postPage&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;ctx&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; i&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;const&lt;/span&gt; page &lt;span class=&quot;k&quot;&gt;of&lt;/span&gt; pages&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
  &lt;span class=&quot;f&quot;&gt;writeFile&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;path&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;f&quot;&gt;join&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;out&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; page&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;path&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; render&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;f&quot;&gt;rewriteUrls&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;f&quot;&gt;addSizes&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;page&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;html&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; out&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; page&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;path&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; mode&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;The numbers:&lt;/strong&gt; a full bilingual build of all pages, RSS feeds, sitemaps, &lt;code&gt;llms.txt&lt;/code&gt;, search indexes, and generated SVG/PNG assets finishes in well &lt;strong&gt;under a second&lt;/strong&gt; on a laptop — no bundler, no React hydration payload, no framework churn.&lt;/p&gt;
&lt;h2 id=&quot;four-components-i-wrote-by-hand-on-purpose&quot;&gt;Four components I wrote by hand, on purpose&lt;a class=&quot;anchor&quot; href=&quot;#four-components-i-wrote-by-hand-on-purpose&quot; aria-label=&quot;Link to this section&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;table-wrap&quot;&gt;&lt;table&gt;
&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Component&lt;/th&gt;&lt;th&gt;Module&lt;/th&gt;&lt;th&gt;Why build instead of importing a framework&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;TOML parser&lt;/td&gt;&lt;td&gt;&lt;code&gt;nge/toml.ts&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Supports the exact schema &lt;code&gt;site.toml&lt;/code&gt; and front matter need, with clear error messages&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Markdown engine&lt;/td&gt;&lt;td&gt;&lt;code&gt;nge/markdown.ts&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Native CriticMarkup tracked changes, semantic figure captions, and strict URL sanitization&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Syntax highlighter&lt;/td&gt;&lt;td&gt;&lt;code&gt;nge/highlight.ts&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Twelve languages cover every snippet in this journal with zero client JS&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Live-reload &amp;amp; static server&lt;/td&gt;&lt;td&gt;&lt;code&gt;server.ts&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Compressed static serving, security headers, and instant localhost previews&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;Writing your own Markdown parser isn’t a sensible way to spend a weekend. It &lt;em&gt;is&lt;/em&gt; a surprisingly good way to own every single byte your site ships to visitors.&lt;/p&gt;
&lt;h2 id=&quot;essays-that-show-their-own-edits&quot;&gt;Essays that show their own edits&lt;a class=&quot;anchor&quot; href=&quot;#essays-that-show-their-own-edits&quot; aria-label=&quot;Link to this section&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Because the Markdown engine is custom, the journal natively supports &lt;a href=&quot;https://fletcher.github.io/MultiMarkdown-6/syntax/critic.html&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;CriticMarkup&lt;/a&gt;. That lets me leave the history of a sentence visible on the page: this essay has been &lt;del class=&quot;cm-del&quot;&gt;rewritten six times&lt;/del&gt;&lt;ins class=&quot;cm-ins&quot;&gt;rewritten ten times&lt;/ins&gt;, and &lt;mark class=&quot;cm-mark&quot;&gt;some paragraphs are still on probation&lt;/mark&gt;&lt;span class=&quot;cm-note&quot; role=&quot;note&quot;&gt;This one, mostly.&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;It’s a small typographic detail, and also the most accurate summary of how I build software: nothing is ever truly finished — it’s just the cleanest version shipped so far.&lt;/p&gt;
&lt;h2 id=&quot;whats-already-done-and-whats-next&quot;&gt;What’s already done — and what’s next&lt;a class=&quot;anchor&quot; href=&quot;#whats-already-done-and-whats-next&quot; aria-label=&quot;Link to this section&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul class=&quot;tasks&quot;&gt;
&lt;li&gt;&lt;span class=&quot;task done&quot; role=&quot;img&quot; aria-label=&quot;Done&quot;&gt;&lt;/span&gt;Instant live reload and in-memory Brotli/Gzip caching in &lt;code&gt;server.ts&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;task done&quot; role=&quot;img&quot; aria-label=&quot;Done&quot;&gt;&lt;/span&gt;Generated interactive SVG screens and per-page 1200 × 630 PNG link previews&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;task done&quot; role=&quot;img&quot; aria-label=&quot;Done&quot;&gt;&lt;/span&gt;Zero-backend client-side command-palette search (&lt;code&gt;Cmd+K&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;task done&quot; role=&quot;img&quot; aria-label=&quot;Done&quot;&gt;&lt;/span&gt;Machine-readable &lt;code&gt;llms.txt&lt;/code&gt;, &lt;code&gt;llms-full.txt&lt;/code&gt;, and Schema.org structured data for search and AI engines&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;task&quot; role=&quot;img&quot; aria-label=&quot;Not done&quot;&gt;&lt;/span&gt;Build-time responsive image resizing (&lt;code&gt;srcset&lt;/code&gt;) so I stop exporting multiple widths manually&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;This site will never be finished. That’s the point. It just needs to get noticeably faster and sharper every time I touch it.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The first Rust prototype proved the architecture; today’s custom TypeScript generator in &lt;code&gt;nge/&lt;/code&gt; carries the exact same philosophy — zero bloat, strict semantic HTML, instant first paint — directly into the client web apps I ship.&lt;/p&gt;
</description>
<category>rust</category>
<category>typescript</category>
<category>web</category>
<category>meta</category>
</item>
<item>
<title>Shipping is a feature</title>
<link>https://mrnevergoodenough.com/blog/shipping-is-a-feature/</link>
<guid isPermaLink="true">https://mrnevergoodenough.com/blog/shipping-is-a-feature/</guid>
<pubDate>Sun, 30 Aug 2026 00:00:00 +0000</pubDate>
<description>&lt;p&gt;My alias is a joke about perfectionism, but the joke only lands because I ship. A perfectionist who never publishes is just someone with a very tidy hard drive and zero users.&lt;/p&gt;
&lt;p&gt;After shipping six mobile apps and web platforms solo — from &lt;a href=&quot;https://mrnevergoodenough.com/projects/call-it-done/&quot;&gt;Call It Done&lt;/a&gt; and &lt;a href=&quot;https://mrnevergoodenough.com/projects/gowing/&quot;&gt;GoWing&lt;/a&gt; to &lt;a href=&quot;https://mrnevergoodenough.com/projects/masterlearning/&quot;&gt;MasterLearning&lt;/a&gt; and &lt;a href=&quot;https://mrnevergoodenough.com/projects/mastergifting/&quot;&gt;MasterGifting&lt;/a&gt; — I learned that quality doesn’t come from hiding a project for six extra months. It comes from tightening the loop between publishing and observing real thumbs on real glass.&lt;/p&gt;
&lt;p&gt;Here are the three rules that keep perfectionism useful instead of paralysing.&lt;/p&gt;
&lt;figure&gt;&lt;img src=&quot;https://mrnevergoodenough.com/media/shipping-rules.jpg&quot; alt=&quot;Minimalist desk grid card with one circled release date, a cobalt-blue pencil, and crumpled drafts&quot; title=&quot;One circled release date, three cards of scope, and the drafts that didn’t make the cut.&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot;&gt;&lt;figcaption&gt;One circled release date, three cards of scope, and the drafts that didn’t make the cut.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h2 id=&quot;1-pick-the-release-date-before-the-scope&quot;&gt;1. Pick the release date before the scope&lt;a class=&quot;anchor&quot; href=&quot;#1-pick-the-release-date-before-the-scope&quot; aria-label=&quot;Link to this section&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;I lock the launch date first, then decide what fits inside it. When that date arrives, whatever works cleanly ships, and everything else moves to the next version.&lt;/p&gt;
&lt;p&gt;Why this beats scope-first planning: &lt;strong&gt;time-boxed releases force honest prioritization.&lt;/strong&gt; Instead of building four half-baked features, you finish the one core flow that actually matters. It feels uncomfortable every single time. It works every single time.&lt;/p&gt;
&lt;h2 id=&quot;2-keep-a-not-good-enough-list-in-the-repo&quot;&gt;2. Keep a “not good enough” list in the repo&lt;a class=&quot;anchor&quot; href=&quot;#2-keep-a-not-good-enough-list-in-the-repo&quot; aria-label=&quot;Link to this section&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Every visual flaw, rough transition, or awkward piece of copy goes into a plain Markdown file right next to the code. Getting it out of my head stops it nagging me at 2 a.m., and turns vague dissatisfaction into a concrete, sortable backlog.&lt;/p&gt;
&lt;div class=&quot;code-block&quot; data-lang=&quot;diff&quot;&gt;&lt;pre&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;  ## Not good enough (yet)&lt;/span&gt;&lt;span class=&quot;line d-del&quot;&gt;- Onboarding asks for notifications on day one&lt;/span&gt;&lt;span class=&quot;line d-add&quot;&gt;+ Onboarding asks for notifications after the first completed task&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;  Empty state on the search screen is just a grey box&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;  Dark mode shadows look muddy on OLED&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Two rules make the list stay healthy: every item must describe a specific user-facing defect, and anything fixed gets crossed off in the same commit as the release notes.&lt;/p&gt;
&lt;h2 id=&quot;3-ship-one-visible-improvement-per-release&quot;&gt;3. Ship one visible improvement per release&lt;a class=&quot;anchor&quot; href=&quot;#3-ship-one-visible-improvement-per-release&quot; aria-label=&quot;Link to this section&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Ten half-fixed things feel like progress in git history and look like clutter to users. &lt;strong&gt;One improvement done properly is noticeable, testable, and effortless to explain in a one-line changelog.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When &lt;a href=&quot;https://mrnevergoodenough.com/projects/call-it-done/&quot;&gt;Call It Done&lt;/a&gt; moved its priority scoring, repeat schedules, and offline SQLite storage into a single shared Rust core (&lt;code&gt;crates/domain&lt;/code&gt; + &lt;code&gt;crates/mobile-core&lt;/code&gt; via UniFFI), nothing else shipped in that milestone. iOS and Android stopped drifting apart overnight, and every watch sync edge case became deterministic to test in milliseconds.&lt;/p&gt;
&lt;h2 id=&quot;the-takeaway&quot;&gt;The takeaway&lt;a class=&quot;anchor&quot; href=&quot;#the-takeaway&quot; aria-label=&quot;Link to this section&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;Perfectionism is a fine engine. It’s a terrible brake.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The secret to shipping high-craft software as an indie developer isn’t caring less — it’s aiming your perfectionism at &lt;strong&gt;v1.1&lt;/strong&gt; instead of using it to block &lt;strong&gt;v1.0&lt;/strong&gt;.&lt;/p&gt;
</description>
<category>process</category>
</item>
<item>
<title>Porting Call It Done &amp; GoWing from SwiftUI to Jetpack Compose</title>
<link>https://mrnevergoodenough.com/blog/porting-swiftui-to-compose/</link>
<guid isPermaLink="true">https://mrnevergoodenough.com/blog/porting-swiftui-to-compose/</guid>
<pubDate>Sun, 12 Jul 2026 00:00:00 +0000</pubDate>
<description>&lt;p&gt;When I paired &lt;strong&gt;SwiftUI&lt;/strong&gt; (iOS &amp;amp; watchOS) with &lt;strong&gt;Jetpack Compose&lt;/strong&gt; (Android &amp;amp; Wear OS) across &lt;a href=&quot;https://mrnevergoodenough.com/projects/call-it-done/&quot;&gt;Call It Done&lt;/a&gt; and &lt;a href=&quot;https://mrnevergoodenough.com/projects/gowing/&quot;&gt;GoWing&lt;/a&gt;, I expected a clean line-by-line UI translation. That illusion lasted roughly twenty-four hours.&lt;/p&gt;
&lt;p&gt;Both apps already shared a deterministic &lt;strong&gt;Rust core (&lt;code&gt;crates/domain&lt;/code&gt; + &lt;code&gt;crates/mobile-core&lt;/code&gt; via UniFFI)&lt;/strong&gt; for SQLite storage, priority scoring, sealed leave receipts, and hybrid logical clock phone-to-watch sync. Sharing business logic was the easy part; making the Android interface feel genuinely native — rather than an iOS app in disguise — was where the real work happened.&lt;/p&gt;
&lt;figure&gt;&lt;img src=&quot;https://mrnevergoodenough.com/media/swiftui-compose.jpg&quot; alt=&quot;Two hand-drawn cobalt-blue mobile UI wireframes on heavy white cards connected by dotted alignment lines&quot; title=&quot;Same Rust UniFFI core underneath; two distinct native navigation and motion grammars on top.&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot;&gt;&lt;figcaption&gt;Same Rust UniFFI core underneath; two distinct native navigation and motion grammars on top.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h2 id=&quot;what-maps-one-to-one-between-swiftui-and-compose&quot;&gt;What maps one-to-one between SwiftUI and Compose&lt;a class=&quot;anchor&quot; href=&quot;#what-maps-one-to-one-between-swiftui-and-compose&quot; aria-label=&quot;Link to this section&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Because both SwiftUI and Jetpack Compose are declarative UI frameworks driven by state, self-contained components really do translate almost verbatim:&lt;/p&gt;
&lt;div class=&quot;code-block&quot; data-lang=&quot;swift&quot;&gt;&lt;pre&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;struct&lt;/span&gt; &lt;span class=&quot;t&quot;&gt;TaskCard&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;t&quot;&gt;View&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;k&quot;&gt;let&lt;/span&gt; item&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;t&quot;&gt;TaskItem&lt;/span&gt;
    &lt;span class=&quot;a&quot;&gt;@State&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;var&lt;/span&gt; expanded &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;false&lt;/span&gt;

    &lt;span class=&quot;k&quot;&gt;var&lt;/span&gt; body&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;some&lt;/span&gt; &lt;span class=&quot;t&quot;&gt;View&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
        &lt;span class=&quot;t&quot;&gt;VStack&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;alignment&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;leading&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; spacing&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
            &lt;span class=&quot;t&quot;&gt;Text&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;item&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;title&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;f&quot;&gt;font&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;title3&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;f&quot;&gt;weight&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;semibold&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
            &lt;span class=&quot;k&quot;&gt;if&lt;/span&gt; expanded &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; &lt;span class=&quot;t&quot;&gt;Text&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;item&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;note&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;f&quot;&gt;foregroundStyle&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;secondary&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
        &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
        &lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;onTapGesture &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; &lt;span class=&quot;f&quot;&gt;withAnimation&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;snappy&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; expanded&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;f&quot;&gt;toggle&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;div class=&quot;code-block&quot; data-lang=&quot;kotlin&quot;&gt;&lt;pre&gt;&lt;code&gt;&lt;span class=&quot;a&quot;&gt;@Composable&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;fun&lt;/span&gt; &lt;span class=&quot;t&quot;&gt;TaskCard&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;item&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;t&quot;&gt;TaskItem&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;k&quot;&gt;var&lt;/span&gt; expanded &lt;span class=&quot;k&quot;&gt;by&lt;/span&gt; remember &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; &lt;span class=&quot;f&quot;&gt;mutableStateOf&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;

    &lt;span class=&quot;t&quot;&gt;Column&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
        verticalArrangement &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;t&quot;&gt;Arrangement&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;f&quot;&gt;spacedBy&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;dp&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
        modifier &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;t&quot;&gt;Modifier&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;clickable &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; expanded &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;!&lt;/span&gt;expanded &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;f&quot;&gt;animateContentSize&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
        &lt;span class=&quot;t&quot;&gt;Text&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;item&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;title&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; style &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;t&quot;&gt;MaterialTheme&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;typography&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;titleMedium&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
        &lt;span class=&quot;k&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;expanded&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;t&quot;&gt;Text&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;item&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;note&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; color &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;t&quot;&gt;MaterialTheme&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;colorScheme&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;onSurfaceVariant&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Layout primitives (&lt;code&gt;VStack&lt;/code&gt;/&lt;code&gt;Column&lt;/code&gt;, &lt;code&gt;HStack&lt;/code&gt;/&lt;code&gt;Row&lt;/code&gt;), local state (&lt;code&gt;@State&lt;/code&gt;/&lt;code&gt;remember&lt;/code&gt;), and spring animations align closely enough that stateless cards took minutes to port.&lt;/p&gt;
&lt;h2 id=&quot;three-areas-you-cannot-translate-literally&quot;&gt;Three areas you cannot translate literally&lt;a class=&quot;anchor&quot; href=&quot;#three-areas-you-cannot-translate-literally&quot; aria-label=&quot;Link to this section&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Navigation and system back gestures.&lt;/strong&gt; Android users expect the edge-swipe back gesture to work everywhere — including halfway through capturing a task or editing a GoWing departure list — without losing input. Designing for that forced me to persist edits immediately through &lt;code&gt;MobileCore&lt;/code&gt;, which immediately improved iOS too.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Keyboard insets and text focus.&lt;/strong&gt; Handling &lt;code&gt;imePadding()&lt;/code&gt; in Compose behaves differently across Samsung, Pixel, and third-party keyboards. Testing on real mid-range Android hardware caught scroll-jank bugs emulators hid completely.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Typography, touch targets, and watch ergonomics.&lt;/strong&gt; Material 3 expects slightly taller minimum touch targets (48 dp vs. 44 pt) and different type ramp proportions; keeping iOS spacing made Android feel cramped until I rebuilt the spacing tokens per platform — and Wear OS rotary input required its own dedicated pass alongside watchOS Digital Crown support.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&quot;where-the-android-version-came-out-ahead&quot;&gt;Where the Android version came out ahead&lt;a class=&quot;anchor&quot; href=&quot;#where-the-android-version-came-out-ahead&quot; aria-label=&quot;Link to this section&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Predictive back animations.&lt;/strong&gt; Peeking at the underlying Now card or checklist behind a detail sheet before committing to leave feels extraordinarily calm in a focus-first app.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Glance widgets &amp;amp; Wear OS Data Layer ergonomics.&lt;/strong&gt; Sharing the exact same &lt;code&gt;export_sync()&lt;/code&gt; / &lt;code&gt;import_sync()&lt;/code&gt; Rust snapshot over Wear OS &lt;code&gt;DataClient&lt;/code&gt; and Glance made background sync telemetry easy to verify across devices.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Porting a native app across platforms on top of a shared Rust core isn’t duplicate work — it’s the fastest way to expose what was never quite good enough in the original.&lt;/p&gt;
</description>
<category>ios</category>
<category>android</category>
<category>rust</category>
<category>swift</category>
<category>kotlin</category>
</item>
<item>
<title>The 1px that took three weeks</title>
<link>https://mrnevergoodenough.com/blog/the-1px-that-took-three-weeks/</link>
<guid isPermaLink="true">https://mrnevergoodenough.com/blog/the-1px-that-took-three-weeks/</guid>
<pubDate>Tue, 19 May 2026 00:00:00 +0000</pubDate>
<description>&lt;p&gt;One icon in the bottom navigation bar sat a single pixel lower than its neighbours while I was polishing &lt;a href=&quot;https://mrnevergoodenough.com/projects/call-it-done/&quot;&gt;Call It Done&lt;/a&gt; and &lt;a href=&quot;https://mrnevergoodenough.com/projects/gowing/&quot;&gt;GoWing&lt;/a&gt;. Only on 3x iPhones. Only in light mode. Across every single test build, nobody else ever spotted it.&lt;/p&gt;
&lt;p&gt;It drove me quietly mad for three weeks.&lt;/p&gt;
&lt;h2 id=&quot;why-half-point-icon-nudges-break-on-3x-screens&quot;&gt;Why half-point icon nudges break on 3x screens&lt;a class=&quot;anchor&quot; href=&quot;#why-half-point-icon-nudges-break-on-3x-screens&quot; aria-label=&quot;Link to this section&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The icon lived on a 24-point grid, but its visual centre didn’t match its bounding box. Because the top curve pulled visual weight upward, I had manually nudged the vector path down by &lt;strong&gt;0.5 pt&lt;/strong&gt; in Figma so it looked balanced at 1x.&lt;/p&gt;
&lt;p&gt;Here is the trap on modern Apple displays:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;On &lt;strong&gt;2x screens&lt;/strong&gt;, &lt;code&gt;0.5 pt&lt;/code&gt; equals an exact &lt;code&gt;1.0 px&lt;/code&gt; — sharp and predictable.&lt;/li&gt;
&lt;li&gt;On &lt;strong&gt;3x screens&lt;/strong&gt; (every modern Pro iPhone), &lt;code&gt;0.5 pt&lt;/code&gt; equals &lt;strong&gt;&lt;code&gt;1.5 px&lt;/code&gt;&lt;/strong&gt; — forcing Core Graphics to round up on some coordinates and down on others depending on surrounding layout origin.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The result was a 1-pixel vertical wobble that looked subtle in isolation and impossible to unsee once you noticed it next to two crisp neighbours.&lt;/p&gt;
&lt;h2 id=&quot;the-fix-optical-geometry-plus-a-build-time-guard&quot;&gt;The fix: optical geometry plus a build-time guard&lt;a class=&quot;anchor&quot; href=&quot;#the-fix-optical-geometry-plus-a-build-time-guard&quot; aria-label=&quot;Link to this section&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Instead of patching the offset in SwiftUI, I fixed the root cause in two steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Redrew the vector on whole points.&lt;/strong&gt; I adjusted the lower curve and stroke weight until its optical centre matched its exact geometric centre inside the &lt;code&gt;24 × 24&lt;/code&gt; artboard — zero manual nudges needed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Automated the check in CI.&lt;/strong&gt; Every SVG exported from Figma now passes through a small pre-build verification script that fails the build if any path bounding box or viewBox transform lands on a fractional half-point.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure&gt;&lt;img src=&quot;https://mrnevergoodenough.com/media/drafts-1600.jpg&quot; alt=&quot;Drafts of app screens, crumpled, around one clean sketch&quot; title=&quot;The drafts pile for that icon bar. The misaligned vector is in there somewhere.&quot; loading=&quot;lazy&quot; decoding=&quot;async&quot;&gt;&lt;figcaption&gt;The drafts pile for that icon bar. The misaligned vector is in there somewhere.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h2 id=&quot;was-three-weeks-worth-one-pixel&quot;&gt;Was three weeks worth one pixel?&lt;a class=&quot;anchor&quot; href=&quot;#was-three-weeks-worth-one-pixel&quot; aria-label=&quot;Link to this section&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;For a single pixel, probably not. &lt;strong&gt;For the automated asset check, completely.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Since adding that check, it has silently caught half-point offsets across &lt;a href=&quot;https://mrnevergoodenough.com/projects/call-it-done/&quot;&gt;Call It Done&lt;/a&gt; widgets and &lt;a href=&quot;https://mrnevergoodenough.com/projects/gowing/&quot;&gt;GoWing&lt;/a&gt; watch complications before they ever reached a real device. That is what craft obsession looks like when it scales: turning a tiny annoyance into a permanent guardrail.&lt;/p&gt;
</description>
<category>design</category>
<category>ios</category>
</item>
</channel>
</rss>
