what would be very telling is a message to restore the internet connection in order to properly power down the device, there are some people who yank the cords, and only stopped yanking batteries when they were glued in.
you should be suspicious of what any device is doing by wire nowadays, if a software has to prepare for a shutdown, and wont even give you a manifest of proposed shutdown tasks.
preserving a ram image in storage is cool, surruptitiously sending logs, and reports out of the device is not.
> I believe that on Windows Insider builds of Windows, you get a message that says something like “Please let go of the power button so we can collect more information, and then we will turn off the computer.” This gives the kernel more time to finish capturing its kernel dump
>> If you hold a PC’s power button for 12 seconds, it will turn off at the hardware level without notifying the operating system. This is a safety feature so that you can turn of the computer even if the operating system’s “Shut down” command isn’t working.
You know what would work even better than that?
A power switch, where if you set it to "off", there's no power.
My desktop has this feature- the power supply has its own switch that will cut power to everything. Ofc I could also just unplug it. But I bumped it once and it took me a little while to figure out why my computer wouldn't turn on.
IMO that's a necessary feature for any time when the wall-power stops being reliable.
For example, of the power goes out, I switch it to Off until it seems to be reliably back. Otherwise it might get cycled multiple times or damaged by brownouts.
I go upstream to the whole power strip or UPS in this case, but yeah, on the bench it's certainly nice to be able to kill the input and know +5VSB is truly off, etc.
> This gives the kernel more time to finish capturing its kernel dump
How large is the dump and how slow is the storage for it to take so much time? A modern SSD can write several megabytes in a fraction of a second; in a few seconds it can easily write 10s of MB even for garbage tier SSDs.
The skeptic in me says it's just MS doing a lazy job instead of trying to optimise their systems.
Just to give a sense of scale, copying a file between two nvme ssds is easily 1gb/s, even on your home computer, so this is now general and not lab numbers.
I wonder if, in case of certain types of crashes, it falls back to some sort of "safe mode" non-optimized drivers to minimize the chances of the dump being corrupted by the same problem that caused the crash.
If such drivers exist, I wouldn't be surprised if they were (as those of us old enough to remember 32BitDiskAccess=ON can readily tell you) at least an order of magnitude slower.
>This gives the kernel more time to finish capturing its kernel dump
But why does it need more than 10 seconds?
Even a mechanical hard drive is doing >150MB/s, so that's a gig and a half, and SSDs/NVMEs are doing multiples of that meaning you could write potentially write the entire RAM allocation to disk.
Only in a sequential read/write operations and only for 3.5" and 2.5" 10k drives. 2.5" can do it on the outside tracks sometimes.
Now add the fragmentation of the filesystem and now it's sub 10MB/s.
> SSDs/NVMEs are doing multiples of that
Only in 'good' conditions. Fragmentation of the filesystem, fragmentation of the flash itself, size of the erase block, write amplification - all of these can plummet the performance[0] of a flash drive. And some cheap tablets/2-in-1 are using eMMC which is way worse than even a SATA SSD.=
When I hold the power button for 10 seconds on my linux machine because I want it off 'now' and not 'when it's good and ready', it is off very shortly after 10 seconds. When I did so on the same device when it was running Windows a year ago, there was no "please give us a sec".
So the "why" is "why does this (the machine turns off gracefully in the time I ask it to) not hold for only the most recent versions of a Windows machine"? What is the Windows machine doing now that it didn't do before that it cannot accomplish in the timeframe it's had for a very long time? Is there no optimization that can be done to avoid yet another userspace interruption? Is it that it needs some extra time for telemetry? That it needs some new undocumented verification step? That it's calling home to check for updates it could apply during this 'unscheduled' shutdown? What? What is it? Why? Why is it?
This just rings of the old "eject your USB" thing where the only reason to do so was the OS deciding to cache writes for the future instead of doing them at or as near as possible to the time the user requested them. The only reason my USB wouldn't have the files I expected it to is if the OS is behaving counter to the expectation that it'd already set for me of files being written at the time the button/script was executed.
There is no reason that we couldn't get a "your device is ensuring synchronization with the USB device" message back then, and no reason we can't get a "your machine may experience issues if you continue to hold the power button" message now.
As it stands, there is no reason to suspect (from only the message) that there will be any issues, and so users will ignore it. There is no reason in either the USB case or this one to not include a sentence detailing potential ramifications to allow the user to decide whether or not the requested action is genuinely required.
This is the perfect time to remind everyone that Apple broke The Rule. You can no longer shut down iPhones by simply holding the power button. You now need to know a secret, unadvertised combo of buttons.
It's worse if you have to force restart a frozen iPhone, which requires an even more complex button combination:
If iPhone isn’t responding, and you can’t turn it off then back on, try forcing it to restart.
Press and quickly release the volume up button (on iPhone Duo, the volume button nearest the side button).
Press and quickly release the volume down button (on iPhone Duo, the other volume button).
Press and hold the side button.
This has been the case for 9 years now, since the iPhone 10 when they first got rid of the home button.
When they had a home button it used to be:
- Hold side button: power off/force restart
- Hold home button: use Siri
Then with the home button gone it became:
- Hold side button: use Siri
So they got rid of a dedicated button to restart the phone and instead mad it “volume up, volume down, then hold side button”… it’s not an entirely unreasonable approach given the constraints.
I don't have an iPhone, so I don't know if this is in the manual, but as family tech support, it's easy enough to find, direct from Apple, with a quick web search of "turn off iPhone", that I don't think you can say that this is "unadvertised".
The information being available to you if you specifically search it out doesn’t imply it is advertised. The whole point of the word is that they bring your attention to something. It is explicitly unadvertised.
You're used "unadvertised" in a non literal way previously, but are trying to pretend you meant it in a more literal sense. Your original post with this meaning of "unadvertised" would be incredibly disingenuous.
I can't begin to describe how obnoxious I find the "we" in Windows. If I remember correctly, it began with Windows 10 - before, each message was impersonal, as they should be.
I literally returned a game on Steam because it said “let’s get you signed in” trying to make me sign in with a Microsoft account. I hate forced sign ins for single player games as it is, but I think I would’ve stuck with it and tried the game if they didn’t also use such infantilizing language on top of it.
Also "Welcome" instead of "Logging in" while Windows is actually still deciding whether or not the user is welcome and might still reject the login attempt.
And "Getting things ready for you" when I didn't ask for any "things" to be done. Microsoft is doing whatever they're doing for their own purposes, without informing me, without my permission, and definitely not "for you".
And "Don't turn off your computer". Is that an order or a threat?
All the messaging in recent Microsoft products feels deceptive, condescending and vaguely threatening.
I agree, and, sometimes this year ChatGPT started using the "I" pronoun. Old news for most people I'm sure but still unnerving to me - especially when it started describing humanity as "We" in recent summary of Blindsight/Echopraxia.
I feel like the evil villain from sci-fi movies but "stay in your box, LLM" :-/
A lot of the time when I ask chatgpt to explain something it gives me an unsolicited section about its own opinion on it. Like, okay, thanks for letting me know?
I am infinitely disturbed by the text "Don't turn off your computer" when I'm updating a computer that isn't mine. What does it know about that other computer?
Also, "You're 67% there." When I look at myself, I'm pretty sure I'm 100% there, thank you very much.
They could just say "Updates 67% finished. Don't turn off this computer." Equally clear, just as polite, and actually correct.
When all else fails, you can shut down your computer through explosive kinetic propulsion of high-density objects into the computer's power supply. Even Microsoft hasn't found a way to get around that.
Journalling prevents corruption of the filesystem itself, but it does nothing to prevent individual programs from having their files corrupted. (Maybe all programs ought to use sqlite as their data format, but alas.)
Journaling saves you from catastrophic filesystem corruption, but it doesn't make sure data that's still in caches has been fully saved to disk. Applications may not have saved their work, and even if they have, the OS may not have written everything out yet.
I believe that is the entire comment - the implication being that mainframes are designed to be reliable to the point that you turn them on, and then they just work 24/7 until your company folds
Meanwhile I hit the power button once on a Proxmox (hence Debian Linux) machine with countless VMs and containers and everything is shut down cleanly in about three seconds: clean shutdowns of the everything, including clean shutdown of the VMs, then Proxmox shuts itself down and the machine turns off.
Three seconds.
I think TFA is another wonderful display of Microsoft products' "quality".
I've increasingly come to dislike 'soft' power buttons. My recent, high-end Windows 11 laptop can get in a state where I have to hold a soft button down for over 30 seconds just to force it to fully power off. While I can understand soft buttons on computer devices which might be writing caches to media, they're now endemic on devices where there's no clear justification for them. There's no reason a $20 battery powered hand vacuum can only be turned on or off with a three second press-and-hold on a soft button!
Even when my television has explicitly been placed in the most "off" state a user can reach, it secretly powers itself on while leaving the screen black at least twice a day and attempts to 'phone home' (which I know because it's blocked at the firewall from internet access). Worse, things with soft buttons are hard to control via a smart plug and home automation, requiring a more advanced IR emitter device, learning the relevant codes, etc.
I hate how enshittification is prematurely turning all of us into "angry old man shakes fist at cloud."
Remember how laptops used to have an easily detachable battery, pull the latch, out it pops? Came in handy on multiple occasions in this very sort of situation. In order for us to be able to completely trust a soft power off, the mobo's firmware needs to not completely suck. An impossible ask for most manufacturers in my experience.
While I was traveling last week, my work iPhone got itself into a state where an "Unable to install OneDrive" popup was at the frontmost layer of the screen, the button did nothing when tapped, and it inhibited interacting with all other controls.
Including the power-off function, which requires interacting with the touchscreen.
It was completely unusable. Couldn't check my email, couldn't make or receive calls, couldn't call 911 if I'd needed to, couldn't use my translate app, couldn't show the customs agent my confirmed flight to leave the country, without which they would deny me entry... Couldn't even start hotspot to pull the same data from my laptop. (Thankfully my traveling companion was able to convince them that we were on the same flight and they seemed satisfied with that, but holy crap, of all the dumb reasons to be caught in international limbo! If that hadn't worked, I would've tried hotspot off her phone. If I'd been alone, I would've been Very Boned™.)
I did manage to capture a screenshot of it in this state, amusingly enough, because THAT function uses a side-button interaction, and doesn't require the screen at all.
But somehow, POWERING THE DAMN THING OFF is not possible by the side buttons anymore.
I had just charged it when it got wedged, so it took 4 days for the battery to die.
You have to do a sequence of buttons[0]. It’s stupid, especially when you only use it once in a blue moon and have to look it up to remember it, which you can’t do if you’re out and about and your only computing device is your phone.
It’s always kinda funny when someone’s phone is fritzing out and they hand it to me, being the nearest tech dork, thinking I know how to restart it. Only for me to have to google whatever the particular restart sequence is because I think there’s been at least three different ones over the years.
Old computers not only used to have real, hard cut-off power switches, but also used to detect when they were used, by monitoring the voltage level, and spend its last remaining milliseconds of life on saving all registers and related information to persistent storage. This way, when the computer was turned on again, they could resume running exactly where they were before being turned off.
The PSU still outputs a Power Good signal, though I don't know if it actually goes false before the rails fall out of regulation. Easy enough to check with a 'scope, I guess.
rolph | 7 hours ago
you should be suspicious of what any device is doing by wire nowadays, if a software has to prepare for a shutdown, and wont even give you a manifest of proposed shutdown tasks.
preserving a ram image in storage is cool, surruptitiously sending logs, and reports out of the device is not.
LoganDark | 6 hours ago
busymom0 | 25 minutes ago
mzajc | 6 hours ago
Might be related to https://devblogs.microsoft.com/oldnewthing/20261029-00/?p=11...:
> I believe that on Windows Insider builds of Windows, you get a message that says something like “Please let go of the power button so we can collect more information, and then we will turn off the computer.” This gives the kernel more time to finish capturing its kernel dump
thaumasiotes | 5 hours ago
You know what would work even better than that?
A power switch, where if you set it to "off", there's no power.
rcxdude | 5 hours ago
pfooti | 5 hours ago
Terr_ | 4 hours ago
For example, of the power goes out, I switch it to Off until it seems to be reliably back. Otherwise it might get cycled multiple times or damaged by brownouts.
myself248 | 4 hours ago
trashcan_man | 4 hours ago
justsomehnguy | 3 hours ago
user_7832 | 4 hours ago
How large is the dump and how slow is the storage for it to take so much time? A modern SSD can write several megabytes in a fraction of a second; in a few seconds it can easily write 10s of MB even for garbage tier SSDs.
The skeptic in me says it's just MS doing a lazy job instead of trying to optimise their systems.
63stack | 4 hours ago
myself248 | 4 hours ago
If such drivers exist, I wouldn't be surprised if they were (as those of us old enough to remember 32BitDiskAccess=ON can readily tell you) at least an order of magnitude slower.
goodmythical | 4 hours ago
But why does it need more than 10 seconds?
Even a mechanical hard drive is doing >150MB/s, so that's a gig and a half, and SSDs/NVMEs are doing multiples of that meaning you could write potentially write the entire RAM allocation to disk.
justsomehnguy | 3 hours ago
Only in a sequential read/write operations and only for 3.5" and 2.5" 10k drives. 2.5" can do it on the outside tracks sometimes.
Now add the fragmentation of the filesystem and now it's sub 10MB/s.
> SSDs/NVMEs are doing multiples of that
Only in 'good' conditions. Fragmentation of the filesystem, fragmentation of the flash itself, size of the erase block, write amplification - all of these can plummet the performance[0] of a flash drive. And some cheap tablets/2-in-1 are using eMMC which is way worse than even a SATA SSD.=
[0] https://ssd.userbenchmark.com/SpeedTest/1218310/Samsung-SSD-... scroll to "User Benchmarks" under "Average Bench", look at "Random 4k" - oops, average is ~50MB/s
goodmythical | an hour ago
When I hold the power button for 10 seconds on my linux machine because I want it off 'now' and not 'when it's good and ready', it is off very shortly after 10 seconds. When I did so on the same device when it was running Windows a year ago, there was no "please give us a sec".
So the "why" is "why does this (the machine turns off gracefully in the time I ask it to) not hold for only the most recent versions of a Windows machine"? What is the Windows machine doing now that it didn't do before that it cannot accomplish in the timeframe it's had for a very long time? Is there no optimization that can be done to avoid yet another userspace interruption? Is it that it needs some extra time for telemetry? That it needs some new undocumented verification step? That it's calling home to check for updates it could apply during this 'unscheduled' shutdown? What? What is it? Why? Why is it?
This just rings of the old "eject your USB" thing where the only reason to do so was the OS deciding to cache writes for the future instead of doing them at or as near as possible to the time the user requested them. The only reason my USB wouldn't have the files I expected it to is if the OS is behaving counter to the expectation that it'd already set for me of files being written at the time the button/script was executed.
There is no reason that we couldn't get a "your device is ensuring synchronization with the USB device" message back then, and no reason we can't get a "your machine may experience issues if you continue to hold the power button" message now.
As it stands, there is no reason to suspect (from only the message) that there will be any issues, and so users will ignore it. There is no reason in either the USB case or this one to not include a sentence detailing potential ramifications to allow the user to decide whether or not the requested action is genuinely required.
kulahan | 6 hours ago
At least for me, this is power and volume-up.
[OP] firloop | 5 hours ago
ninkendo | 5 hours ago
When they had a home button it used to be:
Then with the home button gone it became: So they got rid of a dedicated button to restart the phone and instead mad it “volume up, volume down, then hold side button”… it’s not an entirely unreasonable approach given the constraints.Animats | 5 hours ago
rf15 | 5 hours ago
gpvos | 4 hours ago
Jhsto | 4 hours ago
Hamuko | 5 hours ago
kulahan | 3 hours ago
dfxm12 | 5 hours ago
https://support.apple.com/guide/iphone/turn-iphone-on-or-off...
kulahan | 3 hours ago
dfxm12 | 3 hours ago
It's also not secret because they published it.
baal80spam | 5 hours ago
ninkendo | 5 hours ago
I literally returned a game on Steam because it said “let’s get you signed in” trying to make me sign in with a Microsoft account. I hate forced sign ins for single player games as it is, but I think I would’ve stuck with it and tried the game if they didn’t also use such infantilizing language on top of it.
ptx | 5 hours ago
And "Getting things ready for you" when I didn't ask for any "things" to be done. Microsoft is doing whatever they're doing for their own purposes, without informing me, without my permission, and definitely not "for you".
And "Don't turn off your computer". Is that an order or a threat?
All the messaging in recent Microsoft products feels deceptive, condescending and vaguely threatening.
NikolaNovak | 5 hours ago
I feel like the evil villain from sci-fi movies but "stay in your box, LLM" :-/
Starlevel004 | 5 hours ago
gpvos | 4 hours ago
Also, "You're 67% there." When I look at myself, I'm pretty sure I'm 100% there, thank you very much.
They could just say "Updates 67% finished. Don't turn off this computer." Equally clear, just as polite, and actually correct.
sweetdingoes | 5 hours ago
GenerocUsername | 5 hours ago
bovermyer | 5 hours ago
codewench | 3 hours ago
This is often generalized to the concept of "percussive maintenance"
londons_explore | 5 hours ago
So, use that ability! Don't shut anything down gradually - just pull the plug.
In a similar vein, don't worry about properly destructing and unloading everything when shutting down a program... Just call exit(0) and quit.
wavemode | 5 hours ago
kelnos | 4 hours ago
NikolaNovak | 5 hours ago
"I'm afraid, Dave... I can feel my brain going.... I can feel it... Stop, Dave. Will you stop Dave?"
kitd | 5 hours ago
mx7zysuj4xew | 4 hours ago
Shish2k | 4 hours ago
myself248 | 4 hours ago
gpvos | 4 hours ago
netsharc | 4 hours ago
TacticalCoder | 4 hours ago
Three seconds.
I think TFA is another wonderful display of Microsoft products' "quality".
JdeBP | 4 hours ago
mrandish | 4 hours ago
Even when my television has explicitly been placed in the most "off" state a user can reach, it secretly powers itself on while leaving the screen black at least twice a day and attempts to 'phone home' (which I know because it's blocked at the firewall from internet access). Worse, things with soft buttons are hard to control via a smart plug and home automation, requiring a more advanced IR emitter device, learning the relevant codes, etc.
I hate how enshittification is prematurely turning all of us into "angry old man shakes fist at cloud."
moffkalast | 4 hours ago
Just gonna leave this here for no particular reason: https://community.frame.work/t/upgrading-to-bios-3-20-on-ryz...
myself248 | 4 hours ago
Including the power-off function, which requires interacting with the touchscreen.
It was completely unusable. Couldn't check my email, couldn't make or receive calls, couldn't call 911 if I'd needed to, couldn't use my translate app, couldn't show the customs agent my confirmed flight to leave the country, without which they would deny me entry... Couldn't even start hotspot to pull the same data from my laptop. (Thankfully my traveling companion was able to convince them that we were on the same flight and they seemed satisfied with that, but holy crap, of all the dumb reasons to be caught in international limbo! If that hadn't worked, I would've tried hotspot off her phone. If I'd been alone, I would've been Very Boned™.)
I did manage to capture a screenshot of it in this state, amusingly enough, because THAT function uses a side-button interaction, and doesn't require the screen at all.
But somehow, POWERING THE DAMN THING OFF is not possible by the side buttons anymore.
I had just charged it when it got wedged, so it took 4 days for the battery to die.
Right there with ya shaking my fist, compadre.
starkrights | 3 hours ago
[0]: https://support.apple.com/guide/iphone/force-restart-iphone-...
justsomehnguy | 2 hours ago
NB Android uses 'hold VOL- and Power till poweroff' for 15+ years
starkrights | 2 hours ago
sigh lol
teddyh | 4 hours ago
myself248 | 4 hours ago