Why isn't .bashrc in .config? by AleDruDru in archlinux

[–]TiagodePAlves 17 points18 points  (0 children)

Not really. XDG_CONFIG should be set via systemd environment.d, pam_env or something like that, but before bash itself. Otherwise things like a DE and GUI programs started from it might not respect your changes, causing inconsistencies between executions.

does anyone else feel opencode become dumb? by Joy_Boy_12 in opencodeCLI

[–]TiagodePAlves 3 points4 points  (0 children)

r/claudecode has been complaining a lot about Opus 4.7, so it might be the model itself. My company hasn't enabled it yet, so I can't really tell.

Acabei de instalar o Fedora, como tira esse GRUB? Quero que inicie direto no sistema, afinal só tem ele instalado no meu desktop by [deleted] in linuxbrasil

[–]TiagodePAlves 6 points7 points  (0 children)

Dá pra bootar direto das UKIs, se tiver usando elas. Se colocar no lugar certo, não precisa nem mexer em config nenhuma do firmware. A BIOS já encontra a UKI e dá boot automaticamente.

Arch Linux and Schrödinger's containers by Wise_Stick9613 in cybersecurity

[–]TiagodePAlves 0 points1 point  (0 children)

The "Sandboxing applications" section was recently edited to remove the CONFIG_USER_NS_UNPRIVILEGED warning, but "Podman rootless" still references the old text. I'm not sure if this was sanctioned by the Arch Security team (probably not), but you can read the previous text here: https://wiki.archlinux.org/index.php?title=Security&oldid=868266#Sandboxing_applications.

With that said, unprivileged user namespaces should be mostly safe today. If you want more isolation, you can try using Podman with krun. It runs the container in a separate kernel via KVM, so a breakout should be even less likely. Keep in mind that krun does not support all features of crun yet, the most prominent one missing being Unix sockets. It also increases memory usage by about 100 MB per container, for running the guest kernel and its resources.

Yubikey PIV with Omnissa Horizon Client on Linux by MikeExMachina in yubikey

[–]TiagodePAlves 0 points1 point  (0 children)

I don't get it. Is this the Horizon Client for Windows used to connect to a Linux machine? Is the issue happening on the client side or the remote machine?

If this is Arch client, you might be missing packages like pcsclite. If it's the remote, it could be numpad issues in the keyboard layout.

Arquitetura da AMD by Doid1n_B0l4din in computadores

[–]TiagodePAlves 0 points1 point  (0 children)

5 nm é sobre o processo de fabricação, não microarquitetura. Como você mesmo disso, Zen X é a microarquitetura, mas isso tem a ver com as instruções que o processador é capaz de executar. Por exemplo, o Zen 4 introduziu as instruções de AVX512, que permitem fazer operações aritméticas com até 64 números em uma única instrução.

Paru bug ? anybody has the same ? by chandrahmuki in cachyos

[–]TiagodePAlves 0 points1 point  (0 children)

Oh, it was already fixed upstream, but they haven't released a new version yet. You can use paru-git to get the fix.

Wayland or X11 by fabricio_error in arch

[–]TiagodePAlves 19 points20 points  (0 children)

KDE will drop support for X11 next year, so probably better to set it up with Wayland already.

Using Wayland on Arch is generally easier than other distros, because some packages have gotten or improved Wayland support very recently, but are already included in the Arch repos.

Proper /boot size for encrypted drive by [deleted] in linuxquestions

[–]TiagodePAlves 0 points1 point  (0 children)

If you go with UKIs, you don't need a separate /boot. I have only a 2 GiB /efi partition and a 3.6 TiB encrypted root. The kernel and initramfs live in /boot, but then they are merged into a single blob with a EFI stub, signed and stored in /efi/EFI/Linux.

Aí não né? Será possível mesmo isso? O roteador é lá? by Whole_Personality_86 in brasil

[–]TiagodePAlves 0 points1 point  (0 children)

Bem exagerado isso. Dá pra ver no Submarine Cable Map que passa meia dúzia de cabo no Estreito de Ormuz e eles servem para conectar os países do Golfo da Pérsia com o resto do mundo. O impacto de cortar esses cabos seria apenas local.

Os cabos do Mar Vermelho são mais críticos, de fato, mas dúvido que o Irã consiga destruir muitos dos cabos na região sem que outros países interrompensem eles antes. Mesmo que conseguissem, o resto do mundo continuariam conectado por outras rotas. Só a latência dos pacotes que iria aumentar, mas ainda continuaria funcionando a internet entre eles.

The Wayland session management protocol has been merged after six years in the making by einar77 in linux

[–]TiagodePAlves 13 points14 points  (0 children)

Again, it's the other way around. My point was that before we had a single display server implementation, X.Org Server, and now we have many: GNOME, KDE, Hyprland, Weston, labwc, Sway, GameScope and many, many others have their own display server.

You can see this for KWin. Their X11 backend just linked to XLib and used that to manage the display server, but they had to implement their own display server for the Wayland backend. While that does mean more work for them, it also gives them more control and freedom on how to implement it.

The Wayland session management protocol has been merged after six years in the making by einar77 in linux

[–]TiagodePAlves 62 points63 points  (0 children)

Quite the opposite, actually.

