The Level Journal

Stories about building my startup.

Page 2

Why Svbtle?

I hatched the idea for this journal the other day while pondering ways to keep engaged with folks as I spend many long days slinging code (#showerideas).

On a whim, I decided to poll the audience to see if folks would be interested in these updates and the results were affirming:

The next step was to choose where to publish these posts. If you know me personally, this will come as no surprise: I tend to be a bit of a perfectionist, especially when it comes to design. Combine that with the typical software developer hazard of wanting to implement stuff by hand, this little project could have...

Continue reading →

Refactoring Elm

I started the day wrapping up some refactoring work that I began last week. The purpose of the refactor was to streamline the routing in the Elm SPA (single-page application), which was made possible by some of the new goodies that shipped in Elm 0.19.

I debated whether it was worth sinking a few days into upgrading to 0.19 at this stage of the project, but decided it was better to pay the time penalty now than push it out into the future and risk never getting around to it.

Some highlights from the refactor:

✔️ Converted several separate Elm programs to pages in the SPA
✔️ Eliminated the need for a hard page refresh to switch between spaces
✔️ Changed from fragment-based routing to path-based routing
✔️ Reorganized how websocket events propagate through the SPA
✔️ Extracted helper functions to cut down repetition in Main.elm

The highest risk with a refactor like this is scope...

Continue reading →