Ben Sidhom

Results 50 comments of Ben Sidhom

I highly recommend [this article about the ServiceWorker lifecycle](https://web.dev/articles/service-worker-lifecycle) if you aren’t familiar with it.

This is staged at https://bsidhom.github.io/numbat/. You should be able to install the app and use it offline.

Note that the staged version is using my own Cloudflare Worker-based CORS proxy, but is otherwise identical to this PR.

The only downside that I see is extra retained storage space since the service worker auto-registers. As a result, it will pre-cache all static assets for the site and keep...

Implicit in what I said above is that we can _remove_ auto registration and make users explicitly click some "register service worker" button to install the service worker. Note that...

My preference would be to keep the auto-registration as is, thanks to the browser retention policies. But we might also want to move registration to post-initial-load. Let me know if...

I'm not sure when you first loaded the page, but it's possible that I updated the SW between you first and second load and the new (second) version hasn't transitioned...

> I'm mainly thinking about the future. What happens if we add new assets that we forgot to add to this list? What happens if we delete assets and they...

I'm not a fan of the decorator idea just because it implies that a unit belongs to a _single system_. For example, the mile is used in both the British...

I should also point out that decoupling unit definitions from systems does _not_ address the dimension collision issue described above (e.g., between torque and energy). A system might need to...