by sekao · 4y ago · 0 comments
I think the way to get more "timeless" software is to build a platform where the code and the data can be brought offline. PWAs do the first but not the second. The data needs to be in an enduring format like SQLite that can be queried offline. With that kind of system, an app or game (and the accompanying data) could remain usable 20 years from now, long after its author stopped distributing it.
Interesting thought, but I don't think that's quite it. Everything is ephemeral to some degree. Everything will require a combination of resources to keep something available continuously.
For example keeping books around is not exactly free. Yeah, we usually "just have it in a bookshelf at home", but if you think about what that actually entails you'll probably start wondering if that book actually appreciates all you've done for it.
When running a home server becomes as simple as building an IKEA shelf, and when making a website is a native as writing on pen and paper, we will have a lot less bookshelves and more websites just being around and with that the expectation of them being around and zero understanding of how or why. No consideration being paid to routing, backup, space, bandwidth, because there is nothing to consider. Something that is magically and reliably available for money, like electricity. If you move you just bring the box and it works again as soon as you plug it in, like any desk lamp would.
Technology is still way too hard and inaccessible for that to be a thing.
To that end, so much of the web has a limited product-lifecycle, and the purpose of the websites are not at all the same as the purpose of a book. I think the way people build websites reflects this commercial reality more than anything else. Could you self host an HTML file on your PC? Totally, and you'll likely always have a PC around so long as you care about websites, so the analogy of the bookshelf I feel is similar to this. But most websites are not books, they're more like storefronts of knowledge, and when the stores shut down we lose access to the knowledge they held.
I can say this with some anecdotal confidence, as my personal website is some HTML that I haven't maintained in years but still works perfectly, yet almost every piece of software I've written in my professional life is gone, in many cases so too has the company that asked me to make it.
I'm picturing a bookshelf of raspberry pis in custom "boxes" like a collection of 8-tracks. Pull one out, plug it it, turn it on, and connect to it.
Considering the majority of my 20 year web-building career is long gone, this idea kind of intrigues me.
Why do your books need onboard compute? Why a Raspberry Pi, and not, like, an MMC/SD or Minidisc?
I think when we recognize what led you to first reach for the Raspberry Pi, we'll be able to better nail down why things are more difficult today than they need to be, and what we should be doing instead to eliminate that difficulty.
And so the system that can run any "boxed" website - as in a working archive - would need to support all of these things, as they are today, in some form or would need to emulate / translate these things.
But instead of normalizing and archiving, my off-the-cuff suggestion is basically to freeze it in time. OS, languages, databases, services, data, code, everything is exactly as it was last built. Ideally, provided the storage medium held all its bits and the power source were compatible, it should boot up in 200 years without issue.
In a sense this is what we've accomplished with VMs and containers. But those still require an underlying system. If the system is part of the medium, you only need power and a console.
The highest level of questions you would need to be aiming for on the hardware side are: Where do I put this thing? Where did I leave the power chord? How do I turn it on?
If it doesn't turn on, you have someone repair it as you would any other electronic appliance. Can't be repaired? Get a new one. As soon as you plug it in it automatically fetches the automatically created backup. How? From where? What about encryption? The user is not qualified to answer any of that and should not be expected to care or expected to be involved into the decision. If I want to get involved with how electricity gets to my power socket I can look that stuff up on the internet. In the meantime just make it work without any intervention and with 99.9% reliability.
Us techies (maybe subconsciously) still lean way too much towards trying to involve users with the stuff we care about, when most of them just want our work to be invisible. Hide the complexity. Make it seamless. Make all tech a power socket.
It's much cheaper, easier, and more reliable to go with a cheap webhost like nearlyfreespeech.net to keep it online at almost no cost or maintenance.
It's interesting to reflect on the kinds of technologies which are clearly possible, but never seem to get built because they don't centralise control. Truly offline apps, and actually working device-to-device networking fall in this bucket I think. Yes, there are power and privacy considerations but it's pretty clear none of the big players want those technologies to take off.
The sites which (actually) require server side code tend to be large and commercial.
They just put some wordpress on some webspace, that is maintained by some hoster and call it a day. If something doesn't work the company will call them.
If people like these have problems with technology, they call people like me — I ask them why they don't just take a static site instead and they look at me sideways and ask me how they would then do a animated sliding gallery without a wordpress plugin.
They use the tech they use, because that's what worked for them so far. They don't use it because it is rationally the best choice.