<a rel="me" href="https://layer8.space/@helix">Mastodon</a>

  • 7 Posts
  • 946 Comments
Joined 2 years ago
cake
Cake day: July 27th, 2024

help-circle







  • Bonus question about log files, how can I make them more useful in terms of information? Right now they just name the command, not even a timestamp or anything.

    Use a wrapper script which echo’s some useful output like “stopping container xy … stopped” and put the output of that in the log. Systemd units do it by default but you can also pipe it to rsyslogd or a similar logging service, or use specialised logging tools and monitoring like victorialogs.


  • If you can, just ditch crontabs and use systemd timers. Systemd tiners are available for ages on most distributions and are a way slicker version of cronjobs, with built in logging etc. – you need to create a systemd service in addition though.

    If you use a non-systemd OS you can still use something else than cronjobs. Most service managers have a timer option which is more modern.









  • It might be because I don’t see it as a big deal if, on very rare occasions, I have to switch to a charging point right next to it if the first one doesn’t work straight away.

    I’m an electrical engineer and I don’t have any tolerance for needing to climb up on a charging point at -10⁰C weather in the middle of the Black Forest to remove snow, so that the antenna of the thing can contact its mothership, to generously allow me to pay for their 0,53€/kWh juice to my nearly stranded car with 0% charge, and nobody around in a 5km radius at 4am.

    My issue is not that it doesn’t work every 8th or 10th charge. My issue is the aforementioned enshittification: that these things are totally preventable by better engineering, e.g. running cables from to the Telekom box in 100m distance, by using multiple modems and LoRA, by directly reporting faulty chargers to common backends, by standardising payment APIs, …

    Imagine a world where your route planner automatically includes charging stops for the most efficient use of your time with the most efficient uses of your subscriptions. Imagine autocharge when you plug in your car and it automatically selects the best charging tariff. Imagine a cap on energy prices so that you’re not surprised by 0,80€ when you expected 0,40€. The technology is there! We could have that! But I’m pretty sure there will be an https://xkcd.com/927 situation for the next 20 years until some politician steps in and regulates this.