Is there a way to just straight-up force terminate a `.task` in SwiftUI? I'm not saying "ask it to please terminate when it's convenient 🥺", I mean "kill yourself right now and throw an error"
I'm running into a problem where I have some resource-intensive tasks that the user might want to kill, completely disregarding their current state. I tried looking it up, and every tutorial I've found is about the former variety. It might not be a best practice, but I swear I have a use case
#swift
Does anyone out there have experience with Fedora Server just randomly shutting down and then refusing to restart properly? I swear it happens to me every month and I don’t know why. Sometimes I have to do a manual power cycle, and sometimes, not even that helps and I have to login manually (it’s a headless server).
It’s not power interruptions, I have backup power. It’s not the BIOS either. I’m thinking it might be some auto update shit.
#linux #fedora
Notes by David Bureš | export