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

> I expected gnome-terminal's memory usage to be in line with konsole (KDE's default terminal), but gnome-terminal shows remarkably well in this test

In tipical GNOME fashion, they have decided to replace this largely working piece of software with on with one that places solidly at the bottom of the article's list (ptyxis).


Almost all of that is Mesa shaders and GTK's CPU side font-cache for GL/Vulkan, compiled CSS state, FWIW.

If you run:

GSK_RENDERER=cairo ptyxis -s

You can verify that with 69,985 here RES and 52,428 of that SHR. With 5 tabs open it jumped to 71,208 here. Presumably for the encrypted scrollback pre-allocations.

You still may not choose to use it, but it should stay relatively similar the more tabs you open.

Also, it's not a core GNOME app. It's just an app I wrote for me that the distros seem to have liked for its design/platform integration.


Thanks for writing it! I was very skeptical initially, but after using it I'm a fan. I also appreciate that I can script settings using gsettings, so I can configure it easily on new systems without having to touch the GUI (though the GUI settings are well thought out and nice to use when you don't know what you need yet).


ptyxis has a few features that gnome-terminal doesn't and which are really handy. Namely, being able to list containers running on the system and then being able to select one to get a terminal running inside the container. Not sure that warrants replacing gnome-terminal but it is really handy if you use containers a lot.


The good news is that before writing Ptyxis, I also ported GNOME Terminal to GTK 4 and doubled the performance of VTE. So you know, use whatever you like.


Hey thanks for your work, I’m really enjoying Ptyxis on Arch.


Cool, but can you set the colors?


Wait, what? ptyxis is not the default GNOME termjnal. It is the terminal of choice for both Ubuntu and Fedora, but the default terminal in GNOME is Console, internally known as kgx: https://en.wikipedia.org/wiki/GNOME_Terminal.


Gnome Console seems to be intended for people who don't use terminals. I quickly install GNOME terminal for real use.


I was using GNOME Console in a postmarketOS install in my Chromebook. The fact that it is lightweight compared to say Ghostty (my main terminal everywhere else) made a difference in performance for such a constraint device.

And I didn't really miss any features to be honest, it has the basic that you expect (things like tabs). It is less customizable than other options, but the defaults were good enough for me.


I did not know about this. I used it on Fedora, and I thought Fedora was as close to "default GNOME" as possible.


I think it means a digital copy of a ticket or similar card.


Can I use this feature to generate an airplane ticket? :P

I think "create" is the confusing part. It should be "digitize" or something. Either this, or "pass" means something else here.


I am a European in Europe and I expect the same. Why would I assume otherwise? The company laptop is full of spyware, starting from the OS. I have no reason to consider it "mine", and no desire to do so. If I want to do anything private (including things that my company would not like) I can do so from my private devices.


Europe is a big place, but in my area of Europe it is very illegal to monitor employees this way. If you were to be fired for something that illegal surveillance turned up, I would consider it a good thing - with the settlement money you could take a couple years of vacation.


> with the settlement money you could take a couple years of vacation.

In many EU countries even if privacy protection is strong on paper, the settlement will be so low compared to US that you won't afford to take any vacation.


I've never worked a software development job where I didn't have a company-provided machine that I installed Linux on. I installed the OS, I have root on the machine, I wiped it and returned it empty when I was leaving the job.


Lucky you, I guess. In all the companies I worked for I have had a company-provided Windows laptop where the OS was managed by IT. The degree of freedom (e.g. what software could I install, what websites were blocksd) varied.


That comes preinstalled :)


I agree with you, but considering the state of modern software, I think the values "truth and correctness" have been abandoned by most developers a long time ago.


Be that as it may, we shouldn’t be striving to accelerate the decline, and be recruiting even more people who never learned those values.

It’s the Eternal September of software (lack of) quality.



These are not proper sum types, since you're limited to one variant per type.


I am not sure what you mean, you can definitely have e.g. an

    std::variant<int, std::string, bool>
Which is a sum of those three types.


See the first IpAddr example here[1], where you have separate variants, both with string representations. You can't do this with std::variant. You have to use separate types.

[1] https://doc.rust-lang.org/book/ch06-01-defining-an-enum.html


I see what you mean now, thanks. To reproduce that example with std::variant I would need some kind of strong type alias, which as far as I know is missing from C++; so the only feasible way to do that would be wrapping the string in another class or struct.


> or that you don't own the device you use (which makes it unacceptable)

It's already like this, unless you go out of your way to install a custom Android rom, which 99.9% of people will never do.

I agree it is unacceptable.


But dog breeds are much more diverse than humans. For example, a chihuahua weights about 2kg, a St. Bernard about 70kg. That's a 35x size difference.


A metric kilobyte is 1000 bytes. An imperial kilobyte, on the other hand, is 5280 bytes.


Nah, an imperial kilobyte is 5280 bits. That's way more plausible.


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

Search: