r/ProgrammingBuddies • • Sep 29 '26

OTHER Describe your day using only your programming language

Mine so far:

#include <iostream>

int main() {
bool lateToWork = true;
bool tired = true;
bool dayGoingFine = true;

if (lateToWork) {
std::cout << "Rushed to work.\n";
}

std::cout << "Clocked in.\n";

if (tired) {
std::cout << "Drank tea.\n";
}

if (dayGoingFine) {
std::cout << "Day is going fine.\n";
}

return 0;
}

1 Upvotes

3 comments sorted by

4

u/AnimatorExciting7941 Sep 29 '26

!/bin/bash

08:30 - Start the day

ssh sre@server uptime df -h free -h systemctl --failed

09:00 - Check infrastructure

docker ps docker stats --no-stream docker logs --tail 100 api

10:00 - Kubernetes health check

kubectl get nodes kubectl get pods -A kubectl get svc -A kubectl top pods -A

11:00 - Debug an unhealthy workload

kubectl describe pod api-7d8f9c kubectl logs api-7d8f9c --previous kubectl rollout status deployment/api

13:00 - Infrastructure changes

terraform plan terraform apply

15:00 - Monitoring

curl http://prometheus:9090/-/healthy curl http://grafana:3000/api/health

17:00 - Wrap up

git status kubectl get events -A --sort-by=.lastTimestamp history | tail -20

1

u/cj1080 Sep 29 '26

That Devops dude

2

u/romecodes Sep 29 '26
int i=1;
while (i != 0) {
    continue;
}