Gentoo Linux

kubikpixel,
@kubikpixel@chaos.social avatar

Gentoo and NetBSD ban 'AI' code, but Debian doesn't – yet

The problem isn't just that LLM-bot generated code is bad – it's where it came from.

🐧 https://www.theregister.com/2024/05/18/distros_ai_code/


kubikpixel,
@kubikpixel@chaos.social avatar

🧵 …although I tend to favour OpenBSD and Linux for personal reasons, I find this decision OK. Certain open source projects lack clear, reasoned positions and decisions.

»NetBSD’s New Policy – No Place for AI-Created Code:
NetBSD bans AI-generated code to preserve clear copyright and meet licensing goals.«

🚩 https://linuxiac.com/netbsd-new-policy-prohibits-usage-of-ai-code/


#netbsd #bsd #ai #code #copyright #os #license #policy #AIgenerated #oss #linux #openbsd #OpenSourceProjekt

mgorny, Polish
@mgorny@pol.social avatar

Technicznie rzecz biorąc, sporą część pracy związaniem z portowaniem paczek do Pythona 3.13 można zautomatyzować. W gruncie rzeczy, mamy już większość potrzebnych elementów — narzędzia, by znaleźć potencjalne paczki, zaktualizować PYTHON_COMPAT, uruchomić testy. Dlaczego więc robię to na wpół ręcznie?

Po pierwsze, daje mi to okazję, by zajrzeć w ebuildy. Mogę poszukać starych problemów, poprawić kod, czasem odkryć paczki, które powinniśmy byli usunąć dawno temu. Po drugie, patrząc na logi czasem mogę zauważyć, że testy gdzieś nie działają poprawnie (a w szczególności przypadek, że paczka nie zwraca błędu, kiedy testy nie przechodzą).

No i koniec końców, daje mi jakieś poczucie wartości, kiedy przez tę przeklętą gorączkę nie mogę się na niczym skupić.

timorl,
@timorl@social.wuatek.is avatar

@mgorny

No i koniec końców, daje mi jakieś poczucie wartości, kiedy przez tę przeklętą gorączkę nie mogę się na niczym skupić.

Ja też jakl jestem chore to potrafię wykonywać ino podstawowe funkcje życiowe takie jak programowanie. :blobfoxcomfycomputer:

librecast,
@librecast@chaos.social avatar

We love encouraging others to try out and package our tools.

We'd love for librecast to be in so we've submitted a request for the e-builds for liblibrecast, lcrq and lcsync to be packaged for gentoo.

https://bugs.gentoo.org/931672

It's now in the list of packages that would like a maintainer.

etchedpixels,
@etchedpixels@mastodon.social avatar

Nice to see and catching up with which has had a

"Microsoft co-pilot laundered code is not accepted in this project"

for a long time. Possibly I need to generalize the rule these days.

mgorny, Polish
@mgorny@pol.social avatar

Wiemy już, że wielu autorów oprogramowania jest wrogo nastawionych do testowania przez dystrybucje.

Co jednak powiecie na to, by zaszyfrować testy tak, by tylko CI było w stanie je uruchomić?

https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/pefile/pefile-2023.2.7.ebuild?id=ec0d293b15ba0514e9349fdbf9fed7131a72c226#n24
https://github.com/erocarrera/pefile/blob/master/tests/test_data.tar.bz2.enc

timorl,
@timorl@social.wuatek.is avatar

@mgorny Wut. Ależ to jest dziwne, ich repo z testami brzmi jakby twierdziło że to ze względu na to że nie wiedzą skąd się ich dane do testów oryginalnie wzięły (chyba?) i to wygląda jakby chcieli w ten sposób obejść ich licencjonowanie? Bardzo konfundujące. :blobfoxconfused:

mgorny,
@mgorny@pol.social avatar

@timorl, owszem, dziwne. Ja to czytam tak, że oryginalnie odziedziczyli te zaszyfrowane testy, a teraz starają się zrobić nowe, publiczne, ale też mają wątpliwą licencję.

timorl,
@timorl@social.wuatek.is avatar

Soo… say I have a couple ebuilds that are probably not great quality (approximately first ones I wrote), but work. How should I go about making these useful for other people? Perhaps even including them in the main gentoo repo? This is mostly about Request Tracker, which already is in the repo, albeit in an old version (and with a wrong makefile patch), plus some of it’s dependencies (some of which I updated, some that never were in the main repo).

ScottE,
@ScottE@mastodon.social avatar

@timorl
I think the Guru repo might be a better place.

timorl,
@timorl@social.wuatek.is avatar

@ScottE Unfortunetely, rule 11:

The primary purpose of GURU is to maintain packages not present in the Gentoo repository. Forking (overriding) actively maintained Gentoo packages into GURU is prohibited. If the package is moved to Gentoo, it should be removed from GURU.

And www-apps/rt is already in the main gentoo repo, so I’m not allowed to put that there. :blobfoxcry2:

Ryan,
@Ryan@mastodon.mackners.com avatar

Well life wasn't hard enough so I decided to daily drive with and . Let's see how it goes over the next two weeks

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar

@Ryan for running a dekstop system OpenRC requires a bit more configuration than a systemd install, but it's usable and shouldn't pose too many issues

oddly,
@oddly@toot.re avatar

question; what is the best way to share a small improvement on an ebuild in the Guru repo? Asking to become a contributor sounds like overkill, with getting PGP working and all.

Would it be best to just create my own repo and add it to the list so it can be discovered?

@gentoo

(The improvement is making iio-sensor-proxy work on openRC by implementing a fix I found on the forums. Not that impressive, though now my Chromebook runs perfectly :))

oddly,
@oddly@toot.re avatar

@ferki thanks! I'm going to tinker with this over the weekend.

