Hacker Newsnew | past | comments | ask | show | jobs | submit | flying_sheep's commentslogin

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


If your UI is not fully controllable with a keyboard, the same forces that made that happen will eventually make a mouse mandatory for this hypothetical tech stack too.

The terminal has no Platonic quality of being keyboard only. It is an accident of history and the limitations it has had. Remove the limitations and remove the accident of history and you will just end up drawn into the strange attractor of GUIs, warts and all.

There could be a brief honeymoon where the tech stack looks like some of you are imagining in your heads, but it would only last as long as it wasn't used by very many people. Google "gemini protocol" for a similar situation. That protocol has basically a cap on how popular it could possibly get before it just turned into HTTP B as the rest of the world forcibly upgraded it regardless of what the core project thinks. They exist in the shadow of HTTP, as the terminal exists in the shadow of GUIs. This is not a bad thing. It is what lets them be what they are. The shadows of GUIs or HTTP is large and there is plenty of space to be. Trying to give the terminal more GUI capabilities is like trying to give Gemini more web capabilities; you'll just end up in the same place, only with less refinement.


So, uh... X11? VNC? RDP?


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, ...


Web technologies are significantly larger and more complex than framebuffers, and they don't even let you start arbitrary programs like Chrome under them.


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 not much really, CDBs are based on foreign key relationships as a fundamental building block, rather than on relation.

The difference is more in theory than in practice.


Cloudflare durable object is implemented with SQLite (or some variant of it)


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.


The answer to this is competent policy making, and unfortunately we have the extreme opposite of that across the political spectrum.


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.


> 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.


They have spent, ... I guess like 10+ years?..., for fixing the slowness and bloated functionality of the File Explorer.

I still don't know how to create a native app so inefficient that, it needs to take more than 500 milliseconds to open a directory


> This page is a darknet that can't be found on Google, add it to your bookmark, favorites, otherwise you will lose it.

But I can find it on Google


I'm convinced this is a troll. HTML page has meta keywords, the robots.txt is set to disallow nothing (aka allow all).

First submission or comment from this new HN account and it hits the front page in minutes.


I'd love to use vim to compile vim lolz


I always suspected Emacs would achieve sentience before vim. Maybe I'll be wrong.


The difference is, that with Vim script it will either happen unexpectedly or unexplicably, while in Elisp it will/might happen later, but will be in the realm of understandable things.


Just keep adding closing parenthesis to the end of the file. Eventually Emacs will greet you in HAL 9000 style.


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


Many of those are already handled.


Or like a whole language to handle them


That's why I think Adobe has made the smart move. They simply use English as the icon, color as the impression.

You can guess via the English if you are unfamiliar with the icon. And easy to spot via the color if you already know the icon.

Let's say if I forget the characters in the Illustrator icon. But I can recognize the icon is Illustrator because of its orange color.


I think Microsoft was even better, at least on the number of users that recognized the blue W for making documents the e icon to get online, etc. That's how my mom did it, but she would have no idea what Ps, Il, Ae, would mean


And if you arrange the icons right on your task bar, you can make it spell lewd things.


That gets harder if you have 200+ products.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: