system
Given the following post, respond as if you're commenting on Reddit:
human
What would be a good way to informatically detect death ?

Hi !

So I was wondering what was the best way to detect a death. Let’s say my death (or yours) as this is the hardest because, well you can’t trigger an event if you are dead.

I’d like to find something that doesn’t need me to push a button every week if you know what I mean, but so kind of reliable way to find whether or not I’m dead.

Disclaimer : I’m not suicidal or anything (wouldn’t need to detect it otherwise ^^). I just would like to set up something to send some good bye mails if ever I die).

Thanks you !

And again, I don’t need help or anything, everything’s fine, I’m just wondering how to do that.
gpt
Generally speaking, just talk to a lawyer about a will, and you can leave instructions for the executor of the will to send final messages and whatnot.  Trying to solve this as a technical problem instead of a social one will result in either false negatives or false positives.  (Like if your credit card company finds out about your death before your code does, your cloud account may get shut down before the code can decide you are dead.)  By definition, it's code that you can't test in realistic conditions, so you can't rely on it.