lawmurray@programming.devtoC Programming Language@programming.dev•I made my first C program!
1·
1 year agoWelcome to C! Tiny suggestion to add to other comments: value
is already Boolean, so there’s no need to write if (value == 1)
, you can just write if (value)
. Similarly, following @[email protected]’s suggestion of using the ternary operator, you can write return value ? "Yes" : "No";
.
You might want to confirm that it is indeed zypper packages before you rearrange too much: Disk Usage Analysis on the desktop, or
du -sch *
on the console will get you some numbers by directory. It could also be cached packages, clean them up withzypper clean --all
.I’m not sure about specifying different destination directories with zypper, but you could try installing something like vscode from Flatpak rather than zypper, and specifying
--user
so it goes into your home directory (if that’s a different partition).I’d also look at your containers with podman and clean up any old ones, they can take up a lot of space.