{"id":48,"date":"2023-05-19T13:02:40","date_gmt":"2023-05-19T13:02:40","guid":{"rendered":"https:\/\/blogs.oregonstate.edu\/birdcode\/?p=48"},"modified":"2023-05-19T13:02:40","modified_gmt":"2023-05-19T13:02:40","slug":"coming-together","status":"publish","type":"post","link":"https:\/\/blogs.oregonstate.edu\/birdcode\/2023\/05\/19\/coming-together\/","title":{"rendered":"Coming Together"},"content":{"rendered":"\n<ol class=\"wp-block-list\">\n<li>How do you working through being \u201cstuck\u201d on a problem<\/li>\n<\/ol>\n\n\n\n<p>My first step of working through a \u201cnew\u201d and perhaps unexpected problem for me is to usually identify what I want the outcome to be. I\u2019ve had several problems where I am getting the right outcome, but perhaps my test cases were not correct.&nbsp; So after correctly identifying what I <strong>want<\/strong> to happen and reviewing what <strong>is<\/strong> happening you can identify what is the issue: is the software failing under exceptions, bad inputs, or are my results incorrect.&nbsp;<\/p>\n\n\n\n<p>After getting a grasp of the problem I like to sketch out a diagram, hand-drawn if it&#8217;s going to be simple, a more complicated miro-board if it has more moving components. &nbsp; From there I can identify how I expect the code to flow through the problem and then identify which ones have a higher risk of not performing as expected.&nbsp; I.e. Maybe some assumptions were made about the return type that were not verified.&nbsp; After this identification I\u2019ll work through the items I\u2019ve identified as most troublesome.&nbsp;<\/p>\n\n\n\n<p>If that doesn&#8217;t work it could require more thorough debugging to identify what step is causing the breakdown, through print statements, or function by function or line by line debugging.&nbsp; If the problem is simple enough I can use a simple problem to work through.&nbsp;<\/p>\n\n\n\n<p>Also wrapped all up in there is some heavy google searching where needed and some chatGPT\u2026<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Do you use chatGPT or other AI tools? In what way?<\/li>\n<\/ol>\n\n\n\n<p>Yes!&nbsp; Of course, it&#8217;s better than a google search during debugging, and really helps kick off boiler plate code for projects.&nbsp; Reduces the search time to figuring out setting up templates for new features.&nbsp; Some examples I have used it on for this project is<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>multiprocessing in python<\/li>\n\n\n\n<li>.jinja files to report our results<\/li>\n\n\n\n<li>html\/css to get things to look right<\/li>\n\n\n\n<li>figuring out error codes<\/li>\n<\/ul>\n\n\n\n<p>&nbsp;And this is just for this class.&nbsp; It can\u2019t help with everything and sometimes it will loop on some things.&nbsp; At work I was working on setting up an SqLite database with the Entity Framework in C# that it couldn\u2019t wrap its head around getting it set up in .Net framework 4.8. But it did point out areas that were not working and did help with pointing me in the right direction.&nbsp;&nbsp;<\/p>\n\n\n\n<p>Is it perfect? no, but its a tool that helps work through converting a vision into code syntax if you know what information is important and what is not.&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Project Related? Back to ChatGPT<\/li>\n<\/ol>\n\n\n\n<p>Really cool to use chatGPT as it helped me navigate html and css setup that I had not delved deeply into in about a year?&nbsp; I liked how it helped with the front-end but found it so much better than when I started this programming and was googling and using W3Schools or Mozilla and trying to interpret the difference between different CSS styles.&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<p>Here is where we stand!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"922\" height=\"1024\" src=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/6678\/files\/2023\/05\/Screenshot-2023-05-15-at-6.56.57-PM-922x1024.png\" alt=\"\" class=\"wp-image-49\" srcset=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/6678\/files\/2023\/05\/Screenshot-2023-05-15-at-6.56.57-PM-922x1024.png 922w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/6678\/files\/2023\/05\/Screenshot-2023-05-15-at-6.56.57-PM-270x300.png 270w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/6678\/files\/2023\/05\/Screenshot-2023-05-15-at-6.56.57-PM-768x853.png 768w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/6678\/files\/2023\/05\/Screenshot-2023-05-15-at-6.56.57-PM.png 1272w\" sizes=\"auto, (max-width: 922px) 100vw, 922px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>My first step of working through a \u201cnew\u201d and perhaps unexpected problem for me is to usually identify what I want the outcome to be. I\u2019ve had several problems where I am getting the right outcome, but perhaps my test cases were not correct.&nbsp; So after correctly identifying what I want to happen and reviewing [&hellip;]<\/p>\n","protected":false},"author":13345,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-48","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.oregonstate.edu\/birdcode\/wp-json\/wp\/v2\/posts\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.oregonstate.edu\/birdcode\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.oregonstate.edu\/birdcode\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/birdcode\/wp-json\/wp\/v2\/users\/13345"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/birdcode\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":1,"href":"https:\/\/blogs.oregonstate.edu\/birdcode\/wp-json\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":50,"href":"https:\/\/blogs.oregonstate.edu\/birdcode\/wp-json\/wp\/v2\/posts\/48\/revisions\/50"}],"wp:attachment":[{"href":"https:\/\/blogs.oregonstate.edu\/birdcode\/wp-json\/wp\/v2\/media?parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/birdcode\/wp-json\/wp\/v2\/categories?post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/birdcode\/wp-json\/wp\/v2\/tags?post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}