ferki,
@ferki@fosstodon.org avatar

@oddly Sounds great!

Thinking more about it, bugzilla may work a lot better for sending patches because:

  • the gentoo/guru repo on GitHub is only a mirror of the real repo, so merging pull requests there won't work directly
  • even if that would work, GURU maintainers in general don't have permissions to merge stuff inside the gentoo organization on GitHub

At the same time, bugzilla tickets are assigned directly to the maintainer of the ebuild in question.

ferki,
@ferki@fosstodon.org avatar

I'm going to host an online workshop for the Gentoo e.V. on 2024-06-15 about how to "Host Gentoo dependency tarballs as GitHub releases".

I'll show how to use GitHub for dependency tarballs as an external , such as a proxied maintainer, a GURU committer, or an overlay .

I use this approach to package software, and it can be applied to other similar situations, or even automated through local scripts or GitHub Actions.

https://gentoo-ev.org/news/online-workshops-2024/

ferki,
@ferki@fosstodon.org avatar

If you are impatient to learn about the approach, I blogged about it earlier at https://blog.ferki.it/2023/04/24/host-gentoo-dependency-tarballs-as-github-releases/

linuxuserspace,
@linuxuserspace@mastodon.social avatar

We're FINALLY doin it again. Livestreamin' that is.

Come join us and laugh at how badly the journey will go. And while we're waiting for compiles, we'll be on the other side of the spectrum with composables? immutables? image based? whaaaa?


https://www.twitch.tv/linuxuserspace

TeamLinux01,
@TeamLinux01@mastodon.social avatar

@linuxuserspace @jorge I am very happy to have been able to make it and talk with everyone. Thank you!

peppe,
@peppe@fosstodon.org avatar

The Gentoo wiki is an excellent source of information, as is the handbook. It's almost not for these times anymore, because you have to read carefully and not just skim the headlines. The most valuable information is usually 2 paragraphs down from that headline. But it's there, trust me. How else would I've learned about the gentoo-pipewire-launcher script ? 😎

withoutclass,
@withoutclass@mastodon.sdf.org avatar

@peppe I burn myself regularly due to predisposition to not read everything completely 😁

governa,
@governa@fosstodon.org avatar

Says NO to : Bans AI-Generated Code Submissions :gentoo:

https://news.itsfoss.com/gentoo-linux-bans-ai-code/

nikatjef,
@nikatjef@mastodon.acm.org avatar

@governa
Will be interesting to watch how this plays out. Not many people are doing it yet, but I can see a lot of developers, in the future, using LLMs / AI to learn to program. Never actually using the code provided bu the LLM, but learning from it and writing their own based on their understanding of it.

Also understand that the bulk of Gentoo's code base is direct upstream project repositories... If the upstream allows direct LLM code, will Gentoo drop that package?

governa,
@governa@fosstodon.org avatar

@nikatjef all great points

joostruis,
@joostruis@allthingstech.social avatar

Trying to build against stable tree. OMG.

soulsource,
@soulsource@mastodon.gamedev.place avatar

WTF, ?

https://gitweb.gentoo.org/repo/gentoo.git/commit/profiles?id=bbe2b57efbc894c3a06c283927ae245d0d1b6454

A bit late to change this now, after the new profiles were declared stable, don't you think?

gabrielesvelto,
@gabrielesvelto@fosstodon.org avatar
mgorny, Polish
@mgorny@pol.social avatar

Jeszcze jeden post w temacie xz/sshd, a także wcześniejszej sprzedaży "Simple Mobile Tools".

Dawno temu, nauczono mnie ważnej zasady bezpieczeństwa w IT: kiedy grożą ci przemocą, ulegnij. Życie i zdrowie twoje i twojej rodziny jest ważniejsze niż jakikolwiek projekt wolnego oprogramowania, nad którym pracujesz. Wielu ludzi będzie cię obwiniać, ale ci naprawdę ważni zrozumieją.

Ale co, jeśli przed twoim nosem wisi marchewka, a nie kij? Co, jeśli ktoś oferuje ci pieniądze w zamian za "zdradę"? Powinieneś się opierać czy ulec?

Lecz czy nie powinieneś spodziewać się kija na drugim końcu? Czy nie uderzy cię wówczas, kiedy odrzucisz marchewkę? Wszak czy pieniądze nie są po prostu "cywilizowanym" sposobem umywania rąk od implikowanej groźby przemocy?

A co, jeżeli naprawdę potrzebujesz tych pieniędzy? Jeżeli z trudem wiążesz koniec z końcem, a odrzucenie marchewki jest kijem samo w sobie?

Cóż, nie sugeruję, że w spotka mnie taka sytuacja (sytuacja łapówki; brak dochodu znam aż za dobrze), ale naprawdę nie wiedziałbym jak postąpić. I jestem w stanie zrozumieć każdego, kto przyjąłby te pieniądze.

A morał z tego taki: dopóki ludzie będą wykorzystywać twórców wolnego oprogramowania jako darmową siłę roboczą, dopóty nie będą mieli prawa się dziwić, że istotne dla nich projekty są sprzedawane albo niszczone od środka.

mgorny,
@mgorny@pol.social avatar

@piotrsikora, gdybym miał zdrowie do biurokracji, to pewnie łatwiej byłoby mi znaleźć sponsoring w jakimś korpo.

piotrsikora,
@piotrsikora@pol.social avatar

@mgorny my aktualnie będziemy sporo robili w tej kwestii i właśnie zaczynamy. W sensie nie w sponsoringu od korpo tylko pozyskiwaniu grantów (Polskich, UE, ale też światowych). Więc jakbyś miał ochotę brać w czymś udział to daj znać.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • gentoo
  • GTA5RPClips
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • provamag3
  • lostlight
  • All magazines