@sandro@c3d2.social avatar

sandro

@sandro@c3d2.social

Some lefti :AFD:, NixOS :nixos:, Linux :tux:, Chaos :fairydust:

Don't be afraid of colorful flags :progress_pride: ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿณ๏ธโ€โšง๏ธ๐Ÿšฉ๐Ÿด

This profile is from a federated server and may be incomplete. Browse more on the original instance.

sandro, to random
@sandro@c3d2.social avatar

The entire nixfmt project recently has been a big disappointment for me. nixpkgs-fmt would have been a good starting point, having a balance between enforcing rules and allowing some freedom. While nixfmt initially started with outdated ideas like 80 line length and ill fitted tries to enforce that. Adding new lines before long strings like URLs, sometimes nudging people to split them with a + which makes greping for them unnecessarily hard. They didged that which is good.

sandro,
@sandro@c3d2.social avatar

Then that people are sprinting ahead and reformatting single packages in otherwise straight forward PRs is not improving the situation in any way and is just creating lots of noise. Most often those commits are also not added to the ignore refs file and clutter git blame.

Then also issues like mentioned above might still get fixed in the future which then could result in yet another round of formatting changes because of the now strictness of nixfmt.

sandro,
@sandro@c3d2.social avatar

Does it matter in the end? Probably not that much but it will create a lot of noise on the way and will make my live of cherry-picking specific changes from master to the stable branch probably a lot more miserable and with lots more merge conflicts to solve.

Usually people are very focused to reduce churn but looking at the formatting topic some people seem to completely thrown that mindset overboard.

sandro,
@sandro@c3d2.social avatar

But at the same time adding rules, especially around lib.optional*, which often results in ugly formatted code that has strange line breaks and the general placement of the entire structure feels wrong.

Also that just appending something to a list like structure can result in the reformat of the entire thing which can make a simple one line change be blown up in the diff to many more lines.
At least an issue for that exists after arguing with them for a bit.

hexa, to NixOS
@hexa@chaos.social avatar

#NixOS 24.05 branch-off happened. Snuck in a small reformat of the python packages at the last minute.

https://github.com/NixOS/nixpkgs/pull/313628

Currently, evaluations are running, nixos-24.05-small has already completed eval and is building.

https://hydra.nixos.org/jobset/nixos/release-24.05-small

It will be mostly cached from nixos-unstable-small anyway, so its channel should be available within the next two hours.

sandro,
@sandro@c3d2.social avatar

@hexa Which also created hundreds of merge conflicts and lots of extra work for contributors... ๐Ÿ˜ฎโ€๐Ÿ’จ

sandro,
@sandro@c3d2.social avatar

@hexa We should have waited another 6 months. There are still glaring issues around lib.optional/s wild formatting.

pid_eins, to random
@pid_eins@mastodon.social avatar
sandro,
@sandro@c3d2.social avatar

@pid_eins I always read not breaking userspace as in compiled programs don't suddenly crash because of eg. removed syscalls.

doomy, to NixOS
@doomy@mastodon.social avatar

anyone have a good resource for converting a binary to a service? I think i got pretty far with @readeck https://readeck.org/en/docs/deploy but i have no clue how to handle the /etc/ files it claims it needs and keep getting vague 203 errors.

sandro,
@sandro@c3d2.social avatar

@doomy @readeck I usually find a similar service and copy paste from that.

You place files in etc with environment.etc and then you bailsically construct the systemd service and maybe enable a few other bits it needs.

der_raDDler, to random German
@der_raDDler@dresden.network avatar

Den Rรผckbau des Zebrastreifens "begrรผndet die Stadt MeiรŸen mit einer Entscheidung der Unfallkommission, die dort eine Hรคufung von Kollisionen festgestellt hatte. Ausgelรถst wurden diese vielfach durch Radfahrer, die stadteinwรคrts fahrend den รœberweg rechtswidrig benutzen."

Warum nutzen so viele pรถhse Radfahrende den Zebrastreifen wohl rechtswidrig? ๐Ÿค”

https://www.saechsische.de/meissen/strassenbauamt-lenkt-ein-zebrastreifen-in-meissen-wurde-nun-doch-weggefraest-6000255.html

sandro,
@sandro@c3d2.social avatar

@der_raDDler
Bestimmt weil die Radfahrer der Stadt MeiรŸen eins auswischen wollten. Gibt keine andere logische und sonnige Erklรคrung.

18+ leah, to random German
@leah@blahaj.social avatar

Pest
Cholera
Matrix Threads

sandro,
@sandro@c3d2.social avatar

@leah Es gibt jetzt endlich einen รœbersichtstab fรผr Threads, aber angeblich hab ich noch keine Threads und konnte bis jetzt nur die Fehlermeldung testen.

secana, to KDE
@secana@mastodon.social avatar

Wow, the upgrade from #plasma #kde 5 to 6 on #nixos was smooth. Changed one line in the config and it works perfectly fine. Great experience.

sandro,
@sandro@c3d2.social avatar

@secana It works very well unless you have custom theming which all falls apart because of the major qt upgrade.

maralorn, to random
@maralorn@chaos.social avatar

I am encountering too many bugs. I should stop testing my program โ€ฆ

