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

Update chapter 4 and 6 #29

Merged
merged 10 commits into from
Jun 25, 2024
Merged

Update chapter 4 and 6 #29

merged 10 commits into from
Jun 25, 2024

Conversation

CunliangGeng
Copy link
Member

To address the issues #26 and #27 .

@CunliangGeng CunliangGeng requested a review from wbaccinelli June 11, 2024 12:07
Copy link

github-actions bot commented Jun 11, 2024

Thank you!

Thank you for your pull request 😃

🤖 This automated message can help you check the rendered files in your submission for clarity. If you have any questions, please feel free to open an issue in {sandpaper}.

If you have files that automatically render output (e.g. R Markdown), then you should check for the following:

  • 🎯 correct output
  • 🖼️ correct figures
  • ❓ new warnings
  • ‼️ new errors

Rendered Changes

🔍 Inspect the changes: https://github.com/vantage6/vantage6-workshop/compare/md-outputs..md-outputs-PR-29

The following changes were observed in the rendered markdown documents:

 chapter4.md | 114 +++++++++---------------------------------------------------
 chapter6.md | 106 +++++++++++++++++++++++--------------------------------
 md5sum.txt  |   4 +--
 3 files changed, 63 insertions(+), 161 deletions(-)
What does this mean?

If you have source files that require output and figures to be generated (e.g. R Markdown), then it is important to make sure the generated figures and output are reproducible.

This output provides a way for you to inspect the output in a diff-friendly manner so that it's easy to see the changes that occur due to new software versions or randomisation.

⏱️ Updated at 2024-06-20 07:02:55 +0000

@CunliangGeng CunliangGeng requested a review from bartvanb June 11, 2024 12:08
@CunliangGeng CunliangGeng self-assigned this Jun 11, 2024
github-actions bot pushed a commit that referenced this pull request Jun 11, 2024
Copy link
Contributor

@wbaccinelli wbaccinelli left a comment

Choose a reason for hiding this comment

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

Looks good!

episodes/chapter4.md Show resolved Hide resolved
episodes/chapter6.md Outdated Show resolved Hide resolved
Co-authored-by: Walter Baccinelli <100706999+wbaccinelli@users.noreply.github.com>
github-actions bot pushed a commit that referenced this pull request Jun 12, 2024
Copy link
Member

@bartvanb bartvanb left a comment

Choose a reason for hiding this comment

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

Nice changes! I have just a few small things.

@@ -194,6 +132,9 @@ You will see a message:
>
> Please distribute each of these keys privately to each of the organizations. Note that they may reset their API key so that no-one but them knows it.

You will need this API key to register the nodes of the organizations in the collaboration. For more details, see [the chapter of setting up a vantage6 node](./chapter6.md).
Copy link
Member

Choose a reason for hiding this comment

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

I would not say register - in my view that is what you have just done by creating the collaboration and the node. I would rather say something like You will need the API keys when you run the nodes to authenticate with the server

Copy link
Member

Choose a reason for hiding this comment

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

And I would say instead of the second sentence We will discuss this tomorrow in [link to chapter 6]

Copy link
Member Author

Choose a reason for hiding this comment

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

Usually participants get the lesson material after the workshop. So it's better not to mention tomorrow ;-)

Copy link
Member

Choose a reason for hiding this comment

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

In that case, maybe 'We will discuss this later in chapter 6' ;-)


Go the administration page in the vantage6 UI and try to create a new organization, a new user, and a new collaboration. Also, try to reset the API key for a node.
Go to the administration page in the vantage6 UI, and try to do the following:
Copy link
Member

Choose a reason for hiding this comment

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

nitpicking: maybe delete the words try to
That way we show that we have faith in our participants :-)

- Vantage6 uses a permission system to control who can do what in the system.
- Vantage6 has default roles like `Root`, `Collaboration Admin`, `Organization Admin`, `Researcher`, and `Viewer`.
- Vantage6 UI can be used to manage the entities of vantage6, like creating a new organization, a new user, a new collaboration, and resetting an api key for a node.
- Vantage6 UI can be used to manage the entities of vantage6, like creating a new organization, a new user, or a new collaboration.
Copy link
Member

