News for hackers. Stuff that matters.
Re:Differences between Tmux vs Screen (2015) by Slackwise on Sunday June 04, 2017 @11:14AM (#14481944)
Exact same feeling I have about web apps.

We could be using an app-centric XML-like language¹ for the UI, and an app-centric protocol versus a stateless² one where we apply hacks like cookies and WebSockets to. Instead we're hacking on top of a document-oriented system, and the hacks feel like they're 10 layers deep now.

¹ Similar to XAML or XUL, in concept and example.

² Statelessness is a great default, but when you need it, it shouldn't be an awful hack.

Re:Differences between Tmux vs Screen (2015) by tyingq on Sunday June 04, 2017 @11:34AM (#14482046)
It is funny how we've regressed. For CRUD apps that don't do anything graphical, the current crop of web apps don't do anything better than a mainframe and a 3270 terminal did 50+ years ago. And the man-hours required to produce and maintain them is much higher.
Re:Differences between Tmux vs Screen (2015) by kasey_junk on Sunday June 04, 2017 @11:40AM (#14482068)
That is an extreme simplification. Modern crud apps run from essentially any network in the world on hardware of every conceivable form factor and vendor. The protocol is open and so obvious it is routinely taught to middle school children.

All of those things are significantly different than a mainframe/term setup

Re:Differences between Tmux vs Screen (2015) by tyingq on Sunday June 04, 2017 @11:43AM (#14482079)
I disagree. TN3270 runs on essentially any network in the world, and has existed for quite some time. I am scoping this down to CRUD apps that are text and labels.
Re:Differences between Tmux vs Screen (2015) by baddox on Sunday June 04, 2017 @05:19PM (#14483558)
I'm currently on my phone on a streetcar in San Francisco. I'm pretty confident there's one of those platforms I could access now with the greatest of ease, and the other would take some doing.
Re:Differences between Tmux vs Screen (2015) by kasey_junk on Sunday June 04, 2017 @04:44PM (#14483402)
50 years ago it ran only on a single proprietary physical medium on bespoke hardware.
Re:Differences between Tmux vs Screen (2015) by tyingq on Sunday June 04, 2017 @08:48PM (#14484580)
Amdahl was an option.
Re:Differences between Tmux vs Screen (2015) by dredmorbius on Sunday June 04, 2017 @04:36PM (#14483364)
I first heard the "but ... the Web is just Mainframe terminals" realisation about 1997-98 or so.

And there's a fair bit of truth to that.

Re:Differences between Tmux vs Screen (2015) by icebraining on Sunday June 04, 2017 @03:43PM (#14483135)
For CRUD apps that don't do anything graphical, the current crop of web apps don't do anything better than a mainframe and a 3270 terminal did 50+ years ago.

It's not actually true (unicode alone is a big improvement), but even if it was, so what? If a technology already fulfilled those needs pretty well, why would you expect major improvements to arise? The improvements come from the fact that you don't have to restrict yourself to text and labels.

Re:Differences between Tmux vs Screen (2015) by tyingq on Sunday June 04, 2017 @09:02PM (#14484642)
I mentioned the man hours to build and maintain. That should have been an area for progress. It wasn't.
Re:Differences between Tmux vs Screen (2015) by icebraining on Monday June 05, 2017 @01:59AM (#14485525)
Can't argue with you there, I have no idea how much time it took on a 3270. That said, are you thinking about the time to build and maintain it from scratch? Because there are plenty of CRUD frameworks to remove 90% of the work. Of course, those have to be built and maintained as well, but then again, so did the 3270 terminals.
Re:Differences between Tmux vs Screen (2015) by _ibu9 on Sunday June 04, 2017 @03:55PM (#14483189)
> why would you expect major improvements to arise?

Maybe not, but you certainly shouldn't expect a regression, which is exactly what we're witnessing.

Re:Differences between Tmux vs Screen (2015) by icebraining on Sunday June 04, 2017 @04:09PM (#14483242)
I would. A more general system will (almost?) always be less efficient than a single-purpose system, at that specific purpose.
Re:Differences between Tmux vs Screen (2015) by _ibu9 on Sunday June 04, 2017 @04:35PM (#14483361)
I don't think modern CRUD apps are necessarily more general. They're just built on top of many more layers of broken abstractions.
Re:Differences between Tmux vs Screen (2015) by icebraining on Sunday June 04, 2017 @04:54PM (#14483447)
You don't think that modern CRUD apps do anything besides showing text and labels?
Re:Differences between Tmux vs Screen (2015) by arielb1 on Sunday June 04, 2017 @11:46AM (#14482098)
If you don't care about "making it pretty", you can make a cookie-cutter 3270-style UI pretty easily.
Re:Differences between Tmux vs Screen (2015) by icebraining on Sunday June 04, 2017 @04:06PM (#14483235)
We could be using an app-centric XML-like language¹ for the UI, and an app-centric protocol versus a stateless² one where we apply hacks like cookies and WebSockets to.

You can: just write a C# or whatever app, and use some stateful protocol.

In any case, I find the whole "layers deep" to be a major overstatement. WebSockets are essentially framed TCP sockets, with a single initial handshake that looks like HTTP. They are not a "layer" over HTTP or anything like that.

Re:Differences between Tmux vs Screen (2015) by Slackwise on Sunday June 04, 2017 @04:31PM (#14483341)
I was talking about web apps. Of course I can use something different, just not on the web. (Since Silverlight is dead, that is.)
Re:Differences between Tmux vs Screen (2015) by ianai on Sunday June 04, 2017 @11:45AM (#14482096)
I'd like to see that too.