Live data from Hacker News

Why Gentoo?

blogs.gentoo.org

31–40 of 85 posts

Re: Why Gentoo?

#31
> For example, we are probably one of the few distributions that do not amend our bzip2 package with a nonstandard pkg-config file; so if you develop on Gentoo, you won’t make the absurdly common mistake of publishing a package that requires that file.

What's this in reference to?

Re: Why Gentoo?

#32
post #25
post #7

I think it's time to use an LLM to rewrite portage in C. Might be one of my next projects. Should not take long and the result will be easy to deterministically test side by side.

Switch to using a git backend and portage will fly fast enough. tank ~ # time emerge --sync * Using keys from /usr/share/openpgp-keys/gentoo-release.asc emerge --sync 3.18s user 5.15s system 67% cpu 12.324 total https://wiki.gentoo.org/wiki/Portage_with_Git

The sync has nothing to do with it's slowness when reconciling dependency conflicts.

Re: Why Gentoo?

#33
post #8

Never used Gentoo, but what is its advantages over, say, Guix? I don't actually use guix or nix as a daily driver, although one year ago I did install Guix on a separate partition of my desktop PC and I use nix via Home manager to install various cli-based tools.

The main selling point is that you compile out any features you are not using, on a global level. Want to remove PulseAudio? Add -pulseaudio to the USE flags and rebuild. Prefer GnuTLS over OpenSSL? Declare it in make.conf and packages that support either will only use your choice. That's unique to the Gentoo model and gives a fine-tuned system with virtually zero bloat. Other distros inevitably pull in dependencies…

And at the same time, at least for last few years - you can also get the same (same but different) experience/convenience of having binaries available.

The Gentoo profiles mentioned in another comment is what still allows the system to have packages compiled with a consistent subset of things.

Re: Why Gentoo?

#34

I have fond memories of spending long nights recompiling with new flags to try and get slightly better FPS in games... this was over 25 years ago so not in the proton heyday we have now. These days I'm a fair bit lazier, throw Fedora on and use it happily. update frequently and it almost never causes me any issues. The Gentoo Forums were a super fun and friendly place back then, I hope they haven't lost that spirit.

Gentoo has pre built binaries for years now - you can be totally lazy about that ...

And still benefit from packages/system being smaller/faster because they are not built to cater for all possibilities.

And you can still override options (use flags) and compile some things exactly as you want/need them.

Re: Why Gentoo?

#36

Gentoo veterans should remember this one: https://www.shlomifish.org/humour/by-others/funroll-loops/Ge...

This is the exact article I thought of when I saw this headline. I'm surprised it's still around.

Re: Why Gentoo?

#37

Gentoo is great! You can just drop a patch into a folder, and every time you re/install or upgrade a package, it'll get applied! You know that weird thing that bothers you in that specific software? That random popup when you start it? That additional, unneeded "ok" prompt? That donation-begging screen? That stupid checkmark checked on/off by default when it should be off/on instead? Well, make a patch to fix it, dro…

And for the things that aren't in official portage nor one of 100s of other repositories - you basically just drop an ebuild file (that LLM can do for you ) into your own local repo.

There's already tooling for using say .deb or golang packages - but still having them installed as proper Gentoo/portage ones.

PS. Tek sada videh korisničko

Re: Why Gentoo?

#38

Gentoo is great! You can just drop a patch into a folder, and every time you re/install or upgrade a package, it'll get applied! You know that weird thing that bothers you in that specific software? That random popup when you start it? That additional, unneeded "ok" prompt? That donation-begging screen? That stupid checkmark checked on/off by default when it should be off/on instead? Well, make a patch to fix it, dro…

[deleted]

Re: Why Gentoo?

#39
post #25
post #7

I think it's time to use an LLM to rewrite portage in C. Might be one of my next projects. Should not take long and the result will be easy to deterministically test side by side.

Switch to using a git backend and portage will fly fast enough. tank ~ # time emerge --sync * Using keys from /usr/share/openpgp-keys/gentoo-release.asc emerge --sync 3.18s user 5.15s system 67% cpu 12.324 total https://wiki.gentoo.org/wiki/Portage_with_Git

Wait, it's that easy? Why isn't that the default?

Re: Why Gentoo?

#40
post #3

I didn't realize how strict they were against LLMs. Codex has really helped my fix and tighten up my AUR PKGBUILDs. I was thinking about trying Gentoo in the future, but not being able to contribute because I use LLMs in my workflow sucks.

If you're so good at it that they can't tell, does it matter?

Some people have a view of ethics/integrity that constrains them to following rules even if they can't get caught and consider the rules in question to be ill advised.
Post reply on HN