{"data":{"site":{"siteMetadata":{"title":"Kai's Awesome Dev Blog","author":"Kai Lovingfoss"}},"markdownRemark":{"id":"24a523df-0767-5499-96c1-6752ec93ae22","excerpt":"Part 1 - Individual Accomplishments this Week Github Handle:  tryingtokeepup At least for me, this week was way better than the previous week. We were able to…","html":"<h1>Part 1 - Individual Accomplishments this Week</h1>\n<p>Github Handle: <a href=\"https://github.com/tryingtokeepup\">tryingtokeepup</a></p>\n<p>At least for me, this week was way better than the previous week. We were able to get everything up and running, our backend is finally able to talk to front-end without Auth0 errors. Our team also stayed incredibly cohesive throughout the week, thanks to a constant Zoom session that we could pop into at anytime. In all honesty, I would have probably collapsed into exhaustion a lot sooner if I didn’t have my teammates to constantly cheer me up throughout the week. </p>\n<p>My big accomplishment this week was finally nailing down a bug that made it impossible for our deployed front-end to communicate with our deployed back-end. Working closely with Nedim, who has for the past two weeks been my back-end partner, we finally figured out that it was a missing environmental variable that slipped through the cracks of the docs that was causing the issue. </p>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/f60c95256e28b8db45f23fafc05b9ca8/16038/backend-fix.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n  \n  <span\n    class=\"gatsby-resp-image-wrapper\"\n    style=\"position: relative; display: block;  max-width: 590px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 88.4090909090909%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAACXBIWXMAAAsSAAALEgHS3X78AAAChUlEQVQ4y41UV3bbMBDkNSyxgagEK2AWVUtOLCvv+f7nmSwZF8WWnHzMY5EwO7Ozy2C/36N1NcZ+wHrcwQ8j9uMau9UIrSXKqoQtCqSMgXP+TwTb7RYsy2C5xdbt0T29oNuc0BPRqixRSg6TMWieIY5jRFH0LWZCLjisyDHUA9rdI5rdCa7xcMZirHJ4q8FJ4XRgIv0OwePxOBM2usbBHbDp1zjuDhiGFQppUGuBnghzUhp9JrhSIDidTlBKQQmD0rSoiKBUAnK2yaDoKlmKJEmwDCNCiOXi7l3tZ9XB+XyG0TmESJB3HpUfUPuegurQGIWhzFEbORNPBXJtYKk1CSPFUfhV4fP5Gcbk0IqD6Qy+qfHQORxWHj/X93jZrbD1DSxZngKqcirQ9pQ6v9rTwDkHKSUlzVB1PepxiyyvkNgCiRTzocVk8xWL5RKL2XJ43bL3ngg1BI9gqxRuc0R3PKHrGhQ0OtI2YCl/H4vLw1cVeu8oFE2kKZgKITn1iJJuNgdUqwNyP0IVNYrSoFCSAvp+fF4VKgolhjAJFNmcfkhYhiSldFNG7aD+UtIpJZ3cUPaFUAmqTuMzHYqpV9GEtw24vL8YlxuWPe2shjYalvbX/dgip3Ql2dS2hqDh/p/eXbWcqTvw+xZ8v/qTcExqJ8XxdYKbCqdQppRzV8HSbrf7Ho0roemjwYg0DCfbH3h7vmZ9nkNN0y9EBj6t3LQVNODG0tVwCEWkIiX1FA5PZ3DN5nfv/bxA0HcdJSvpA0EkjYL19CFoJIFDlRl0lSFvxQzrqUiRQWgqQKs6hRVHfyN4ePpFf6LhNRWkW0O5EYVvocsCYaYQ8Q/EQs/vlqnEksn5/jN+A8t+BBg6jrzzAAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n    >\n      <img\n        class=\"gatsby-resp-image-image\"\n        style=\"width: 100%; height: 100%; margin: 0; vertical-align: middle; position: absolute; top: 0; left: 0; box-shadow: inset 0px 0px 0px 400px white;\"\n        alt=\"backend fix\"\n        title=\"Backend was finally fixed - Was a .env error\"\n        src=\"/static/f60c95256e28b8db45f23fafc05b9ca8/40fad/backend-fix.png\"\n        srcset=\"/static/f60c95256e28b8db45f23fafc05b9ca8/707e9/backend-fix.png 148w,\n/static/f60c95256e28b8db45f23fafc05b9ca8/649e0/backend-fix.png 295w,\n/static/f60c95256e28b8db45f23fafc05b9ca8/40fad/backend-fix.png 590w,\n/static/f60c95256e28b8db45f23fafc05b9ca8/16038/backend-fix.png 880w\"\n        sizes=\"(max-width: 590px) 100vw, 590px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>\n<p>This was a glorious find, as it took me the better part of two days to finally pinpoint the issue. It is almost galling that for all the effort I put into finding the variable, it was only a line of code in the end and a Netlify variable that was missing. Oh well.</p>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/e3bb455ac32908b585a09d857be8bf79/d3f26/screen-shot-2019-02-25-at-7.34.23-am.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n  \n  <span\n    class=\"gatsby-resp-image-wrapper\"\n    style=\"position: relative; display: block;  max-width: 590px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 20.389805097451273%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAECAYAAACOXx+WAAAACXBIWXMAAAsSAAALEgHS3X78AAAAgklEQVQY05WO3QrCMAyF+/5vqF5Imo5tdtALh03W2WM6UHQXoiEfCTn5c1kVWQS3nA158ayJ6WW9G+tPuDbg2YOYQSHgTARvkTjgcDqiH0f8Y05LgdpSsY+K5bUC5hbrG9i0dlyXZad94sQa4jShHwZc53m7sm9qllICdx0uMX5d+ABRFjioe/gNLQAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n    >\n      <img\n        class=\"gatsby-resp-image-image\"\n        style=\"width: 100%; height: 100%; margin: 0; vertical-align: middle; position: absolute; top: 0; left: 0; box-shadow: inset 0px 0px 0px 400px white;\"\n        alt=\"screen shot 2019 02 25 at 7 34 23 am\"\n        title=\"The missing .env variable!\"\n        src=\"/static/e3bb455ac32908b585a09d857be8bf79/40fad/screen-shot-2019-02-25-at-7.34.23-am.png\"\n        srcset=\"/static/e3bb455ac32908b585a09d857be8bf79/707e9/screen-shot-2019-02-25-at-7.34.23-am.png 148w,\n/static/e3bb455ac32908b585a09d857be8bf79/649e0/screen-shot-2019-02-25-at-7.34.23-am.png 295w,\n/static/e3bb455ac32908b585a09d857be8bf79/40fad/screen-shot-2019-02-25-at-7.34.23-am.png 590w,\n/static/e3bb455ac32908b585a09d857be8bf79/d3f26/screen-shot-2019-02-25-at-7.34.23-am.png 667w\"\n        sizes=\"(max-width: 590px) 100vw, 590px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>\n<h2>Tasks Pulled</h2>\n<p>Other than the .env find, I fleshed out the backend schema, resolvers, and models with Nedim, and got better aquainted with GraphQL. I am by no means a master at Prisma and GraphQL, but I am starting to get more confident that I can build something pretty complex with those technologies with last week’s experience.</p>\n<h3>Ticket 1: Uncommented and documented the login function in NavResponse.js.</h3>\n<ul>\n<li><a href=\"https://github.com/Lambda-School-Labs/labs-team-home/pull/277\">Github</a></li>\n<li><a href=\"https://trello.com/c/oyd8ltxC/37-add-comments-to-readme\">Trello</a></li>\n</ul>\n<h3>Ticket 2: My first attempt into radically changing the backend environmental variables to see where the connection bug was originating.</h3>\n<ul>\n<li><a href=\"https://github.com/Lambda-School-Labs/labs-team-home/pull/286\">Github</a></li>\n<li><a href=\"https://trello.com/c/oyd8ltxC/37-add-comments-to-readme\">Trello</a></li>\n</ul>\n<h3>Ticket 3: Mostly a trivial fix, but helped my team fix a merge issue and repaired the master branch from its merge conflicts.</h3>\n<ul>\n<li><a href=\"https://github.com/Lambda-School-Labs/labs-team-home/pull/294\">Github</a></li>\n<li><a href=\"https://trello.com/c/jTXWoQ2d/17-learn-graphql-apollo-prisma-kai\">Trello</a></li>\n</ul>\n<h3>Ticket 4: Finally. FINALLY. Found the env variable that was causing all the pain. Aggh.</h3>\n<ul>\n<li><a href=\"https://github.com/Lambda-School-Labs/labs-team-home/pull/301\">Github</a></li>\n<li><a href=\"https://trello.com/c/jTXWoQ2d/17-learn-graphql-apollo-prisma-kai\">Trello</a></li>\n</ul>\n<p>There were a few more pull requests (3 total), but they were trivial in nature. Most of my schema work for GraphQL is in Nedim’s pull requests, so I might reference that in the future.</p>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/8ee21a883ccf36e7616c7d55ab5add36/9584d/schema.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n  \n  <span\n    class=\"gatsby-resp-image-wrapper\"\n    style=\"position: relative; display: block;  max-width: 590px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 78.96341463414635%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAQCAYAAAAWGF8bAAAACXBIWXMAAAsSAAALEgHS3X78AAACS0lEQVQ4y32U2XajMBBE/R1h045YBcYG24lzEj9MHub/v6emkDPJZOL4oQ8cQLdVXSU2r6+vCKHH8XTAbttj3rY4HCb0rce03aLveyitIaWCUvpmre+apkFZemyOxyOEEFC+Qzi+IOx2WJYOfWVw6HyspuSiokBR5Miy7GalaRqvm9PpxC4KQpewTYALe7iqhjUCNUGVlvBGxVqBKRfleX6zCjbdrJI1t62dxnQ+Y5pnqJLAihK8h2884RpOSTSWEqXkTr7DsvdGEWiNhbYPXGwi8PA0Yzk/o+t6tFUJKQrkWQqRZxH2k+wIfHt7g7UOxqWUajEtC379vmA7nzHuj5jZoOlGlG3Pbxw0R3BX8o4mOMv5lVkEts2Abhixp7t9G1BWFYsjqDtUvkRFs+4Ch2GAoWTjElhn0PqAblzo9sg4tUyARJI8IE2S6GTy7uaPksdxvAJtCkUnpVgHr+Os1o558Tnwe/Uf0LAEmnGC45wy7kJIEWOS5+tVIMuLGJn0PXNpmn1p9AV4dTmlyyX6aWLAd6jCDu20p3SaUpcwzKpmk7UMlRgjv4D+AQ5Xl23C4TM2NGl+XNBMBG1nVE3FhjLm0GsFx3vvbTRnHckN4HWHa2wMw93VE6bjM/ZPZww81yFUqMPAxTIaskpNkjTWXckrUPFECCXgvERYLhiWR3Qcg2ecruf4ZzM+gCGED6BeXeafpQ8OOwa87QJqa1DzuZLFNWsRlH3AvwEvlwtKV34CrUfnW5rkIdoSir+xmqNo3QrmmdbyZoz+PvsDkxbJlz7Ftu4AAAAASUVORK5CYII='); background-size: cover; display: block;\"\n    >\n      <img\n        class=\"gatsby-resp-image-image\"\n        style=\"width: 100%; height: 100%; margin: 0; vertical-align: middle; position: absolute; top: 0; left: 0; box-shadow: inset 0px 0px 0px 400px white;\"\n        alt=\"schema\"\n        title=\"more schema stuff\"\n        src=\"/static/8ee21a883ccf36e7616c7d55ab5add36/40fad/schema.png\"\n        srcset=\"/static/8ee21a883ccf36e7616c7d55ab5add36/707e9/schema.png 148w,\n/static/8ee21a883ccf36e7616c7d55ab5add36/649e0/schema.png 295w,\n/static/8ee21a883ccf36e7616c7d55ab5add36/40fad/schema.png 590w,\n/static/8ee21a883ccf36e7616c7d55ab5add36/b3fef/schema.png 885w,\n/static/8ee21a883ccf36e7616c7d55ab5add36/9584d/schema.png 984w\"\n        sizes=\"(max-width: 590px) 100vw, 590px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>\n<h2>Detailed Analysis</h2>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/8e8606137a8eccd1fcc6ad2d15dc5564/5a71e/doggie_2.jpg\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n  \n  <span\n    class=\"gatsby-resp-image-wrapper\"\n    style=\"position: relative; display: block;  max-width: 590px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 97.46666666666668%; position: relative; bottom: 0; left: 0; background-image: url('data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAATABQDASIAAhEBAxEB/8QAFwABAAMAAAAAAAAAAAAAAAAAAAIDBP/EABYBAQEBAAAAAAAAAAAAAAAAAAEAAv/aAAwDAQACEAMQAAAB3yzzG9kVC81msJ//xAAcEAABBAMBAAAAAAAAAAAAAAABAAIRMhIhMUH/2gAIAQEAAQUCzMtdpSCwVMrwU4v/xAAXEQADAQAAAAAAAAAAAAAAAAAAARAR/9oACAEDAQE/AWaOf//EABYRAAMAAAAAAAAAAAAAAAAAAAAQEf/aAAgBAgEBPwEj/8QAGhAAAgIDAAAAAAAAAAAAAAAAAAERIRAgQf/aAAgBAQAGPwJEYnpLZTrT/8QAGxABAQEBAQADAAAAAAAAAAAAAREAMSFBcZH/2gAIAQEAAT8hiVE102t7pgHiKYTmyfuafRHg3fL6cKR5joOb/9oADAMBAAIAAwAAABA45/8A/8QAGBEAAgMAAAAAAAAAAAAAAAAAAAEQETH/2gAIAQMBAT8QZLCkv//EABgRAQEAAwAAAAAAAAAAAAAAAAEAEBEx/9oACAECAQE/EAXtvGP/xAAcEAEAAwADAQEAAAAAAAAAAAABABEhMUFRgZH/2gAIAQEAAT8QBC9vXcixoF3pBBVhPK9hthcHauYBDCgtg0BgIfTYBy0ln7B0YaCf/9k='); background-size: cover; display: block;\"\n    >\n      <img\n        class=\"gatsby-resp-image-image\"\n        style=\"width: 100%; height: 100%; margin: 0; vertical-align: middle; position: absolute; top: 0; left: 0; box-shadow: inset 0px 0px 0px 400px white;\"\n        alt=\"doggie 2\"\n        title=\"\"\n        src=\"/static/8e8606137a8eccd1fcc6ad2d15dc5564/f8fb9/doggie_2.jpg\"\n        srcset=\"/static/8e8606137a8eccd1fcc6ad2d15dc5564/e8976/doggie_2.jpg 148w,\n/static/8e8606137a8eccd1fcc6ad2d15dc5564/63df2/doggie_2.jpg 295w,\n/static/8e8606137a8eccd1fcc6ad2d15dc5564/f8fb9/doggie_2.jpg 590w,\n/static/8e8606137a8eccd1fcc6ad2d15dc5564/5a71e/doggie_2.jpg 750w\"\n        sizes=\"(max-width: 590px) 100vw, 590px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>\n<p>Wow, this was a crazy week. I mentioned most of my thoughts above, but the most important part of the whole week was persevering and not giving up on the hunt for the bug. Nedim and I went through probably every single possible combination of environmental variable and line of code pertaining to authentication in our code base. I spent probably a good 8 hours just reading documentation on Auth0, and even set up a complete parallel setup of our project on my own Netlify, complete with my own rollout of Auth0 so that I could test out what our app was missing. Our Project Managers actually admonished us that we should have brought this to the attention to the dedicated help group for Labs for consultation, as it took so much time for us to find the problem.</p>\n<p>While going for help might have solved the issue faster (on that, I have a little skepticism, as they would have run into the same issue of having to test almost everything and anything to get a handle on the situation, but I dunno), I am really glad I got this fix under my belt. It cost me a lot of sleep and caused Nedim and I a lot of stress, but we squashed it in the end. I also learned a huge amount about how Auth0 really works under the hood (how rules work, how to write rules in standard SQL language and in Javascript), so I feel that the time was well utilized in the end. </p>\n<h1>Part 2 - How we formed a team -</h1>\n<p>Quick admission: our team kind of had it easy from the get-go; the four of us on the web side have been together from the very beginning. We were all in the same small group, Team Wolf, and we have always been the most tight-knit of all the small groups in a cohort already super tight-knit and small compared to previous cohorts. I have no idea how it turned out this way, but we were lucky.</p>\n<p>If anyone wanted advice on how to form such a team, I would advise tons of memes and tons of face to face interaction. Of course, this means that you kind of have to be okay with irreverent humor, but it worked for us. This sometimes makes me wonder if culture fit (in HR speak) is really simply if everyone can join in in the same kind of humor, or at least can be flexible enough to tolerate it. And what if someone is great but they can’t find the memes funny? I don’t know, but we were fortunate enough not to have to deal with that. </p>\n<p>For group decision making, I think that we have such strong trust in each other and respect for each other’s opinions that we all voice our ideas and concerns pretty much without any worry that we will be ignored. I am sure such cohesion disappears in larger groups, but it works great in this group of 6 people. It also helps tremendously that our iOS friends are consummate professionals, and really good people to boot. </p>\n<p>I guess that for me personally, I don’t know what I am doing to help out the with the whole “make a great team” thing: it kind of happened organically.</p>","frontmatter":{"title":"Labs Retrospective 2 - Electric Booglaloo, or How Our Team is Doing Great","date":"February 22, 2019"}}},"pageContext":{"slug":"/2019-02-22-labs-retrospective-2-electric-booglaloo-or-how-our-team-is-doing-great/","previous":{"fields":{"slug":"/2019-02-15-labs-retrospective-week-1/"},"frontmatter":{"title":"Labs Retrospective - Week 1"}},"next":{"fields":{"slug":"/2019-03-01-labs-retro-3/"},"frontmatter":{"title":"Labs Retrospective 3 - WE GOT STUFF DONE YO"}}}}