From db7ff62625b84a3922b64f4c7113d5fdcc9e4068 Mon Sep 17 00:00:00 2001 From: thijsoid <1070493@hr.nl> Date: Wed, 27 Mar 2024 12:58:07 +0000 Subject: [PATCH] Add random annotations to book template --- templates/book.jinja | 37 ++++++++++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/templates/book.jinja b/templates/book.jinja index f8cac8e..351b7a3 100644 --- a/templates/book.jinja +++ b/templates/book.jinja @@ -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 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 - 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 - 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 %} {% endif %} @@ -105,11 +106,17 @@
tldr@chopchop:~ $sudo journalctl -S today _COMM=useradd -r
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 - 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. + changes. + + {% if 2 == range(1,3) | random %} + + 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 + updating a package or performing a restart. + + {% endif %} {{ log_output(users_created_today) }} {% if users_created_today|length > 0 %}{{ last_user_added_name | replace(", ", "") }}
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).
@@ -185,17 +192,29 @@
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
- remotely, and also to allow multiple users logging into the server simultaneously. There are chopchop users
- 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.
+ remotely, and also to allow multiple users logging into the server simultaneously.
+
+ {% if 2 == range(1,3) | random %}
+
+ 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.
+
+ {% endif %}
+
{% if logins_today is defined %}
{{ log_output(logins_today) }}
{% if logins_today|length > 0 %}
These users have logged into our shared server chopchop, during the course of this day.
+
+ {% if 2 == range(1,3) | random %}
+
+ 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.
+
+ {% endif %}
+
{% else %}
It was quiet today, no users logged in. However, that does not mean the server just sits idle!
{% endif %}