News for hackers. Stuff that matters.
Re:Tabby – A Terminal for the Modern Age by usrbinbash on Tuesday December 14, 2021 @01:28PM (#29555269)
The gzipped tar for this is 90MB. It's 265MB unzipped.

That's bigger than my kernel, my initramfs, all my terminal emulators, my media player, glibc and the gnu coreutils together, and I'd still have room to spare for some mp3s.

No.

Re:Tabby – A Terminal for the Modern Age by trav4225 on Tuesday December 14, 2021 @01:45PM (#29555545)
Thus "for the modern age"... ;-)
Re:Tabby – A Terminal for the Modern Age by keb_ on Tuesday December 14, 2021 @02:41PM (#29556415)
I laughed at this.
Re:Tabby – A Terminal for the Modern Age by polycaster on Tuesday December 14, 2021 @02:50PM (#29556558)
I don't get this focus on file size, really. 256 MB is ~0.02% of my current disk space. If the product is fine and the tools the developers choose to build it demand for this space – so it be, I couldn't care less.

Given it won't run on my Raspi. But there can still be value in things that don't run on micro computers.

Re:Tabby – A Terminal for the Modern Age by usrbinbash on Tuesday December 14, 2021 @03:11PM (#29556850)
As I have written elsewhere in this thread: Storage is free, RAM isn't.

And neither is battery power. A terminal application is supposed to be small, and next to invisible in terms of resources required. If it isn't, it will be uninstalled.

Re:Tabby – A Terminal for the Modern Age by phist_mcgee on Tuesday December 14, 2021 @04:23PM (#29558024)
>supposed to be

According to whom? The terminal gods?

According to wikipedia:

"A terminal emulator, terminal application, or term, is a computer program that emulates a video terminal within some other display architecture. Though typically synonymous with a shell or text terminal, the term terminal covers all remote terminals, including graphical interfaces."

I don't see anything in there about "invisible in terms of resources required"

Re:Tabby – A Terminal for the Modern Age by touristtam on Wednesday December 15, 2021 @02:37AM (#29563082)
Considering this is a basic tool the assumption isn't completely wrong to have a small footprint. Allowing to have a myriad of tools with each a memory footprint equivalent to Chrome is a recipe to hog all your RAM.
Re:Tabby – A Terminal for the Modern Age by usrbinbash on Wednesday December 15, 2021 @04:52AM (#29563855)
The wikipedia definition talks about terminals in the general sense of the word as in "something where some interface connection terminates."

In that strictest sense of the word, even an RDP client onto a windows desktop is a "terminal".

As the article points out itself however: The colloquial semantic meaning of the word, aka. what is usually meant by it, is TEXT TERMINAL.

And btw.: Even for a fully featured RDP client, I wouldn't accept a size of 200+MB. The one I use at work is barely 4MB.

Re:Tabby – A Terminal for the Modern Age by hbn on Tuesday December 14, 2021 @01:54PM (#29555706)
Their website also has 630MB memory footprint from my current readings
Re:Tabby – A Terminal for the Modern Age by gcr on Tuesday December 14, 2021 @04:28PM (#29558098)
Their website seems to download a minimal Linux webassembly to provide the demo something to connect to. That probably accounts for most of the perceived slowness of page load and the terminal
Re:Tabby – A Terminal for the Modern Age by geodel on Tuesday December 14, 2021 @02:20PM (#29556083)
Wouldn't you love to run this next generation terminal in AWS and pay monthly fee of M5.2Xlarge or some such :-)
Re:Tabby – A Terminal for the Modern Age by pkrumins on Thursday December 23, 2021 @08:44AM (#29661711)
Except they shipped and all you did was write this comment. When you ship your own smaller terminal, let us know.
Re:Tabby – A Terminal for the Modern Age by stewbrew on Tuesday December 14, 2021 @02:53PM (#29556616)
It seems to be an electron app, which explains the size. It's quite feature rich though.
Re:Tabby – A Terminal for the Modern Age by usrbinbash on Tuesday December 14, 2021 @03:05PM (#29556773)
So is my current terminal app, which clocks in at 250 kilobyte. And its memory and CPU footprint is so low, I can't find it in htop without filtering.
Re:Tabby – A Terminal for the Modern Age by phist_mcgee on Tuesday December 14, 2021 @04:20PM (#29557978)
What is this, code golf? Why does it matter in the end? People are allowed to choose, and pooh poohing something just because it doesn't fit your idea of productivity apps isn't very helpful.
Re:Tabby – A Terminal for the Modern Age by pritambaral on Wednesday December 15, 2021 @06:32AM (#29564533)
> People are allowed to choose ...

Your parent isn't forcing anyone to choose the same way as them. They're just advertising facts that inform a buyer when choosing. Your aggression, on the other hand ...

> ... pooh poohing something just because it doesn't fit your idea of productivity apps isn't very helpful.

The way you're pooh poohing your parent's criticism because it doesn't fit your idea of what matters and what not, isn't very helpful.

Re:Tabby – A Terminal for the Modern Age by usrbinbash on Wednesday December 15, 2021 @06:42AM (#29564620)
People are also allowed to voice their opinion about the performance characteristics of applications, and their use-case to resource-footprint ratio.
Re:Tabby – A Terminal for the Modern Age by HenrikB on Tuesday December 14, 2021 @04:01PM (#29557675)
Sinclair ZX81 is calling and wanna have a word about memory requirements :p
Re:Tabby – A Terminal for the Modern Age by clajiness on Tuesday December 14, 2021 @07:07PM (#29560013)
/r/gatekeeping
Re:Tabby – A Terminal for the Modern Age by ASalazarMX on Wednesday December 15, 2021 @05:19PM (#29572322)
r/LostRedditors
Re:Tabby – A Terminal for the Modern Age by hrbf on Wednesday December 15, 2021 @12:04PM (#29568643)
That’s Electron for you. A perfect encapsulation of what “modern age” appears to mean now.
Re:Tabby – A Terminal for the Modern Age by sneak on Tuesday December 14, 2021 @01:36PM (#29555380)
I don't think bundle size is a legitimate/relevant criticism of a modern graphical application, unless we're talking double- or triple-digit gigabytes. I have 8000GB in my portable machine.
Re:Tabby – A Terminal for the Modern Age by geodel on Tuesday December 14, 2021 @02:26PM (#29556167)
Indeed. A large multi GB app feel hefty and solid. I feel reassured that it won't fly off the window when working outside on a windy day.
Re:Tabby – A Terminal for the Modern Age by usrbinbash on Tuesday December 14, 2021 @02:05PM (#29555875)
Storage is free. RAM isn't.

And even if it were, the size of an application in relation to its purpose is a relevant metric.

Re:Tabby – A Terminal for the Modern Age by sneak on Tuesday December 14, 2021 @02:07PM (#29555898)
The overton window of "acceptable program size" has shifted so many times as technology advances, surely you can recognize that your own personal attachments to a given SI suffix are irrelevant?

Our ancestors would argue that a 1MB application was bloated. Our children will complain about 1000GB bundles.

The programs, of course, do vastly different things as the realm of what is possible with technology inexorably advances.

Comparing a complete bundle for an advanced graphical application framework with a TUI application is apples to oranges, and the curmudgeons who are shaking their collective canes at the kids on their lawn are actually technically competent and can recognize this if they choose.

There are legitimate technical criticisms to doing things with JS and Electron and whatnot; but "the bundle is hundreds of megabytes" isn't that.

Re:Tabby – A Terminal for the Modern Age by jstimpfle on Tuesday December 14, 2021 @02:22PM (#29556123)
This attitude is exactly why Wirth's law is a thing - software is getting slower, faster than hardware is getting faster. That is not in all metrics, of course, but in some - like typically in response latency to user inputs.

This slowness costs users so many hairs pulled out. Programmers who think that "this is acceptable" lack the awareness that they haven't even tested the software under only slightly unusual conditions which is when everything is already crawling to a halt.

When that "bundle" is 1000MB while technically there is no reason it should be more than ~1MB, many operations that you might want to do as a developer / trying-outer of the bundle take 1000x longer (no shit). Not unlikely, in some cases that even applies to runtime performance.

Why in the world would you accept that when it takes only a little discipline to get it down to a "reasonable" overhead of say, 10x???

Re:Tabby – A Terminal for the Modern Age by sneak on Tuesday December 14, 2021 @03:23PM (#29557031)
Alacrity would like a word. In my experience, software is generally getting faster these days, after a period of UI latencies getting worse for a while.

Not all software is getting slower faster than hardware is getting faster.

It has always been possible to write slow software.

Re:Tabby – A Terminal for the Modern Age by jstimpfle on Tuesday December 14, 2021 @04:50PM (#29558426)
Or consider that the startup time of OSes still hasn't changed much. It was much faster for a while when SSDs came around, and Windows generally has become faster with their not-quite-shut-down technique. But normal bootups, around 30-60 secs on normal machines, 25 years ago and still now.

And the important point is: it _is_ annoying, an actual bootup in 5 seconds is easily possible from a technical perspective, and would much improve the user experience.

Take systemd, I remember it brought a lot of startup time improvements for a while, or at least promised them. I don't follow Linux very much these days, but when I do a standard installation of a popular distro - sloooow startup. Last I looked I had an issue with tons of virtual serial devices created serially, took probably 10 seconds alone.

Parkinson's law at work.

Re:Tabby – A Terminal for the Modern Age by jstimpfle on Tuesday December 14, 2021 @04:39PM (#29558260)
It's funny, while I've never tried Alacritty (and I'm not likely given the posts I'm reading about it around here), I'm still stuck with xterm, which in some ways has a terrible UX. But it's the fastest I've used, has the most correct VT-100 emulation (or at least programs do work), and it has by far the crispest fonts - if you're using bitmap fonts, which most modern terminals don't support anymore.

But to your actual point, of course you can write software that runs not slower, or even runs much faster, than the software of 30 years ago that ran on machines of the time. The exception proves the rule (while I feel it's always been so obvious that there was never a proof needed).

Re:Tabby – A Terminal for the Modern Age by jstimpfle on Tuesday December 14, 2021 @04:44PM (#29558327)
Also, Casey Muratori would like to have a word. https://www.youtube.com/watch?v=GC-0tCy4P1U
Re:Tabby – A Terminal for the Modern Age by hbn on Tuesday December 14, 2021 @02:29PM (#29556216)
> Our ancestors would argue that a 1MB application was bloated.

And no one listened, so now -- despite our computers being thousands of times faster -- basic applications are hundreds of times slower to open. And we're junking a bunch of "old" machines that are considered too slow even though they're technically capable of performing rapid operations at levels our brains can barely comprehend.

Re:Tabby – A Terminal for the Modern Age by smoldesu on Tuesday December 14, 2021 @02:21PM (#29556099)
Just because that window shifts over time doesn't mean that we need to push our boundaries for acceptable program size, nor is it an excuse not to optimize our software. This kind of mindset is how we end up with terminal emulators that take more than 500ms to launch, and how we end up with systems that take on unconscionable amounts of bloat. I use Konsole as my terminal, which is a 50kb binary. If your replacement is orders of magnitude larger than my current option, it had better brew my coffee and have bacon ready by the time I wake up every morning. Instead, all we got was a lousy authy sync.
Re:Tabby – A Terminal for the Modern Age by novok on Tuesday December 14, 2021 @02:33PM (#29556278)
Konsole is not actually 50kb, you need to include the libraries it imports to do an apples to apples comparison. What is going on here is tabby is the equivalent of statically linked + a virtual machine OS called a browser, while konsole is not. To properly compare the two, you need to compare source code size, as if you downloaded tabby and ran it an browser. To really compare them properly, you'd also need to make the typescript compiled into equivalent JS VM assembly. There you'll find them probably to be significantly closer in size
Re:Tabby – A Terminal for the Modern Age by usrbinbash on Tuesday December 14, 2021 @03:09PM (#29556815)
>Konsole is not actually 50kb, you need to include the libraries it imports to do an apples to apples comparison.

No, we really don't, because these libraries are available to other programs as well, whereas a huge packaged application is availabe to nothing than itself.

Re:Tabby – A Terminal for the Modern Age by jstimpfle on Tuesday December 14, 2021 @05:04PM (#29558639)
Konsole itself could probably be considered bloated. You can easily write a super functional and performant terminal emulator in 50-100K by only using the external dependencies that are absolutely required - i.e. on Linux, the POSIX/Linux syscall interface and Xlib. You shouldn't even need libc, but AFAIK on Linux it's extremely hard to not use it, for stupid reasons.

> To really compare them properly, you'd also need to make the typescript compiled into equivalent JS VM assembly.

That's like saying, to compare Usain Bolt and myself in terms of sprinting performance, you should consider the fact that I'm chubby for a fair comparison.

Re:Tabby – A Terminal for the Modern Age by pittmajp on Saturday December 18, 2021 @09:01AM (#29604535)
Re:Tabby – A Terminal for the Modern Age by jstimpfle on Saturday December 18, 2021 @11:07AM (#29605519)
More text? :-)

(I know of the suckless community and of st in particular (I've never tried it)).

Re:Tabby – A Terminal for the Modern Age by handrous on Tuesday December 14, 2021 @03:12PM (#29556861)
Correct, shipping the equivalent of an entire full-featured GUI OS just to provide a terminal emulator is crazy.
Re:Tabby – A Terminal for the Modern Age by pseudalopex on Tuesday December 14, 2021 @02:44PM (#29556449)
Sharing libraries with other apps is a feature.
Re:Tabby – A Terminal for the Modern Age by sneak on Tuesday December 14, 2021 @03:36PM (#29557254)
See, this is what I mean by a legitimate criticism. I agree that a new version of a critical tool like this should do a bit more than have tabs and sync.

"It is 250MB" alone isn't.

Re:Tabby – A Terminal for the Modern Age by usrbinbash on Tuesday December 14, 2021 @03:07PM (#29556794)
>Our children will complain about 1000GB bundles.

Our children will still complain about a 10MB application, if it does something that could be done by a 500KB solution.

>Comparing a complete bundle for an advanced graphical application framework with a TUI application is apples to oranges,

And what do I need a "advanced graphical application framework" for if the intended use case is displaying text in a grid?

Re:Tabby – A Terminal for the Modern Age by ur-whale on Tuesday December 14, 2021 @02:46PM (#29556480)
> Our ancestors would argue that a 1MB application was bloated.

They still do, thank you very much.

Re:Tabby – A Terminal for the Modern Age by pritambaral on Wednesday December 15, 2021 @06:32AM (#29564535)
> I have 8000GB in my portable machine.

Good for you, I guess. I, myself, have 120GB.

Re:Tabby – A Terminal for the Modern Age by jstummbillig on Tuesday December 14, 2021 @01:50PM (#29555628)
It certainly is on hn.