• 0 Posts
  • 16 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle
  • Consequence:

    Software can only be good, when enough people WANT to work on it and with it along the complete life-cycle. There’s a critical amount of developers/contributors/testers and (feedback providing) users.

    Hence a lot of critical consumer stuff is based on popular opensource.

    Also, we’re entering an aera where the difference between hardware/firmware/software gets increasingly blurred. So all of this applies to more and more hardware, too.








  • I find too verbose comments less annoying than no comments.

    Try to describe the bigger picture. Good comments allow understanding the current portion of the code without reading other code.

    Also add comments later if you find yourself having to read other code to understand the code you’re currently looking at.

    Comments are also a good place to write out abrevations/acronyms.

    Never optimize for sourcecode size.








  • munin is the veteran of monitoring. It offers an easy plugin API, graphs and alerts. I use it for everything (temperarure, stock prices, API of the local water park etc.) since with curl, jq + bash you can create a plugin in minutes (or any other language you like).

    There are much more modern solutions, just putting it here in case you want some low maintenance, tried & proven, rock solid solution that “just works”. It’s written in perl and maintained by a nice community.