Always remember Your time is more valueble Any machine that refuses to shutdown after a press of the power button is considered malicious and may be killed by disconnecting the power, regardles of how sentient it is.

all 26 comments

sorted by: hot top controversial new old
[–] 37 points 1 year ago (1 child)

Please notice: some exceptions do apply. For example bpap cpap and respirators

  • source
  • hideshow 1 child comment
  • No, there are no exceptions. If the power button is pressed, it should shut down and cease drawing power immediately. If it's so critical that it can't be shut down safely, don't include a power button, and add a battery for backup purposes.

  • source
  • parent
  • [–] 20 points 1 year ago (1 child)

    My old btrfs system auto defragging while shutting down (and taking too long): I guess I'm going to die

  • source
  • hideshow 1 child comment
  • [–] 39 points 1 year ago (10 children)

    This is so IRL. It was the last drop in the bucket when using systemd, when it started to let me wait out a countdown every time I shut it down. I would just flip the power supply switch. Then I switched from Arch to Artix.

  • source
  • hideshow 10 child comments
  • [–] 17 points 1 year ago

    I was pretty sure systemd doesn't have to be configured like that. Anyway, on my company managed Linux systemd tries to access some network service on startup and shutdown. Unless I'm plugged into on site LAN, I get to wait a full network timeout (presumably with retries) every time.

    At least it's not Windows.

  • source
  • parent
  • [–] 16 points 1 year ago (3 children)

    probably just because it's doing the correct thing and waiting for the applications in your session to close?

  • source
  • parent
  • hideshow 3 child comments
  • [–] 13 points 1 year ago (2 children)

    In principle, but it did never hurt anything when I just straight up cut the power so I got the feeling that I was waiting for nothing. It wasn't like the disk wasn't flushed yet or anything. Maybe it is good to be extra careful when restarting a server or something similar, but for desktop usage I prefer if the init system just kills everything after a few seconds so I can go with my day. Neither is right or wrong just whatever you prefer. I like a cutthroat style in general and I accept the minor risks that come with it.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 9 points 1 year ago*

    It's not a good practice to allow immediate shutdown on a PC, as long as the OS doesn't do checks for finished data transfers. You will lose data if SSD is not finished writing it. Yes, even with super fast SSD there might be stuff that takes seconds to complete.

  • source
  • parent
  • [–] 15 points 1 year ago (1 child)

    is that a bumpmap or cosmic background?

  • source
  • hideshow 1 child comment
  • [–] [S] 16 points 1 year ago

    The background is made from a plain purple color with added HSV noise. Then an effect is added on top of everything by copying the entire image into a new layer and applying a convolution with a kernel like this:

    -1  0  0  0  0
     0 -1  0  0  0
     0  0  1  0  0
     0  0  0  1  0
     0  0  0  0  1
    

    In GIMP those are under "filters > noise > HSV noise" and "filters > generic > convolution"

  • source
  • parent
  • [–] 13 points 1 year ago

    In some cases please use a hammer to terminate the process correctly.

  • source
  • [–] 11 points 1 year ago (4 children)

    This is me telling the waffle iron it brought death upon itself by not having a true off switch as I pull the plug from the wall.

  • source
  • hideshow 4 child comments
  • [–] [S] 12 points 1 year ago (3 children)

    Haha, kitchen appliences that don't have a poweroff button are actually what inspired me to draw this. It was a coffee machine in my case.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 5 points 1 year ago (1 child)

    What about batteries (capacitors?)

  • source
  • hideshow 1 child comment
  • [–] 3 points 1 year ago*

    shutdown --poweroff now learned this today from man shutdown

  • source
  • 1 comment in c/right_to_unplug@sopuli.xyz view that post
    [–] 6 points 10 months ago

    Reminds me of some systems I used to work on... I don't know how they were approved by osha. That got plugged into a power outlet, that wire went into the emergency power shutoff switch,physical disconnect... Big red switch, labeled emergency power switch, designed to allow for loto measures if you are working on the machine.. Seems all good right??

    From the emergency power switch it was hard wired into... A UPS. That's right you switch off the "emergency power switch" and practice loto with your lock and tag, to cut off power to a ups powering everything else. All the switch did was create an annoying beep and left the rest of the system energized.

    For bonus you might think this was a simple machine... It was a combination of a laser, pnuematics and a cnc so plenty of ways to hurt yourself. Yes proper loto says if before you attempt any work verify it's not energized. If something happened where say the pnuematics didn't close the door before firing the laser and was just firing radiation to everyone in the room, I switch the emergency power switch... The system should be de-energized or at a minimum not still receiving energy. Instead you had to find a screw driver(luckily #2 Philips, not proprietary), loosen 4 screws, move the metal plate of housing, press and hold the tiny power button on the ups for 10 seconds to cut off power...

    Then check if any of your co-workers were bitten by a spider while that was all going on.

    These systems were about $50k each....

  • source