Live data from Hacker News

Stop Making TUIs

sockpuppet.org

301–310 of 579 posts

Re: Stop Making TUIs

#302

> I’m not packaging this application up. If you want it, just screenshot this section of the post and give it to Claude. It’ll build something useful. You see where I’m going with this. This pretense that the entire value of source code is the "spec" / "requirement" is alarming. The value of the code is how well-formed the spec is + how well tested it is in the real world. So prompt / mockup cannot replace code.

Don’t forget operations and maintenance. You can have a box of vibe coded custom tools and services, but they’re all going to slowly rot as the underlying dependencies - network APIs, platform APIs, auth handshakes, reverse engineered file & DB schemas - change their behaviors and availability.

Sure, an LLM can fix it, but that assumes your original spec sufficiently described the user requirements and wasn’t just a transcript of the original session trying to figure out how how to interface with all those dependencies in the first place.

Re: Stop Making TUIs

#303

Earlier quoted context omitted.

HTML/Javascript would like a word

we need a way to access locally running web apps without doing an ugly http://localhost:8022 and having to remember that. I'd say http://localapps should give an overview of all web apps running locally, with links to them. Those links should follow a naming scheme where the hostname ends with `.local` or smth. So: http://claudecode.local

> I'd say http://localapps should give an overview of all web apps running locally, with links to them.

Malware will thank you.

Re: Stop Making TUIs

#306

Earlier quoted context omitted.

Okay but TUIs don't matter here though right? You can easily run GUIs over the web with any box anyway if you wanted to. So how is your headless sever running 24x7 (which is what allows feature you talk about, not tmux or tuis) not the reason you can do that but TUIs are? I have a windows box that never shuts down and i remote into it and use it GUI mode to do everything you said but with a proper GUI interface. I al…

A server needs a lot more things to have a GUI compared to what's necessary to just run an SSH daemon that offers CLI/TUI access, where SSH is just providing secure network access for the most basic interface the server has anyway (the TTY).

Okay but the way the comment described their workflow implies they have a pretty solid server where they actually "work". My point isn't TUI vrs GUI, my point is that you cannot say TUIs are better because cloud computing exists. You can easily replace TUIs with GUIs and enjoy the same features that cloud computing provides, so what makes TUIs special? Is it because they are lightweight and don't consume as much resources? That depends on the app itself, there are several lightweight apps that use a web-based secure GUI instead of TUI, so why specifically do you want to be in the terminal?

Re: Stop Making TUIs

#307
post #254
post #25

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

IMHO those screenshots look far from enticing. I guess it’s a matter of taste ¯\_(ツ)_/¯

Visual things often are.

I love the visual style. It's especially interesting to set the colour scheme to the orange/yellow glow of reaaaly old school terminals.

Re: Stop Making TUIs

#308
post #186

I think OP is missing the point of TUIs: They kinda work everywhere. While I need to fuck around with a operation systems native UI libraries like WinUI, SwiftUI, GTK, etc. I can just build an app in the terminal and be fine with it running on almost all platforms. I'd take TUI apps over electron apps everytime as long as the UX is good.

No. TUIs do not work everywhere. They can break because of terminfo which I really don't want to deal with. I hate wasting time on such configuration issues.

Possible, but rare in practice.

Nowadays, you are more likely going to struggle with plugging your laptop into a 320Volt outlet than have a terminfo problem.

Re: Stop Making TUIs

#309

Unfortunately we seem to live in an era where your mainstream choices for a cross platform app are "Electron taking 1GB when idle" and TUI.

No, that is 2 years ago era.

Now it’s “native apps for 5 platforms done almost for free” era for anyone who cares.

See Meta’s new AI desktop app (no, I won’t install anything from Zuck on my computer, but I appreciate what they did).

Re: Stop Making TUIs

#310

Have there been any attempts at graphical TUIs? As in, using graphics, vectors, but with a fully text-based UI?

Plan 9 is essentially exactly that, which clearly was inspired by the Oberon’s GUI. By the way, does then Emacs count as such? Or maybe you should take a look at Genera, however, I’ve never really tried it.

Also the original Metro design as in WP 7/8/8.1 or Windows 8/8.1 relied heavily on the pure text, and the only place populated with a lot of icons was that iconic tiled start screen, although this is probably not what you mean.

Post reply on HN