Mobile software engineer.

  • 0 Posts
  • 6 Comments
Joined 2 years ago
cake
Cake day: June 17th, 2023

help-circle
  • Only chatGPT has these kinds of comments as if you’re seeing code for the first time. 😆

    I’m not against adding comments where is needed: in the company I work for (a big bank) my team takes care of a few modules and we added comments on one class that is responsible to make some very custom UI component with lots of calculations and low level manipulations. It’s basically a team of seniors and no one was against that monster having comments to explain what it was doing in case we had to go back and change something.

    For 99% of the code you just need to have good names though.


  • Just a reminder that reencoding already compressed videos is a recipe for destroying the quality, unless you’re using a very high bitrate, which quite often gets you the same size as the input video.

    I think the consensus is that if your video isn’t 4k or higher, there isn’t much gain in using HEVC if it is already H.264.

    So if you want to store them long term, reencoding them now means that if you decide to do it again later (for whatever reason) you’ll have too many artifacts accumulated.



  • If the distro is rolling release, it can always support the latest software in theory, you’d just need to have the correct package formula, which is exactly what AUR offers.

    The problem with AUR is just that the author of the package is likely not the author of the software and not affiliated with the distro, so you should normally check what the script is doing.


  • I really understand how hard is maintaining something for every single package manager and distributions

    But for apps distributed in your system’s package manager, it’s not the devs that are distributing them in every package manager. It’s the distribution itself that goes to each repository, checks and tests the dependencies they need and creates the package for the distribution, along with a compiled binary.

    When they aren’t offered in the distro’s package manager (or the version is outdated because the distro isn’t rolling release) things become more complicated indeed, and sometimes you can’t even do it because the dependencies are older than the ones you require.