-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2c6e3db
commit 22d8662
Showing
19 changed files
with
268 additions
and
30 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
import re | ||
import os | ||
|
||
header = """--- | ||
marp: true | ||
header: 'Learn Markers' | ||
theme: ub-theme | ||
paginate: true | ||
--- | ||
""" | ||
|
||
toc = [] # Table of contents storage | ||
structured_slides = {} # Dictionary to store slides under their headers | ||
|
||
|
||
def extract_header(file_content): | ||
"""Extract the 'header' field from YAML front matter.""" | ||
match = re.search(r"^header:\s*['\"]?(.*?)['\"]?$", file_content, re.MULTILINE) | ||
return match.group(1) if match else "Miscellaneous" # Default category | ||
|
||
|
||
def extract_must_learn_slides(file_path): | ||
"""Extract slides with <!-- _class: must_learn -->""" | ||
with open(file_path, "r", encoding="utf-8") as file: | ||
content = file.read() | ||
|
||
section_header = extract_header(content) | ||
slides = re.split(r"(?=\n---)", content) | ||
must_learn_slides = [slide for slide in slides if "<!-- _class: must_learn -->" in slide] | ||
|
||
return section_header, must_learn_slides | ||
|
||
|
||
def save_extracted_slides(slides_dict, output_file): | ||
"""Save extracted slides, grouped by header, with a table of contents.""" | ||
if os.path.exists(output_file): | ||
os.remove(output_file) | ||
|
||
with open(output_file, "w", encoding="utf-8") as file: | ||
file.write(header) | ||
|
||
# Generate Table of Contents | ||
file.write("\n## Table of Contents\n\n") | ||
for section, slides in slides_dict.items(): | ||
if slides: | ||
anchor = section.lower().replace(" ", "-") | ||
file.write(f"- [{section}](#{anchor})\n") | ||
|
||
for section, slides in slides_dict.items(): | ||
if slides: | ||
anchor = section.lower().replace(" ", "-") | ||
|
||
file.write(f"\n---\n\n## {section} <a id='{anchor}'></a>") | ||
file.write("\n\n---\n\n".join(slide.lstrip("\n---") for slide in slides)) | ||
|
||
print(f"Extracted slides structured under headers and saved to {output_file}") | ||
|
||
|
||
if __name__ == "__main__": | ||
|
||
extracted_slides = [] | ||
structured_slides = {} | ||
# iterate over md files in slides dir | ||
for file in os.listdir("slides"): | ||
if file in ["00-orga.md", "00_learn_markers.md"]: | ||
continue | ||
|
||
print(file) | ||
if file.endswith(".md"): | ||
input_file = f"slides/{file}" | ||
section_header, slides = extract_must_learn_slides(input_file) | ||
|
||
if section_header not in structured_slides: | ||
structured_slides[section_header] = [] | ||
|
||
structured_slides[section_header].extend(slides) | ||
|
||
structured_slides = dict(sorted( | ||
structured_slides.items(), | ||
key=lambda x: int(re.search(r'\d+', x[0]).group()) if re.search(r'\d+', x[0]) else float('inf') | ||
)) | ||
|
||
output_file = f"slides/00_learn_markers.md" | ||
save_extracted_slides(structured_slides, output_file) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
--- | ||
marp: true | ||
header: 'Learn Markers' | ||
theme: ub-theme | ||
paginate: true | ||
--- | ||
|
||
|
||
## Table of Contents | ||
|
||
- [IDW-01: Drivers of change in digital work](#idw-01:-drivers-of-change-in-digital-work) | ||
- [IDW-02: Digital work individually](#idw-02:-digital-work-individually) | ||
|
||
--- | ||
|
||
## IDW-01: Drivers of change in digital work <a id='idw-01:-drivers-of-change-in-digital-work'></a> | ||
|
||
<!-- _class: must_learn --> | ||
|
||
# The historical development of work | ||
|
||
<!-- The economy and it's revolutions --> | ||
|
||
The first industrial revolution (1760-1830) | ||
- Key technological developments: steam power, iron making, manufacturing machinery | ||
- Work transitions from hand production methods to industrial production work supported by machines | ||
|
||
The second industrial revolution (1870-1914) | ||
- Key technological developments: scientific discoveries (patents), standardization, mass production | ||
- Work is shaped by Taylorist principles, later referred to as "scientific management". | ||
|
||
<!-- | ||
Ein ehemaliger Schulfreund von mir hat in Geschichte promoviert und wäre mit so einer verkürzten Darstellung sehr überrascht. | ||
Also: ich lasse hier viel weg - was uns interessiert sind die großen Linien. | ||
Wichtig: Viele große Organisationen und Managementprinzipien gehen auf bis in die Zeit zurück. | ||
-> overview of key influences | ||
Rationalisierung/Effizienz | ||
- Focus: mass markets and standardization, large organizations, low bargaining power of employees, low skill requirements (for most workers) | ||
logic: push-to-market | ||
massive gains in productivity (chart?), frees up human labor | ||
Not covered: Peter Drucker etc. | ||
--> | ||
|
||
--- | ||
|
||
<!-- _class: must_learn --> | ||
|
||
# Taylorist principles | ||
|
||
Named after Frederick Taylor (1865-1915) | ||
|
||
1. Separate the work of workers (efficient task completion) and managers (analysis, planning, training). | ||
2. Use of the scientific method to study work and determine the most efficient way to perform specific tasks (instead of working based on common sense or rules of thumb). | ||
3. Match workers to their jobs based on capability and train them to work at maximum efficiency (instead of hiring generalists with broad skill sets). | ||
4. Monitor worker performance, and provide instructions to ensure that workers work in the most efficient way possible. | ||
|
||
The principles have been criticized widely, but their influence on the organization of work is still visible. | ||
|
||
<!-- | ||
influence: how organizations structure work, hierarchies , how we think about work | ||
departemnt structures: division of labor | ||
HR/hiring: selection of the best workers based on objective figures (such as years of experience) - maybe also influenced by unions | ||
outcome-based compensation, 360 feedback -> objective selection/training | ||
Context: low skill requirements/workers can be replaced quickly | ||
--> | ||
|
||
--- | ||
|
||
## IDW-02: Digital work individually <a id='idw-02:-digital-work-individually'></a> | ||
|
||
<!-- _class: must_learn --> | ||
|
||
# Digital work competences | ||
|
||
Frameworks that *describe and classify* digital competences (selection): | ||
|
||
- Digital competence framework for EU citizens | ||
- Multiple case study and grounded theory by Weritz (2022) | ||
- Review of prior research: Gagné-Pratte et al. (2022) | ||
|
||
<!-- | ||
Methode: wie würden Sie vorgehen, um einen Überblick skills und Kompetenzen für digitale Arbeit zu erstellen? | ||
-> evtl. auf Bergmann/Newport beziehen: teilw. sehr einseitige Vorschläge, Vorteil der Literaturübersicht: ausgewogenes Bild | ||
maybe illustrate how the inductive data analysis worked? (connect to the "checking quality of data" - excel errors / robust environments like git, ...) | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.