Board Thread:The Last Sovereign Discussion/@comment-29984007-20180410151643/@comment-31763506-20180709015810

OK, there may be an insurmountable technical flaw in my plan.

It appears that, as a matter of general OS security, browsers are barred from using javascript to write information to local files. This makes sense, since it would otherwise be potentially possible for malicious website owners to alter the user's OS, among many other things. But since the whole notion was having the Calculator page read from and write to a local system save file, this is a bit of a setback.

It might be possible to interact with a local file using the HTML5 API, there might be some workaround with a godawful mass of cookies to get states to persist, but that kind of defeats the goal of having a simple read and write of all the elements in the document collection to make a simple save/load function that doesn't need to be modified as new content is added. There may be some other workaround I'm not thinking of.

Another obvious possibility is to port the whole giant thing to a compiled client side programming language, and that is frankly not something I want to contemplate.

I'm going to meditate, by which I mean catch up on my household chores.