diff options
| -rw-r--r-- | infos.yaml | 40 | ||||
| -rwxr-xr-x | main.py | 6 |
2 files changed, 43 insertions, 3 deletions
@@ -44,3 +44,43 @@ lectures: name: "Parallel software and hardware" date: "22/08/2025" who: "Loïc" + 3: + name: "MPI" + date: "29/08/2025" + who: "Loïc" + 4: + name: "PThread" + date: "05/09/2025" + who: "Loïc" + 5: + name: "OpenMP" + date: "12/09/2025" + who: "Loïc" + 6: + name: "Concurrency" + date: "19/09/2025" + who: "Loïc" + 7: + name: "CUDA Intro" + date: "26/09/2025" + who: "Loïc" + 8: + name: "CUDA Optim" + date: "03/10/2025" + who: "Loïc" + 9: + name: "CPU vs GPU" + date: "10/10/2025" + who: "Loïc" + 10: + name: "Simplify Parallelism" + date: "17/10/2025" + who: "Loïc" + 11: + name: "Exam Wrap-up" + date: "12/11/2025" + who: "Loïc" + 12: + name: "Guest Lecture" + date: "07/11/2025" + who: "Loïc" @@ -31,10 +31,10 @@ def getlecture(d): for l in i["lectures"]: date=parse_date(i["lectures"][l]["date"]) if d==date: - lecturer="" + text=textwrap.fill(i["lectures"][l]["name"],i["output"]["text_wrap"]) if i["output"]["show_lecturers"]: - lecturer="\n ("+i["lectures"][l]["who"]+")" - return textwrap.fill(i["lectures"][l]["name"]+lecturer,i["output"]["text_wrap"]) + text+="\n"+textwrap.fill("("+i["lectures"][l]["who"]+")",i["output"]["text_wrap"]) + return text return "" def getevents(d): val="" |
