From 96eba68257fbc05282fee69ec87e54fd36b36046 Mon Sep 17 00:00:00 2001 From: Thanassis Avgerinos Date: Fri, 2 Oct 2026 07:53:37 -0400 Subject: [PATCH] Point chapter 1 to the 2026-27 lecture 1 slides The 2026-27 deck (assets/pdf/lec01.pdf on the course site) has the same 43 pages as 2025-26; only an announcement, image captions, a photo and the ssh demo host changed, none of which the chapter covers. Chapter 1, its slide questions and the manifest now point to the new deck, and `make fetch` downloads it. Co-Authored-By: Claude Opus 5.5 (1M context) --- Makefile | 2 +- README.md | 2 +- chapters/01-command-line/README.md | 6 +++--- questions/slides/slides-lec01-architecture-examples.md | 4 ++-- questions/slides/slides-lec01-echo-arguments.md | 4 ++-- questions/slides/slides-lec01-explore-coreutils.md | 4 ++-- questions/slides/slides-lec01-try-commands.md | 4 ++-- questions/slides/slides-lec01-why-os.md | 4 ++-- sources/extract/lec01.yaml | 8 ++++++++ sources/manifest.yaml | 2 +- 10 files changed, 24 insertions(+), 16 deletions(-) diff --git a/Makefile b/Makefile index 6496207..60573d1 100644 --- a/Makefile +++ b/Makefile @@ -73,7 +73,7 @@ $(BUILD)/llms.txt: $(CHAPTERS) glossary.md $(BUILD)/questions.md tools/llms.py t .PHONY: all fetch lint check-code exercises check clean fetch: mkdir -p sources/slides/2026 sources/hw/2023 sources/hw/2024 sources/hw/2025 - curl -fsSL -o sources/slides/2026/lec00.pdf https://progintro.github.io/assets/pdf/lec00.pdf + for f in lec00 lec01; do curl -fsSL -o sources/slides/2026/$$f.pdf https://progintro.github.io/assets/pdf/$$f.pdf; done gh release download 2025 -R $(REPO) -D sources/slides -p 'lec*.pdf' -p make.pdf --skip-existing gh release download 2025 -R $(REPO) -D sources/hw/2025 -p 'hw*.pdf' -p stergios.pdf --skip-existing gh release download 2024 -R $(REPO) -D sources/hw/2024 -p 'hw*.pdf' --skip-existing diff --git a/README.md b/README.md index 42b2623..41df97b 100644 --- a/README.md +++ b/README.md @@ -324,7 +324,7 @@ chatbot ή agent το [`llms-full.txt`](llms-full.txt) (όλος ο οδηγός Ο οδηγός γράφτηκε από τις διαφάνειες των διαλέξεων του 2025-26 ([progintro.github.io](https://progintro.github.io/)) και ενημερώνεται με τις διαφάνειες -του 2026-27 καθώς δημοσιεύονται (ως τώρα: Διάλεξη 0), τις +του 2026-27 καθώς δημοσιεύονται (ως τώρα: Διαλέξεις 0–1), τις [σημειώσεις](https://progintro.github.io/notes/) του μαθήματος, τα [εργαστήρια](https://progintro.github.io/lab-material/) και τα θέματα εξετάσεων και τις εργασίες προηγούμενων ετών. Οι ασκήσεις έχουν υποδείξεις αλλά όχι λύσεις. diff --git a/chapters/01-command-line/README.md b/chapters/01-command-line/README.md index 29ed67d..ffa0bd1 100644 --- a/chapters/01-command-line/README.md +++ b/chapters/01-command-line/README.md @@ -3,9 +3,9 @@ layout: chapter chapter: 1 lecture: 1 title: "Η Γραμμή Εντολών" -date: 2025-10-03 +date: 2026-10-02 part: A -slides: https://github.com/progintro/progintro.github.io/releases/download/2025/lec01.pdf +slides: https://progintro.github.io/assets/pdf/lec01.pdf prev: 00-hello-world next: 02-memory-variables topics: [computers, unix, shell, compilation] @@ -658,7 +658,7 @@ $ echo $? ## Διάβασμα -- **Διαφάνειες:** [Διάλεξη 1](https://github.com/progintro/progintro.github.io/releases/download/2025/lec01.pdf), σελ. 1–43. Αρχιτεκτονική και λειτουργικά συστήματα: σελ. 6–10· GUI, CLI, kernel και shell: σελ. 11–13· εκτέλεση προγραμμάτων και ορίσματα: σελ. 14–17· πρόσβαση σε γραμμή εντολών και `ssh`: σελ. 18–24· βασικές εντολές: σελ. 25· σύστημα αρχείων και εντολές αρχείων: σελ. 27–31· `gcc` και ανάλυση του Hello World: σελ. 32–40. +- **Διαφάνειες:** [Διάλεξη 1](https://progintro.github.io/assets/pdf/lec01.pdf) (2026-27), σελ. 1–43. Αρχιτεκτονική και λειτουργικά συστήματα: σελ. 6–10· GUI, CLI, kernel και shell: σελ. 11–13· εκτέλεση προγραμμάτων και ορίσματα: σελ. 14–17· πρόσβαση σε γραμμή εντολών και `ssh`: σελ. 18–24· βασικές εντολές: σελ. 25· σύστημα αρχείων και εντολές αρχείων: σελ. 27–31· `gcc` και ανάλυση του Hello World: σελ. 32–40. Οι διαφάνειες του 2025-26 (ίδια σελιδοποίηση): [Διάλεξη 1 (2025)](https://github.com/progintro/progintro.github.io/releases/download/2025/lec01.pdf). - **Σημειώσεις:** οι διαφάνειες ζητούν τις σελίδες 58–60 και 98–99 των σημειώσεων του κ. Σταματόπουλου (αριθμημένες σελίδες, δηλαδή K04, σελ. 58–60 και 98–99): - [Κεφάλαιο 4: Συναρτήσεις](https://progintro.github.io/notes/chapters/04-functions/), ενότητα «Δομή ενός προγράμματος C – Συναρτήσεις» (K04, σελ. 58–60): η `main` και η τιμή που επιστρέφει. - [Κεφάλαιο 6: Μνήμη και συμβολοσειρές](https://progintro.github.io/notes/chapters/06-memory-strings/), ενότητα «Ορίσματα γραμμής εντολών» (K04, σελ. 98–99): πώς ένα πρόγραμμα C διαβάζει τα ορίσματά του (θα το δούμε αναλυτικά αργότερα). diff --git a/questions/slides/slides-lec01-architecture-examples.md b/questions/slides/slides-lec01-architecture-examples.md index 6ade1a9..0446d0e 100644 --- a/questions/slides/slides-lec01-architecture-examples.md +++ b/questions/slides/slides-lec01-architecture-examples.md @@ -4,8 +4,8 @@ kind: slides title: "Παραδείγματα για κάθε επίπεδο ενός υπολογιστικού συστήματος" source: title: "Διάλεξη 1: Η Γραμμή Εντολών, διαφάνεια 7" - url: https://github.com/progintro/progintro.github.io/releases/download/2025/lec01.pdf - years: [2025] + url: https://progintro.github.io/assets/pdf/lec01.pdf + years: [2025, 2026] chapters: [1] topics: [computers] difficulty: 1 diff --git a/questions/slides/slides-lec01-echo-arguments.md b/questions/slides/slides-lec01-echo-arguments.md index c4a6433..a4b2e2a 100644 --- a/questions/slides/slides-lec01-echo-arguments.md +++ b/questions/slides/slides-lec01-echo-arguments.md @@ -4,8 +4,8 @@ kind: slides title: "Πρόγραμμα και ορίσματα στο /bin/echo" source: title: "Διάλεξη 1: Η Γραμμή Εντολών, διαφάνεια 15" - url: https://github.com/progintro/progintro.github.io/releases/download/2025/lec01.pdf - years: [2025] + url: https://progintro.github.io/assets/pdf/lec01.pdf + years: [2025, 2026] chapters: [1] topics: [shell] difficulty: 1 diff --git a/questions/slides/slides-lec01-explore-coreutils.md b/questions/slides/slides-lec01-explore-coreutils.md index 5d11c48..d12e69b 100644 --- a/questions/slides/slides-lec01-explore-coreutils.md +++ b/questions/slides/slides-lec01-explore-coreutils.md @@ -4,8 +4,8 @@ kind: slides title: "Εξερευνήστε κι άλλα βασικά προγράμματα" source: title: "Διάλεξη 1: Η Γραμμή Εντολών, διαφάνεια 31" - url: https://github.com/progintro/progintro.github.io/releases/download/2025/lec01.pdf - years: [2025] + url: https://progintro.github.io/assets/pdf/lec01.pdf + years: [2025, 2026] chapters: [1] topics: [shell, unix] difficulty: 2 diff --git a/questions/slides/slides-lec01-try-commands.md b/questions/slides/slides-lec01-try-commands.md index 4d56969..aead564 100644 --- a/questions/slides/slides-lec01-try-commands.md +++ b/questions/slides/slides-lec01-try-commands.md @@ -4,8 +4,8 @@ kind: slides title: "Τρέξτε μόνοι σας τις εντολές της διάλεξης" source: title: "Διάλεξη 1: Η Γραμμή Εντολών, διαφάνεια 42" - url: https://github.com/progintro/progintro.github.io/releases/download/2025/lec01.pdf - years: [2025] + url: https://progintro.github.io/assets/pdf/lec01.pdf + years: [2025, 2026] chapters: [1] topics: [shell, unix, compilation] difficulty: 1 diff --git a/questions/slides/slides-lec01-why-os.md b/questions/slides/slides-lec01-why-os.md index 1d891bd..b16657b 100644 --- a/questions/slides/slides-lec01-why-os.md +++ b/questions/slides/slides-lec01-why-os.md @@ -4,8 +4,8 @@ kind: slides title: "Γιατί χρειαζόμαστε λειτουργικό σύστημα" source: title: "Διάλεξη 1: Η Γραμμή Εντολών, διαφάνεια 9" - url: https://github.com/progintro/progintro.github.io/releases/download/2025/lec01.pdf - years: [2025] + url: https://progintro.github.io/assets/pdf/lec01.pdf + years: [2025, 2026] chapters: [1] topics: [computers] difficulty: 1 diff --git a/sources/extract/lec01.yaml b/sources/extract/lec01.yaml index e5f1b48..884f5c7 100644 --- a/sources/extract/lec01.yaml +++ b/sources/extract/lec01.yaml @@ -1,4 +1,6 @@ lecture: 1 +year: 2026-27 # updated from the 2025-26 deck (same 43 pages) on 2026-10-02 +slides: https://progintro.github.io/assets/pdf/lec01.pdf pages: 43 outline: - {pages: "1-2", section: "Γιατί C;"} # title, announcements (lab starts Monday, map of the building) @@ -39,6 +41,12 @@ pointers: - {page: 42, text: "Προαιρετικό: The Unix Programming Environment (https://scis.uohyd.ac.in/~apcs/itw/UNIXProgrammingEnvironment.pdf)"} - {page: 42, text: "Προαιρετικό #2: Common Linux Interview Questions (https://www.geeksforgeeks.org/linux-interview-questions/)"} takeaways_slide: null # p. 42 is a reading/to-do list, not a takeaways slide +changes_from_2025: + - "Same 43 pages and page order as 2025-26; slide numbers in the chapter and questions are unchanged." + - "p. 2: 'έχουμε άλλο ένα τμήμα!' dropped from the announcement that the lab starts on Monday (the chapter never mentioned it)." + - "p. 4-5: captions added to the recap/agenda images (Creation of Adam, Van Gogh's Irises). p. 10: photo of Linus Torvalds added." + - "p. 24: the volunteer demo now shows a concrete host, 'ssh ubuntu@44.202.150.55'; it is a throwaway demo machine, so the chapter keeps 'ssh user@host'." + - "p. 9, 27: line wrapping only." issues: - "p. 42 cites Stamatopoulos' notes 'σελίδες 58-60, 98-99'. These are the page numbers printed on K04.pdf, which k04-map.tsv now uses: 58-60 = 04-functions «Δομή ενός προγράμματος C – Συναρτήσεις» (main, return value to the OS) and 98-99 = 06-memory-strings «Ορίσματα γραμμής εντολών». The chapter cites K04 58-60 and 98-99." - "No explicit key-takeaways slide; Κύρια σημεία are synthesised from the definition slides (9, 14, 27, 32, 35-40)." diff --git a/sources/manifest.yaml b/sources/manifest.yaml index 7d80c48..bb9fce8 100644 --- a/sources/manifest.yaml +++ b/sources/manifest.yaml @@ -22,7 +22,7 @@ parts: lectures: - {n: 0, slug: 00-hello-world, date: 2026-09-28, part: A, slides: lec00.pdf, url: "https://progintro.github.io/assets/pdf/lec00.pdf", title: "Καλημέρα Κόσμε!", notes: [00-intro, 01-first-programs], labs: [lab00]} - - {n: 1, slug: 01-command-line, date: 2025-10-03, part: A, slides: lec01.pdf, title: "Η Γραμμή Εντολών", notes: [00-intro], labs: [lab01]} + - {n: 1, slug: 01-command-line, date: 2026-10-02, part: A, slides: lec01.pdf, url: "https://progintro.github.io/assets/pdf/lec01.pdf", title: "Η Γραμμή Εντολών", notes: [00-intro], labs: [lab01]} - {n: 2, slug: 02-memory-variables, date: 2025-10-06, part: B, slides: lec02.pdf, title: "Μνήμη και Μεταβλητές", notes: [02-types-operators], labs: [lab02, lab03]} - {n: 3, slug: 03-functions, date: 2025-10-10, part: B, slides: lec03.pdf, title: "Συναρτήσεις", notes: [04-functions], labs: [lab05]} - {n: 4, slug: 04-git-operators, date: 2025-10-13, part: A, slides: lec04.pdf, title: "Git και Τελεστές", notes: [02-types-operators], labs: [lab01]}