96 points · by todsacerdoti · 4y ago · 81 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.
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.
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.
Funny story: I was expected to use Coca-Cola's Websphere infrastructure, maintained by IBM at some IBM datacenter. It was going to take them months to set up, and I had a week before the campaign launched. I ended up running the whole thing on a couple (rackspace, IIRC) VPSes and never told the client.
Some of the popular links are the likes of "/archives/000129.php", "/archives/2004/10/the_elements_of/", etc. I have tried my best to take care of the top 20-odd links and redirect them to the new/better URL, which is likely to survive my naming method of "/YYYY/title-of-the-link/".
Many of these has survived DCMAs, still enjoys inbounds from the Russians, and even the Chinese.
One of the many reasons for me to get rid of the Analytics is that I feel bad and always wanted to solve the errors. Now, I just don't have a clue besides the basic analytics that comes with Cloudflare, which I see once in few months.
Fun fact, some people in the political higher ups in India wants to use that domains and thinks they have rights to it. I have 20+ year of data/info to prove them wrong.
But c'mon. You think a website will outlive the useful lifespan of a printed book? Hah!
You should see the age of some of the books I've found useful in the past few years.
- Those explaining a programming language, framework or application with a specific version. These books clearly have a lifespan related to the thing they are explaining and will often end up in second hand or wholesale shops.
- Books explaining principles. It doesn't matter if they are 2 or 20 years old since the things they are explaining don't really change.
As technologies age, so do anything that talks about them.
At least plain URLs can be manually passed to the internet archive for a lookup, but I'd love if publishers/authors made a habit of maintaining their source links (via shortlinks, published errata, etc).
That said, even with how easy it is to update, Wikipedia suffers from this immensely. I can't count how many times I've tried to track back a source from a wiki and end up with a 404.
Yes, that's really frustrating. I often have the situation where I click on a reference for a claimed fact and get redirected to the front page of a news website.
Has the added advantage that anyone who goes to the link sees exactly what you saw when you linked to it, with no modifications.
1. Archive.org follows robots.txt rules - also used to remove content on request from owners (not sure if still do but I suppose they do) making it less sure than webcitation.
2. webcitation could also provide other services like - export citations for book or collections of books into one book of citations.
3. Similar citations tracking stuff that you can get on google scholare, how many other publications were citing this text or part of this website.
on edit: obviously this is if webcitation or a similar service was still a going concern, pragmatically yes archive.org is better because functioning and taking new content to archive.
The most egregious cases is when the author references their own web content!
On the contrary, people do that a lot. Every abstraction, every 'separation of concerns', every micro service or micro-frontend, is a response to the belief that at any moment a developer might need to replace some part of the whole. Pushing content into markdown files that can be loaded with any build process that understands markdown is an attempt to be build something where the website, eg the content, can outlast the current code. Every template-driven design populated by values from an API that's loading a dictionary from a database is decoupling the pages from the code, which greatly extends the life of the website.
The website is not the code. That's just the part of it that you see. The website is the ideas, creativity, content, effort and understanding that went into defining what the code does.
Some parts of the code might change relatively quickly, but that's the nature of code. We find better ways of doing things. Browsers change. We choose to optimize for different things. That's a good thing, even if it means throwing some old code away.
It's a bit like the Ship of Thebes. Everything might have been replaced a few times, but the website is still the same website.
But somehow, people have the expectation that the entire web is more like a permanent archive of written content. That is simply not true.
Profit motivated web presences want views, they want attention, they need nine 9s uptime, need to be able to do monetary transactions absolutely securely, and they want to be an application not a document. They live and die on the eternal wave of walled garden's recommendation engines because that's the network effect and that's where money flows. They're ephemeral and only last for a couple years. It doesn't matter if this means extremely high barriers to entry because money solves everything.
Individuals' websites are freeform presentations about the things that person is interested in. They are the backyard gardens of the mind and the most important thing is lowering the friction from thought to posting. There's no need to get tons of traffic instantly (or ever), they're mostly time insensitive and often last decades.
URL-rules
URL-Rule 1: unique (1 URL == 1 resource, 1 resource == 1 URL)
URL-Rule 2: permanent (they do not change, no dependencies to anything)
URL-Rule 3: manageable (equals measurable, 1 logic per site section, no complicated exceptions, no exceptions)
URL-Rule 4: easily scalable logic
URL-Rule 5: short
URL-Rule 6: with a variation (partial) of the targeted phrase
URL-Rule 1 is more important than 1 to 6 combined, URL-Rule 2 is more important than 2 to 6 combines, … URL-Rule 5 and 6 are a trade-of. 6 is the least important.The most important part in this context is rule nr 2. permanente, no dependencies with anything. no dependencies with the navigation, not with categorisation, not with the content the URL hosts, if not 100% within the organisations control.
So basically you end up with something like
https://www.example.com/%short-one-letter-namespace%/%unique... - or - if you want to keep future market and language expansion in mind
https://www.example.com/%market-language-namespace%/%short-n...
The URLs must be also decoupled from the CMS or any technology choice underneath.
The next things is "don't do redirects". Redirects are only done when there is systematic change of the website (relaunch), but not a daily business tool.
Interlinking only to canonical URLs. No parameters.
Each (Web)Application (that mostly interacts with user input) gets its own subdomain. i.e.: checkout.example.com, map.example.com
Throw away things that you do not need any longer. Cleaning up is an ongoing process of a website, similar to creating things.
Responsibility, 1 person is responsible for the whole website. 1 person is responsible for each section of the website. If a section of the website has nobody who is responsible any more, somebody must be found or the section will be deleted.
Just a few of the rules I put in place. It's a mixture of decoupling and responsibilities. Change is inevitable - and manageable.
Our society is fast and getting ever faster. It's unstable and exponentially changing. In these condition, nobody can afford to do anything foundational or timeless. We're in constant survival mode, just trying to make it to the next financial quarter.
Why worry about 20 years from now when we're not even sure our entity survives the coming 3? Why invest in something "proper" when that proper thing may be entirely obsolete or lose relevance?
Why develop a product that lasts if you can win more when you make one that doesn't?
My personal site is dead simple, about 20kb uncompressed (50-odd pages), and uses semantic HTML, minimal CSS (~2-3kb) and no JS. But that's for simplicity and to keep my costs down. There's no saying whether even this basic structure will be supported 20 years down the line because it works on browsers now.
My blog has thousands of short form posts and I very much like how they are presented. I just left it the way it was. I sincerely hope they never make me try to switch, but realistically I have to assume they eventually will.
I sympathise with wanting to keep the presentation. It was made in and for this context. It’s like reading an old magazine, you get so many extra clues about the context from the design. If a magazine does a redesign, it only affects the issues going forward. In my ideal world, blog redesigns work the same way.
I’ve done my share of maintaining and archiving older websites, where I tried to keep the design in place while updating the underlying infrastructure (or converting it to static HTML). The one thing I would sometimes change is to ‘zoom in’, multiplying all pixels in the CSS by a small amount, because the web moved to larger text sizes and screens, so older websites tend to look tiny.
Granted, I don't know how WordPress works, or any if its technical circumstances.
We're talking about information technology here right? It's been constantly in flux for 30 years when it comes to the web and keep going as far as PCs and data storage systems before that.
Not saying I wouldn't like to see more long-lasting designs and content archiving is a huge deal/challenge/lost histories real problem, but hard to expect 10-20 year design choices and infrastructure to hold up or be planned for.
Wrt. classical probability, useful data divided by total data/metadata, the ratio has steadily been decreasing. Our infrastructure is changing for the worse and 'probably' about to fail.
To me, this phenomenon is a parable for perseverance rather than a technological cautionary tale.
There are other factors to consider, once a site turns into a desktop app replacement with dynamic content it is expected that it will change and grow, features dropped and added, styles change, the tech stack is replaced. Building a single use product to last doesn't make a lot of sense, the only part that does is the idea of maintaining "permalinks" where the content is stable and "append only", but the style may change. The world has not placed enough requirements to preserve a historical friendly web, which is why archive sites, print to pdf, and other options exist.
It is expensive to plan, and maintain sites with longevity. You don't know what the future holds and longevity might be at odds with relevance.
Let me tell you that all the considerations on accessibility have never been even discussed or even a few times laughed at.
Web content that people that people care about could last forever if we adopted the Federated Wiki patterns, i.e. don't just link, but copy content from other sites and put it on your own (everything there is, in principle, licensed CC share-alike).
In some cases they should be destroyed during the life of the author (e.g. a book filled with CSAM photos).