Skip to content

Commit

Permalink
Merge pull request #173 from jeefy/main
Browse files Browse the repository at this point in the history
improve verify, fix one error
  • Loading branch information
castrojo authored Oct 8, 2023
2 parents a605fc9 + 0822a41 commit 33d7487
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
16 changes: 15 additions & 1 deletion pkg/verify/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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 != "" {
Expand Down
1 change: 1 addition & 0 deletions presentations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 33d7487

Please sign in to comment.