Add random annotations to book template

main
thijsoid 8 months ago
parent 83f101f661
commit db7ff62625

@ -94,10 +94,11 @@
when we are all sharing the space and editing at the same time. Our server, chopchop, chops up time into small when we are all sharing the space and editing at the same time. Our server, chopchop, chops up time into small
bits of surprise in which we learn that the technologies we rely on are never just up and running on their own. bits of surprise in which we learn that the technologies we rely on are never just up and running on their own.
They require people to care for them, to put in the time and the mindspace to figure out how to keep them running They require people to care for them, to put in the time and the mindspace to figure out how to keep them running
and available.{% else %}This short of an uptime is common, the fragility of these machines are more prominent than and available.
{% else %}This short of an uptime is common, the fragility of these machines are more prominent than
any cloud user expects. Partially because of scale, partially because a lot of labour that happens in datacenters any cloud user expects. Partially because of scale, partially because a lot of labour that happens in datacenters
just escapes us all when we want to just upload an image, or just send a message, or just open a webpage.{% endif just escapes us all when we want to just upload an image, or just send a message, or just open a webpage.
%} {% endif %}
</mark> </mark>
{% endif %} {% endif %}
@ -105,11 +106,17 @@
<p><em>tldr@chopchop:~ $</em>sudo journalctl -S today _COMM=useradd -r</p> <p><em>tldr@chopchop:~ $</em>sudo journalctl -S today _COMM=useradd -r</p>
<mark> <mark>
Users are assigned to groups, which allow them rights to read or edit files, run commands or apply infrastructural Users are assigned to groups, which allow them rights to read or edit files, run commands or apply infrastructural
changes. For chopchop, we all have 'sudo rights': the ability to perform any command, including the more sensitive changes.
</mark>
{% if 2 == range(1,3) | random %}
<mark>
For chopchop, we all have 'sudo rights': the ability to perform any command, including the more sensitive
ones. Sudo is a command that's short for 'superuser do', with it, a user has more privileges, like installing or ones. Sudo is a command that's short for 'superuser do', with it, a user has more privileges, like installing or
updating a package or performing a restart. updating a package or performing a restart.
</mark> </mark>
{% endif %}
{{ log_output(users_created_today) }} {{ log_output(users_created_today) }}
{% if users_created_today|length > 0 %} {% if users_created_today|length > 0 %}
<mark> <code>{{ last_user_added_name | replace(", ", "") }}</code> user was added, and the network of trust grew ever so slightly. Users will be trusted with not just the keys and passwords to the "house" which is the server, but with a portion of responsibility to keep it afloat and contribute to what makes it a community of practices (and network of knowledge and dependence).</mark> <mark> <code>{{ last_user_added_name | replace(", ", "") }}</code> user was added, and the network of trust grew ever so slightly. Users will be trusted with not just the keys and passwords to the "house" which is the server, but with a portion of responsibility to keep it afloat and contribute to what makes it a community of practices (and network of knowledge and dependence).</mark>
@ -185,17 +192,29 @@
<mark> <mark>
Users can login to the server using the SSH (secure shell) protocol. This allows a user to explore files, Users can login to the server using the SSH (secure shell) protocol. This allows a user to explore files,
make changes, run commands and speak to the server from their own machine. This is useful when working make changes, run commands and speak to the server from their own machine. This is useful when working
remotely, and also to allow multiple users logging into the server simultaneously. There are chopchop users remotely, and also to allow multiple users logging into the server simultaneously.
for current XPUB1 studends, as well as for their tutors. Additionally, there are some users not associated with a
person, like our shared user 'chipchip' and users for running specific processes or creating projects.
</mark> </mark>
{% if 2 == range(1,3) | random %}
<mark>
There are chopchop users for current XPUB1 students, as well as for their tutors. Additionally, there are some users not associated with a person, like our shared user 'chipchip' and users for running specific processes or creating projects.
</mark>
{% endif %}
{% if logins_today is defined %} {% if logins_today is defined %}
{{ log_output(logins_today) }} {{ log_output(logins_today) }}
{% if logins_today|length > 0 %} {% if logins_today|length > 0 %}
<mark> <mark>
These users have logged into our shared server chopchop, during the course of this day. These users have logged into our shared server chopchop, during the course of this day.
</mark> </mark>
{% if 2 == range(1,3) | random %}
<mark>
Usernames are often not the real names of the users, but often pseudonymns. This creates a sense of customization to your experience. In bigger groups this might also result in anonimity, which can be (un)desirable and potentially confusing.
</mark>
{% endif %}
{% else %} {% else %}
<mark>It was quiet today, no users logged in. However, that does not mean the server just sits idle!</mark> <mark>It was quiet today, no users logged in. However, that does not mean the server just sits idle!</mark>
{% endif %} {% endif %}

Loading…
Cancel
Save