Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process Spelunking Workshop #1362

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

nahratzah
Copy link

What does this change?

Create a workshop on process-spelunking.
Early PR, so I can get feedback while writing the rest of the workshop.

NOTE: work-in-progress, DO NOT MERGE.

Common Content?

  • Block/s

Common Theme?

  • Yes

Issue number: #1352

Org Content?

Sprint

Checklist

Who needs to know about this?

@illicitonion

Copy link

netlify bot commented Feb 23, 2025

👷 Deploy request for cyf-curriculum pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6532bbe

Copy link

netlify bot commented Feb 23, 2025

👷 Deploy request for cyf-itd pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6532bbe

Copy link

netlify bot commented Feb 23, 2025

👷 Deploy request for cyf-tracks pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6532bbe

Copy link

netlify bot commented Feb 23, 2025

👷 Deploy request for cyf-sdc pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6532bbe

Copy link

netlify bot commented Feb 23, 2025

👷 Deploy request for cyf-piscine pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6532bbe

Copy link

netlify bot commented Feb 23, 2025

👷 Deploy request for cyf-launch pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6532bbe

Copy link

netlify bot commented Feb 23, 2025

👷 Deploy request for cyf-common pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6532bbe

@nahratzah nahratzah changed the title WIP: add section on "ps" Process Spelunking Workshop Feb 23, 2025
Copy link
Member

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

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

I like it a lot!

openat(AT_FDCWD, "exercise_3_file.txt", O_RDONLY|O_CLOEXEC) = 3
```

That last `= 3` is the *file descriptor*.
Copy link
Member

Choose a reason for hiding this comment

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

I'd maybe want to generalise here also that this is the return value of the syscall? (Maybe comparing with the 34 from the write above for "Press enter to stop the program."?)

Copy link
Author

Choose a reason for hiding this comment

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

Did mention that it's the return value. But haven't addressed the return value of write.
(Do want to do that, just have to figure out where makes the most sense.)

Comment on lines 545 to 547
And maybe I should just start with the `-o` immediately.
Just like `ps`, we should go "this is the tool, hold it here",
and students can get fancy on their own time if/when they feel like it.
Copy link
Member

Choose a reason for hiding this comment

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

I like this idea :)

Copy link
Author

Choose a reason for hiding this comment

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

Done. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

Successfully merging this pull request may close these issues.

2 participants