Live data from Hacker News

Stop Making TUIs

sockpuppet.org

461–470 of 579 posts

Re: Stop Making TUIs

#461
post #118

As a ratatui library maintainer, NO - please don't stop making TUIs ;) As a developer outside of that, I love the scratch the itch apps stuff mentioned in here. I have a vibe coded SwiftUI chess repertoire builder app that fits in that same sort of space that I'm currently working on, where I'd probably not have chosen to explore the idea if not for coding agents. I agree with the article that the terminal is an odd…

So...emacs

Which is kind of a poor man's Lisp Machines.

https://interlisp.org

Re: Stop Making TUIs

#462
LLM agent harnesses make it possible to do: CLI, TUI, REST API, web front end + Electron, native (I do macOS first, which then makes iOS/iPadOS almost trivial, followed by Android), and if I’m feeling ambitious, Windows (native) and Linux (usually Qt).

It’s much easier for the clanker to loop on testing / improving the TUI than a real GUI. It also means it can work on the app without an API/REST/HTTP/Java/Script ball of mud in the middle.

Re: Stop Making TUIs

#464
post #459

Earlier quoted context omitted.

A lot of us do the vast majority of our non-browser work on remote systems. GUIs are objectively bad for this

X Windows was invented on the 1980's and isn't the only way to graphically access remote systems. Modern cloud systems shouldn't even have shell access, immutable containers with telemetry data.

> Modern cloud systems shouldn't even have shell access, immutable containers with telemetry data.

Genuine question, what is your alternative suggestion to accessing lower level features then? A hard time I have with GUIs is that their input/output can't be piped. It's much more cumbersome to try to automate a GUI than to automate something in the terminal.

Whilst I get that this is about TUIs, I do believe there is a reason for shell access due to automation. Good abstractions can be put into the GUI, but I'd argue that you should first build the abstraction, then put a GUI on top of it. AWS is a prime example, any of their APIs can be used w/out AWS Console.

Re: Stop Making TUIs

#465
post #454

Earlier quoted context omitted.

Yeahs ago I remember when my big bank switched from a TUI front end to a web front end for their front line staff. What originally took a few quick keyboard/tab combinations that was hard wired into employee muscle memory immediately took 2-3 times longer. Fortunately, the need to go into a physical bank doesn’t matter as much, but it’s still a regression…

The truth is that the web is a shit GUI framework. It's slow, clunky, incredibly resource intensive, hard to make uniform, verbose to code. It's terrible. The way the whole industry adopted it is understandable given the install base, but it's also probably a trillion dollar tax. I'd hate to see how much additional energy is used by billions of end-user devices running a rendering layer that is 100X heavier and more…

eh, I don't agree with this. More like American corporations have degraded the free web to a point where nothing hasn't really improved for the last two decades.

There should be public browsers and public search engines. The private incentives are too much and software built for public needs can be extremely cheaper than their private counterparts once you remove the need to support advertising services.

Re: Stop Making TUIs

#466
post #174
post #25

Counterpoint: Build more TUIs in Rust using Ratatui: https://ratatui.rs/ Why? Because just look at the examples on that page.

Look at the dependencies in the cargo.toml file.

I don't really understand this comment. Anything in particular I should be looking for?

Re: Stop Making TUIs

#468
One big benefit of TUIs is that they lower the bar for customer adoption. Before Claude Code, it was unthinkable to come up with a mass-market TUI because most users would not use it simply because it's a terminal. Now, it can even be an advantage. Even inexperienced users are no longer afraid of the terminal.

Re: Stop Making TUIs

#469
post #252

Earlier quoted context omitted.

The article is not against CLIs but TUIs. It’s extra mentioned that CLIs are mostly a good idea but TUIs aren’t.

> The article is not against CLIs but TUIs. Isn't it against both? Maybe I'm reading it wrong then, because things like these certainly seem against CLIs: > Back in 1999, Neal Stephenson wrote an essay about command line interfaces that set the field of human-computer interaction back about 20 years. In it, he depicts the priesthood of Unix nerds wielding CLIs as powerful Morlocks, holding the entire computing indust…

From the article

> CLIs have purposes for which they’re irreplaceable. Building a CLI is almost always a good idea. Building a TUI almost never is.

Re: Stop Making TUIs

#470
post #418

Earlier quoted context omitted.

That's an indictment of ssh workflows not GUIs. RDP works fine but it's based on a full desktop experience. Despite having the technology, we don't have the ability to remote in and run a single graphical program in a single window with the same ease. We need something as seamless as Parallels for remote remote apps. But I guess we just settled on web apps.

Of course there is, waypipe, ssh -X, wayVNC on a headless cage (or sway with appropriate config) session.

Again, we have the technology but it's not how things are done, usually.

What do you run like that day to day?

Post reply on HN