this post was submitted on 03 Oct 2025
1095 points (99.1% liked)

Programmer Humor

26691 readers
2168 users here now

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.

Rules

founded 2 years ago
MODERATORS
 

🫩🫩🫩🫩

(page 2) 50 comments
sorted by: hot top controversial new old
[–] judgyweevil@feddit.it 54 points 11 hours ago* (last edited 11 hours ago) (4 children)

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

[–] AlternatePersonMan@lemmy.world 26 points 10 hours ago

... And the file is back open somehow. Only now the program throws an error when Windows launches, yet still leeches resources.

[–] krooklochurm@lemmy.ca 0 points 4 hours ago* (last edited 4 hours ago) (1 children)

Hey Linux, sudo rm -rf /

sigh I'm surrounded by idiots.

"Sure thing boss" you fucking moron.

load more comments (1 replies)
load more comments (2 replies)
[–] EldenLord@lemmy.world 8 points 7 hours ago

Reason 3756 why Windows is slopware

[–] youngalfred@lemmy.zip 149 points 13 hours ago (6 children)

In case anyone is interested, there's a powertoy called file locksmith that will show what's using it and let you kill it: https://learn.microsoft.com/en-us/windows/powertoys/file-locksmith

[–] Mikina@programming.dev 13 points 9 hours ago

I discovered powertoys only recently, and it's a pretty cool set of tools. From color picker, tiling window manager to regex file renames or copy/paste tools, it has a lot of QoL features.

If you have to be on windows, i.e due ro work, I recommend not sleeping on it.

[–] sundray@lemmus.org 92 points 12 hours ago (3 children)

"Time to see who's stopping me from deleting this file... svchost??? Goddamn it!"

[–] baines@lemmy.cafe 40 points 12 hours ago (2 children)
[–] youngalfred@lemmy.zip 49 points 12 hours ago (1 children)
[–] FuglyDuck@lemmy.world 12 points 11 hours ago (1 children)

Instructions unclear, I shot my gaming rig with a 6 bore shotgun…. And then set it on fire.

[–] notabot@piefed.social 13 points 10 hours ago (2 children)

Instructions may have been unclear, but you got the gist of it.

[–] WR5@lemmy.world 1 points 4 hours ago

He's a little confused, but he's got the spirit.

load more comments (1 replies)
load more comments (1 replies)

Probably the indexing service, it's always the indexing service.

load more comments (1 replies)
[–] chunes@lemmy.world 3 points 7 hours ago

Why isn't this in their OS instead of unwanted AI

[–] affenlehrer@feddit.org 4 points 8 hours ago

The performance view thing that comes with windows also allows searching for file handles but it's not very user friendly. Also not possible without admin rights if I remember correctly

load more comments (2 replies)
[–] dan@upvote.au 33 points 11 hours ago (2 children)

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.

[–] xthexder@l.sw0.com 8 points 8 hours ago

Windows doesn't even tell you if Explorer itself has a folder open... how the hell does 7-Zip do it?

[–] LodeMike@lemmy.today 4 points 8 hours ago

Different user

[–] skuzz@discuss.tchncs.de 9 points 9 hours ago (2 children)

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?

[–] vpklotar@lemmy.world 7 points 8 hours ago (1 children)

Same command works on Linux. Its a real saver sometimes.

load more comments (1 replies)
[–] palordrolap@fedia.io 3 points 7 hours ago

Files, hardware / peripherals and programs. The distinction can get a bit blurry what with drivers and the fact that Linux exposes most of the hardware via the filesystem.

[–] finitebanjo@piefed.world 59 points 13 hours ago* (last edited 13 hours ago) (5 children)

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.

[–] undefined@lemmy.hogru.ch 46 points 12 hours ago (4 children)

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?”

[–] Atomic@sh.itjust.works 3 points 6 hours ago

I dare say, that 90% of all companies in Europe and US, use Windows. And lots of companies relies heavily on software built 20-30 years ago. Microsoft knows this.

That's why they are very reluctant to "touch that piece of code from a quarter century ago" because there's probably a lot of software that would break without it. Software their target audience need.

[–] finitebanjo@piefed.world 21 points 11 hours ago

I don't see the problem with it. Microsoft historically does a great job of making everything worse with updates.

[–] can@sh.itjust.works 24 points 12 hours ago

Becuase it's still integral to countless businesses operations.

[–] Triumph@fedia.io 8 points 10 hours ago

Because any time anything changes in Windows, people bitch about it.

[–] cm0002@sh.itjust.works 21 points 13 hours ago (2 children)

Lol yea, but it would have been such a small tweak with big big QoL improvements LMAO

[–] filcuk@lemmy.zip 5 points 9 hours ago* (last edited 5 hours ago) (1 children)

There is nothing in windows that's a small tweak.
Changing anything has implications to a banking business Joe somewhere, who's program depends on the original feature working as it does, or one of the 16 layers of code is simply tangled in a way such change would require cascade of rewrites.

I've read articles about various developments: working with ~~regex~~ registry*, or just adding a control panel option, and it's an absolute nightmare.

[–] boonhet@sopuli.xyz 4 points 6 hours ago

Bring back spacebar heating!

load more comments (1 replies)
load more comments (3 replies)
[–] ArbitraryValue@sh.itjust.works 38 points 12 hours ago (3 children)

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.

[–] Quetzalcutlass@lemmy.world 27 points 12 hours ago (3 children)

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.

[–] DrMartinu@lemmy.dbzer0.com 19 points 11 hours ago

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.

load more comments (2 replies)
[–] undefined@lemmy.hogru.ch 18 points 12 hours ago* (last edited 11 hours ago) (1 children)

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.

[–] floofloof@lemmy.ca 9 points 10 hours ago* (last edited 10 hours ago) (1 children)

And if you move the drive between operating systems you're very limited in what filesystems you can use because Windows is very limited in what filesystems it can use. So you can't just pick a more robust filesystem.

load more comments (1 replies)
load more comments (1 replies)
[–] Kolanaki@pawb.social 30 points 13 hours ago (4 children)

opening the task manager with a shotgun cocking sound

Shame...

[–] hakunawazo@lemmy.world 6 points 8 hours ago

Windows response:

Shame...

load more comments (2 replies)
load more comments
view more: β€Ή prev next β€Ί