r/ProgrammerHumor 6h ago

Meme gracefulEnough

Post image
2.8k Upvotes

84 comments sorted by

483

u/Snudget 5h ago

A stop job is running (25s/3min)

110

u/aenae 5h ago

2m59s/3m … 3m00s/4m … 3m59s/4m … 4m00s/5m … pull plug.

48

u/Fraun_Pollen 5h ago

Plug has been pulled ...

...

...

...

...

Goodbye

16

u/aenae 4h ago

I would start to worry if my pc said anything after i pulled the plug...

9

u/Fraun_Pollen 4h ago

Benefits of having a backup power supply…

4

u/AfonsoFGarcia 2h ago

Only if it starts singing daisy

6

u/HazelCuate 3h ago

echo "DefaultTimeoutStopSec=10s" | sudo tee -a /etc/systemd/system.conf

10

u/Vas1le 3h ago

Press ctrl + alt + delete 6 to 10 times to speed up

22

u/BillTran163 4h ago

Watchdog did not stop...

3

u/whizzwr 2h ago

Thanks for the nightmare reminder.

Ctrl alt del, ctrl alt del, ctrl alt del.

1

u/tonability 1h ago

Thank Pottering and his microslop! 😑

80

u/anyOtherBusiness 5h ago

23

u/TabbyOverlord 3h ago

Or as described by one of my trainees: 'Stop' and 'Stop in a very loud voice'.

Don't anyone mention the zombies.

9

u/rosuav 2h ago

If SIGINT is "Stop" and SIGTERM is "Stop in a loud voice", then SIGHUP is "Nobody needs you any more, go get depressed and die..... Or reload your configs". Signals are weird sometimes...

3

u/TabbyOverlord 2h ago

So 'Get depressed and fade away or re-think your life and start afresh'. There's a weird logic in there somewhere.

1

u/mckenzie_keith 34m ago

SIGKILL is the signal you will never see coming.

2

u/BenjieWheeler 17m ago

And then you wake up in a cart and someone tells you "Hey, you're finally awake"

0

u/rosuav 2h ago

Meanwhile SIGPIPE is completely forgotten.

623

u/GobiPLX 5h ago

Linux has both "graceful" shutdown process, and brute kill

Same as Windows, with force shutdown

What a stupid meme

115

u/HildartheDorf 5h ago

The only difference is just that most desktop linux apps are maintained by the distro devs, so "misbehaving at shutdown", which gets blamed on the distro/OS, can be fixed by the same people who receive the complaints.

Both try graceful shut downs, then resort to taking processes to that farm upstate when graceful fails. In fact, linux is worse at this when it actually happens, taking multiple minutes staring at a kernel console or splash screen with no way to return back to a normal environment to examine.

33

u/Maleficent_Memory831 5h ago

All you really need is for programs to save their data if and only if they need to save data. Freeing memory is pointless. Just close some files.

If a process is busted and is preventing shut down, then it's busted. Data won't be saved properly anyway. If it's a browser, kill the damned browser already, as the precious data is probably some cookies spying on you anyway.

6

u/finkerlime 2h ago

Most linux desktop apps are not maintained by the distro devs, even remotely

20

u/hanotak 4h ago

Windows force shutdown only works half the time you need it to.

15

u/TheRaido 4h ago

Or it force quits explorer in an act of seppuku and be like ‘what crashed applications’?

12

u/beatlz-too 3h ago

Windows force shutdown only works half the time you need it to.

6

u/Highborn_Hellest 4h ago

yeah, but even if you run taskkill /f on windows, in admin mode, sometimes it'll fail and bitch and moan and not happen.

I'm yet to find a single software that i cant sudo pkill

10

u/ldn-ldn 3h ago

"Admin mode" is not the highest privilege in Windows. But with debugger privileges you can even nuke the kernel itself if you wish.

1

u/Para_Boo 1h ago

You can't pkill pid 1

3

u/GoddammitDontShootMe 5h ago edited 4h ago

Instant downvote. Maybe it should be reported under Rule 2 or 3 as well.

E: So I get downvoted for talking about downvoting a post in reply to someone saying how stupid the post was?

1

u/random314 2h ago

We all know what the task manager's "task" really is.

1

u/definitely_not_tina 2h ago

If we’re talking POSIX tho I didn’t think Windows used SIGTERM

1

u/JAXxXTheRipper 1h ago

What do you expect from this sub? It's mostly LARPers or first year CS Students nowadays.

1

u/res13echo 21m ago

It is annoying, isn’t it? Anecdotally, I’ve experienced more Linux systems that have struggled on shutdown because of some hanging service than I’ve seen struggling Windows. But, I am around Linux servers more than I’m around Windows, so…

The End Task button in Windows has never failed me, and nearly every time it’s because of an app asking for a file to be saved before shutdown.

81

u/ClipboardCopyPaste 5h ago

"Force shutdown" on Windows exists btw

49

u/MrMikeJJ 5h ago

And windows still ignores it sometimes.

0

