So while this is truly great, what's even better is modern container orchestration frameworks like Kubernetes where if your pod (analogous to docker image. or if you don't now what that is that's just your code running) stops responding it'll just bring up another one.
Instead of debugging ridiculous threading issues, I literally wrote a cron job to see if a pod's logs were older than an hour and reboot that thing. Really wonderful.
93
u/PydraxAlpta Jul 21 '23
7 thousand lines of pure "physics graduate" monolith
2
u/goldenboykintar0 Jul 30 '23
Source: Remote Startup Senpai (doesn't seem to be on MAL yet)
https://www.youtube.com/@remotestartupsenpai
https://twitter.com/rss_mayu
40
u/Dubsteprhino Jul 21 '23
So while this is truly great, what's even better is modern container orchestration frameworks like Kubernetes where if your pod (analogous to docker image. or if you don't now what that is that's just your code running) stops responding it'll just bring up another one.
Instead of debugging ridiculous threading issues, I literally wrote a cron job to see if a pod's logs were older than an hour and reboot that thing. Really wonderful.
tl;dr I went on a tangent here.
2
u/gudlag Jul 23 '23
Garbage
2
u/ThePyroEagle λ Sep 12 '23
Even better:
On Error Resume NextIt does exactly what you're guessing (ignore the error and continue running the program as if nothing happened).
1
u/Electronic-Bat-1830 Jul 27 '23
Inb4 you get segfault.