diff --git a/2022/2022-06-08_JuliaForNewcomers/slides/bootstrap.md b/2022/2022-06-08_JuliaForNewcomers/slides/bootstrap.md index 46eb9ac35da82ef452f62b70080ac32f7f629b95..1638a1eb2b212bc0fab727a8196485ee3f19567f 100644 --- a/2022/2022-06-08_JuliaForNewcomers/slides/bootstrap.md +++ b/2022/2022-06-08_JuliaForNewcomers/slides/bootstrap.md @@ -21,7 +21,7 @@ Distribution packages usually work well too: # Life in REPL - + ```julia user@pc $ julia @@ -43,7 +43,7 @@ Computes the square root ..... # REPL modes -Julia interprets some additional keys to make our lifes easier: +Julia interprets some additional keys to make our life easier: - `?`: help mode - `;`: shell mode @@ -54,34 +54,35 @@ Julia interprets some additional keys to make our lifes easier: -# Loading libraries, modules and packages -- Load a local file (with shared functions etc.) +# Managing packages from the package management environment + +- Install a package ```julia -include("mylibrary.jl") +] add UnicodePlots ``` -- Load a package, add its exports to the global namespace +- Uninstall a package ```julia -using UnicodePlots +] remove UnicodePlots ``` -# Managing packages from the package management environment +# Loading libraries, modules and packages -- Install a package +- Load a local file (with shared functions etc.) ```julia -] add UnicodePlots +include("mylibrary.jl") ``` -- Uninstall a package +- Load a package, add its exports to the global namespace ```julia -] remove UnicodePlots +using UnicodePlots ``` @@ -97,7 +98,7 @@ using UnicodePlots function process_file(filename) @info "Processing $filename..." - + # ... do something ... if error_detected diff --git a/2022/2022-06-08_JuliaForNewcomers/slides/overview.md b/2022/2022-06-08_JuliaForNewcomers/slides/overview.md index c5394bd1ab54a0a27c2dbf9684be3b0f5133a977..8aecee40f1e216f74586ab6a1c37e03542e2803a 100644 --- a/2022/2022-06-08_JuliaForNewcomers/slides/overview.md +++ b/2022/2022-06-08_JuliaForNewcomers/slides/overview.md @@ -1,8 +1,8 @@ -# Overview today +# Overview -0. Why would you learn another programming language again? -1. Bootstrapping, working with packages, writing a script (30m) -2. Language and syntax primer (35m) with a pause (10m) in the middle -3. Getting the data in and out (15m) -4. Running programs on ULHPC (15m) -5. Questions, hands-on, time buffer (15m) +1. Why would you learn another programming language again? +2. Bootstrapping, working with packages, writing a script (30m) +3. Language and syntax primer (35m) with a pause (10m) in the middle +4. Getting the data in and out (15m) +5. Running programs on ULHPC (15m) +6. Questions, hands-on, time buffer (15m)