Full stack developer and privacy advocate. I like to keep the mentality, if you can program one language well, then you can program in any language!

  • 0 Posts
  • 3 Comments
Joined 3 years ago
cake
Cake day: June 15th, 2023

help-circle
  • By not accepting your time estimate,
    requesting your reasoning why it takes that long, you explaining you calculated time in for refactoring, then rejecting your idea and granting you only time to implement the new thing, without granting time for refactoring.

    And dw, my project manager is a pretty chill friend and fellow senior developer, who is reasonable and helps me with calculating in time for refactoring whenever possible/nessecary.

    It’s only higher up, CEOs/management, who seek to cut corners, with rocks for brains, who don’t see that in the long run such practices are bad for business.

    Which sadly is the case for most IT businesses. But at least in my workplace the project manager is not a rat & on the side of the developers.


  • Just increase your time estimate,
    calculate in the time needed to refactor,
    but don’t tell them you’re gonna refactor.

    Works out most of the time.
    Only when they ask why the estimate is so long, then you explain your reasoning behind it, and then they might reply with your statement and block your refactoring idea.

    However, getting time to refactor most of the time, is aleady way better then never being allowed to do so.


  • I’d find it odd if a RPi4 can’t smoothly run a browser :o

    You can use btop, to monitor if you have a bottleneck on your CPU or RAM, if Swap memory gets used, things will slow down, if your CPU is clocking @ 100%, same thing but not much you can do about that besides perhaps weeding out unnessecary processes that consume a lot, if there are any.

    In case your RAM is @ 100%, you could:

    • Use LibreWolf instead of FireFox,
      it’s an open source privacy focussed fork,
      which removes some of the FireFox bloaty stuff, which reduces RAM usage.
    • Use uBlock Origin, to block advertisements, which will reduce RAM usage and increase page load speeds
    • Use NoScript, to block JavaScript trackers, to further reduce RAM usage and increase page load speedd, beware, will block all JS by default, so sites will break, but can be manually fixed by re-enabling only the nessecary JS components on a site
    • Switch to DietPi, a very light weight RAM/CPU friendly distro for SBCs like RPis, I’ve used it only headless (without GUI) but it only used 50Mb of RAM out of the box last time I monitorred it, which is impressively low.