Skip to content
All posts

The TrueBoard Series · Part 4 of 10

The Resolved Standard

Fine is not finished.

A slice of white bread lying on gray concrete with its whole middle torn out, leaving only the crust and a thin rim of crumb.
Carved by my pet chicken Falcon, who has no taste for crust.

When I designed trueboard.org, the home of our board software for churches and nonprofits, I chose a beautiful serif font called Fraunces for the titles. It looks great in English and Spanish, but Fraunces doesn’t have Korean characters. It’s fine. Missing characters are substituted with characters from a built-in system font, so all the text is there and readable, and no one reading Korean would have complained.

The only problem is, built-in system fonts tend to be plain, boring, and flat. They made the layout look lifeless, and it looked different on every operating system.

I took the next step by inserting Noto Serif KR, a beautiful Korean serif font that pairs perfectly with Fraunces, and I made it load in the browser only when viewing the site in Korean. Better! Now the site looks lovely in any language.

There was a new problem: Korean fonts are huge, like 6 MB huge. Noto Serif KR contains every syllable in the Korean language, and there are 11,172 of them! No browser has to load that Big Chungus of a font all at once, because it comes cut into slices. Even so, the Korean home page needed 14 slices, 544 KB, to show 195 characters, and users can’t see the design in full glory until those slices load.

The TrueBoard site uses a fraction of the available characters, so I added a script to the project that makes a font file with only the Korean characters that the site actually uses. Now the site looks as true to the design as possible, it looks consistent across all browsers and operating systems, and performance is maximized. All goals are met to the degree possible.

What resolved means

Notice the progression of the project: it went from “it’s fine” to “better” to “all goals are met to the degree possible.” I could have stopped at the first step and called it a day, and the second step did stay on the site for five months, but I try to hold to a different standard that I call “resolved.” It is my test for craft-grade work. A project is resolved when every detail supports every other, nothing is fighting itself, and there are no loose ends.

In my font example, first the typeface fought the language, then the design fought the load time. Each fix removed an uncomfortable compromise, until nothing was fighting. “Resolved” is like the Hebrew word shalom: wholeness, completeness, with nothing missing and nothing broken.

So before I call something done, I ask one question: is this resolved? It is not a question about fonts.

The cache we didn’t build

Every time a TrueBoard user made a request, the server made nine database queries before answering. The server asked for information about the user such as name and email, and some of the info wasn’t even used. It’s fine. That step typically took 12 milliseconds, and no one would ever notice.

You know where this is going. Or do you?

The classic solution to this problem is to cache all the data in the server’s memory, so those queries need to run once per session, no matter how many pages the user visits. Caching adds complexity, but it would have been an improvement.

Even better would be not doing so many queries to begin with. By reworking the code, I was able to get the database queries down from nine to three, only what was essential to run the app. I removed the questions that did not need asking.

The typical wait for that step went from 12 down to 5 milliseconds, and the slowest waits on the documents page went from 230 to 13 milliseconds. All that was done without adding a cache. Not that caches are bad or wrong, but resolved means solving the root cause of the problem. A cache over redundant work just makes redundant work faster.

What it costs

Neither example had an obvious bug or complaint. The font issue took three passes over five months to work through, and the database queries needed measuring tools and about 370 real requests before I changed anything.

I once lost a major site redesign bid to a cheaper vendor. I’m glad I didn’t cheapen my work to chase the contract, and I would quote the same price again. Craft-grade costs more than a commodity build, and some customers will choose the commodity.

Resolved can become gold-plating if all it does is add. My first fix for Korean added 2 MB of font slices to the project, but in the end, it came down to 176 KB. In the database example, queries were removed, and the cache was never built.

Where to spend it

TrueBoard’s staff-only Metrics page shows one chart at a time behind a dropdown. I sketched a better design, but decided not to build it, because only staff see that page. It is still a dropdown today.

I think about the impact on the real people who use the app, and how often they will use the feature. This time, “it’s fine” really was fine since customers will never see that screen.

Before you go

When is it fine, and when does it need a higher standard? What are you or your organization spending too much effort on, and what are you not spending enough on? Here is one way to find out. Pick one thing you called finished because it was fine, and ask the question I ask before I call something done: is this resolved? Then fix it, or decide out loud to leave it the way it is. Either answer is a good one, as long as you chose it. If you try it, I’d like to hear what you found.

If you serve on a church or nonprofit board, this is the standard behind TrueBoard: your board’s files, chat, minutes, and motions in one permanent record, in English, Spanish, and Korean. It is live, and the first 30 days are free. No rush.

Handwritten signature of Rob Hughes

Rob Hughes
Aeris Labs

Building something good?

Let’s make it look as good as the work you do.