alienscience

joined 2 years ago
[–] alienscience@programming.dev 6 points 2 years ago (1 children)

I found the most interesting bit was this at the end:

  • You can now specify a new RestartPolicy: Always configuration for an init container.
  • If you add that new config, you now have a sidecar container.
  • A sidecar container starts before all ordinary containers (because it's an init container), and—this is the big part—it now terminates after all the ordinary containers all terminate.
  • If for some reason your sidecar container dies while ordinary containers are running, it will be restarted automatically. (This is the "Always" bit.)
  • Finally, unlike with normal init containers that each wait in turn to complete before the next starts, the other init containers do not wait for sidecar containers to complete before starting. Which is good, because they're not going to complete until much later.
[–] alienscience@programming.dev 1 points 2 years ago* (last edited 2 years ago)

I don't know if it is ideal for a research paper, but we have been using semgrep with Rust. Semgrep allows you to write your own linter rules to enforce code standards. I have found some basic rules on the internet (e.g no unwrap()) but we have mostly had to write our own rules because there are only a few for Rust.

I think it would be a helpful project to write a Semgrep rule set that Rust developers could use. Maybe the "research" part would be looking at rulesets for other languages.

[–] alienscience@programming.dev 1 points 2 years ago

I don't think the survey was advertised? For me it popped up when I was writing something in the Rust Playground.

view more: ‹ prev next ›