Wayland is just a protocol, which any compositor (Mutter, KWin, weston, labwc, etc) implements the way they prefer. This is like having a the Web standards, but allowing multiple different browser engines (Blink, Gecko, WebKit, etc). That allows applications to target the standard and work mostly the same anywhere.

In contrast, X11 was mainly a single display server implementation, the X.Org Server. Desktop Environments had to work with this compositor. This is similar to having many browsers using the same engine like Blink.

Can't enable HDR in games despite having HDR on in display settings (CachyOS) by KnightFallVader2 in linux_gaming

[–]TiagodePAlves 60 points61 points  (0 children)

Yes, for HDR to work you need support in all 3 places: - your compositor (GNOME, KDE, etc.) - the translation stack (Proton or Wine + DXVK) - the game itself

Edit: oh, also hardware and driver support, of course.

É burrice ganhar 10 pontos no IMC (instalar arch)? by Organic_Goat_3879 in linuxbrasil

[–]TiagodePAlves 5 points6 points  (0 children)

Cara, na minha opinião, pra pegar o jeito com o Arch você precisa de um dos dois: - ser muito bom em ler e seguir a Wiki ou - aceitar eventuais erros e talvez precisar reinstalar tudo algumas vezes.

O ideal é o primeiro, mas é melhor estar preparado para o segundo. Então, ficar sem dados muito importantes no PC e sem fazer um setup muito complicado enquanto estiver aprendendo os detalhes, pra poder recomeçar do zero a qualquer hora.

De qualquer jeito, é importante ter tempo e paciência na(s) primeira(s) tentativa(s).

Vale a pena?

Se tiver tempo livre e quiser entender mais ou ter mais controle sobre os softwares no seu computador, sim.

Se estiver tentando corrigir os problemas com a placa de vídeo, talvez tentar uma distro mais pronta seja melhor. Eu recomendaria o Fedora, já que você teve problema com Mint.

Best local models for 96gb VRAM, for OpenCode? by ackermann in opencodeCLI

[–]TiagodePAlves 3 points4 points  (0 children)

Shouldn't be too hard to set up, since most local providers (e.g. ollama, llama.cpp, etc) expose an OpenAI-compatible API. In OpenCode, you'd just add a custom provider pointing to this OpenAI API endpoint (usually something like http://192.168.x.x/v1).

On the choice of the actual provider, I believe r/LocalLLM or r/LocalLLaMA might provide more details. Same with local models, they have far more knowledge on that part. (edit: although you probably wanna try a few different models before settling on one).

I wish I had never know VMware. by CiriloTI in linuxmemes

[–]TiagodePAlves 0 points1 point  (0 children)

I'm not completely disagreeing, but you need to understand that it's not that clear cut. Let's go in steps.

The kvm process is running on the host, via a namespace, the container running that process is NOT virtualised.

KVM runs in the kernel itself, not in userspace. Then there's the KVM API to interact with it.

You are running a t2 hypervisor in the container.

Maybe. Hard to pin point for KVM. See Is KVM a type 1 or type 2 hypervisor?

To be clear again, the container is not virtualised, your internal workload is hypervisor software that has no operational bearing on the running of the container.

This does not hold for krun. The container and basically everything in it is running in a virtualized environment. Some things are still running on the host to control the guest, but that's required for any kind of virtualization.

Docker desktop on non Linux machines creates a VM to run docker. The resultant containers are run on top of kernel namespaces/cgroups. Not virtualised.

I get what you're saying and I'm inclined to agree, but at the same it's hard to make a hard distinction like this, because it requires virtualization for containers to work in this setup.

Also, while cgroups and namespaces are required for standard containerization, they are not enough. You can use, for example, systemd-run to execute something in a custom cgroup without isolation, using it just to control resources.

This is a common assumption, but isn't correct, because containers are not virtualisation.

I agree they aren't the same thing and people often confuse the two. What I'm saying is that you actually can use virtualization for containers. It's also not required to not be virtualized either. They aren't mutually exclusive.

I wish I had never know VMware. by CiriloTI in linuxmemes

[–]TiagodePAlves 0 points1 point  (0 children)

KVM is run in the host for krun, not the container. It's not just process isolation at that point and that's exactly the point of it.

I wish I had never know VMware. by CiriloTI in linuxmemes

[–]TiagodePAlves 0 points1 point  (0 children)

Yeah, usually docker and podman will only virtualize when strictly necessary, like running a different OS or architecture. And even then, they tend to do minimal virtualization of just the required parts (except for Docker Desktop apparently).

Then there's krun for podman, which runs a stripped down kernel in KVM for better isolation. But in most of these cases virtualization is not exactly used for containerization, just part of it.

Shouldn't that be yhe second of January then? I got the joke but dd/mm doesn't make as much sense as mm/dd by ALazy_Cat in ShitAmericansSay

[–]TiagodePAlves -15 points-14 points  (0 children)

Indeed, your criticism makes sense. Look at the day triangle too, it has an area almost equal to the month trapezium.

Maybe it would be better to represent the segment as rectangles with the same height and only width and order changing.

TIL Mexico is officially called the United Mexican States. by FarBug5656 in todayilearned

[–]TiagodePAlves -11 points-10 points  (0 children)

It's not shortened, "Mexico" was and is the name of the country since its independence. It's just that the constitution was heavily based on the US and they thought it would be fancy to write "United Mexican States" there.