Skip to content

Add managing your environment C&C slides#418

Merged
yiwen-h merged 4 commits intomainfrom
232_managing-your-environment
Mar 12, 2026
Merged

Add managing your environment C&C slides#418
yiwen-h merged 4 commits intomainfrom
232_managing-your-environment

Conversation

@yiwen-h
Copy link
Member

@yiwen-h yiwen-h commented Mar 11, 2026

Slides for #232

@yiwen-h yiwen-h requested a review from matt-dray March 11, 2026 09:11
@yiwen-h yiwen-h self-assigned this Mar 11, 2026
@github-actions
Copy link

github-actions bot commented Mar 11, 2026

PR Preview Action v1.4.8
Preview removed because the pull request was closed.
2026-03-12 12:11 UTC

Copy link
Contributor

@matt-dray matt-dray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels a bit obama-putting-medal-on-obama.jpeg, but the deploy preview looks right to me. May want second pair of eyes from a non-author in case we missed anything obvious.

Copy link
Contributor

@francisbarton francisbarton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't tried rendering the qmd but just reading the source it all looks good and appropriate! Oh, and bonus cat content too 😻. Just a tiny comment re 'Python'.

Explains why it matters, pitched at a good level, and not too much content so there is time for explaining things naturally or in Q&A not just rushing thru slide content 👍🏻👍🏻👍🏻🫱🏼‍🫲🏼

Oh yeah I don't need to render the qmd myself it's already deployed from the branch!

Copy link
Member

@tomjemmett tomjemmett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

slight pedantic points about docker, but happy to leave the slides as they are if the points are covered in the talk

::: {.column width="50%"}

- [Docker](https://www.docker.com/) 🐳 / [nix](https://nixos.org/) ([{rix}](https://docs.ropensci.org/rix/) for R)
- Recreates the WHOLE MACHINE, not just the environment!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docker doesn't recreate the machine, what it is doing is locking down system dependencies along with the software dependencies


- [Docker](https://www.docker.com/) 🐳 / [nix](https://nixos.org/) ([{rix}](https://docs.ropensci.org/rix/) for R)
- Recreates the WHOLE MACHINE, not just the environment!
- Docker creates a temporary virtual computer with the sole purpose of running your script
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not creating a VM in that sense, because you are sharing the host kernel.

Docker runs your code in an isolated environment that contains the exact OS libraries, runtime, and packages it needs.

@yiwen-h
Copy link
Member Author

yiwen-h commented Mar 12, 2026

As discussed on Slack, although the Docker slide isn't entirely accurate it's a close enough simplification of what's happening - @tomjemmett is ok with us merging as is

@yiwen-h yiwen-h merged commit 6e75034 into main Mar 12, 2026
1 check passed
@yiwen-h yiwen-h deleted the 232_managing-your-environment branch March 12, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants