home.social

Search

1000 results for “Gentoo_eV”

  1. Any suggestion about Gentoo Linux?
    I know Gentoo, but haven't used it that much.

    Is Gentoo can be reliable for low spec's machine as long the program code isn't sucks right?

    I want to use an old machine (2C/2T CPU with 3GB of RAM) to become reliable in my own production but still keep relevant to the newest certain software that I use.

    I'm, okay to wait for the compilation as long it doesn't take for hours of time

    #Gentoo #Linux #suckless #lowtechhardware #x86 #x86_64 #i686 #Funtoo

  2. today #gentoo wasn't booting
    until I added

    --- a/fsck
    +++ b/fsck
    @@ -42,6 +42,12 @@
     {
     	local fsck_opts= p= check_extra=
     
    +	if true; then
    +		ewarn "Skipping fsck"
    +		sleep 10
    +		return 0
    +	fi
    +
     	if [ -e /fastboot ]; then
     		ewarn "Skipping fsck due to /fastboot"
     		return 0
    to /etc/init.d/fsck

    this is a pure
    #reiserfs #shaming ​:meowcry:​

  3. Jakiś czas temu zaimplementowałem w #Gentoo wsparcie #SigStore, by móc weryfikować nowe wydania CPythona. Dziś dowiedziałem się, że #PyPI również obsługuje takie "poświadczenia". Tylko jak je weryfikować?

    blog.sigstore.dev/pypi-attesta

    Ten post sugeruje, że na blogu PyPI znajdę "detale istotne dla użytkowników". No więc zajrzyjmy tam.

    blog.pypi.org/posts/2024-11-14

    Tylko informacje o publikowaniu i przeglądaniu ich (a sposób wymieniony tam nie jest właściwą odpowiedzią na pol.social/@mgorny/11405397625), a nie weryfikacji. Szukamy dalej.

    docs.pypi.org/attestations/

    Tylko linki do kilku technicznych specyfikacji, nic przydatnego.

    docs.pypi.org/attestations/con

    O, tu w końcu jest jakiś przykład. Sprawdźmy podlinkowany projekt.

    pypi.org/project/pypi-attestat

    > [!WAŻNE] Ta biblioteka stanowi szczegół implementacji wewnątrz referencyjnej implementacji PEP 740. Większość użytkowników nie musi korzystać z niej bezpośrednio; więcej szczegółów w dokumentacji PyPI. [tłum. własne]

    Tyle że ten link prowadzi do strony ze specyfikacjami! Jak jeszcze trochę pokopiemy, to możemy znaleźć API, które dostarcza nasze "poświadczenie":

    docs.pypi.org/api/integrity/

    No fajno, tylko co z nim zrobić? Przeskoczmy pół godziny wprzód, które zmarnowałem, próbując go użyć. Pokrótce rzecz biorąc, jedyne co pypi-attestations może zrobić jest pobranie interesującego nas pliku i danych "poświadczenia" *wprost z serwera*, i zweryfikowanie go. Więc trzeba używać dodatkowego narzędzia, które dodatkowo zawsze korzysta z Internetu.

    A przynajmniej tak sądzę, bo nie brak wszędzie słów "eksperymentalne", a dokumentacja chyba już gorsza być nie może. No cóż, zgłosiłem prośbę o weryfikację w trybie offline, zobaczymy:

    github.com/trailofbits/pypi-at

    #Python #bezpieczeństwo

  4. W końcu to zrobiłem.

    Trzy lata po otwarciu zgłoszenia, dwa lata po utworzeniu odrębnych paczek "ensurepip" w #Gentoo (używanych przez wbudowany w Pythona moduł venv), w końcu przerobiłem #VirtualEnv, by używało naszych paczek wheel zamiast swojej własnej kopii.

    Co najważniejsze, oznacza to, że VirtualEnv będzie domyślnie używał najnowszych wersji pip, setuptools i wheel, które są dostępne w Gentoo, a my nie będziemy już musieli martwić się kolejną warstwą pośrednią, która instaluje swoje własne wersje paczek, z potecjalnymi dziurami bezpieczeństwa.

    Tyle że w tej chwili VirtualEnv na Gentoo używa starszych wersji pip i setuptools niż normalnie, bo ostatnie wydania były nieudane.

    gitweb.gentoo.org/repo/gentoo.
    bugs.gentoo.org/807643

    #Python

  5. I finally did it.

    Three years after filing the bug, two years after introducing separate "ensurepip" wheel packages in #Gentoo (used by the built-in venv module in #Python), I've finally patched #VirtualEnv to use these wheels instead of their own bundle.

    Most importantly, this means that VirtualEnv will now use the latest version of pip, setuptools and wheel packages found in Gentoo, and we are no longer going to have to worry about another layer of indirection bundling vulnerable packages.

    That said, since the recent releases of pip and setuptools were broken, this also means that VirtualEnv on Gentoo now uses older versions than normally.

    gitweb.gentoo.org/repo/gentoo.
    bugs.gentoo.org/807643

  6. New on blog: "Poetry(-core), or the ultimate footgun"

    """
    I've been complaining about the Poetry project a lot, in particular about its use (or more precisely, the use of poetry-core) as a build system. In fact, it pretty much became a synonym of a footgun for me — and whenever I'm about to package some project using poetry-core, or switching to it, I've learned to expect some predictable mistake. I suppose the time has come to note all these pitfalls in a single blog post.
    """

    blogs.gentoo.org/mgorny/2024/1

    #Gentoo #Python #PEP517 #PythonPoetry

  7. Gentoo Council votes to end IA-64 (Itanium) support following kernel and glibc changes. Learn what's next.
    linuxiac.com/gentoo-linux-to-p

    #gentoo #linux #opensource #itanium

  8. Against all odds, and totally by accident, 32-bit #time_t helps us find another bug. This time, #LibArchive wasn't validating dates in ISO9660, and some garbage data was parsed as random dates.

    github.com/libarchive/libarchi

    #Gentoo

  9. Wbrew wszelkiemu prawdopodobieństwu, i przez zupełny przypadek, 32-bitowe #time_t odkrywa kolejny błąd w kodzie. Tym razem to w #LibArchive brakowało walidacji dat w ISO9660, i bzdurne dane zmieniały się w przypadkowe daty.

    github.com/libarchive/libarchi

    #Gentoo

  10. 3.12 update: I've written a "good enough" patch for that lets us proceed further! There is still some bug that causes a few tests to hang but it doesn't seem to block any of the actual usage I've tested so far.

    foss.heptapod.net/pypy/cffi/-/

  11. #Gentoo powinno być już gotowe na testowanie przypadkowych paczek w języku #Python.

    Obok #tox i #nox, mamy już: #flit, #hatch, #pdm, #pixi, #PythonPoetry i #uv. Coś przeoczyłem?

    /me porównuje z xkcd.com/1987/

  12. #Gentoo powinno być już gotowe na testowanie przypadkowych paczek w języku #Python.

    Obok #tox i #nox, mamy już: #flit, #hatch, #pdm, #pixi, #PythonPoetry i #uv. Coś przeoczyłem?

    /me porównuje z xkcd.com/1987/

  13. #Gentoo powinno być już gotowe na testowanie przypadkowych paczek w języku #Python.

    Obok #tox i #nox, mamy już: #flit, #hatch, #pdm, #pixi, #PythonPoetry i #uv. Coś przeoczyłem?

    /me porównuje z xkcd.com/1987/

  14. #Gentoo powinno być już gotowe na testowanie przypadkowych paczek w języku #Python.

    Obok #tox i #nox, mamy już: #flit, #hatch, #pdm, #pixi, #PythonPoetry i #uv. Coś przeoczyłem?

    /me porównuje z xkcd.com/1987/

  15. #Gentoo should be prepared for testing random #Python packages now.

    In addition to #tox and #nox, we have #flit, #hatch, #pdm, #pixi, #PythonPoetry and #uv. Did I miss anything?

    /me compares with xkcd.com/1987/

    #packaging

  16. #Gentoo should be prepared for testing random #Python packages now.

    In addition to #tox and #nox, we have #flit, #hatch, #pdm, #pixi, #PythonPoetry and #uv. Did I miss anything?

    /me compares with xkcd.com/1987/

    #packaging

  17. #Gentoo should be prepared for testing random #Python packages now.

    In addition to #tox and #nox, we have #flit, #hatch, #pdm, #pixi, #PythonPoetry and #uv. Did I miss anything?

    /me compares with xkcd.com/1987/

    #packaging

  18. #Gentoo should be prepared for testing random #Python packages now.

    In addition to #tox and #nox, we have #flit, #hatch, #pdm, #pixi, #PythonPoetry and #uv. Did I miss anything?

    /me compares with xkcd.com/1987/

    #packaging

  19. Wyszły wyniki ankiety dla opiekunów otwartego oprogramowania #Tidelift.

    Co ciekawe, jest tam cytat z mojej ankiety. Zgadniecie który?

    explore.tidelift.com/2024-surv

    #WolneOprogramowanie #Gentoo

  20. Przypadkowe narzekanie z krainy #Gentoo na dziś:

    1. Testy w #LibArchive zaczęły się sypać (a #BSDCPIO oraz #BSDTar nagle zaczęły śmiecić wyjście), bo #LRZip postanowił zmienić przeznaczenie opcji `-q`. Przedtem wyłączała zupełnie szczegółowe informacje na wyjściu, które LRZip domyślnie rzuca, a teraz trzeba podawać `-Q`, żeby zupełnie wyciszyć.

    github.com/libarchive/libarchi

    2. #Git 2.43.2 zepsuł #PkgCheck, bo `git log` przestał akceptować `--no-find-copies`.

    github.com/pkgcore/pkgcheck/is

  21. Random #Gentoo moaning for today:

    1. #LibArchive started failing its tests (and #BSDCPIO and #BSDTar started being verbose) because #LRZip decided to repurpose the `-q` option. Previously, it silenced all the verbose output it defaults to, now you actually need to pass `-Q` to silence it.

    github.com/libarchive/libarchi

    2. #Git 2.43.2 broke #PkgCheck since `git log` apparently no longer accepts `--no-find-copies`.

    github.com/pkgcore/pkgcheck/is

  22. Decided to switch shells and terminals entirely on #gentoo #linux so here is my new system info! #ksh (KoRN Shell) with #coolretroterm and #i3wm and I also added a cute little cowsay message in the next photo! Let me know what you think and maybe please consider boosting this so others can see my cool new setup!

  23. Seed: the first release (v1.1) of #GenBerry can handle #raspberrypi Zero, ZeroW, 1B, 2B, 3B, 3B+ and 4B in both 64 and 32 bits and install #gentoo onto it or build an image file or a tarball. It also allow you to communicate via usb tethering, serial.
    github.com/dervishe-/GenBerry

  24. Seed: the first release (v1.1) of #GenBerry can handle #raspberrypi Zero, ZeroW, 1B, 2B, 3B, 3B+ and 4B in both 64 and 32 bits and install #gentoo onto it or build an image file or a tarball. It also allow you to communicate via usb tethering, serial.
    github.com/dervishe-/GenBerry

  25. has become my daily driver over the last few months. The biggest advantage of Gentoo isn't the bragging rights (that still belongs to the users 😆 ). It's the fact that it's damn easy to package anything for the system. EClasses handle a lot of corner cases for you. And development tooling is top notch (I will be release one of my own soon).

    For those who are familiar with on other , do you know of anything more convenient?