TwilightKiddy, twilightkiddy@scribe.disroot.org

Instance: scribe.disroot.org
Joined: 4 days ago
Posts: 0
Comments: 14

Posts and Comments by TwilightKiddy, twilightkiddy@scribe.disroot.org

There is another reply to this comment where I said I’m not using it. If you are interested in something specific why not just go type the package name into their repository search thingy?

https://search.nixos.org/packages



If your script somehow shuts them down faster than plain old SIGTERM, putting it under /usr/lib/systemd/system-shutdown/ might be a good idea. Check man 8 systemd-shutdown for more info on that.


Individual services can override the default 90 seconds timeout. But then you can override their override if you think you are smarter, of course.


I entrust you with this horror, go figure out what to blame.

shutdown-analyze.sh

#! /usr/bin/env bash
shutdown_start=$(journalctl -b -1 -u systemd-logind --grep="System is (powering down|rebooting)" --output=cat --no-pager --output-fields=_SOURCE_REALTIME_TIMESTAMP)
shutdown_start=$((shutdown_start / 1000000))
units=$(journalctl -b -1 --since=@$shutdown_start --output=cat --no-pager --output-fields=UNIT JOB_TYPE=stop CODE_FUNC=job_emit_start_message)

for u in $units; do
    stopping_start=$(journalctl -b -1 --since=@$shutdown_start -u "$u" --output=cat --no-pager --output-fields=_SOURCE_REALTIME_TIMESTAMP JOB_TYPE=stop CODE_FUNC=job_emit_start_message _SYSTEMD_UNIT=init.scope)
    stopping_end=$(journalctl -b -1 --since=@$shutdown_start -u "$u" --output=cat --no-pager --output-fields=_SOURCE_REALTIME_TIMESTAMP JOB_TYPE=stop CODE_FUNC=job_emit_done_message _SYSTEMD_UNIT=init.scope)
    duration_human=$(systemd-analyze timespan $((stopping_end - stopping_start))us | tail -1 | sed 's/.*: //')
    printf "%s\t%10s %s\n" $((stopping_end - stopping_start)) "$duration_human" "$u"
done | sort -rn | cut -f 2


Speaking about Gentoo, you don’t “have to” compile everything, but let’s just say it’s strongly encouraged. Most of the compilation is automated though, think AUR on steroids. If you don’t want to touch anything, you can go with defaults for all the software and you’ll get basically what you get on any other distro.

The thing is, though, if you are not being a little funny with your software, why the hell are you running Gentoo? So, it’s entirely optional, but it’s the main reason one would use Gentoo, otherwise you get a stock standard system with stupidly long updates.

I can’t speak for Nix, though, I haven’t touched it myself, but from what I know from those around me running it, it’s pretty much the same thing, unless you want something cool, you don’t have to suffer.


At least it tells you how long it’ll take before it decides to SIGKILL whatever is holding the shutdown sequence.


It’s pretty much the same thing as everywhere, you have a bunch of lovely people who package and test things, nothing too weird. What you are describing is LFS.


Precisely the reason why I’m not using Fcitx, on a touchscreen there is nothing better than flick input for Japanese.


I’ve been using it for a while, haven’t noticed the candidate box margins being weird until you mentioned it.

You can make the font for the candidate box larger to fill the unoccupied space, but that sounds like a bad solution.

It’s developer opened an issue for improving that part of the keyboard not that long ago, probably there is something in the works. You may want to voice your concerns there.



framing device

That was not my intention at all. I just needed a hypothetical free service that you wouldn’t want to receive despite being of benefit to you.

If you have another example like that, I’ll be happy to replace it with something else, as long as it’s repulsive enough.


Are you arguing that since other terrible things exist, I shouldn’t try to make the world a better place? I can’t exactly see how that’s a valid point.

I suppose you are trying to appeal to the fact that I’m not perfectly morally pure, trying to make it look like whatever I said is automatically invalid? That’s not how it works. If I say both “smoking is bad for your health” and “you should throw needles into sandboxes”, how exactly does the latter statement being utterly horrible affect the veracity of the former one?

And of course I’m trying to minimize my usage of things made via exploitation of others, as in repairing the hardware instead of buying new stuff. It’s just incredibly hard to live in the modern world without mudding yourself somewhere. We judge thieves based on their circumstances and whatever they stole, just being a thief does not make you as bad as the worst one, the world is not black and white like that.


If somebody proposed to build you a house with slave labor free of charge, would you be happy about it?

Since the answer is quite obvious, we can clearly state that even if something is free and beneficial for you, there is a line which you shouldn’t cross.

That out of the way, we now have to figure out where to draw this line. It just so happens that for a lot of people using a technology that actively destroys our environment, makes every computiational device more expensive, literally makes it’s users dumber, and is built with very ethically questionable methods lies beyond the line.

