Skip to content

Commit

Permalink
Fix Windows installation instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
hmgaudecker committed Oct 9, 2024
1 parent bb71a5d commit 8363526
Show file tree
Hide file tree
Showing 234 changed files with 937 additions and 910 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/03cf54646b1727213dca6409173da726/debugging-pdbp.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/0cc420ff7ff8312cf025170258d15f74/plotting-tweak_px.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/3793951a17990cd6feb257c3fe80858f/projects-setup.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/5140db96ccdfb8ce7cbb85ed14c1d041/projects-paths.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/632263fe7c244d00de46295397df23b0/pandas-rules.pdf
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/6af7b7987d7b9db774a5e6a322d671a5/git-introduction.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/797a90c46f861a8856f79d051a71ab66/pandas-merging.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/83be5425c95a0fd95b0bf3cc42d1e254/git-pre_commits.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/a5cd74a273b58b2a37c0fb61b0829873/pandas-datatypes.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
27 changes: 27 additions & 0 deletions _downloads/c7e2c3ee204bc9fe0b4e8e5cec122e91/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: epp
channels: [conda-forge, nodefaults]
dependencies:
- estimagic
- nlopt
- jupyter
- matplotlib
- numba
- numpy
- openpyxl
- pandas >= 2.1
- pip
- plotly
- pre-commit
- pyarrow >= 13.0
- pytask >= 0.4
- pytest
- python==3.11
- scikit-learn
- scipy
- seaborn
- statsmodels
- toml
- line_profiler
- snakeviz
- pip: [kaleido==0.1.0.post1, pdbp]
Binary file modified _downloads/cb575c6779071de1750436c36c0f21ab/pandas-selection.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ then, believe us they are a good idea.
1. You start by downloading the

```{eval-rst}
:download:`course environment <../environment.yml>`
:download:`course environment <environment.yml>`
```

1. As before, open your Terminal in the directory where you chose to save the course
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,23 +115,23 @@ a terminal of your linux installation. You can do this either through VSCode, as

![3_WSL_search.png](3_WSL_search.png)

Once you have opened the terminal, we will need to use it to install Miniconda and mamba.
First, you need to know whether you have an ARM64 or an x86_64 processor. To do so, you
will either need to check what processor you have or to run the following
command in the terminal:
Once you have opened the terminal, we will need to use it to install mamba (the
downloaded distribution containing it is called Miniforge). First, you need to know
whether you have an ARM64 or an x86_64 processor. To do so, you will either need to
check what processor you have or to run the following command in the terminal:

```bash
uname -m
```

If you have a x86_64 processor, you will see ```x86_64``` in the output. If you have this
processor, you can download Miniconda by running the following command:
If you have a x86_64 processor, you will see `x86_64` in the output. If you have
this processor, you can download Miniforge by running the following command:

```bash
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
```

If you have an ARM64 processor, you will see ```aarch64``` in the output. If you have this
If you have an ARM64 processor, you will see `aarch64` in the output. If you have this
just run:

