Re:How to programmatically find out if computer is on
by marcodiego on Saturday November 20, 2021 @02:32PM
(#29291108)
Although many people are laughing, I believe the function works ok. The only complicated part is to find a way to call it when the computer is not on.
[ Parent
| on HN ]
Re:How to programmatically find out if computer is on
by guerrilla on Sunday November 21, 2021 @01:29AM
(#29294590)
Easy peasy, just call it from a different computer.
Re:How to programmatically find out if computer is on
by someonewhocar3s on Saturday November 20, 2021 @06:42PM
(#29292832)
If you take the memory unit, and attach it to another computer, does >interpreting< the code count as running the software on the new computer?
I suppose it would.
So perhaps a biocomputer of sorts could be offline and return undefined behavior by spec. Guess we'll keep looking for that perfect OS code.