

I guess, those don’t work for hidden/minimized windows.
Perhaps worth considering a bspwm-like workflow. Rather than minimizing windows, you put them onto another workspace. Just absolves you from dealing with the whole concept of minimized windows…


I guess, those don’t work for hidden/minimized windows.
Perhaps worth considering a bspwm-like workflow. Rather than minimizing windows, you put them onto another workspace. Just absolves you from dealing with the whole concept of minimized windows…
It was so funny, too, because even back then, they had already set an end-of-life date for 2025.


Lots of “modern” languages don’t interop terribly well with other languages, because they need a runtime environment to be executed.
So, if you want to call a Python function from Java, you need to start a Python runtime and somehow pass the arguments and the result back and forth (e.g. via CLI or network communication).
C, C++, Rust and a few other languages don’t need a runtime environment, because they get compiled down to machine code directly.
As such, you can call functions written in them directly, from virtually any programming language. You just need to agree how the data is laid out in memory. Well, and the general agreement for that memory layout is the C ABI. Basically, C has stayed the same for long enough that everyone just uses its native memory layout for interoperability.
And yeah, the Rust designers weren’t dumb, so they made sure that Rust can also use this C ABI pretty seamlessly. As such, you can call Rust-functions from C and C-functions from Rust, with just a bit of boilerplate in between.
This has also been battle-tested quite well already, as Mozilla used this to rewrite larger chunks of Firefox, where you have C++ using its C capabilities to talk to Rust and vice versa.
The description in the ticket isn’t too bad:
allows users to make a window disappear and keep only its title bar visible.
It really just hides the window contents. In effect, it is similar to minimizing a window, except that it doesn’t spring into your panel and rather stays in place as just the window title bar without the contents.
It is a niche feature, if you couldn’t tell. But it isn’t some KDE specialty feature; various other desktops and window managers also support it. I think, it was more popular in the early days of graphical user interfaces, when we were still working out, how we want to do panels and such.
And conversely, I do think it makes more sense as a feature on big screens like you can have today, where your panel might be quite a bit away.
Don’t think, window shading will make a big comeback just yet, but yeah, probably enough existing users that use it, so that it would be cool to support that workflow.


It also makes for an easy conversation topic to complain about stuff…
Was recently watching a musician, who’s much more proficient than me, creating a song in 7/4 time. And the whole time, he was like, oh man, this is so weird. Apparently, this was one of the first times that he worked in 7/4.
Meanwhile, you can be glad if my unskilled ass can sit still on one kind of meter for more than a few measures.
And like, he’s always got a baseline rhythm and repeating melody elements, then breaks it up with all kinds of effects and key changes.
In my songs, I practically never write straight repetitions. There’s pretty much always a different twist the second time around. Even my drum lines are generally intentionally arhythmic.
Yeah, just found that interesting, how even at a lower skill level, I can partially go for much more advanced concepts, and will do so just because I like them. There just is a big range of ways in which one can create familiar-yet-entirely-new music.


recreational coding
Well, good news, it actually is fun to dick around in the Nix configuration and see those changes manifest on your system.


The purpose is similar, i.e. configuring a system, but I’d say Ansible works best, if you need to make a few small changes from an existing distro, whereas NixOS rather takes the approach of controlling everything about the operating system.
And in many ways, controlling everything is actually simpler.


As the other person said, the bit about Arch is just the preamble.
But you can use Nix Home-Manager on Arch (or other distros), if you’re so inclined, which will give you that reproducibility for the stuff in your home-directory.
In some ways, this is like backing up and restoring your dotfiles, but it allows you to template those dotfiles and depending on the program, it offers simple ways to populate the dotfile templates. For example, KDE applications don’t generally offer very legible dotfiles and so configuring e.g. a panel via dotfiles is kind of a pain. To help with this, there’s Nix Plasma-Manager.
Copy Link to Highlight is my favorite addition.
To be fair, your “SUUUPER stable” is another person’s “not really going anywhere”…


Yeah, I also recommend this. Particularly with laptops, it’s good to have a full-fledged desktop environment, since you’re more likely to need WiFi, power management, easy display configuration etc…
Then you open it up and the single bean fills out the entire can. They had used a very big bowl for that photo.
That is a good tip. Unfortunately, I am too fish to understand it. 🙃
I just type ps and in 9 out of 10 cases, my shell suggests ps -ef | grep <process-name>. So, it’s actually less for me to type than “pgrep”…
Ah, that was a brainfart. I do use pkill primarily. I just use the other command, when I’m not sure what the process is called…
Yeah, I especially don’t understand it here, because it’s a graphical tool. You don’t have to keep backwards compatibility.
Even if you’re worried about people depending on the format that’s being piped, you could keep only the piped format stable. We have the technology.
Yeah, I would often just grab htop because I had no idea how to read the CPU usage out of top.
For example, for me it says:
%Cpu(s): 0,4 us, 0,4 sy, 0,0 ni, 98,8 id, 0,0 wa, 0,3 hi, 0,0 si, 0,0 st
Now that I look at it, I can guess that us and sy are supposed to be user and system time. And I guess id is supposed to be idle.
I have no guess what the other numbers might be, though. And well, I would often like to see the CPU usage per core.
Now I know that I can just press 1t and get effectively the same view as in htop.
I might learn top’s filtering workflow, too. But so far, I always killed processes with ps -ef | grep <process-name> and then kill <pid>, which isn’t particularly more cumbersome, so will see…
What terminal emulator are you using where ctrl-c copies instead of sending SIGINT when text is selected?
I know that the terminal emulator built into the JetBrains IDEs works that way…
“Liebe die Liebe”. It’s a complete sentence, probably. 🙃
(Translation would be: “Love (the) love”)
I always just do
ss -ltnp | grep <port-number>, which filters well enough for my purposes and is a bit easier to remember…