```bash
Expand Down
2 changes: 1 addition & 1 deletion _sphinx_design_static/sphinx-design.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _static/sphinx-design.min.css

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions background/file_systems/objectives_materials.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css" />
<link rel="stylesheet" type="text/css" href="../../_static/sphinx-thebe.css?v=4fa983c6" />
<link rel="stylesheet" type="text/css" href="../../_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="../../_static/sphinx-design.min.css?v=95c83b7e" />
<link rel="stylesheet" type="text/css" href="../../_static/custom.css?v=36295a99" />

<!-- Pre-loaded scripts that we'll load fully later -->
Expand Down Expand Up @@ -566,13 +566,13 @@ <h2>Additional Materials<a class="headerlink" href="#additional-materials" title
<h2>Quiz<a class="headerlink" href="#quiz" title="Link to this heading">#</a></h2>
<div class="cell tag_remove-input docutils container">
<div class="cell_output docutils container">
<div class="output text_html"><div id="MeykJnMYpxnd" data-shufflequestions="False"
<div class="output text_html"><div id="oCPwGRPQqQdC" data-shufflequestions="False"
data-shuffleanswers="True"
data-preserveresponses="false"
data-numquestions="1000000"
data-maxwidth="600"
style="border-radius: 10px; text-align: left"> <style>
#MeykJnMYpxnd {
#oCPwGRPQqQdC {
--jq-multiple-choice-bg: #345995;
--jq-mc-button-bg: #fafafa;
--jq-mc-button-border: #e0e0e0e0;
Expand Down Expand Up @@ -742,7 +742,7 @@ <h2>Quiz<a class="headerlink" href="#quiz" title="Link to this heading">#</a></h
background-color: var(--jq-correct-color);
}
}
</style></div><script type="application/javascript">var questionsMeykJnMYpxnd=[{"question": "In which of the following Operating Systems can you find\n the following path \"/Users/username/Documents\"?", "type": "multiple_choice", "answers": [{"answer": "Linux-based OS", "correct": false, "feedback": "Incorrect. While Linux-based OS\n use almost the same ."}, {"answer": "MacOS", "correct": true, "feedback": "Correct."}, {"answer": "Windows", "correct": false, "feedback": "Incorrect. Windows uses a different File System\n than this. Windows File System starts with the physical drive\n (e.g. C:\\) and then uses backslashes \"\\\" to separate the\n directories."}]}, {"question": "What are the key differences\n between UNIX-based and Windows-based File Systems?", "type": "many_choice", "answers": [{"answer": "Windows-systems use backslashes \"\\\" to separate\n directories,\n while UNIX-based systems use forward slashes \"/\".", "correct": true, "feedback": "Correct."}, {"answer": "Windows-systems have a more nested structure, with a\n larger number\n of directories.", "correct": false, "feedback": "Incorrect. The directories are not necessarily more\n numerous or nested in Windows."}, {"answer": "Windows-systems have a separate directory tree for each\n physical drive,\n while UNIX-based systems have a single directory tree.", "correct": true, "feedback": "Correct. For example many computers have a C:\\ and a\n D:\\ drive."}, {"answer": "Windows-systems have a single directory tree, while\n UNIX-based\n systems have a separate directory tree for each physical drive.", "correct": false, "feedback": "Incorrect. The answer is the opposite of this."}]}, {"question": "J\u00f6rn, Maria and Vinayak are working on a project together. J\u00f6rn is\n running Windows\n on his laptop,\n while Maria and Vinayak have laptops that run MacOS. For reasons that will\n become apparent\n to you in the next lectures of this course, they need to decide whether to\n use paths\n with forward slashes \"/\" or\n backslashes \"\\\" to separate directories, and they cannot\n each use the path type\n that is native to their\n operating system. What do you think they should do?", "type": "multiple_choice", "answers": [{"answer": "They should use forward slashes \"/\".", "correct": true, "feedback": "Correct. The reason for this is that while\n UNIX-based systems cannot use backslashes \"\\\" in paths,\n modern Windows-based systems can use forward slashes \"/\".\n In fact, forward slashes are the \"standard\" for OS and\n programming languages. The story behind why Windows uses\n backslashes \"\\\" is quite interesting if you want to\n google it."}, {"answer": "They should use backslashes \"\\\".", "correct": false, "feedback": "Incorrect. The reason for this is that UNIX-based\n systems cannot use backslashes \"\\\" in paths."}, {"answer": " It does not really matter which they use,\n as long as they are consistent.", "correct": false, "feedback": "Incorrect. It is very important to be consistent,\n but\n it does matter\n which type of path they use, because UNIX-based\n systems cannot use backslashes \"\\\" in paths."}]}, {"question": " What is the root directory,\n and how is it\n represented in a UNIX-based system?", "type": "multiple_choice", "answers": [{"answer": "The root directory is the directory that\n contains all other directories (the top-level\n directory in the folder structure),\n and is represented by a forward slash \"/\" in UNIX.", "correct": true, "feedback": "Correct."}, {"answer": "The root directory is the directory\n that contains all other directories (the top-level\n directory in the folder structure),\n and is represented by a backslash \"\\\" in UNIX.", "correct": false, "feedback": "Incorrect. The correct symbol is a forward\n slash \"/\"."}, {"answer": "The root directory is the directory that\n contains all the user files, and is represented\n by a forward slash \"/\" in UNIX.", "correct": false, "feedback": "Incorrect. The root directory contains all\n directories, not\n only the user files."}, {"answer": "The root directory is the directory that\n contains all other directories\n (the top-level\n directory in the folder structure),\n and is represented by \" C:\\ \".", "correct": false, "feedback": "Incorrect. \" C:\\ \" is the root directory in\n Windows-based File Systems,\n not in UNIX-based systems."}]}];
</style></div><script type="application/javascript">var questionsoCPwGRPQqQdC=[{"question": "In which of the following Operating Systems can you find\n the following path \"/Users/username/Documents\"?", "type": "multiple_choice", "answers": [{"answer": "Linux-based OS", "correct": false, "feedback": "Incorrect. While Linux-based OS\n use almost the same ."}, {"answer": "MacOS", "correct": true, "feedback": "Correct."}, {"answer": "Windows", "correct": false, "feedback": "Incorrect. Windows uses a different File System\n than this. Windows File System starts with the physical drive\n (e.g. C:\\) and then uses backslashes \"\\\" to separate the\n directories."}]}, {"question": "What are the key differences\n between UNIX-based and Windows-based File Systems?", "type": "many_choice", "answers": [{"answer": "Windows-systems use backslashes \"\\\" to separate\n directories,\n while UNIX-based systems use forward slashes \"/\".", "correct": true, "feedback": "Correct."}, {"answer": "Windows-systems have a more nested structure, with a\n larger number\n of directories.", "correct": false, "feedback": "Incorrect. The directories are not necessarily more\n numerous or nested in Windows."}, {"answer": "Windows-systems have a separate directory tree for each\n physical drive,\n while UNIX-based systems have a single directory tree.", "correct": true, "feedback": "Correct. For example many computers have a C:\\ and a\n D:\\ drive."}, {"answer": "Windows-systems have a single directory tree, while\n UNIX-based\n systems have a separate directory tree for each physical drive.", "correct": false, "feedback": "Incorrect. The answer is the opposite of this."}]}, {"question": "J\u00f6rn, Maria and Vinayak are working on a project together. J\u00f6rn is\n running Windows\n on his laptop,\n while Maria and Vinayak have laptops that run MacOS. For reasons that will\n become apparent\n to you in the next lectures of this course, they need to decide whether to\n use paths\n with forward slashes \"/\" or\n backslashes \"\\\" to separate directories, and they cannot\n each use the path type\n that is native to their\n operating system. What do you think they should do?", "type": "multiple_choice", "answers": [{"answer": "They should use forward slashes \"/\".", "correct": true, "feedback": "Correct. The reason for this is that while\n UNIX-based systems cannot use backslashes \"\\\" in paths,\n modern Windows-based systems can use forward slashes \"/\".\n In fact, forward slashes are the \"standard\" for OS and\n programming languages. The story behind why Windows uses\n backslashes \"\\\" is quite interesting if you want to\n google it."}, {"answer": "They should use backslashes \"\\\".", "correct": false, "feedback": "Incorrect. The reason for this is that UNIX-based\n systems cannot use backslashes \"\\\" in paths."}, {"answer": " It does not really matter which they use,\n as long as they are consistent.", "correct": false, "feedback": "Incorrect. It is very important to be consistent,\n but\n it does matter\n which type of path they use, because UNIX-based\n systems cannot use backslashes \"\\\" in paths."}]}, {"question": " What is the root directory,\n and how is it\n represented in a UNIX-based system?", "type": "multiple_choice", "answers": [{"answer": "The root directory is the directory that\n contains all other directories (the top-level\n directory in the folder structure),\n and is represented by a forward slash \"/\" in UNIX.", "correct": true, "feedback": "Correct."}, {"answer": "The root directory is the directory\n that contains all other directories (the top-level\n directory in the folder structure),\n and is represented by a backslash \"\\\" in UNIX.", "correct": false, "feedback": "Incorrect. The correct symbol is a forward\n slash \"/\"."}, {"answer": "The root directory is the directory that\n contains all the user files, and is represented\n by a forward slash \"/\" in UNIX.", "correct": false, "feedback": "Incorrect. The root directory contains all\n directories, not\n only the user files."}, {"answer": "The root directory is the directory that\n contains all other directories\n (the top-level\n directory in the folder structure),\n and is represented by \" C:\\ \".", "correct": false, "feedback": "Incorrect. \" C:\\ \" is the root directory in\n Windows-based File Systems,\n not in UNIX-based systems."}]}];
// Make a random ID
function makeid(length) {
var result = [];
Expand Down Expand Up @@ -1491,8 +1491,8 @@ <h2>Quiz<a class="headerlink" href="#quiz" title="Link to this heading">#</a></h
Someone more knowledgeable could make this better ;-) */

function try_show() {
if(document.getElementById("MeykJnMYpxnd")) {
show_questions(questionsMeykJnMYpxnd, MeykJnMYpxnd);
if(document.getElementById("oCPwGRPQqQdC")) {
show_questions(questionsoCPwGRPQqQdC, oCPwGRPQqQdC);
} else {
setTimeout(try_show, 200);
}
Expand All @@ -1501,8 +1501,8 @@ <h2>Quiz<a class="headerlink" href="#quiz" title="Link to this heading">#</a></h
{
// console.log(element);

//console.log("MeykJnMYpxnd");
// console.log(document.getElementById("MeykJnMYpxnd"));
//console.log("oCPwGRPQqQdC");
// console.log(document.getElementById("oCPwGRPQqQdC"));

try_show();
}
Expand Down
Loading

0 comments on commit 8363526

Please sign in to comment.