sandro,
@sandro@c3d2.social avatar

@maralorn Me using any website or program: here is a bug, there is a big, bugs everywhere and I am not even trying to break stuff.

Maybe I should do professional QA testing

clerie, to random German
@clerie@fem.social avatar
sandro,
@sandro@c3d2.social avatar

@clerie @leona Doing pretty much the same. I have basically a 15 line shell script which does eval, copies the drv over and then builds it local or remote abd does the activation.

scy, to random German
@scy@chaos.social avatar

Hรคtte jetzt nicht erwartet, dass die Frage "was ist der Default-Browser" unter Linux jetzt erst mal mehrere tausend Zeilen Shellscripte offenbart, die .desktop-Files auswerten, aber andererseits bin ich auch nicht unbedingt besonders รผberrascht.

sandro,
@sandro@c3d2.social avatar

@scy @schmittlauch There is only one solution to this: Airefox

jwildeboer, (edited ) to opensource
@jwildeboer@social.wildeboer.net avatar

You know why I like @forgejo so much? I just did a "fly-by" patch on the documentation because I was annoyed with how complicated that one page was written. So I forked the repo, cleaned up that page and submitted a Pull Request. And guess what? No discussions, no back and forth, it just got merged! Now THAT is how you attract new contributors to your Open Source project. Thank you! My first contribution!

https://codeberg.org/forgejo/docs/commit/784e395e977c5a3d0ca6892501f7216939f3b955

#Forgejo #OpenSource #MergeFast #FirstContribution #FeelsGood

sandro,
@sandro@c3d2.social avatar

@jwildeboer I mean, it also just straight up copied from GitHub/GitLab

sandro,
@sandro@c3d2.social avatar

@doomsdayrs @jwildeboer @forgejo Because people have different ideas about how things should look and if you want to have somewhat coherent code/docs, not every other person can write a different style, tone and structure.

sandro,
@sandro@c3d2.social avatar

@fink @jwildeboer You shouldn't really give to much credit for good ideas if they are all straight up copied from somewhere else

chrism, to NixOS
@chrism@chattingdarkly.org avatar
sandro,
@sandro@c3d2.social avatar

@yisraeldov @chrism NixOS is not deeply embedded into GitHub. Many CI checks are just executing shell code in the end which can be early run locally and be adopted and everything specific to GitHub would need to find a replacement, like the labeler.

The main problem is scalability. Running your own infrastructure on that level of size, complexity and availability is a major undertaking and eg. Gitea couldn't even handle the amount of forks.

squirrelroad, to NixOS
@squirrelroad@mas.to avatar

why is there https://lix.systems and https://aux.computer ?
Why not just merge them together ? #nix #nixos

sandro,
@sandro@c3d2.social avatar

@squirrelroad ๐Ÿคท
Also aux seems to be just a community which primary goal is rebranding?

zperk13, to NixOS
@zperk13@mastodon.sdf.org avatar

Trying out #NixOS

I am getting very annoyed with the way it just imports everything

There's a reason we don't do "using namespace" or "use library::*" or "from library import *".

Ok I see a function here. Is it built in or imported? I have no idea.

Or if you somehow know it's not builtin, ok, but which of the 20 imported things is it from?

sandro,
@sandro@c3d2.social avatar

@zperk13 It's not weird, it's a run of the mill functional language and for most beginner things it doesn't even matter that it is functional.

The file doesn't know anything. Nix looks everything up through channels, flakes and then you have a high level wrapper which pulls everything together.

lib comes all from the lib directory in nixpkgs.

sandro,
@sandro@c3d2.social avatar

@zperk13 Even if it would have a FHS layout, things wouldn't always work out of the box and if you really need one, it can be emulated with a fhs env.

sandro,
@sandro@c3d2.social avatar

@zperk13 It doesn't. There a few keywords and everything else is either in builtins or in lib. lib is split into multiple sections but everything is also directly available under lib. and mostly those sections are not used and implementation details.

That people overuse with lib is slowly worked on to be removed.

xenya52, to NixOS German
@xenya52@chaos.social avatar

Fรผr mich persรถnlich ist schwer verstรคndlichโ€ฆ

sandro,
@sandro@c3d2.social avatar

@xenya52 Was genau?

Hรคufig ist man mit fd und rg gut beraten und findet sehr schnell was man sucht, weil es eben nicht รผber tausende kleine repos verteilt ist und man wissen muss in welchem man jetzt genau suchen muss.

jbzfn, to NixOS
@jbzfn@mastodon.social avatar

:owi: Lix, a community run fork of CppNix and an implementation of the Nix language
โžฅ @lix_project

ใ€Œ Lix is developed by a diverse group of users โ€“ and accordingly is committed to providing a space thatโ€™s safe for users and developers typically underrepresented in technical projects. We take moderation seriously, and are committed to preventing bad actors from driving out marginalized groups ใ€

https://lix.systems/

#lix #nix #nixos #opensource

sandro,
@sandro@c3d2.social avatar

@jbzfn it's a fork, not an implementation. Tvix is an implementation.

mir, to random
sandro,
@sandro@c3d2.social avatar

@mir that's guix

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