News for hackers. Stuff that matters.
Re:Do not leave XPS laptop in any sleep/hibernate/standby mo... by mtone on Saturday September 25, 2021 @04:58AM (#28651637)
Unsaved work should be a concern of the app, not the OS. The app should obey the commands of the OS, and handle auto-saving on its own to keep fulfilling its duties to the user.

Apps that let you risk losing work -- from not just shutdowns but crashes and power outages - are the ones I don't tolerate. It's one of the reason I use Sublime Text for taking notes for example.

Re:Do not leave XPS laptop in any sleep/hibernate/standby mo... by reassembled on Saturday September 25, 2021 @05:03PM (#28656169)
VSCode has excellent work preservation. I’ve had multiple Windows in VSCode open for months, with many “unsaved” documents open, and it always reloads everything after reboots and shutdowns.