• 2 Posts
  • 22 Comments
Joined 2 years ago
cake
Cake day: July 8th, 2023

help-circle





  • You and i read different things.

    Apparently we did.

    I hated how he worded them, but his arguments at greppable and understandable are valid arguments that go beyond rust and if he can read it or not or refuses to.

    I’m failing to see how Rust code is not greppable unless you don’t speak Rust.

    Mixing languages in a part of a project brings complexity and is often a huge ass nono because it makes things unreadable and hard to manage on a large scale.

    An argument which I would acknowledge, but if the decision to do this has been made by the group it still is weird to see it blocked by an individual.

    He also argues that a c interface exists to connect 2 parts of a system. The person that changes the interface should not have to alter the users of that interface, […] So if he changes the interface, the rust team will need to fix it, specially since they are the minority.

    Nobody asked Hellwig to do this, in fact Krummrich said several times they would maintain the interface consuming the C code themselves. They just want one common interface for all Rust drivers, instead of replicating the same code in each driver. Which Hellwig never gives a substantial reply to.

    That also doesnt mean he can change it in whatever way without worry, it is an interface change, that needs discussions and approvals ahead of time ofc.

    Again not how I’m reading that thread. As Krummrich put it:

    Surely you can expect maintainers of the Rust abstraction to help with integrating API changes – this isn’t different compared to driver / component maintainers helping with integrating fundamental API changes for their affected driver / component, like you’ve mentioned videobuf2-dma stuff.


  • How do you figure?

    The only two “technical” arguments I could see were firstly that code should

    [remain] greppable and maintainable

    which unless I’m missing something boils down to “I don’t speak Rust”, and secondly that

    The only reason Linux managed to survive so long is by not having internal boundaries, and adding another language complely breaks this

    which unless I’m missing something boils down to “I don’t speak Rust”, because ain’t nobody trying to add any other languages to the Linux code base.

    Surely this can’t be the “decent technical reasoning” you are referring to? I have to admit I don’t follow kernel development that closely, but I was under the impression that integrating Rust into the code base was a long discussed initiative having the “official” blessing of the higher ups among the maintainers by now, so it seems odd to see it opposed in such harsh terms by a subsystem maintainer here:

    I absolutely support using Rust in new codebase, but I do not at all in Linux.



  • Oh it wasn’t that bad. You just had to understand rules, models, layouts, variants, and options. Oh and then of course key codes, syms, maps, states, and modifiers. Oh and then…

    Kidding aside though, in this particular case it would have been relatively simple:

    If you wanted to enable the Ctrl+Alt+Backspace sequence to kill the X server by default, you could create a configuration snippet /etc/X11/xorg.conf.d/90-zap.conf containing:

    Section "InputClass"
        Identifier "keyboard defaults"
        MatchIsKeyboard "on"
    
        Option "XKbOptions" "terminate:ctrl_alt_bksp"
    EndSection
    

    This would be equivalent to running the shell command:

    setxkbmap -option "terminate:ctrl_alt_bksp"




  • can’t see how this can possibly be a good thing, you know it will mean funding with conditions.

    Well, the things they are funding will get funded? How is that a bad thing?!

    The conditions range from very broad, like “fix bugs” (curl), over somewhat specific like “improve cross-platform compatibility and the Linux RNG” (Wireguard), to very specific like “create a test-suite and drive development on the Fediverse account migration functionality” (ActivityPub).

    You can see more for yourself at https://www.sovereign.tech/tech

    All of these seem to be rather tame conditions that are just there to ensure the funds get used in the way they were intended to be used. And I don’t really see how that gives the STF any sort of direct control over these projects, while it gives those projects resources to achieve more than they might have otherwise. There are no long-term funding models that would enable implicit control over these projects.


  • Creating bigger and stronger governments will only lead to the protection of an elite that is way too irresponsible with their powers.

    Well I clearly see the danger. The many against the few is a problem as old as society. And where there is power, there will be abuse. And every system we have, like separation of powers and checks and balances, is flawed. But the cold hard truth is that we have run out of time and I don’t really see any other viable solutions. If somebody has one please let me know, that’s why I made this post.

    It’s genuinely very hard to find someone that says: “I don’t care about microplastics, “I have no issue with air pollutants causing cancer” and “I don’t care we are trashing the ocean”.

    I know what you mean, most people would agree on this. But sadly it is very easy to find the people who would say so. Cui bono? Who is benefiting? So we need to regulate them. And then of course there are people too consumed with simply subsistence to care about any of this.

    I don’t know if governments and corporations will solve the climate crisis, but goddamn I’ll do my part and help businesses and others do their part too.

    On this we agree.




  • android auto

    First I heard of this, but since it seems to be just some software that runs on the hardware of car manufacturers it seems rather unlikely. But very theoretically possible, if the car manufacturer was using default process scheduling in a CPU constrained machine and now switches to real-time scheduling in an update. But that was possible for years before this news, the code has just been mainlined to the default kernel now. If the car manufacturer cared about that they would probably have done it already with a patched kernel.