From 2e111d960d15b2c142d7bb26168a09178e144d2c Mon Sep 17 00:00:00 2001 From: "behinger (s-ccs 001)" Date: Thu, 28 Sep 2023 14:18:35 +0000 Subject: [PATCH] fix navbar to something wider + fix notebook + better menu --- _quarto.yml | 11 ++++++++--- material/1_mon/firststeps/tasks.qmd | 5 +++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/_quarto.yml b/_quarto.yml index 7777bee..1f05d27 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -49,7 +49,7 @@ website: text: "🛠 3 - First Steps: Exercises" - href: "material/1_mon/envs/envs_handout.qmd" text: "📝 4 - Envs & Pkgs : Handout" - - href: "material/1_mon/envs/envs_tasks.qmd" + - href: "material/1_mon/envs/tasks.qmd" text: "🛠 4 - Envs & Pkgs: Exercises" - section: "Tuesday" contents: @@ -64,9 +64,13 @@ website: - section: "Wednesday" contents: - href: material/3_wed/docs/handout.qmd - text: "📝 1 - Docs" + text: "📝 1 - Docs: Handout" + - href: material/3_wed/docs/tasks.qmd" + text: "🛠 1 - Docs: Exercises" - href: material/3_wed/vis/handout.qmd - text: "📝 2 - Visualizations" + text: "📝 2 - Visualizations: Handout" + - href: material/3_wed/vis/tasks.qmd" + text: "🛠 2 - Visualizations: Exercises" - href: material/3_wed/linalg/slides.qmd text: "📝 3 - LinearAlgebra" - href: material/3_wed/regression/missing.jl @@ -110,6 +114,7 @@ format: toc-expand: 3 grid: body-width: 1000px + sidebar-width: 400px code-annotations: hover margin-header: | ![](https://www.simtech.uni-stuttgart.de/img/events/Summer-School/Zeichenflaeche-3-Kopie-42x.png?__scale=w:150,h:150) \ No newline at end of file diff --git a/material/1_mon/firststeps/tasks.qmd b/material/1_mon/firststeps/tasks.qmd index 6eb4408..05c4cb7 100644 --- a/material/1_mon/firststeps/tasks.qmd +++ b/material/1_mon/firststeps/tasks.qmd @@ -7,6 +7,7 @@ You concurrently have a REPL open, to not reload all packages etc. everytime. Fu You can mark some code and execute it using `ctrl` + `enter` - you can also generate code-blocks using `#---` and run a whole code-block using `alt`+`enter` +## The exercise 1. Open a new script `statistic_functions.jl` in VSCode in a folder of your choice. 2. implement a function called `rse_sum`^[rse = research software engineering, we could use `sum` in a principled way, but it requires some knowledge you likely don't have right now]. This function should return `true` if provided with the following test: `res_sum(1:36) == 666`. You should further make use of a for-loop. @@ -30,7 +31,11 @@ using ProgressMeter @showprogress for ... ``` +::: + And that's it! You should have a nice progress bar now + + # Task 2 {#2} 1. Implement a type `StatResult` with fields for `x`, `n`, `std` and `tvalue`