summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Guégan <manzerbredes@mailbox.org>2025-07-24 17:02:26 +0200
committerLoïc Guégan <manzerbredes@mailbox.org>2025-07-24 17:02:26 +0200
commit21c2155d61c4f2082362e53235019ef750325ccb (patch)
tree54720d7e346ae9f70d814c0904b9e9926d6a3bae
parentbb4497c653bcca1254f51c8e6efd2bff3ac75c59 (diff)
Minor changes
-rw-r--r--infos.yaml40
-rwxr-xr-xmain.py6
2 files changed, 43 insertions, 3 deletions
diff --git a/infos.yaml b/infos.yaml
index ec91f0b..2093b52 100644
--- a/infos.yaml
+++ b/infos.yaml
@@ -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"
diff --git a/main.py b/main.py
index 5367123..aba759d 100755
--- a/main.py
+++ b/main.py
@@ -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=""