Live data from Hacker News

Have you restarted your computer this week?

taonaw.com

111–120 of 411 posts

Re: Have you restarted your computer this week?

#111
post #94

Earlier quoted context omitted.

That is not true, when you close apps on macOS the process(es) really are finished, just like on Windows or Linux.

I think they think of "closing an app" as closing its windows, which on Mac does not always "Quit" the app.

Right, I see. That is the traditional behaviour but there’s lots of apps that don’t do that, and closing the last window does also quit the app.

Re: Have you restarted your computer this week?

#112
post #3

No I power it off first and then I start it up again

My understanding for Win10 was that Restart was "more complete" than rebooting by a manual power-off/power-on.

Found it: "By default, Windows computers use a "Fast Startup" feature when you click Shut Down." It actually performs a sort of hibernate, saving state data of the system (but not necessarily of all running programs - that's another setting). Restart clears those state registers and begins a new, fresh Windows session.

So, ideally: Perform a Restart, not Shut Down, at the end of your day.

Re: Have you restarted your computer this week?

#115
post #72

This is actually useful for smartphones. Sometimes smartphone malware is capable of infecting a device but not persisting, so reboots clean it back up. At least if you trust the NSA's advice: https://s3.documentcloud.org/documents/21018353/nsa-mobile-d...

The same reason I barely restarted my iPhone for a few years. The `checkra1n` jailbreak had to be reinstalled each time (though it was easy):

https://checkra.in/

Re: Have you restarted your computer this week?

#116
post #107

I have a cron job which restarts my computer every day (Linux Mint Debian edition). I like waking up to a "fresh" computer, and since I know that it will restart every day - this is a "forcing function" to (1) be diligent about saving things that are important, (2) treating browser tabs, random notes, etc as ephemeral, and bookmarking the important stuff. I used to work at an office where we pair-programmed with clie…

A slightly more fun version:

  0 0 * * * sleep $((RANDOM % 86400)) && /usr/sbin/shutdown -r +5 "Rebooting in 5 minutes. Run 'shutdown -c' to cancel"

Re: Have you restarted your computer this week?

#117
post #72

This is actually useful for smartphones. Sometimes smartphone malware is capable of infecting a device but not persisting, so reboots clean it back up. At least if you trust the NSA's advice: https://s3.documentcloud.org/documents/21018353/nsa-mobile-d...

On GrapheneOS, restarting also brings the device to a BFU state, which makes it loads harder for an adversary with physical access to unlock it.

Re: Have you restarted your computer this week?

#118
post #111

Earlier quoted context omitted.

I think they think of "closing an app" as closing its windows, which on Mac does not always "Quit" the app.

Right, I see. That is the traditional behaviour but there’s lots of apps that don’t do that, and closing the last window does also quit the app.

That's a perfectly acceptable practice for apps that only ever have one window. For document-based apps or apps that have multiple windows, usually the convention on Mac is for closing the last window to not also quit the app. But of course there are exceptions in both directions, it's not a hard and fast rule.
Post reply on HN