mduggles

Joined 7 years ago

Karma
991
Submissions
52
Member since
Sep 22
matduggan.com
View on Hacker News

Recent submissions

Comment · 3 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

Comment · 3 years ago
My information might be old. I haven’t worked on a Windows application in 5+ years. At that point you couldn’t.
Comment · 3 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.

Comment · 3 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”.

Comment · 3 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.

Comment · 3 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.

Comment · 3 years ago
Glad they laid off all those employees to get ready for the lean economic times.
Comment · 3 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.

Comment · 3 years ago
Debian at home, Debian at work.
Comment · 3 years ago
I’ve never read an author who liked his own writing as much as this fellow. I had a couple of issues with it.

- You have to accept that the concept of “the left” is in deep trouble and the root of this trouble is that it has a strict definition of itself that doesn’t include well-meaning folks like conservative religious folks.

- That a figure like Hitchens registers on the scale of “moving political systems”. I personally don’t care if a philosopher who writes mostly about religion believes in the invasion of Iraq.

It read like a lot of words to get to “secular liberal governments are actually bad and we need to embrace conservative values because rust belt”. If I missed some crucial point let me know.

Comment · 3 years ago
Typically chatbots that I interact with are just attempting to steer me back towards FAQs. I don’t need a different interface to search your documentation in an attempt to keep me on the cheap customer service path and away from the expensive customer service path.

Which isn’t to say they can’t be helpful. I’d much rather chat with a bot than call a person, if the bot is capable of doing the things I need. The thing is nobody seems willing to let the system actually do anything except escalate to a person, so why bother?

Comment · 3 years ago
https://matduggan.com/

I love to write this stuff. Sometimes people like it, sometimes they don’t. It’s still a lot of fun to do.

Comment · 3 years ago
Love mine. Works great, just swapped the joysticks out for Hall effect ones with zero drift (but higher power usage). It’s the Nintendo switch if it was designed by people who understood how accounts worked in 2023.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton