

I tried similar things on Debian and the usual problem seems to be that session management under Wayland is a mess.


I tried similar things on Debian and the usual problem seems to be that session management under Wayland is a mess.


The only problem is that technical debt in software is not visible.


The best solution could be to install Windows in a VM. Dual booting can be very annoying if you need to access the same files from both systems. Especially since Windows does not power down, but hibernates by default, and it is not safe to access file systems loaded into a system that is not properly powered down - this will lead to file system corruption.


That is simply not true.
Yeah that is correct.
I was thinking in Safe Rust alone, and actually forgot about Unsafe Rust.
Because I have so far almost never used Unsafe Rust, except for C library bindings.


I don’t know how those bugs get there in the first place.
Easy to explain.
Visualizing program code as cables, this is how a shiny new program would look:

And this how, for example in a commercial environment, or if the programmers are not absolute masters, such a program will look after 15 years of bug fixing, feature requests, urgent changes, deadlines, and unfinished restructurings:

The thing is that especially C code contains tons of implicit invariants which you simply cannot maintain in such code.
And don’t forgot that the picture above shows perhaps 500 cables, but a codebase can easily contain 50000 lines of code…


So it was a linker issue?
No, that would have resulted in a linker error, not random undefined behaviour
But industry is still working with a fifty year old language written for systems where 32 kilobytes were a lot of memory.
Especially for embedded and DSP stuff there are so many architectures that aren’t even supported by the Rust compiler. And on those systems 32 kiB of RAM is sometimes a lot of memory.
These niches still exist but they get rapidly smaller every year. Because:
Plus:


if you’re writing in raw C++ you’re doing it wrong.
So, C++ is the new Python?


Newsflash: all the things do not need to be multithreaded, there’s an awful lot of code that’s just peachy in a single threaded implementation, thank you very much, and multithreading it is just inviting trouble for no significant gains.
I am waiting for your single-threaded fork of the Linux kernel.


What part of Rust is fun?
C is fun to me because the syntax is easy to understand and straight to the point.
You probably had never the pleasure to search for bugs caused by C Undefined Behaviour in multithreaded code.
When I was writing my diploma thesis, I was writing multi-threaded code for an embedded DSP system. Results were wrong all the time. I tracked it down to atan2() giving wrong results. I searched for about six weeks how to fix that and it disappeared when I changed the position of the program’s data segment.
(If the concept of Undefined Behaviour is new to you, I can recommend the web pages of Jens Regehr).
The above debugging experience was 25 years ago. We have better languages now. Rust has no Undefined Behaviour. That means you can track any bug (except compiler bugs) deterministically down to where the actual logic of the code, and the model of it which was in your head depart. This is great.
Rust is fun because you can compile a complex program and it runs.
But industry is still working with a fifty year old language written for systems where 32 kilobytes were a lot of memory. At work, I am still searching for bugs in multi-threaded C code with manual memory management (the previous developer didn’t think this needs locks), and I have to explain to the CTO that no, wo won’t have a release this fall, while the company literally drowns in technical debt.


Attacking the messenger because you don’t have any good argument against the message?
This is the Linux kernel project, one of the technically most conservative projects in the FLOSS community.


Greg is evil, don’t mind MIT code in the kernel and it was the main proponent of AI in the maintenance process.
That’s a mouthful, can you expand with facts?
don’t mind MIT code in the kernel
Last time I checked, the kernel used GPLv2? Could it be you misunderstand something about cross-using code with different licenses ?


I think at the lowest level, it is very similar.
But with a bit more abstraction, Rust is somewhat less verbose, especially when the same efficiency is required. Thinking im iterators / loops or generics, or enumerations / sum types. Also, the module system, build system, integrated unit tests, and compiler messages are huge gains for productivity.


No, that is settled and it is also a successful, gradual evolution. It just makes sense to start using Rust for drivers and at the periphery of the kernel, and use it in core subsystems perhaps later.
Any successful change in such a large project will be evolutionary. And also, for gaining security benefits, it makes sense to use Rust in new drivers, new modules, perhaps network stacks, and later file systems - but these roll much more slowly.


There is nothing wrong with that it’s just a little overused
That’s one of the problems of companies devaluing and abusing language so much that words are in danger to lose any meaning. It is a difference however whether Torvalds uses such a word, or a corporation advertising bullshit. It is really clear that corporations want to replace software developers.


e> Linux users: switch from Windows to Linux to avoid ai slop
Linus, an out of touch idiot: Actually vibe coded slop in the OS is good!
I don’t like LLMs for a number of reasons - the theft, the environmental impact, the deceptive marketing - and also because I am really pissed about the abysmal quality which my AI-pilled coworker produces.
But in difference to Windows and most commercial software, the Linux kernel project has high quality standards, and I have some faith they’ll keep them.
Also, the cited mail discussion is not about AI generating unreviewed code - which I still see as very questionable - but about checking code for bugs and deficiencies. Given the amount of CVEs found by LLMs, I see no way around that for important infrastrcture projects like the kernel.
Many people are not amused by the hype - me neither. But AI could unexpectedly help open source in a few ways:


Kroah‑Hartman consistently framed language choices in terms of reviewer workload rather than developer convenience. Linux has “over 5,000 developers” but “about 150 core maintainers that review the majority of the code,” a skew that drives his priorities. “We optimize for reviewers. We don’t optimize for developers because we have a lot of developers,” he said, suggesting Rust’s ability to enforce locking and lifetime rules at build time means reviewers can spend their limited bandwidth on logic rather than bookkeeping: “If it builds as a reviewer, I know it’s OK. I can look at the logic.”
That’s a great point. Living open source code must be readable and maintainable. Rust is an excellent match for that.
Honestly, those who reinstall constantly feel like people that don’t take care of their stuff as they should. There’s no need to reinstall.
I’d take that with a pinch of salt. Over years, systems can get quite crufty and by my own experience, things like GNOME can break from upgrades even under Debian. A reinstall can tidy things up.


KDE has a history of doing that. Plasma widgets are a gaping security hole.
OMG, did they copy Microsoft’s “Active Desktop”? Sounds like this exactly.
Two ways:
in bash, using the extglob option:
(If you want to type it in a single line, you need to add semicolons as separators.)
The ‘"’ are only needed if file names contain whitespaces.
Using find:
find . -name ‘Sevilla.*big.jpg’ > t
now, you edit the file named “t” with Emacs or vim so that you duplicate the file names, modify them as you want, and copy them using the copy-rectangle command right to the collumn with the original names. (Vim also offers this functionality, it is super useful to learn!) Delete any names of files you don’t want to change. save the result to t.
Then, in bash:
Alternatively, you could also insert the mv command as a first collumn in t, save t and do:
This variant wouldn’t work with spaces in filenames.
Use the mmv command