• 2 Posts
  • 7 Comments
Joined 2 years ago
cake
Cake day: March 3rd, 2023

help-circle

  • Yes. But p10k has many downsides:

    • requires using oh my ZSH, which alone is quite bad because of how much slower it makes the shell.
    • is a piece of software you’ll have to either install on each new device or have the software in your dotfiles. Bad practice. I very much prefer having no additional dependencies or overhead, plus the way I do it I can do whatever I want without the limitations of a prompt made by someone else, for which I’d have to dig in a lot of documentation. Compared to this, I only spent half an hour making a prompt exactly how I like, which doesn’t add overhead and doesn’t require a third party piece of software which I’d have to install on every new device.


  • I’m surprised this strategy was approved for a public server

    The goal was to avoid getting hacked on a server that could have many vulnerable services (there are more than 20 services on there). When I set this up I was basically freaked out by the fact I hadn’t updated mastodon more than a week after the last critical vulnerability in it was found (arbitrary code execution on the server). The quantity of affected users, compared to the impact it would have if hacked, made me choose the option of auto-updates back then, even if I now agree it wasn’t clever (and I ended up shooting myself I’m the foot). These days I just do updates semi-regularly and I am subscribed to mailing lists like oss-security to know there’s a vulnerability as early as possible. Plus I am not the only person in charge anymore.