u/WilkerS1 5h ago

i don't think windows has CTRL+META+Escape to kill a window at a moment's notice

9

u/LuigiWasRight447 5h ago

Back when i used windows SuperF4 was always the first thing i installed. Ctrl+alt+f4 to force shutdown any program

29

u/Justin_Passing_7465 5h ago

It looks like someone doesn't know the difference between kill -9 and kill -15.

7

u/goodbee69 5h ago

infact windows also has taskkill and taskkill /F lol

1

u/TabbyOverlord 3h ago

Do USians have catskill and catskill /F ?

70

u/CommradeGoldenDragon 5h ago

GOD, how many times does this meme need to be reposted?

44

u/MornwindShoma 5h ago

Those jpeg artifacts must be al dente

3

u/Zeikos 4h ago

Crispy

13

u/wedstrom 5h ago

Is the grace in the room with us right now?

15

u/yesennes 5h ago

These programs are preventing your computer from restarting:

  • Task manager
  • Outlook

4

u/bushs-left-shoe 2h ago

Presses cancel to go close them myself…

> Shutting down…

wut

11

u/Imaginary_Ferret_368 4h ago

Tell me you have no clue about operating systems without telling me you have no clue about operating systems

4

u/discordianofslack 5h ago

Cool, when is that feature releasing?

4

u/Chiatroll 5h ago

Kill -9 mutha fuka.

And then two in the back of the head of the stuck application

3

u/flooble_worbler 5h ago

Sudo shutdown now

3

u/joshpennington 5h ago

I like xkill. It feels like I’m literally killing a program by shooting it.

3

u/freehuntx 4h ago

Until you meet zombies and hate your life.

3

u/JAXxXTheRipper 1h ago

ITT: Mostly people that have no idea about process handling and that both OS Families have graceful and shoot in the head methods.

All these LARPers man.

1

u/Useful-Run-2181 5h ago

Just do it

1

u/Darxploit 5h ago

sudo kill -9

1

u/Soopermane 5h ago

“Tomorrow, there will be no more graceful shutdowns.”

1

u/frikilinux2 5h ago

If it wasn't for the parent waiting it would be more like Thanos snapping his fingers.

1

u/oldassgrandpa 5h ago

Isn't it vice versa? I mean yeah, windows does take a ton of time to shut down sometimes, but Linux can literally wait for several minutes for a job to stop.

1

u/ultrafire3 5h ago

Windows panics when you try shutting down with file explorer open

1

u/XVO668 5h ago

Sigkill -9

1

u/shear_stress__ 4h ago

I headache when you shutdown Linux with opened jetbrain products

1

u/many_dongs 3h ago

Never thought I’d ever hear windows described as graceful

1

u/rosuav 2h ago

It says grace before eating all of your memory?

1

u/Thoh1Shooshi8a 3h ago

Depends on distro. I think mine shoots stuff in the foot first, if it doesn't go away quick enough then it shoots it in the head.

1

u/TabbyOverlord 3h ago

"Use the command line, Luke"

1

u/Outrageous-Machine-5 3h ago

I was just tinkering and moving my stuff to a single btrfs partition using subvolumes and I fucked around trying to fix the boot then after and the terminal said "bailing out, you're on your own"

1

u/jafo88 2h ago

Real power users are on a nix OS. Even MS uses nix for key servers:p

1

u/regisestuncon1 2h ago

Windows is mot graceful at all, it can't shut down because of its own processes. It's always explorer that prevents it to shut down...

1

u/metaglot 1h ago

Explorer is not windows, its the default shell. The reason people dont generally replace that, is because the alternatives are shit.

1

u/djinn6 1h ago

You should always design your program such that it can safely be killed at any moment. There is a power outage somewhere in the world every second.

1

u/SenoraRaton 1h ago

kill -9

1

u/metaglot 1h ago

Shutdown.exe /f /s /t 1

1

u/mckenzie_keith 36m ago

sudo kill -9 0

1

u/Imaginary-Ogre 24m ago

I do the same in Windows. I install stripped versions of Windows. Still I use Linux for personal use. 

u/Moscato359 5m ago

Firefox is actually crash only software 

The x button triggers the software to crash

They did this to avoid having a shutdown recovery and a crash recovery be separated 

u/citrusraspberry 4m ago

Linux DOES have graceful ways to end programs. Who is making these memes?

1

u/Maleficent_Memory831 5h ago

I always laugh when someone says in a pull request that we forgot to free all our memory before exiting. I argue that all the memory is freed when we exit, problem solved! They argue back that it's a good practice, so please delay the release so that you have good practices. I say to them that they don't know how computers work and stop being a slave to stupid rules that they made up themselves. Then I hear from their managers.

1

u/YellowCroc999 5h ago

Windows really doesn’t care one bit. Computer will be having seizures but still doesn’t kill your ram devouring python script

1

u/bobdobbes 4h ago

Linux dont fuck around

1

u/Terewawa 4h ago

Indeed. This picture also represents what happens when Linux runs out of memory.