• 3 Posts
  • 14 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle
  • Inflation is like acceleration, prices are like speed. If you’re in a space ship moving at a fixed speed, you are* moving* in a direction. Acceleration means your speed is increasing. You’re moving in a direction, faster than before. If you stop accelerating, you’re still moving and you keep all the speed you gained from when you were accelerating. The only way to slow down is to decelerate-- put energy into moving the opposite direction. That would be equivalent to deflation, which has historically been very bad for the economy.



  • I really don’t understand dbus.

    I think systemd targets work opposite to your expectation. The Wants in [unit] define the things that that unit needs to already be available. For instance, you might add Wants=network.target to the unit for nginx so that it won’t try to start until the network is available. When I wrote a unit to start my company’s application, I also had Wants=postgresql.service to ensure that the database came up before the application. Remember that sysyemd tries to run as many things in parallel as it can. This is one thing that makes it much faster than classic sysvinit which started things sequentially. But it means race conditions can occur. You use Wants to break those races where necessary. The targets that you’d specify in WantedBy in [install] more closely resemble SysV runlevels. You might want to read how runlevels used to work in SysV, in order to understand systemd targets.



  • For your unit files, you have Wants in the [Install] section. That is not correct. Wants belong in the [Unit] section. The [Install] section is where you define WantedBys. You may want to read the man page for systemd.unit.

    To interact with user services, you do have to always use systemctl --user.

    If you put your user unit files in /etc/systemd/user, they’re accessible to all users. If a particular user wants to enable the service, they can run systemctl --user enable $service. Defining the unit in ~/.config/systemd will mean only the one user will be able to start the service. Defining the unit in /etc/systemd/system indicates it is not a user service but a system service.








  • It’s also worth asking whether the GOP is irredeemably lost. Just 20 years ago, the Republican zeitgeist was about “compassionate conservatism” and “spreading democracy.” Times change, and pendulums swing back and forth (at least, we can hope they do).

    Just 20 years ago, the Republican party’s mask of respectability was firmly in place. They used euphemisms like “compassionate conservatism” to make their contempt for the poor seem less than absolute. And “spreading democracy” was only ever an excuse to expand the military-industrial complex. The author hasn’t accepted that whatever good he believes is worth saving in the Republican party is just the bamboozle.