![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://programming.dev/pictrs/image/8140dda6-9512-4297-ac17-d303638c90a6.png)
Unless you’re running Debian testing you’re safe. If ssh isn’t open to the internet you’re safe. Just make sure everything is up-to-date.
Unless you’re running Debian testing you’re safe. If ssh isn’t open to the internet you’re safe. Just make sure everything is up-to-date.
It depends on volume. When you build 100 parts not really. But when you build millions it becomes worth it.
In automotive they fight over every cent.
Hi, I’ve started reading you blog and noticed your mention of activity pub for gitLab. Forgejo is working on exactly that. It’s a fork of gitea.
My guess is that it has that default because they use Rust. Everyone uses rustfmt so everything looks the same and if you always format before a commit you never get massive diffs.
Most rust projects I’ve seen even have a ci job to check the formatting with rustfmt.
What happened there?
Where I work there is a hardware test, where the voltage needs to be changed on the power supply like 8 times. Currently it’s done by hand.
I gave that to a student with the description that I want that automated, let production show you how the test is done. If you have other ideas how to improve it, just do it.
This was 8 working days ago for the student. She still hasn’t started, because she wants an exact description what needs to be done. If you want me to write down how exactly everything needs to be done, I might just write it myself in python and be done with it.
Cargo.rs also has no option to unpublish a package. There is however the option to yank a package which disables the inclusion in new projects by the automated dependency resolution. If the version is entered manually it will still be used.
Codeberg is the hosted forgejo instance from codeberg E.V. Codeberg ev also forked gitea 2022 and spearheads the development of forgejo
So you are saying using python to write the server for a federated multimedia messenger is a bad idea.
Let me tell you, I’m shocked😲
Maybe because of the privilege escalation that was just found in glibc?
It all depends on the library you use. Rust has you covered with toml_edit. It is what is used for all the cargo commands editing the Cargo.toml file.
One of the bullet points for C++ is the increase of the version number in the version header file. Wow much feature.
Other languages: if a is null return b.
Rust: here is an array of strings, we are going to parse the array to numbers. If that conversion fails we handle the exception and return the minimum integer value. We then save the result in a new vector. We also print it.
I like rust, but I hate the example too. It’s needlessly complex. Should have just been a.unwrap_or(b).
It isn’t if it was intentional. It was intentional. Otherwise the exploit chain wouldn’t be so convoluted.