You say that as if machines don’t get dirty and still require a good amount of hygiene/cleaning to keep up
Don’t get me wrong though because I am also in favor of automation only because I believe it will make some parts of work more bearable, minus the job displacement problem caused by our current economic model…
Some places are like that
If you can avoid running batch files altogether then great, amazing. But there are projects out there using Rust that still depend on running those and that’s the focus of the issue… But yeah I cannot wait until the day I won’t hear about cmd.exe again.
To run a batch file, you must start the command interpreter; set lpApplicationName to cmd.exe and set lpCommandLine to the following arguments: /c plus the name of the batch file.
Because a batch file (.bat or .cmd) is basically a set of cmd.exe instructions I guess that’s why you can’t get away from it.
And as if making sense of this CreateProcessA
system call wasn’t funny enough, you also need to figure out how to safely prepare that lpCommandLine
for it following all of cmd.exe’s weird escaping rules… lol
It’s definitely not Rust’s fault, but it’s kinda Windows’ one and cmd.exe escape logic… It’s really difficult to write logic that will correctly escape any argument given to it, cmd.exe really is a pain to deal with :/
The Rust security team faced a significant challenge when dealing with cmd.exe’s complexity since they couldn’t find a solution that would correctly escape arguments in all cases.
As a result, they had to improve the robustness of the escaping code and modify the Command API. If the Command API cannot safely escape an argument while spawning the process, it returns an InvalidInput error.
“If you implement the escaping yourself or only handle trusted inputs, on Windows you can also use the CommandExt::raw_arg method to bypass the standard library’s escaping logic,” the Rust Security Response WG added.
I get that in situations where they can’t safely escape a parameter they’ll just stop with an error, which sound as sane as one could go with this!
Ever heard of CREDIT? /s
Long COVID Seems to Be a Brain Injury, Scientists Discover
Bad title maybe
It’s important to look at the dockerhub page to see the available tags (I usually prefer smaller images like alpine)
The usage docs for the docker image should be in the dockerhub readme.
But the first result to the query docker redis image
should be the dockerhub entry, followed maybe by blog posts and tutorials.
Otherwise you can query something like redis doc
or redis docker tutorial
.
With such a query the first expected result would be https://hub.docker.com/_/redis, and then blog posts if really that’s what you want.
On my device I cannot find a link to dockerhub at all with the same query.
You may not be a developer, but the first expected result with that query would be a link to https://hub.docker.com/_/redis
Google is really bad at this for some reason and will point you to blogs that as a dev I don’t care in the slightest. Hell, using the same query I cannot find a single link to dockerhub on my device, it’s extremely frustrating
Downvote if you find the post relatable or if you think the opinion is popular, otherwise upvote
I mean some people are benefiting from it