Ask HN: Advice for a beginner programmer on understanding systems?
I have recently started writing a web scraping bot to learn Selenium and have found that the problems that are truly stumping me are things related to the underlying systems of my computer. For instance, I didn't understand why Selenium was bringing up an import error when I'd definitely installed it. I later found I was using the wrong interpreter in vscode. I'm currently completely stuck on setting up a remote debugging port because I am having issues that I can't find answers for online and have no idea how to debug myself (my localhost won't connect on any browser).
How do I best go about solving problems that are not necessarily "coding" problems, but more related to setting up my system correctly for my code to work? How do I go about finding out what is necessary to learn and what I can ignore?
2 comments
[ 3.2 ms ] story [ 12.8 ms ] threadTL;DR -keep going. You're doing fine. Keep a diary (dated, sequenced - a lab book, a jupyter, a GIT repo of the constantly evolving install script) and write something as a final state (the README.md for the git?) which is less about time and more about the problems of significance and leave a trail or markers to how you fixed things.
Want to do something -> try to do it (through google) -> doesn't work -> read exception -> search exception / stackoverflow -> try fix exception -> probably doesn't work -> eventually find error and underlying cause -> repeat.
As you learn more about the framework and language, the time to complete this loop becomes smaller and you learn more efficiently. However everyone goes through the initial slogging steps of being frustrated and unable to figure things out.