Elektrine lite

← Feed

@cm0002@infosec.pub

Post #133550

2026-01-15 00:02 UTC

Replies (25)

  • @Scoopta@programming.dev 2026-01-15 00:41

    Ironically it's actually the opposite. Linux has signals, and with the exception of SIGKILL and I think SIGABRT they can all be handled gracefully. Windows on the other hand doesn't have signals, it can only TerminateProcess() which is forceful. The illusion of graceful termination on windows is done by sending a Window close message to all of the windows belonging to a given process, however in the event the process has no windows, only forceful termination is available due to the lack of a real mechanism to gracefully terminate processes. That's why the taskkill command tells you a process requires forceful termination when you run it against something headless.

    Open ##1665422

  • While the meme is very funny, it is technically incorrect. Linux has two major ways of terminating a process. When Linux wants a process to terminate execution (for whatever reason) it first sends the SIGTERM signal to the process, which basically "asks" the process to terminate itself. This has the advantage, that the process gets the chance to save its state in a way, that the execution can continue at another time. If the process however ignores the SIGTERM signal at some point Linux will instead forcefully terminate the execution using the SIGKILL signal. This represents what the image shows. Before someone gets mat at me: I know, that there are like 50 more Signals relevant to this, but wanted to keep it simple.

    Open ##1665423

  • @jet@hackertalks.com 2026-01-15 05:07

    Graceful like closing a laptop and putting it in a backpack only to have windows refuse to shutdown and become a heater until it cooks the battery and ruins the screen....

    Open ##1665425

  • @NeatNit@discuss.tchncs.de 2026-01-15 08:44

    Stop spreading this lie. Linux has a more graceful shutdown process than Windows ever did. It doesn't abruptly kill everything.

    Open ##1665426

  • @thenextguy@lemmy.world 2026-01-15 01:27

    /c/programmer_ignorance

    Open ##1665427

  • @Shanmugha@lemmy.world 2026-01-15 07:28

    Windows: - program refuses to shutdown - system: okay, guess you don't need your computer to turn off anyway

    Open ##1665428

  • @vogi@piefed.social 2026-01-15 00:36

    Isn't that what `SIGTERM` is? A request to gracefully shutdown processes.

    Open ##1665429

  • @Rolive@discuss.tchncs.de 2026-01-15 07:02

    Windows task manager: Let's play a whack a mole game where the app you're trying to kill constantly moves up and down a list by default! Enjoy!

    Open ##1665430

  • @Dupelet@piefed.social 2026-01-15 03:52

    Windows: If you can't exit gracefully, I'll make sure you never exit at all

    Open ##1665431

  • @mvirts@lemmy.world 2026-01-15 14:47

    Lol as we've discussed before, inaccurate but funny.

    Open ##1665432

  • @KeenFlame@feddit.nu 2026-01-15 22:40

    Oh sweet summer children.. its worse. Linux tells the program to kill itself, then makes sure it happens

    Open ##1665433

  • @1984@lemmy.today 2026-01-15 07:30

    I mean, also look at how windows installs programs. Its like a 100 step process taking several minutes, because just putting the files where they need to be is just too simple. Or the uninstall program, cant just remove the files, no... Need to run full installer backwards to remove all the registry entries and even reboot the system to get rid of it all.

    Open ##1665434

  • @copacetic@discuss.tchncs.de 2026-01-15 11:27

    Android/iOS users: What is “closing“? What is a „program“?

    Open ##1665435

  • @Zamboni_Driver@lemmy.ca 2026-01-16 05:39

    I get it windows is evil and bloated, blah blah blah. But to hear some of you describe the problems that you have using windows makes me think that you're as incompetent as my grandmother.

    Open ##1665436

  • @MehBlah@lemmy.world 2026-01-15 05:29

    Yup. Sometimes you like to fire a few shots manually just for fun.

    Open ##1665437

  • @BeigeAgenda@lemmy.ca 2026-01-15 04:12

    In Linux you get zombie processes hanging around when things go wrong, and you can't get rid of those.

    Open ##1665438

  • @Sam_Bass@lemmy.world 2026-01-15 23:46

    Android ain't no better. If I don't pull up my app list and manually kill my media player, it doesnt stop and drains the battery despite tapping the exit menu item

    Open ##1665439

  • kill -9 that motherfucker.

    Open ##1665440

  • I fully support Linux, but Firefox doesn't deserve that kind of heat. Yes, the Mozilla Foundation has been in hot water over the press release describing the direction and implementation of AI into the browser. But compared to the competition they are still are far better then the rest.

    Open ##1665441

  • @PacMan@sh.itjust.works 2026-01-15 08:09

    I killed-9 but if I’m done I’m done and just calling a hard soft reboot with REISUB and if you know you know

    Open ##1665442

  • @GregorGizeh@lemmy.zip 2026-01-15 02:02

    In my experience it is more the reverse is true. If a program truly craps out on me in windows i could at least get the task manager to show / use it to terminate the offender or reboot, at least back when i still used it. Meanwhile my bazzite task manager is notably not a native part of the OS and takes a few seconds to load, and if the system is in some sort of frozen screen state my only real recourse is hitting the physical force reboot button. The windows manager could sometimes recover from those. Overall it is of course a much better experience compared to Windows regardless, but still. Everything being essentially modular pieces compiled into a system can evidently also have minor downsides.

    Open ##1665443

  • @borQue@lemmy.zip 2026-01-16 01:24

    Microscum sucks soo hard it will see its own asshole as a new opening.

    Open ##1665444

  • @commie@lemmy.dbzer0.com 2026-01-15 13:09

    op: https://lemmy.ml/post/41704784

    Open ##1665445

  • What's Linus?

    Open ##1665446

  • @CanadaPlus@lemmy.sdf.org 2026-01-15 15:51

    From what I've heard about Windows, it works more like the Simpsons "Barney coming up behind Moe" meme. So, as it should be, Tux.

    Open ##2811736