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

help-circle



  • Read other people’s code… particularly code by experienced developers. One good way to do that is to single-step debugging through the test code in a well-known package, stepping into the code being tested.

    I suppose if you don’t know how test frameworks like pytest work, tackling how they work and how to do single-stepping with some toy example code will be a prerequisite for the above, as will spending some time studying how packages are made. (The latter may seem unattractively tedious, but the knowledge will pay off even if you never become an expert at making your own packages.)

    These exercises are very likely to expose weaknesses in your understanding of all sorts of things. Be patient and keep studying!




  • No.

    If you ever so carefully paint yourself into a corner then the corner is where you will be stuck. How badly do you want out of your corner?

    There are FOSS and SAAS options that could work if you wanted them to… but whether they will depends on you.

    Meat eaters trying to become vegetarian for ethical reasons often fail because the “un-meat” options out there don’t meet their standards. Success almost always requires some letting go and re-adjusting. If you are not open to that then don’t force yourself to put up with something you don’t really want.






  • Pretty vague question.

    One assumption that “mathy types” like to make is that the slope be negative-proportional to how far the value (not slope) is from the desired target value… and then you get an exponential decay (buzzword). But there are lots of other assumptions one could make… some of which lead to PID control (buzz; very mathy stuff).

    But these days you could use a neural net (buzz; so mathy they don’t usually pretend to understand what the NN “learns”) or fuzzy logic (buzz; which is ideally intuitive but has many surprisingly mathy assumptions) to make the behavior nonlinear and go to the desired result much faster… so really, there are many many possible answers. Maybe you can watch some ELI5 videos about these buzzwords and refine your question?




  • Bullshit. That is like saying adding more lanes to a freeway will reduce traffic congestion… it just encourages more deforestation.

    If the fertility in a rainforest is in the biomass, learning to live with that biomass in place will be necessary if people are to live there. But there were very few people there before people started their land grab… it may not be possible even when the biomass is restored.

    If the rainforest is valued for the ecological impact it has, then it is more likely that people will have to move out. Not attractive to the people who already moved in, but when they are starving then they will eventually migrate away anyway, and keeping them there with false promises to make cleared land usable will only make things worse.