Me: I've close the program, now please delete the file
Windows: ok, give me half an hour, it's not easy to delete 500 MB
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Me: I've close the program, now please delete the file
Windows: ok, give me half an hour, it's not easy to delete 500 MB
Here's an incredibly animated chart of how poorly I'm doing. Note that I seem to throttle the operation every 5 seconds or so.
Explanation? No, no. Haha. No. We don't do anything like that.
... And the file is back open somehow. Only now the program throws an error when Windows launches, yet still leeches resources.
TBF the task manager and those windows explorer dialogues were programed in like 1996 and it's probably one of the best functioning feature in Windows so changing it too much carries high risks.
changing it too much carries high risks
This is such a Windows way of thinking and I canβt really explain it. Why does every other OS constantly change and evolve but Windows is like βcanβt touch this code from a quarter century ago?β
Becuase it's still integral to countless businesses operations.
I don't see the problem with it. Microsoft historically does a great job of making everything worse with updates.
Lol yea, but it would have been such a small tweak with big big QoL improvements LMAO
Some Windows apps do handle it properly. For example, if you have an archive open in 7-zip and try to delete it, Windows Explorer should correctly tell you that it's open in 7-Zip. I'm not sure why it doesn't work that way for all apps.
Windows doesn't even tell you if Explorer itself has a folder open... how the hell does 7-Zip do it?
Same thing whenever I try to unplug a USB, Win10, on my desktop. There have been times where I plugged in one, opened a file, closed it within seconds, did the safely remove thing, and then I get the whole quick song and dance about some program still using it because of how sluggish it is to actually end what's using it in the background.
Also, my phone's keyboard software was bugging out and replaced "song" with "incest" for no discernable and wanted to replace the next word "and" with "rape incest". Not related, but fuck Gboard and that weird glitch where it'll replace words with random shit for no reason.
Doesn't gboard try to promote words you've used more prior more often than ones you've used less...?
What gets me is when I'm not allowed to remove an external drive. Deleting a file can be delayed until later but here I am with a physical object that I need to detach from my computer and first I need to play hide and seek with the OS.
If this happens often, you can disable write caching for that drive. It'll feel slightly slower (since it's actually operating at the speed of the hardware instead of caching operations in RAM and gradually writing them to disk in the background), but you'll be able to remove the drive almost instantly.
I used to find it had something to do with the explorer thumbnailer finishing up but sort of not letting go. It would happen if I had pictures or videos on the USB drive, and if I got the error I could go to another folder like my documents, drag a picture into another folder, go look at the pretty new thumbnail, then I could remove the USB drive because the thumbnailer was 'parked' back on the C drive. Sounds like I'm making it up but I swear it worked.
And that removable objectβs filesystem is probably the most shit, unjournalled filesystem in the world so youβre actually fucked if it becomes corrupted by removing it early.
Reason 3756 why Windows is slopware
opening the task manager with a shotgun cocking sound
Shame...
Windows response:
Shame...
Mac does the same thing (as others have said) and you can at least sudo lsof
and find it, but somehow filesystem access now is worse than Windows 95 era Excel spreadsheet file handles that never worked.
Here's what an operating system is peeps: Something that handles files and programs that live on top of it. That's it.
How is it none of them can't do their basic function anymore?