Supercrunchy

joined 8 months ago
[–] Supercrunchy@programming.dev 2 points 1 month ago

I'm curious to see how they will handle immutability and what will it set apart from other distros like fedora atomic.

Most immutable distros have limitations on installing CLI tools because they are designed to have flatpak as the main package manager. It'd be cool if they had some tricks for installing software in the user/data partition like you can do with homebrew in bazzite, but better integrated into the system package manager (I'm imagining a gentoo prefix integrated into a unified package manager)

[–] Supercrunchy@programming.dev 8 points 1 month ago (1 children)

IMHO the power of gentoo is the customization, not the optimizations you can do when compiling. You can change the dependencies and config of software to get exactly what you want instead of a config somebody else has chosen for you.

I used Sabayon back in the days for a few years and you are expected to accept the defaults for most packages and use it as a mostly binary distro, but you also have the option to use emerge(gentoo's package manager) to customize only some packages via USE flags. It was working quite well as far as I remember.

[–] Supercrunchy@programming.dev 6 points 1 month ago

It might be nice to use in some very specific cases (e.g. addition-operation is a binary-operation AST node which is an AST node).

In most of the cases it just creates noise though, and you can usually do something different anyway to implement the same feature. For example in rust, just use enums and list all the possible cases and it's even nicer to use than inheritance.

[–] Supercrunchy@programming.dev 24 points 1 month ago (2 children)

And dependency injection!

Every class needs to use DI for calling other classes, even though we'll have anyway just a single implementation for all of them, and we won't be using this flexibility at all (not even for tests where it might be useful for mocking dependencies).

[–] Supercrunchy@programming.dev 5 points 1 month ago (1 children)

Oh wow I was not aware of the drama behind Bazzite.

Years ago I installed manjaro and I want to rebuild the system soon, I use that computer for gaming so Bazzite seemed the most suited to that, but when I tried it in a VM it gave me the feeling of being unpolished compared to Kinoite (the documentation of how to use fedora silverblue is excellent, and bazzite deviates quite a bit from that and adds a lot of custom tools and utilities).

I think I'll go with Kinoite after reading this, hoping that it works relatively well on nvidia...

[–] Supercrunchy@programming.dev 7 points 1 month ago

I looked at some examples of what it generates, and it has some of the same problems of AI video: disfigured human crowds and it "forgets" the environment you are in, which sometimes results in the room around you changing from when you looked last time (in addition to these "games" being basically walking simulators without any interactivity or animations). This for now makes very boring "games" where nothing really matters because there's no object persistency, and I don't see how they are going to solve this issue because it looks like an inherent flaw of current AI technology (managing context windows is challanging also for LLMs).

IMHO this can be used at best a rendering technology, or to make a photo become explorable in 3d (with some made-up parts), but not games.

In case you want to also have a look at more than the cherry-picked examples posted by google, i found this video that has no commentary (not made by me - I hope it's ok by the rules to post youtube links?) https://www.youtube.com/watch?v=jCTWCx8UPlI

[–] Supercrunchy@programming.dev 5 points 2 months ago

I like zram! It has pretty low overhead and usually compresses data quite well (~2/3x). I have it set to the size of my total ram and I can't notice when it starts to kick in.

Some small amount of swap is also nice to have, but it gets rarely used for me, because zram gets used first.

One trick that might be useful is that you can create a normal swap file and enable swap to it in cases where you want more. For example recently I needed to load 64GB of data on a 32GB laptop, so I created a 64GB swap file on the filesystem and used swapon to enable it. (just disable it before hybernation if you use it!)

It just takes a bit longer to run, but if you don't need all the data loaded at once it's much faster than moving the code on a more powerful pc (or fixing it)...

[–] Supercrunchy@programming.dev 2 points 2 months ago

I use a raspberry pi 3b for running home assistant. even though it's not officially supported it runs quite well for my uses.

In the past when I had a public ip I had it run a small personal website and a wireguard vpn server to allow me to always ssh into my desktop at home (it was joining the vpn-connected device into the LAN, to the point where it was even getting the IP from my router's DHCP server...).

[–] Supercrunchy@programming.dev 4 points 2 months ago

The solutions in the other comments (lutris, heroic, ... ) are better, but if you get stuck a bad but easy solution is to install the epic launcher as a "non-steam game" in steam...

Download the epic launcher installer, add it to steam, force it to use proton as compatibility layer (in the game properties) and install it. After the install is complete you have to find where on your filesystem the launcher exe got installed (it's in a special wine prefix managed by steam). Change the path in steam to point to it instead of the launcher. Now you can launch the epic launcher in steam and play all of the games you have there using the steam-managed proton. You can use this trick to also install and run windows software that are not games.

Note that the name you give to the "game" in steam will be broadcasted to your friends, so they will see you playing "epic game launcher"

[–] Supercrunchy@programming.dev 2 points 4 months ago (2 children)

I think you got a bit confused.... FEX is used in the steam frame (VR headset) because it uses an ARM processor to save battery. The steam machine uses a normal x64 CPU and appears to be using some relatively standard pc hardware, so no compatibility layers are needed for windows (only drivers are needed) I doubt you'll be able to install windows on the steam frame though, for the reason you say (arm compatibility is a mess).

[–] Supercrunchy@programming.dev 2 points 4 months ago (1 children)

If it changed the frequency of crashes depending on the usb port it's connected to it might be struggling with the power supply. If you have some external, powered USB hub or a docking station you can try to connect it there and it might fully solve the issue.

[–] Supercrunchy@programming.dev 20 points 4 months ago

The worst is when you get promoted, and people start to recognize you as an expert. At that point you realize how everybody is sort of winging it, including the people in all other professions that you'd really prefer not to (doctors, pilots, politicians ...).

view more: ‹ prev next ›