From 0822a417e1bce3eb80b3c6636a2e7acddba9f0f5 Mon Sep 17 00:00:00 2001 From: Jeffrey Sica Date: Sun, 8 Oct 2023 19:20:55 +0000 Subject: [PATCH] improve verify, fix one error Signed-off-by: Jeffrey Sica --- pkg/verify/verify.go | 16 +++++++++++++++- presentations.yaml | 1 + 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/pkg/verify/verify.go b/pkg/verify/verify.go index ef203bb..ef2a383 100644 --- a/pkg/verify/verify.go +++ b/pkg/verify/verify.go @@ -24,7 +24,19 @@ func Verify(f string) error { } errors := []error{} - for _, entry := range data { + for key, entry := range data { + if entry.Name == "" { + errors = append(errors, fmt.Errorf("empty name detected for entry %d", key)) + continue + } + + if entry.Description == "" { + errors = append(errors, fmt.Errorf("empty description detected for '%s'", entry.Name)) + } + if entry.Date.IsZero() { + errors = append(errors, fmt.Errorf("empty date detected for entry '%s'", entry.Name)) + } + if entry.Slides != "" { if _, err := url.Parse(entry.Slides); err != nil { errors = append(errors, fmt.Errorf("invalid slides URL for %s: %v", entry.Name, err)) @@ -33,6 +45,8 @@ func Verify(f string) error { errors = append(errors, fmt.Errorf("broken slides URL for %s (%s): %v", entry.Name, entry.Slides, err)) } } + } else { + errors = append(errors, fmt.Errorf("slides URL empty for %s", entry.Name)) } if entry.Video != "" { diff --git a/presentations.yaml b/presentations.yaml index 9ead5f0..31f502f 100644 --- a/presentations.yaml +++ b/presentations.yaml @@ -68,6 +68,7 @@ description: | Users don’t care where items run, just IF they run and how long they need to wait for completion. We should be building systems where ONLY the hardware, network, storage, and security engineers worry about how to maximally leverage underlying hardware for performance. Increasingly popular AI/ML and traditional HPC workloads have many similarities. It is historically difficult for the users to deploy their workloads in HPC environments. Kubernetes, meanwhile, has focused on simplifying the cognitive load for the users at a cost to both performance and sustainability. We show how to lift paradigms from HPC to make more performant Kubernetes clusters. We give a history of where HPC has come up short in abstracting hardware away from the user. We highlight current Kubernetes projects that do aid in performance in a cloud-native fashion and will go over continuing gaps. We will show how to improve Kubernetes to optimize both performance and sustainability without added pain to the user. video: https://www.youtube.com/watch?v=0iH1HK20obs + slides: https://static.sched.com/hosted_files/kubernetesbatchdayna22/68/PropogatingProgammingParadigmsMarlowWestonIntel.pdf?_gl=1*1ikx4yr*_ga*MjEyMzcyMjQ3OS4xNjk2Nzg3NDM5*_ga_XH5XM35VHB*MTY5Njc4NzQzOS4xLjAuMTY5Njc4NzQzOS42MC4wLjA. date: 2023-10-24 presenters: - name: Marlow Weston