Oh, if that’s not enough, LLMs can kill you if you are psychologically unstable.


Posts by TwilightKiddy, twilightkiddy@scribe.disroot.org

Comments by TwilightKiddy, twilightkiddy@scribe.disroot.org

There is another reply to this comment where I said I’m not using it. If you are interested in something specific why not just go type the package name into their repository search thingy?

https://search.nixos.org/packages



If your script somehow shuts them down faster than plain old SIGTERM, putting it under /usr/lib/systemd/system-shutdown/ might be a good idea. Check man 8 systemd-shutdown for more info on that.


Individual services can override the default 90 seconds timeout. But then you can override their override if you think you are smarter, of course.


I entrust you with this horror, go figure out what to blame.

shutdown-analyze.sh

#! /usr/bin/env bash
shutdown_start=$(journalctl -b -1 -u systemd-logind --grep="System is (powering down|rebooting)" --output=cat --no-pager --output-fields=_SOURCE_REALTIME_TIMESTAMP)
shutdown_start=$((shutdown_start / 1000000))
units=$(journalctl -b -1 --since=@$shutdown_start --output=cat --no-pager --output-fields=UNIT JOB_TYPE=stop CODE_FUNC=job_emit_start_message)

for u in $units; do
    stopping_start=$(journalctl -b -1 --since=@$shutdown_start -u "$u" --output=cat --no-pager --output-fields=_SOURCE_REALTIME_TIMESTAMP JOB_TYPE=stop CODE_FUNC=job_emit_start_message _SYSTEMD_UNIT=init.scope)
    stopping_end=$(journalctl -b -1 --since=@$shutdown_start -u "$u" --output=cat --no-pager --output-fields=_SOURCE_REALTIME_TIMESTAMP JOB_TYPE=stop CODE_FUNC=job_emit_done_message _SYSTEMD_UNIT=init.scope)
    duration_human=$(systemd-analyze timespan $((stopping_end - stopping_start))us | tail -1 | sed 's/.*: //')
    printf "%s\t%10s %s\n" $((stopping_end - stopping_start)) "$duration_human" "$u"
done | sort -rn | cut -f 2


Speaking about Gentoo, you don’t “have to” compile everything, but let’s just say it’s strongly encouraged. Most of the compilation is automated though, think AUR on steroids. If you don’t want to touch anything, you can go with defaults for all the software and you’ll get basically what you get on any other distro.

The thing is, though, if you are not being a little funny with your software, why the hell are you running Gentoo? So, it’s entirely optional, but it’s the main reason one would use Gentoo, otherwise you get a stock standard system with stupidly long updates.

I can’t speak for Nix, though, I haven’t touched it myself, but from what I know from those around me running it, it’s pretty much the same thing, unless you want something cool, you don’t have to suffer.


At least it tells you how long it’ll take before it decides to SIGKILL whatever is holding the shutdown sequence.


It’s pretty much the same thing as everywhere, you have a bunch of lovely people who package and test things, nothing too weird. What you are describing is LFS.


Precisely the reason why I’m not using Fcitx, on a touchscreen there is nothing better than flick input for Japanese.


I’ve been using it for a while, haven’t noticed the candidate box margins being weird until you mentioned it.

You can make the font for the candidate box larger to fill the unoccupied space, but that sounds like a bad solution.

It’s developer opened an issue for improving that part of the keyboard not that long ago, probably there is something in the works. You may want to voice your concerns there.



framing device

That was not my intention at all. I just needed a hypothetical free service that you wouldn’t want to receive despite being of benefit to you.

If you have another example like that, I’ll be happy to replace it with something else, as long as it’s repulsive enough.


Are you arguing that since other terrible things exist, I shouldn’t try to make the world a better place? I can’t exactly see how that’s a valid point.

I suppose you are trying to appeal to the fact that I’m not perfectly morally pure, trying to make it look like whatever I said is automatically invalid? That’s not how it works. If I say both “smoking is bad for your health” and “you should throw needles into sandboxes”, how exactly does the latter statement being utterly horrible affect the veracity of the former one?

And of course I’m trying to minimize my usage of things made via exploitation of others, as in repairing the hardware instead of buying new stuff. It’s just incredibly hard to live in the modern world without mudding yourself somewhere. We judge thieves based on their circumstances and whatever they stole, just being a thief does not make you as bad as the worst one, the world is not black and white like that.


If somebody proposed to build you a house with slave labor free of charge, would you be happy about it?

Since the answer is quite obvious, we can clearly state that even if something is free and beneficial for you, there is a line which you shouldn’t cross.

That out of the way, we now have to figure out where to draw this line. It just so happens that for a lot of people using a technology that actively destroys our environment, makes every computiational device more expensive, literally makes it’s users dumber, and is built with very ethically questionable methods lies beyond the line.

Oh, if that’s not enough, LLMs can kill you if you are psychologically unstable.