diff --git a/README.md b/README.md index cfbe012..002c62c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # What every scientist should know about computer architecture ## Introduction - - [Puzzle](puzzle.ipynb) ➔ [read-only rendered notebook](https://nbviewer.org/urls/git.aspp.school/ASPP/2024-heraklion-comp-arch/raw/branch/main/puzzle.ipynb) + - [Puzzle](puzzle.ipynb) - Question: how come that swapping dimensions in a for-loop makes out for a huge slowdown? - Let students play around with the notebook and try to find the "bug" - A more thorough [benchmark](benchmark_python/) @@ -16,6 +16,9 @@ Two exercises to activate the body and the mind Common goal of both exercises is to sort a deck of tarot cards by value + +Before starting, make yourself acquainted with the meanining and the power of the tarot cards. Carefully read [this booklet](https://aspp.school/wiki/_media/tarot-runic.pdf) + ### First experiment: human sorting Setup: - 1 volunteer to keep the time spent sorting @@ -75,7 +78,7 @@ Setup: ## A final exercise to put it all together - fork this repo to your account and clone your fork on the laptop - create a branch `ex` and switch to it - - work on the [exercise](exercise.ipynb) ➔ [read-only rendered notebook](https://nbviewer.org/urls/git.aspp.school/ASPP/2024-heraklion-comp-arch/raw/branch/main/exercise.ipynb) + - work on the [exercise](exercise.ipynb) - push your solution to your fork and create a Pull Request to this repo diff --git a/architecture/README.md b/architecture/README.md index eefadfc..699660a 100644 --- a/architecture/README.md +++ b/architecture/README.md @@ -37,6 +37,7 @@ - UTF8 encoded, flexible width from 1B (byte) to 4B (bytes): 1,112,064 Unicode characters (code points) - ASCII: 7 bits (fits in one byte), 127 characters ➔ [ASCII table](https://upload.wikimedia.org/wikipedia/commons/2/26/ASCII_Table_%28suitable_for_printing%29.svg) - [visualization](https://sonarsource.github.io/utf8-visualizer/) + - actually in Python strings (more precisely: unicode objects) are stored in different formats depending on which characters are stored for memory efficiency. Look at the gory details [here](https://docs.python.org/3.14/c-api/unicode.html) ➔ not for the faint-hearted! - **hexadecimal notation**: - base16 ➔ '0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f' diff --git a/visuals_for_game_source.docx b/visuals_for_game_source.docx new file mode 100644 index 0000000..455a511 Binary files /dev/null and b/visuals_for_game_source.docx differ