flameeyes, to random
@flameeyes@mastodon.social avatar

For many years I have been one of the prominent experts in . If you think I'd recommend using them for modern software, you're mistaken.

Start with https://flameeyes.blog/2009/05/01/the-long-awaited-build-systems-post-part-1-maybe/?mtm_campaign=social&mtm_kwd=mastodon

kornel, to random
@kornel@mastodon.social avatar

People are afraid of running unaudited curl | sh, but nobody bats an eye on 24707 lines of obfuscated garbage in ./configure.

kornel,
@kornel@mastodon.social avatar

Seriously, in retrospect, itself is a massive supply-chain security risk.

It has normalized shipping and running tens of thousands of lines of arbitrary executable code without any safeguards.

Code that is so mind-numbingly awful that nobody will review it, and written in a language that is full of gotchas that are sneaky eval gadgets.

mgorny, to rust Polish
@mgorny@pol.social avatar

Zdaje się, że już wszyscy i ich babcie używają exploitu w xz/sshd, by szerzyć swoją agendę, więc i ja nie będę gorszy.

  1. to zły system budowania. Skryptu configure są absolutnie nieczytelne, więc nikogo nie powinno dziwić, że nikt nie zauważył złośliwego kodu — wszak nie różni się niczym od całej reszty tego bełkotu.

  2. Statyczna konsolidacja i włączanie zależności są złe. Wiecie, dlaczego tak szybko udało się rozwiązać problem z liblzma? Bo wystarczyło cofnąć systemową bibliotekę do wcześniejszej wersji. Nie trzeba było przeszukiwać, łatać i wydawać na nowo setek projektów. Z i Cargo nie byłoby tak łatwo.

  3. Możecie winić za bycie niedofinansowanym i tym samym otwartym na tego rodzaju nadużycia w kluczowych projektach. Ale tak naprawdę żaden projekt IT nie jest w stanie być odpornym na poczynania złoczyńców o dostatecznych zasobach, a że przydarzyło się to xz, to tylko przypadek. Korpoprojekty też nie są bezpieczne, a tym bardziej własnościowe oprogramowanie z zamkniętym kodem źródłowym.

Tak więc: doceńcie Mesona, doceńcie dynamiczne ładowanie bibliotek, doceńcie dostawę oprogramowania przez dystrybucje, i rzućcie grosza wie… chciałem powiedzieć, devom open source.

mmu_man, to til French
@mmu_man@m.g3l.org avatar

: there's a repo of gitignore template files for many languages / formats, including files, or even Delphi:

https://github.com/github/gitignore

drahflow, to random

Occasionally, I like to remind me of the thought that to make a working M4 threaded nut out of hardened steel would likely have been a masterpiece in medieval times. And I can buy 100 of them for the price of half a bread. What a time to be alive.

daniel_bohrer,
@daniel_bohrer@chaos.social avatar

@drahflow oh god, I read "M4" and it almost triggered my flight response…

zirias, to FreeBSD
@zirias@techhub.social avatar

Today's progress on "userland from source" project: We have build systems! 🥳

Supported now (apart of plain ): GNU (including ), , and !

They're all supported with their original "USES", by some trickery in my new "USES=linuxsrc", fixing up just the parts that are different when building from/for the Linuxulator (like adjusting dependencies and commands to use the -native versions).

Ok, no yet, didn't need it so far 🙈

ArneBab, to node German
@ArneBab@rollenspiel.social avatar

I stopped feeling bad about files (configure.ac Makefile.am m4/*) when I realized how much noise a new maven package throws on your disk.
The main difference is: for / / / / / ... these are autogenerated.

That’s why I started : https://hg.sr.ht/~arnebab/conf — auto-generation for autotools projects with conf new --lang <language>.

It needs more templates … contributions welcome!
(just send me a patch or a link to pull from)

mattst88, to random
@mattst88@fosstodon.org avatar

You know what's a "code smell" I've noticed?

A dirty git status after a build.

Even worse if the build modifies (or deletes!) files tracked by git.

Yes, I saw this today. And man, oh man, is the whole project smelly.

mattst88,
@mattst88@fosstodon.org avatar

You know how some people that know Java don't put it on their résumé because they don't want to work in Java?

For me, that's , ,

PSA: please switch your projects to

mjgardner, (edited ) to programming
@mjgardner@social.sdf.org avatar

This is hilarious. A engineer invented to make command line scripting easier with , because at a certain point scripts get too complicated and you need a Real Language.

https://github.com/google/zx/

This is exactly ’s use case from thirty-six years ago. But the kids want everywhere and would rather it take more work to convert their ascended scripts to a vastly different syntax.

https://github.com/google/zx/issues/581#issuecomment-1516573139

mjgardner,
@mjgardner@social.sdf.org avatar

@grin @sullybiker The main problem with #shell scripts is that they’re glue for other commands that may or may not be installed and may or may not be the same as those used by the author.

It’s why #dehydrated has so much logic detecting the installed flavor of awk, sed, grep, diff, et al. “Portable” shell is like portable #C—riddled with brittle environmental tests (thus begetting things like #GNU #Autotools).

Even #testssl admitted defeat and can run from a #Docker #container now.

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