{"id":625,"date":"2020-02-03T12:00:00","date_gmt":"2020-02-03T20:00:00","guid":{"rendered":"http:\/\/letsbuildroboticswithshadow8472.com\/?p=625"},"modified":"2020-02-03T03:48:13","modified_gmt":"2020-02-03T11:48:13","slug":"family-photo-chest-part-3-tools-of-the-trade","status":"publish","type":"post","link":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2020\/02\/03\/family-photo-chest-part-3-tools-of-the-trade\/","title":{"rendered":"Family Photo Chest Part 3: Tools of the Trade"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Good Morning from my Robotics Lab! This is Shadow_8472, and today, I am taking all my progress so far and discarding it. A lot has happened, yet not much at all. Let&#8217;s get started!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The past several weeks have been covered by me getting so far ahead on my Minecraft server, now called Button Mash. I managed to maintain a backlog of completed posts, but for reasons I will get into, I&#8217;ve run out, so here I am, &#8220;live&#8221; again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This project has undergone a major overhaul in concept. Instead of a ready built solution, I will be facing material in a class I was unable to complete due to incompatibilities with the physical classroom environment; I will be building my site from scratch.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So far, it doesn&#8217;t look like it will be as bad as I thought it would be at first. I am going through the Flask Megatutorial by Miguel Grinburg [<a rel=\"noreferrer noopener\" aria-label=\"Link to first lesson (opens in a new tab)\" href=\"https:\/\/blog.miguelgrinberg.com\/post\/the-flask-mega-tutorial-part-i-hello-world\" target=\"_blank\">Link to first lesson<\/a>]. As of this writing, I am on part 4 of 23. Yeah, I&#8217;m going to be at this for a while as I build up my skill set. Unfortunately, I doubt anyone would have fun reading half a dozen blog posts about following tutorials week after week, and I would get bored trying to keep them interesting. So, without much else I can do to keep things interesting, I think this project will be more of a monthly feature until I finish the tutorial. Don&#8217;t worry, there will be plenty of other aspects of the project to cover.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">My main focus this week is covering the tutorial. I really do need to take it slowly, one lesson at a time until I finish the little &#8220;Microblog&#8221; project being built and I probably won&#8217;t ever deploy anywhere. The process of copying everything reminds me of when I learned Lua. One of the best ways to learn a language is to transcribe a complex, known working program.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The tutorial assumes you are using the command line, but I am using the Pro version of Pycharm. Incidentally, whenever the tutorial gives me step by step instructions for working with the command line, I need to stop and evaluate it for the IDE (Integrated Development Environment).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One of my earliest problems involved trying to get Microblog to work with Flask. That task was trivial, as there&#8217;s an option for it in the new project window. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Another, more difficult task was getting Microblog to run when I went to test it for one of the first times. It had two hard-coded URL&#8217;s to use, but only one was in seemingly in use. I ended up deleting a  default &#8220;Hello World&#8221; file that was giving the false success. With the decoy out of the way, everything stopped working. The proper files under development were moved to where they actually belonged.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One of the things I did to make it work was a mistake. I don&#8217;t know why it worked or why it broke, but whatever I did, I addressed it properly later on, and only just recently cleaned up the mess I made when trying to revert a very early change.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All of my stubborn problems so far have been with the terminal\/API differences. At one point, I misunderstood how things were supposed to be arranged. At another, I was unable to read the filesystem correctly, so I actually moved a few files where they should have been. Naturally, Microblog lost track of where they  were.<br><br>Final Question: What is your favorite or most effective way to learn a programming language?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Good Morning from my Robotics Lab! This is Shadow_8472, and today, I am taking all my progress so far and discarding it. A lot has happened, yet not much at all. Let&#8217;s get started! The past several weeks have been covered by me getting so far ahead on my Minecraft server, now called Button Mash. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2020\/02\/03\/family-photo-chest-part-3-tools-of-the-trade\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Family Photo Chest Part 3: Tools of the Trade&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[17],"tags":[],"class_list":["post-625","post","type-post","status-publish","format-standard","hentry","category-web-application"],"_links":{"self":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/comments?post=625"}],"version-history":[{"count":2,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/625\/revisions"}],"predecessor-version":[{"id":627,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/625\/revisions\/627"}],"wp:attachment":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/media?parent=625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/categories?post=625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/tags?post=625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}