Choose a reason for hiding this comment

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

We should mention somewhere that you can of course also delete resources (though we're not going to let them do it themselves as they will not have the permission because they could mess up the entire workshop - we could e.g. show it on the screen)

Copy link
Member Author

Choose a reason for hiding this comment

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

The challenge 1 has mentioned that, and they also can see it in the figures 1 & 2.


:::

::::::::::::::::::::::::::::::::::::::::::::::::
Copy link
Member

Choose a reason for hiding this comment

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

Just to note: this has been added back on the branch where we add setup right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, but with quite some adaptions. If you like, please also review #31.


1. Create a new node configuration using the `v6 node new` command.
2. Find the path to the configuration file using the `v6 node files` command. Open the configuration file with a text editor and check the configuration options. Are they correct?
3. Add some missing options to your configuration file. You can find all options in the [vantage6 documentation](https://docs.vantage6.ai/en/main/node/configure.html#all-configuration-options).
Copy link
Member

Choose a reason for hiding this comment

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

Maybe it would be good to specify which options these should be, as adding some options may lead to weird behaviour (e.g. if they add allowed_algorithms some algorithms later in the course may not be executed). And ideally it would be something they get reminded of later.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch. I'm afraid the participants will be blocked by what values to add for the missing options. So I would ask them to add a new database in a different format, change the encryption option, and find the missing options.

Copy link
Member

Choose a reason for hiding this comment

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

That sounds good! Be sure to say that they should also change the encryption option back in that case


1. How do you update the API key of a node? Try to update the API key of the node you just created, without using the `v6 node set-api-key` command.
2. How do you make sure the new API key is effective?
1. How to reset the API key of a node via the vantage6 UI? Try to reset the API key of a node you just created.
Copy link
Member

Choose a reason for hiding this comment

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

I would just say "Reset the API key of the node that you just created in the vantage6 UI"

1. How do you update the API key of a node? Try to update the API key of the node you just created, without using the `v6 node set-api-key` command.
2. How do you make sure the new API key is effective?
1. How to reset the API key of a node via the vantage6 UI? Try to reset the API key of a node you just created.
2. How do you update the API key of a node? Try to update the API key of the node you just created, without using the `v6 node set-api-key` command.
Copy link
Member

Choose a reason for hiding this comment

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

And then maybe "Update the API key of ..." (leave out first part)

@CunliangGeng
Copy link
Member Author

CunliangGeng commented Jun 13, 2024

@bartvanb @wbaccinelli Applied your suggestions, please have a look again.

github-actions bot pushed a commit that referenced this pull request Jun 13, 2024
@wbaccinelli
Copy link
Contributor

@bartvanb @wbaccinelli Applied your suggestions, please have a look again.

@CunliangGeng good for me :)

github-actions bot pushed a commit that referenced this pull request Jun 20, 2024
Copy link
Member

@bartvanb bartvanb 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 looked again but it was already good last time I saw it. I prefer to have another detailed look at everything together when we have a draft of everything so let's merge this now!

@bartvanb bartvanb merged commit 3b48c4f into main Jun 25, 2024
3 checks passed
@bartvanb bartvanb deleted the update_ch4_ch6 branch June 25, 2024 08:17
github-actions bot pushed a commit that referenced this pull request Jun 25, 2024
Auto-generated via {sandpaper}
Source  : 3b48c4f
Branch  : main
Author  : Bart van Beusekom <b.vanbeusekom@iknl.nl>
Time    : 2024-06-25 08:17:34 +0000
Message : Merge pull request #29 from vantage6/update_ch4_ch6

Update chapter 4 and 6
github-actions bot pushed a commit that referenced this pull request Jun 25, 2024
Auto-generated via {sandpaper}
Source  : 0f07395
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2024-06-25 08:18:45 +0000
Message : markdown source builds

Auto-generated via {sandpaper}
Source  : 3b48c4f
Branch  : main
Author  : Bart van Beusekom <b.vanbeusekom@iknl.nl>
Time    : 2024-06-25 08:17:34 +0000
Message : Merge pull request #29 from vantage6/update_ch4_ch6

Update chapter 4 and 6
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.

3 participants