No no not something on top of the UI stack. They also need framebuffer support so they are big headache to setup on headless server.
What I mean is that we can bring some web tech to terminal natively. We don't even need a separated shell. Security and bi-directional communication is built by default because of UNIX socket. But we still need to think how to handle stuff like cookie, local storage, external CSS / JS, ...
That's interesting idea. If we put into CLI with some ANSI escape code, that may become something real. Imagine a normal terminal app just render part of the UI in web and communicating in UNIX socket. While doing the fancy UI, everything is still controllable with keyboard, and optionally with mouse. The UI will fallback to text UI for older terminal
Thanks for the sharing. It looks interesting but I did not dive deep into it. Just wonder how is it different from SQL trigger which can also ensure integrities?
It's because of survival pressure :-/ I think we are falling in an unprecedentedly large-scale negative-sum prisoner dilemma.
This situation may be naturally evolved, or may be deliberately shaped by people or institutions. In any way, negative-sum can drive people to do irrational decision because the game is not beneficial in all cases.
Human economic systems tend to reward things that are easy to measure, own, scale, and control. That works pretty well for machines, markets, software, and bureaucracy, but it doesn’t work as well for living systems, which rely on diversity, backup systems, and local adaptation.
So we end up with this pattern: we capture the useful order for ourselves, then push the mess, waste, heat, and instability onto the environment.
This is the fundamental nature of human. We can't change it without higher-order regulation. Even in AI training, we assume there is one true distribution and optimizes for it.
We created these systems. And unfortunately, most of us are the unwanted in these systems at the same time.
> to harden a system you need to spend more tokens discovering exploits than attackers will spend exploiting them
This is true until certain point, unless the requirement / contract itself has loophole which the attacker can exploit it without limit. But I don't think this is the case.
Let's say, if someone found an loophole in sort() which can cause denial-of-service. The cause would be the implementation itself, not the contract of sorting. People + AI will figure it out and fix it eventually.
Distributed function call isn't that simple. You will soon have various issues like authentication, authorization, compatibility between versions, throttling, retry (e.g. transient error), and so on :-/ The list is so long we could probably write a book about these
I paid ~100 dollars to buy songs in Taiko no Tatsujin in iOS 4 via In-App Purchase. But around 2 years later they axed the game and I have no way to download it again. First I can still recover it via iTunes backup. But later when iOS 7 is published, the backup just couldn't run anymore. It was just gone. I should have owned them if I pay that amount of money :-/ It was a very fun game.
I had many 32-bits games in macOS but they were all axed, including big titles like Diablo 2 (not the resurrected one), Warcraft 3, and a lot of indie games. This made me realize why no sensible game companies would develop in Apple platforms, unless the games generate revenue continuously (which are mostly pay-to-win games)
I have switched back to Windows because macOS is like a second-class citizen in Apple :-/ I am programmer with many Bash scripts in macOS. But the switch is quite smooth actually (thanks to WSL 2).
With the similar price of M1 iMac, I can buy a Windows with a much better GPU (for gaming, deep learning, mining, or whatever) and a 140+Hz monitor. With a high refresh rate monitor the UI is so silk smooth. Expect iOS level smoothness when scrolling web pages.
However there is something I still want a solution. Say the continuation of the current website (between Edge and iPhone). Password synchronization and Notes (the official iCloud web Notes is almost useless).
What I mean is that we can bring some web tech to terminal natively. We don't even need a separated shell. Security and bi-directional communication is built by default because of UNIX socket. But we still need to think how to handle stuff like cookie, local storage, external CSS / JS, ...