News for hackers. Stuff that matters.
Re:Microsoft is building a Chromium browser to replace Edge ... by plq on Tuesday December 04, 2018 @06:46AM (#18598545)
> My favorite is prompting me to restart to install an update when I open it.

It's the best they can do. Windows carries a lot of baggage and bad decisions around its OS design. One of them is that when a file has an exclusive lock (eg an .exe file that's running) it can't be deleted. NTFS and Windows Kernel don't implement reference counting like a proper OS.

So Firefox (or any software package with in-place self-update functionality) needs to wait until the application is shut down to perform updates. Firefox team chose to do it before launching the app. They could have done it after closing it. Both approaches have their pros and cons so it's not easy to criticize them either way.

Re:Microsoft is building a Chromium browser to replace Edge ... by teknologist on Tuesday December 04, 2018 @07:25AM (#18598759)
I am not an expert on this, but I believe Chrome downloads a new exe waiting to be copied over when it is launched. The Firefox updater on the other hand is a whole progress bar experience where a lot of things seem to have to happen to perform an update.
Re:Microsoft is building a Chromium browser to replace Edge ... by riskable on Tuesday December 04, 2018 @08:25AM (#18599188)
This is correct. Chrome handles updates via a completely separate .exe that runs via the Windows Task Scheduler.

I know this because my company pushed out a Group Policy update a while back that removed the ability of users to add/remove scheduled tasks and it broke Chrome updates across the company.

Also, this problem (not being able to patch a running app) is unique to Windows because of its terrible file locking implementation (that are the result of a bad decision made decades ago!). In Linux you'll get Chrome, Chromium, and Firefox updates along with everything else and it won't disrupt your use in the slightest. You can restart the app to apply those updates at your leisure!

Re:Microsoft is building a Chromium browser to replace Edge ... by iaml on Tuesday December 04, 2018 @12:30PM (#18601536)
Firefox does this too, see Mozilla Maintenance Service.
Re:Microsoft is building a Chromium browser to replace Edge ... by dx034 on Tuesday December 04, 2018 @08:09AM (#18599070)
I believe the problem with Edge is (correct me if I'm wrong) that files that would need to be updated are used by Windows Explorer, so any update would need a restart of the machine.
Re:Microsoft is building a Chromium browser to replace Edge ... by h1d on Tuesday December 04, 2018 @10:57AM (#18600538)
I thought they pushed Windows 10 and Edge to let go of legacy cruft. This is so year 2000 that app update needs a reboot.
Re:Microsoft is building a Chromium browser to replace Edge ... by russdpale on Tuesday December 04, 2018 @08:17PM (#18605005)
I remember being so excited to try windows ME... and let down so, so, so, so hard.
Re:Microsoft is building a Chromium browser to replace Edge ... by pjmlp on Tuesday December 04, 2018 @07:54AM (#18598937)
Today I learned that VMS wasn't a proper OS, because proper OS let processes blindly overwrite files from others.
Re:Microsoft is building a Chromium browser to replace Edge ... by gvb on Tuesday December 04, 2018 @08:19AM (#18599150)
Unlink with reference counting, not overwrite. This allows the program to "delete" itself but the file remains as an unnamed file on the drive until the last program that references it exits.

If the file name was the last hard link to the file, the file itself is deleted as soon as no program has it open.

Ref: https://en.wikipedia.org/wiki/Unlink_(Unix)