Readit News logoReadit News
mduggles commented on Ask HN: semi-old Firefox/Chrome can't update itslf, requires full reinstal, why?    · Posted by u/nathan_phoenix
justsomehnguy · 2 years ago
... it worked like that since Windows XP
mduggles · 2 years ago
You absolutely sure about that? https://www.biology-it.iastate.edu/solution-cannot-rename-fi...

https://answers.microsoft.com/en-us/windows/forum/all/renami...

https://superuser.com/questions/54193/how-can-i-rename-files...

From Mozilla: On Windows, it is not possible to remove or rename files and directories which are being used. In order to handle this, we need to add a little complexity.

The Firefox executable will launch a helper application copied to somewhere outside of the installation directory, most likely the system's temporary directory. The helper application renames the existing installation directory to a new directory with ".tmp" appended to its path name. If the rename operation fails in the middle of the operation because of a file being open by another application, it reverts the change.

Source: https://wiki.mozilla.org/Background_Updates

mduggles commented on Ask HN: semi-old Firefox/Chrome can't update itslf, requires full reinstal, why?    · Posted by u/nathan_phoenix
justsomehnguy · 2 years ago
> On Windows it isn't possible to remove or rename files and directories that are being used

Besides some access modes you can rename files in use. I did even bothered and tried on firefox.exe I'm typing this - it works fine.

mduggles · 2 years ago
My information might be old. I haven’t worked on a Windows application in 5+ years. At that point you couldn’t.
mduggles commented on Ask HN: semi-old Firefox/Chrome can't update itslf, requires full reinstal, why?    · Posted by u/nathan_phoenix
mduggles · 2 years ago
On Windows it isn't possible to remove or rename files and directories that are being used. In order to handle this, you typically have to run some sort of helper application outside of the installation directory. This renames the existing installation directory to a new directory with ".tmp" (often, not always, but this is my guess). If that rename operation fails in the middle of the operation because a file being opened, either by another process or sometimes by an add-on, then the background update fails.

On Mac and Linux it's less complicated which is why they never get the "download the new version" prompt, but Chrome and Firefox have evolved systems for managing how these silent updates work. On Chrome the update button you talk talking about means you haven't closed the browser in awhile. If you see green that means an update has been available for 2 days, orange – 4 days and red – 7 or more days.

My guess is that you are encountering a situation in which the Chrome background helper can't successfully run the update process and then asks you to download the whole thing again so they don't need to rely on the updater and can just move your user files over.

mduggles commented on As many as one in six U.S. tree species is threatened with extinction   washingtonpost.com/climat... · Posted by u/myshpa
mduggles · 2 years ago
I find this appeal to find something other than a “doom” view bizarre. It’s a catastrophe. Do people expect to find some version of this story that ends with “but we can solve this with a minimally impactful solution that doesn’t cost you or your community anything”?

Maybe you don’t care about trees and animals. Global economic degrowth is gonna happen anyway as ports flood and countries lack the resources to tackle the project of rebuilding the backbone of the current global economic system. Source: https://e360.yale.edu/features/how-climate-change-is-disrupt...

So look at this story as another alarm bell. You and your family are going to be directly impacted by global warming. Asking for a happier story doesn’t change anything. It’s time to grow up and accept we put off dealing with this and it blew up in our faces.

We can either willingly engage in economic degrowth with some say in how it happens or we have a global recession/depression and all the chaos and social upheaval that comes with it. It’s bad, lots of people are going to lose their jobs and communities are going to collapse. That’s gonna happen regardless. Pretending it’s not doesn’t do anything.

I’m probably going to lose my job in that scenario but that’s the price of humanity being selfish and putting the problem off. At least with some extreme action now we can tell future generations “we tried something after waiting too long”.

mduggles commented on IPv6 Is A Disaster (but we can fix it)   matduggan.com/ipv6-is-a-d... · Posted by u/mduggles
NoZebra120vClip · 2 years ago
For an IPv6 advocate, this guy sure set up a lot of NAT. And while he claimed he's going IPv6-only, he set up public access via IPv4. That won't convince anyone to switch or upgrade.

I understand that he's building a usable service and just trying to git 'er done, but it's a lot of hacks, so I'm glad they're documented in this here blogpost.

I hope that he can continually probe the edges to find out when real IPv6 support becomes available, and can gradually remove the hacks for a purer experience.

mduggles · 2 years ago
I mean my intention was to go pure, hence finding the Docker IPv6 registry and doing the IPv6 stuff with the bridge interface.

My hope is folks know of workarounds and I’ll do them and update the post.

mduggles commented on LTS == 15 Years Not 5   logikalsolutions.com/word... · Posted by u/jandeboevrie
mduggles · 2 years ago
Backporting packages is a time-consuming process that actually requires skill. It is insane to expect people to do that for free on a volunteer basis because it makes your situation easier, especially as backporting gets harder the longer you go. RHEL offers 10 years, it costs money, that's your option. Or you pay for the staff to monitor and backport to your particular distro and foot the bill.

It's also maddening to present the issue as "our time is expensive and your time is free". If your field is unable to commit any work at all to updates, fine. UBI Micro is as small as its gonna get and moves everything difficult to the host. That could conceivably run for 15 years if you are careful with how you build it.

mduggles commented on Meta Q2 2023 revenue is up 11% YOY   twitter.com/stonksnews/st... · Posted by u/vthallam
mduggles · 2 years ago
Glad they laid off all those employees to get ready for the lean economic times.
mduggles commented on Alpine Linux does not make the news   drewdevault.com/2023/07/2... · Posted by u/jamesponddotco
mduggles · 2 years ago
Alpine’s use of musl means only the truly insane would be leaping to its defense. The inability to support DNS over TCP was a problem for years. Outside of that, so many things presuppose glibc. It’s an endless source of weird.

It doesn’t make the news cause it’s a hobby os that was made important when we decided the size of the container mattered most.

mduggles commented on Ask HN: Which distro do you use? (2023)    · Posted by u/laserstrahl
mduggles · 2 years ago
Debian at home, Debian at work.

u/mduggles

KarmaCake day991September 22, 2019
About
matduggan.com
View Original