<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Faith Kim on Medium]]></title>
        <description><![CDATA[Stories by Faith Kim on Medium]]></description>
        <link>https://medium.com/@thefaithkim?source=rss-35b15a8bb162------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*U71_6qU0isWTnHl5</url>
            <title>Stories by Faith Kim on Medium</title>
            <link>https://medium.com/@thefaithkim?source=rss-35b15a8bb162------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 19:17:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@thefaithkim/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[I Published a Book and Here’s My Journey]]></title>
            <link>https://medium.com/@thefaithkim/i-published-a-book-and-heres-my-journey-43dbeb10251e?source=rss-35b15a8bb162------2</link>
            <guid isPermaLink="false">https://medium.com/p/43dbeb10251e</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[authors]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[self-publishing]]></category>
            <dc:creator><![CDATA[Faith Kim]]></dc:creator>
            <pubDate>Sun, 13 Mar 2022 20:53:24 GMT</pubDate>
            <atom:updated>2022-03-13T20:54:33.997Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="The book cover design for A Piece of Java. Drawing of a pink laptop with coffee on the side and a purple background" src="https://cdn-images-1.medium.com/max/586/1*KspWTq4ESR3GCXGe9Cx7QA.png" /><figcaption><em>A Piece of Java: Introduction to Programming</em></figcaption></figure><p>In early 2021, I published a book called <a href="https://www.amazon.com/Piece-Java-Introduction-Programming/dp/B08WPG53Z6/ref=sr_1_1?dchild=1&amp;keywords=a+piece+of+java&amp;qid=1614624168&amp;sr=8-1"><em>A Piece of Java: Introduction to Programming</em></a><em>. A Piece of Java</em> is meant to be a friendly introduction to Java for those who have never programmed before. The book covers topics ranging from the basics of setting up your terminal to run Java programs to concepts of classes and objects.</p><p>This blog post will be dedicated to documenting my self-reflection and journey on writing and publishing this book.</p><p>Disclaimer: if you’re looking for a more “how-to-publish” guide, then this blog probably won’t be for you. This blog is more anecdotal and not really a logistical account, so please keep that in mind as you proceed with this post.</p><h3><strong>Why I decided to Publish a Book</strong></h3><p>Ever since I was a little girl, I’ve <em>always</em> wanted to have a physical copy of my own stories and writing. I would fold up a bunch of letter-sized papers in half and staple the sides to make a mini booklet, then I would write and draw characters in there to create my own “story books.”</p><p>One day, my mom and I visited a Fedex-like office because my mom needed some documents printed (this was in Korea so something Fedex-equivalent), and I saw an advertisement that said “Publish your own book now!” I was <em>determined</em> to write up my own pages long enough to create a hardcover of it one day, and without any luck I grew up and became a software engineer without having accomplished my dream of publishing a book.</p><p>It wasn’t really that I wanted to be a “writer” but more so that I wanted to own a beautifully book-binded work composed of pages that <em>I</em> created. I wanted a book that had a <em>spine</em> and not just some flimsily stapled leaflet. I wanted the real deal.</p><p>And as I grew up, I learned that I also loved teaching and tutoring. While I was in college, I tutored students on Java and Data Structures and ran a workshop on teaching Java to incoming students. I started to grow a passion for combining the arts from my right brain to the logic of my left brain.</p><p>So in late 2020, while the world was bleak with its pandemic (it still is), and I was sitting in front of my laptop doing my day job as an engineer, my mom brought up a suggestion of writing a book on Java. This triggered the Imposter Syndrome in me, immediately jumping to the idea that this feat will fail and that other experts who knew far more about Java will jump at my throat for my elementary understanding of the language.</p><p>But I also had another anxiety I was battling at the time too. I was insecure about where I was going in my engineering career, feeling like I was learning more legacy systems after legacy systems that were so company-specific, and I had not learned anything new for six months. I felt like I had no control or agency in my technological skills, mostly because I thought I’d never get a job as an engineer outside of this one company.</p><p>So I thought writing an ebook would help me find ownership in my existence in the tech industry and also fulfill my long-lost childhood dream in publishing a book. Kill two birds with one stone.</p><p>And thus my writing journey began.</p><h3><strong>Writing Journey and Struggles</strong></h3><p>When I first started writing, I wasn’t thinking of a specific platform to publish on until much later in the process. I definitely wasn’t considering KDP at the time, because. I just thought publishing to Kindle/Amazon required my writing to be more professional, and I was not up for feeling that stress when I first started writing.</p><p>I started by creating a table of contents of what I wanted to cover in an intro book. I thought back to what I wished I had learned properly when I first learned to code in Java. I didn’t understand the concept of <em>static</em> well, and I remembered struggling with the concepts of classes and objects. So I wrote up a bulleted list of topics I wanted to cover and just started writing. No thinking about word count or pages, whether they make sense or not. Just write.</p><figure><img alt="Showing an early draft of the table of contents written on Google Docs. Chapters 0~16 shown" src="https://cdn-images-1.medium.com/max/839/0*lJNku7HUodHLmx88" /><figcaption>Early draft of the table of contents</figcaption></figure><p>I wrote everything in my Google Docs at the time, separating each doc by chapter/topic (which helped, because scrolling through a hundred page doc really struggled with performance of the page). In hindsight, knowing that I was going to use KDP to publish, using Google Docs was not a smart idea. I eventually had to export the docs to the application <strong><em>Kindle Create</em></strong>, and that messed up all of my writing formats and especially my code (I ended up screenshotting my code and importing it as an image file instead of writing actual textual code). I heard Microsoft Word is a bit more compatible in this regard.</p><figure><img alt="Showing the early draft of Chapter 1 on Google Docs" src="https://cdn-images-1.medium.com/max/1024/1*eOrpCKke4_p8rGF2HOMDIg.png" /><figcaption>Draft in Google Docs</figcaption></figure><figure><img alt="Showing the more finalized draft of Chapter 1 on the Kindle Create app" src="https://cdn-images-1.medium.com/max/1024/1*fFI8L2tDC_0l9DlwgYf4Dg.png" /><figcaption>Converting the Google doc to a Kindle Create doc</figcaption></figure><p>I started my writing process in October 2020 and finished the first draft before Christmas. I remember spending all of Thanksgiving rigorously writing, then getting fed up and not looking at my drafts at all during Christmas break. I do have to say, writing a technical piece is far easier than writing a novel (which I’ve also attempted before). Technical writing lets you write things chapter by chapter, topic by topic, whereas novels are based on convincing the reader to empathize with the emotions the character is experiencing, which I think takes more craft to accomplish.</p><p>The duration from October to December 2020 was just writing the first draft. I also wanted to add diagrams, exercises, and solutions to exercises in the book, let alone design the actual cover of the book. I was editing, drawing diagrams and designing my book cover all in early January 2021.</p><figure><img alt="Google doc’s draft of a diagram drawn for a chapter on objects" src="https://cdn-images-1.medium.com/max/677/1*Rz_NfyAPlESaQ8-WtDlPuA.png" /><figcaption>First draft of a diagram via Google Docs</figcaption></figure><p>I eventually drew all my diagrams and even the cover of my book on Procreate instead. It was therapeutic drawing each diagram, though I did mess up a lot and had to redo them many times.</p><figure><img alt="Finalized drawing of a diagram done on Procreate included in the official ebook publication" src="https://cdn-images-1.medium.com/max/716/1*UAEjCG24QmTpG9Z0ouR9WA.png" /><figcaption>Final draft of diagram drawn on Procreate</figcaption></figure><p>For the solutions to the exercises, I decided to use <a href="https://www.codiva.io/">Codiva</a> because of its easy-to-follow IDE interface, it’s online, and it came with a project structure where readers can search up the code they wanted to see in the exercise easily.</p><figure><img alt="Codiva IDE showing some code from the book" src="https://cdn-images-1.medium.com/max/1024/0*I9_EgtJjouz6cxHa" /><figcaption>Codiva IDE showing some code from the book</figcaption></figure><p>Writing the actual content wasn’t too challenging because I had previous material I could reference from when I taught Java in school. I had to look up basic concepts on Google from time to time to fact-check myself, but for the most part, writing was extremely fun.</p><p>Some other hurdles and paranoia I had to overcome were copyright issues. This was where it got interesting because I had to ask myself whether a programming language was proprietary, whether it had its own copyright, and whether it was legal for me to even write on the subject. It taught me to research what copyright disclaimers I needed to include in my book, and I also reached out to Oracle’s legal team to verify it’s okay to write an educational book on Java. I believe they also had a ten screenshot limit of anything proprietary, such as Javadocs in my case, so I had to make sure I didn’t exceed the limit.</p><p>Because I also didn’t know what was infringing on copyright or not for screenshotting the command line of a Windows OS, I also decided to draw the terminal myself. It’s nice on the Kindle because it has colors (the terminal is pink!), but not so pretty on the paperback because I had to use grayscale to cut costs.</p><figure><img alt="A pink Terminal as shown from the ebook" src="https://cdn-images-1.medium.com/max/727/1*I3nswpMcryUAxBZMDIfK4Q.png" /><figcaption>Terminal on the Kindle</figcaption></figure><p>In addition, I always had to ensure in the content of my writing that I applied appropriate branding of company and product names, which had me searching on each company’s branding legal terms page over and over again. It was all a good learning experience, though I’m not sure in retrospect how much of all of that work was needed.</p><p>Also side note: I had to file an “outside business activity” to my employer in case there was a conflict of interest, which I had done a week prior to publishing. This was a relatively smooth process since I did not use (and shouldn’t have used) proprietary information from my employer.</p><p>So by the time I had finished my final draft, drew my book cover and all the diagrams in the book, I was ecstatic to hit the publish button for Kindle. I was floored and beyond excited; I was officially going to be an author. I immediately went on my Instagram to spam about it, announcing to the world of my accomplishment.</p><figure><img alt="The book listing of A Piece of Java on Kindle app" src="https://cdn-images-1.medium.com/max/867/1*rX9QCwLgAJZ75am9JQ4jHA.png" /><figcaption>The book as listed on Kindle</figcaption></figure><p>Another best part was I could sign up to be a Goodreads Author and have the book in the Goodreads database. I felt even more official and awesome, and my mom had called me “Author Kim” for like a week, which boosted my pride and ego.</p><figure><img alt="Goodreads page on A Piece of Java" src="https://cdn-images-1.medium.com/max/1024/0*9eB09sqTsC7I8-w6" /><figcaption>Goodreads page on A Piece of Java</figcaption></figure><p>But then I still felt greedy. I wanted <em>more, </em>more than just an ebook. I wanted to see if I could create a paperback of the book as well.</p><p>And <em>voila!</em> I created the paperback! It was incredibly easy because KDP allows you to upload the same Kindle Create manuscript for both ebook and paperback, so I didn’t have to do any extra work for the paperback other than fixing formatting issues I saw in the author’s copy.</p><figure><img alt="Showing an image of two paperbacks of A Piece of Java; left is the official copy and right is the draft, author’s copy" src="https://cdn-images-1.medium.com/max/1024/0*fUquyYdJsdXZ-F2B" /><figcaption>Paperbacks are out! Left is the official copy and right is the author’s copy</figcaption></figure><h3><strong>Why I chose KDP</strong></h3><p>My main objective was trying to publish something easily and quickly. I had another mentor who self-published and gave me a lot of advice on publishing to KDP, so I already had more familiarity with the platform. I also had hopes of publishing a physical copy of the book eventually, so KDP was a good choice for me.</p><p>KDP is really easy to use. You just have to fill out a tax form that asks you for simple information (your name, address, bank for getting paid via direct deposits, and I believe your SSN but don’t quote me on that).</p><figure><img alt="Initial screen of KDP when you first login" src="https://cdn-images-1.medium.com/max/1024/0*d1cHbeJ70RM53eys" /><figcaption>Initial screen of KDP when you first login</figcaption></figure><p>Beyond that, if you’ve been using Kindle Create to finalize your draft, you simply have to upload that file to the KDP platform and <em>voila</em>, you’re done! KDP will provide an ASIN number for the ebook and paperback, and specifically an ISBN number for the paperback.</p><figure><img alt="The screen for creating an ebook, which is similar to the paperback creation screen" src="https://cdn-images-1.medium.com/max/1024/0*UVHKX2ZbZid2QaCV" /><figcaption>The screen for creating an ebook, which is similar to the paperback creation screen</figcaption></figure><p>You can use the same Kindle Create file to upload your manuscript for the paperback as well, so you don’t have to do extra re-formatting work. Once you upload the manuscript, KDP will generate a digital draft of what the paperback will look like and see if you need to make any formatting changes. I also ordered myself an author’s copy to get a better feel for what the final product will look like, and I was floored by how nicely it came out for a first publishing draft.</p><figure><img alt="Showing the screen to upload the manuscript to KDP along with creating the book cover" src="https://cdn-images-1.medium.com/max/1024/0*Hh5ndhDi_yRlQb3q" /><figcaption>Uploading the manuscript to KDP</figcaption></figure><p>What I’d say for a con to KDP is the royalty profit isn’t that great. I think Amazon took at least 60% in royalty from my sales, so I made about $3~6 per sale. This didn’t bother me personally because it was less about profiting from my work and more about wanting to publish <em>something</em>, but it is a big factor as to why KDP may not be all wonderful.</p><h3><strong>What I should have done</strong></h3><p>My sales volumes were generally low because I didn’t advertise. I believe KDP gives you the option to advertise based on how much you’re willing to pay per day, but because life events got in the way, I didn’t have time to do official advertising of the book beyond posting on social media. Instagram ads, Facebook ads, and ad tools provided by KDP were things I would have done if I had more time and resources to execute on them.</p><h3><strong>Final Thoughts</strong></h3><p>I’m really grateful to everyone who supported me on my writing and publishing journey. I had co-workers who are self-published authors share advice and their personal learnings with me. Thanks to their stories, I was able to build upon their experience to avoid mistakes they had made.</p><p>Many friends, family, and co-workers supported my book through purchasing and giving me positive feedback on my work, and I have no words to describe how thankful I am of their taking the time to do just that.</p><p>Now that I’m not working with Java anymore (developing in Python now), it has become a helpful resource to myself for re-learning programming in Java.</p><p>My next step is to try and tackle fictional work. I really want to write and publish a novel sometime in my life, but it’s not a journey I’m forcing myself to go on as of right now.</p><p>Thank you so much for reading, and if anyone has any further questions about self publishing on KDP, then please feel free to reach out.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=43dbeb10251e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Things I learned as a Junior Developer]]></title>
            <link>https://medium.com/@thefaithkim/things-i-learned-as-a-junior-developer-f1b1a01d4dc2?source=rss-35b15a8bb162------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1b1a01d4dc2</guid>
            <category><![CDATA[junior-developer]]></category>
            <category><![CDATA[woman-in-tech]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[impostor-syndrome]]></category>
            <dc:creator><![CDATA[Faith Kim]]></dc:creator>
            <pubDate>Sat, 07 Aug 2021 17:10:24 GMT</pubDate>
            <atom:updated>2021-08-07T17:10:24.077Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/756/0*LHkkzadAkhijMbKs" /></figure><p>Hello! I haven’t posted anything on Medium for a long time now (almost two years)! I have been on a long hiatus from posting lengthy blogs, mostly because I was adjusting to my adult life, and I didn’t feel like I had anything valuable to say.</p><p>I wanted to write this blog mostly to organize my thoughts from the past two years working as a junior developer, and I hope you find something helpful in these personal thoughts.</p><h3>My First Year as a Developer</h3><p>My last blog post was on my college graduation back in 2019. Now in 2021, I am a “professional” software engineer, and during these two years I struggled a lot adjusting to the “adult” life and the corporate life.</p><p>I was terribly homesick when I had to live in Chicago on my own. It felt nothing like maintaining an aesthetic dorm room, nor did my clumsy food taste anything like my mother’s cooking. Getting groceries on my own, commuting, and doing my own laundry all seemed like a daunting task when I had to do it alone in silence. I missed my family back home in Florida, and I missed my home back at Smith with my Haven friends.</p><p>On top of that, I felt immensely under prepared on my first day as a “professional” engineer. I didn’t know how to decipher business requirements into technical terms, and I had no idea what was considered “good coding practice” versus the bad. My code reviews were riddled with comments from team members, and when asked a question, my only answer was “I was doing what the ticket told me to do,” which wasn’t helpful for anyone.</p><p>I was learning how to live on my own, learning corporate etiquette and how to be a reliable developer so I can contribute to the team. I was immensely overwhelmed by the different responsibilities, and I ended up having a mental breakdown.</p><p>This pattern continued for a year until I finally picked up the pace and got used to the job. By my second year, I gradually improved as a developer who now regularly contributed to the team. I’d like to also emphasize that I went through this process even when I had an amazing, supportive team. My struggles were personal hurdles I needed to experience so I can grow as a person and a developer.</p><p>If any of you are starting out in your adulthood/career and are experiencing similar things, then you aren’t alone. We all flop and struggle. The learning experience can be painful to some degree, but also cathartic in the end.</p><h3>Things I actually learned</h3><p>With all that said, I’m at my second job now (still a software engineer, and still very junior), and here are some things that I learned:</p><ul><li>Always ask questions, no matter how stupid you think it is. It’s always better to know it now than later. If anyone comes at you negatively for asking these questions, then that’s their issue, not yours. You deserve a safe space to learn without judgement, and that’s the best and fastest way to contribute to your team effectively.</li><li>You are not expected to know everything or anything upon joining a team, especially as a junior engineer. Your team will understand that you are learning, and if you are open and proactive in asking questions and for help, then you’re setting yourself up for success.</li><li>I used to be afraid of getting comments on my code because I didn’t know how to explain what I was doing. But now, I really love getting feedback and improving my code in any way possible. My fear stemmed from my fear of ignorance, but I realized I need to accept the fact that I’m not going to know everything. We only learn by asking questions and being receptive to feedback, and being honest about our lack of understanding really matters.</li><li>I loved doing meetings with QA’s because our discussions always catch edge cases I hadn’t thought of before to cover in my code. They’re the first step into catching any bugs before even testing them!</li><li>I love remote working lol</li><li>Get away from the computer! Go take walks, cleanse off the blue light radiation!</li><li>I have autonomy over my own tech skills, and they do not belong to anyone. This was important for me because I didn’t want to become an “X-affiliated engineer.” I wanted to have ownership of my own software engineering skills.</li><li>Communication is key. One of my mentors explained the hardest part of our job isn’t the technical aspects. The hardest part is working with people, because everyone works and behaves differently. We need to recognize these differences to be able to effectively communicate ideas.</li><li>You can’t transfer prior knowledge, but you can transfer prior experience. I feel this acutely in my new job since I’m learning a completely different tech stack (doing Python/React now vs. my good old Java). Spring and Django are very different frameworks (languages also follow starkly different paradigms), so my knowledge in Java can’t be directly transferred to Python, but that’s okay. I know what it’s like to feel lost in the codebase and not understanding any of it, and I panic less now. Feeling lost is a very normal process.</li><li>When you’re overwhelmed, think like an engineer. What does an engineer do? Make work scalable. If a ticket is too big, or if a chore in your house is too overwhelming to do, then you have to scale it down.</li><li>Changing jobs is a life-changing experience and not something you should do lightly. Your entire day-to-day life is changing.</li><li>Doing tech interviews and software engineering are two completely different skillsets and are mutually exclusive in my opinion. Just because you’re a good engineer doesn’t mean you are good at solving a problem in under 35 minutes, and vice versa.</li><li>Literally engineering is about feeling lost about a difficult problem for 90% of your day and then finding a solution eventually. If you can’t find the solution, then you find help.</li><li>Impostor Syndrome never goes away. It’s not something you cure, but something you just learn to manage in your day-to-day.</li><li>Software engineering isn’t your life. It’s a stepping stone that will help you pursue other things you care about.</li></ul><p>All in all, I’d like to say that if you feel overwhelmed right now, then you aren’t alone. We all struggle at first, and it’s something we don’t talk about openly. Things will get better.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1b1a01d4dc2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Graduating into Adulthood: Gratitudes and Moving Forward 2019]]></title>
            <link>https://medium.com/@thefaithkim/graduating-into-adulthood-gratitudes-and-moving-forward-2019-ea37b2e33f8f?source=rss-35b15a8bb162------2</link>
            <guid isPermaLink="false">https://medium.com/p/ea37b2e33f8f</guid>
            <category><![CDATA[smith-college]]></category>
            <category><![CDATA[graduation]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[college]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Faith Kim]]></dc:creator>
            <pubDate>Thu, 23 May 2019 04:05:51 GMT</pubDate>
            <atom:updated>2019-05-24T00:45:04.559Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*Til-105CG4uz57tVugo_5g.jpeg" /><figcaption>Illumination Ivy Day ‘19</figcaption></figure><p>It’s all over.</p><p>That was all I could think of as I spent my last week of my undergraduate career with my best friends, enjoying Ivy Day by fashioning on our white attires and eventually putting on our caps and gowns celebrating our accomplishments. Grabbing dinner with my best friends at Ziskind and the Quad is over; knocking on my friend’s door in Haven is over; and grabbing milkshakes and coffees at the Campus Center is over. There are so many parts of my daily life that has come to an end. It was truly bittersweet.</p><p>I’ve always wanted to write a blog post about my graduation, about the end of a pivotal era in my life. I always wondered if I’d write about how happy I was for everything I’ve learned at this institution, or how resentful I was for all the injustices that happened on this campus. I’m still unsure what this post will contribute to others, but I would like to contribute it to myself as I try to recollect and organize my thoughts.</p><p>My father passed away when I was eight years old. His death itself was a betrayal to me because of the enormous amount of loose ends he left behind, but nothing hurt more than watching my mother fight for a happy, stable life for me when she decided to move to the United States from South Korea, leaving behind her life for me. She moved to the U.S. hoping to give me a better education, and ultimately watch me walk across the stage that would eventually give me my bachelor’s degree. All I ever wanted as a child was to find a career path that would make enough money to never see my mom struggle with her finances, and to free her into the life she has always wanted to live.</p><p>Coming to college had really turned that upside down. With my mind set on doing pre-med with a biochemistry major as a first year because it was the “safest” choice, my decisions and passion had radically changed. I realized I had agency in my own life. I got to actually have a say in what I want from my life, rather than thinking about what is the “safest” option for my family or what is best for others. The friends I made in college helped me see that it’s okay to be selfish, that it’s okay to voice my needs. That’s when I realized I hated chemistry, and I never wanted to do pre-med; I don’t want to be “safe.” I want to do something I love, even if I had to take a risk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*nWlU7od90OICYA6uJ79B2g.jpeg" /><figcaption>Some of the first notes I ever took starting out in CS</figcaption></figure><p>That’s also when I started to realize I wanted to make video games. Video games allowed me to be a warrior who had the strength to stand up for what’s right; video games helped me cope with the realities of life, and also taught me to believe in a brighter future, and to believe in myself. But I didn’t know how to make video games, but knew that it involved a lot of coding; hence, I decided to try out Computer Science. A senior friend recommended me to try out HTML/CSS before diving into our intro course, and I ended up absolutely loving it. Everything started to trickle down throughout my four years at Smith, and I now not only realize I loved making games, I just loved building things in general.</p><p>My path in Computer Science was not an easy one. It was filled with anxiety, isolation, and Impostor Syndrome, and I wanted to give up on my major my sophomore year when my grades in Discrete Math and Computer Graphics disappointed me. I felt like I wasn’t good enough, and I felt ridiculed for asking “stupid” questions. Building my confidence and swallowing my pride so that I can maximize my learning had been a challenging and depressing time for me, but in the end I was able to come out strong because of the people who loved and supported me.</p><p>I would like to thank my mother who came to the United States to give me a better life. Through her grief and loss, through her struggles in building a life for us, she stood tall and strong, and I learned from her strength to grow into a badass woman. The opportunities I was given in United States was all because of my mother’s efforts and sacrifices, and I could never repay her for all the love and lessons she gave me.</p><p>I’m truly grateful for my best friends who helped me through my ups and downs. I am not the most trusting person and have a lot of doubts in my relationships with others. Despite my mistakes and hurting them, they’ve always stuck through with me and showed me unconditional love as I went through my emotional growth. They always challenged my ideas, told me when I was wrong, and helped me take risks in life together when I was too anxious to do it alone.</p><p>I also want to thank my therapist who helped me process the traumas I went through my life, and validated me for the feelings I felt and punished myself for. She taught me that it’s okay to be depressed and anxious; it’s okay to give myself time to grieve about my pain. It’s okay to accept the negative parts of myself and forgive myself. And that it’s okay to cry. There is one phrase my therapist shared with me that really resonated with me:</p><blockquote><strong>“Tears are a byproduct of brave work.”</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*TXpTAOfvqtyFDcc2EqfRSQ.jpeg" /><figcaption>Nolan Art Exhibition April 2018: Showcasing our game<strong><em> Everything’s fine</em></strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gBXMLQlGQfQwsOrPP_dJMg.jpeg" /><figcaption>Team Paradox Productions during Collaborations ‘18</figcaption></figure><p>I am also grateful to my friends who were part of our small game development team, Paradox Productions. <a href="https://paradoxproduction.itch.io/everythings-fine">I feel like we created a legacy together when we poured our hearts into creating a video game that reflects a life of a gender non-conforming student of color struggling to fit into the mold created by a “prestigious” institution like Smith College.</a> It was truly an honor working with you all, and it is a precious project that will always stay with me in my life beyond Smith. I would like to especially thank Professor Malkowski for giving us an amazing video game class that brought Paradox Productions together, and for giving us a platform to create our video game, <em>Everything’s fine</em>. They gave me so much support when I broke down during their office hours about my life, and they always thought highly of all of us regardless of the struggles we went through. I am eternally grateful for their faith in us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*PmJPlNznxK-WfzE3vr-_Ow.jpeg" /><figcaption>The MVP JJ</figcaption></figure><p>I also want to give a shoutout to my Computer Science professor and special studies advisor, JJ. I wish I met him a bit earlier in my CS career because of the amount of support, encouragement, and healing he gave me and the rest of the CS students this year. Many of our CS Smithies may know how difficult it is to get a CS special studies approved, yet he agreed to do a senior project with me on creating a web application for the Gaming Lab. I am so grateful for the opportunity JJ gave me, where I got to fiddle with web development, and this experience gave me so much confidence in my abilities as a developer.</p><p>When I couldn’t make it to the Computer Science Ivy Day brunch, JJ also reached out to me through Slack to meet up for our final farewells, and told me that he was proud of me. I never thought I’d cry so hard just reading that message, and the warmth he showed me helped me leave behind the anger and resentment I felt about our Computer Science department. The hurt and disappointment I experienced in the department will never disappear, but he alleviated some of that baggage when he showed me kindness through his messages and meeting with me on graduation day. He gave me the closure I needed leaving the Smith CS community, and I am simply happy to know that I had such a wonderful and supportive CS professor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*kxQaFqdx4HLwex1i5tg5kA.jpeg" /><figcaption>Smithies in CS’s workshop series on Unity: Smithies Make Games</figcaption></figure><p>I want to thank Smithies in Computer Science for giving me a platform to reach out to more students so that we can create a more diverse and inclusive space for students of all background. We are still struggling to serve our students of color, and we are still largely serving students who benefit from white privilege, but I still believe that Smithies in CS is a powerful network that can be used to improve our community. It should not be on the students to create such a community and should be the responsibility of the faculty, but all I can hope for is taking it one step at a time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*EshxpjmGCh3Yf8qJmQV4IQ.jpeg" /><figcaption>Our first Game Night in Fall ‘18</figcaption></figure><p>The game nights Michelle and I organized should not be the end of our step in connecting with more students and creating a community that understands and helps each other. Many of you may have heard me speak at the protest organized by SSJIC during the Diversity and Inclusion week. Fighting for diversity and inclusion also comes with many setbacks, and the pain I shared with you on that day is proof of that. If you don’t know my story, then I am happy you don’t know; but for those who do, please don’t be intimidated because of what I went through. Fight for what you believe is right, be your authentic self, but also remember your well-being comes first and foremost, which is why I decided to pull back from participating in the CS community this semester. Nevertheless, our community is growing, and the administration cannot stop such diverse group of powerful non-cis men.</p><p>If there is one thing I learned at Smith, it is that one should never mess with a Smithie. We all know how to stand up for ourselves, and if we don’t know how, then we will find the resources to do so. All of our bloods boil at the sight of injustice that we witness and experience, and that drive cannot ever die down. My four years at Smith built me into a strong, forward thinking woman, and I am proud to have learned so much.</p><p>If any current Smithies would like to reach out to me for ANYTHING (to ask for advice, look over tech resume, or just to talk about your struggles at Smith), I am here to listen and talk. I know I may speak for CS Smithies a lot, but I would like to reach out to Smithies of all discipline and background. My Smith email is still active until September, and I am always active on LinkedIn, Facebook, Instagram, and Twitter, so hit me up to exchange personal contact information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*51TIv7Ld_2PBQSHFCsoPmA.jpeg" /><figcaption>Got my B.A. in Computer Science + Minor in Math!</figcaption></figure><p>Congratulations to our Class of 2019, and good luck to all of our current Smithies! It has been a good four years. :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea37b2e33f8f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CSC 400: Creating the Gaming Lab Search Engine (Spring 2019)]]></title>
            <link>https://medium.com/@thefaithkim/csc-400-creating-the-gaming-lab-search-engine-spring-2019-e5041140a5e0?source=rss-35b15a8bb162------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5041140a5e0</guid>
            <category><![CDATA[senior-project]]></category>
            <category><![CDATA[web-app-development]]></category>
            <category><![CDATA[wit]]></category>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[smith-college]]></category>
            <dc:creator><![CDATA[Faith Kim]]></dc:creator>
            <pubDate>Mon, 28 Jan 2019 19:28:02 GMT</pubDate>
            <atom:updated>2019-05-10T13:11:50.914Z</atom:updated>
            <content:encoded><![CDATA[<p>Advisor: JJ Foley</p><p><strong>Project Time Frame:</strong> Jan 2019~May 2019</p><p><a href="https://github.com/faithkim97/gamingLab">Github repository to my project</a></p><p><strong><em>UPDATE: Application has been deployed </em></strong><a href="http://gaminglabatsmith.herokuapp.com/home"><strong><em>here</em></strong></a><strong><em>!</em></strong></p><p>Welcome to my senior project! My name is Faith, and I am a senior computer science student at Smith College. I am also a lab assistant at the Gaming Lab, an open space where students can come in to play video games. We currently have over 70 games in our inventory, and it is the lab assistant’s job to help students find a game they want to play.</p><p>Despite having such a cool space, there is one looming problem: we currently do not have a user-friendly and accessible game inventory for students to browse outside of the Gaming Lab. Therefore, my special studies will be focused on <strong>developing a search engine,</strong> where students can look up games that are available in the Gaming Lab’s inventory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xuYna-3p8tl4VIalflussA.jpeg" /><figcaption>The Gaming Lab at Smith College</figcaption></figure><h3><strong>Purpose of this Search Engine</strong></h3><p>Students tend to ask me, “Do you have this XYZ game?”</p><p>We currently use a Google Doc to keep track of all the games available, but students tend to come in with a vague description of the game without remembering the exact title. I end up having to say, “Sorry it seems we don’t have this game in the Lab right now.” But then two hours later, I realize that we <strong><em>did </em></strong>have that game in the inventory.</p><p>Other times, it’s because majority of our visitors are beginner gamers who are still learning about the different genres of gaming. It’s difficult for them to navigate what kinds of games we carry in the Lab, and our current Google Doc doesn’t elaborate much other than the title of the games. These students struggle for 10–15 minutes on finding a game, and they end up feeling intimidated to play games outside of what they’re comfortable with. Through the search engine, I hope searching for a game will be more accessible for users, and I hope students can explore games outside of their comfort zones.</p><h3>Week 1: Designing Features</h3><p>I will be developing a web application using React for frontend, SpringBoot for backend, and H2DB for our database connection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*enYGCRV6wvvltIpVpGDWgA.jpeg" /><figcaption>A very rough draft of the web page designs</figcaption></figure><p>The primary features that will be implemented for the web app is:</p><ul><li><strong><em>A search bar</em></strong>: users can search for games by title, genre, and playable console</li><li><strong><em>Table of games</em></strong><em>: </em>this table will display all the games that are available, including information on title, genre, and playable console; each row is a game entry, and each entry will be clickable for a brief description of the game</li><li><strong><em>Game check-out system: </em></strong>authorized users can check out games using this web app (authorized users are professors who are using the games for academic purposes and workers at the Gaming Lab); a separate database table will be set up to timestamp when these games are getting checked out</li><li><strong><em>Add/Edit/Delete game entry:</em></strong><em> </em>lab assistants can modify game entries</li></ul><p>As a backend developer, I had no idea how challenging it would be to design the webpage layouts. I also realized there are tiny details we need to be meticulous about (i.e. what if user inputs wrong password, inputs a string that’s invalid, etc..) before jumping into the technical portion of the project.</p><p>This web application will probably not be <em>aesthetically pleasing</em> but more functional. Once we get the core of the web app developed, then we’ll move onto actually making it pretty!</p><p>We will also be implementing a security system to check who is an authorized user and who is not. Phasing into Week 2, I will be setting up the H2DB connection to SpringBoot and play around with creating a game database.</p><h3>Week 2–3: Starting on the Backend</h3><p>As mentioned in Week 1, I’ll be using SpringBoot for backend and H2DB for our database connections.</p><p>It took me an embarrassing number of hours to get my DB connection to work (simply because I was using incorrect SpringBoot annotations in my Entity classes), but I was able to feel the excitement with much more ecstasy when I saw this on my screen:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3D_jxPo4XqTAXnPow7Fx_g.png" /><figcaption>H2DB connection finally worked!</figcaption></figure><p>The basic structure of creating a table and how specific data will be queried is set up in the following way:</p><ul><li><em>Set up the Entity class: </em>To create tables with specified fields (a.k.a. the columns of the table), I used the Entity annotation to have SpringBoot create the table for me.</li><li><em>Set up the DAO using CrudRepository for each Entity class</em>: I’ll be using the DAO classes (I call them &lt;EntityName&gt;Repository) to do basic queries (find row by id, find all entries, save, etc…), and I’ll also be creating specific SQL queries in the DAO classes</li><li><em>Set up a DataService for each DAO class: </em>To query for specific data, I’ll be creating the mediator class called the “data service” class, in which it will make function calls to the DAO repository to return specified data. The data service class will be used by the Controller</li><li><em>Set up controllers: </em>The Controller classes will be used to actually receive requests from the web + return requested data to the web. In order to query for specific data, the data service class will be accessible in the controller class.</li></ul><p>Currently, I have a Game entity class (which Spring will then create a game table in the database), GameRepository, GameService, and a GameController. I am debating whether I should make the GameController the main controller class, or if I should divide the functionalities of the controller classes. For example, perhaps the GameController class will be responsible only for querying for data and returning it (GetMapping annotation) to the user. Perhaps I’ll create a different controller class that will handle adding and deleting data in the database (I’m curious to see if this will help organize how security will be set in place for add/delete functionalities. Only authorized users can have access to these functions). I’ll be playing around more with Controller classes to see what decision I come up with my adviser.</p><p>This week, I focused primarily on experimenting on what queries I am able to make easily, and what queries will be harder to retrieve. For instance, I was originally planning on creating fields for the Game object to have a list of genres, console type, rating, and a list of playable modes (they were all written to be enums).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*fr4Lj6oQrjC0qbhqM3WfgQ.png" /><figcaption>A snippet of the Console enum</figcaption></figure><p>These enums were all written in a similar fashion (they all implement similar fields and methods, and if they were classes, I would have had these enums to inherit methods from a parent class).</p><p>The tricky part with using enums was I wanted the Game object to have a list of genres and list of playable modes. Storing the list of enums and querying them from the database proved to be difficult. I needed to create an AttributeConverter for each enum, and it ultimately led to repetitive and messy code.</p><p>I discussed with my adviser regarding this issue, and he suggested that instead of creating these values at the Java level, we should create them at the database level. The original enum types will be stored as strings, and we will have a table dedicated for each enum type. For example, we will create a console table that has an id and the corresponding string that defines the specific console type (i.e. “PS4”, “PS3”, etc..).</p><p>Second, we will create another table that has the game id and the console id (both are foreign keys corresponding to their respective tables). These id’s will be used to query for the consoles the game belongs to. This way, I can possibly eliminate the the console column in the game table, and follow the same structure for all the other enum values I currently have.</p><p>This coming week, I’ll be working on creating these tables and also try to create script to import and export csv files in SpringBoot.</p><h3>Week 4–6: Tidying up the Backend + Unit Testing</h3><p>Toward the end of my third week, I worked on consolidating our backend functions and queries. There are now functionalities to add and save game, console, genre, and playable mode objects. Each also have a mapping between the game + console, game + genre, game + playable mode, all connected by the foreign key game’s unique id.</p><p>I created two rest controllers for the backend, one simply called the GameController (and the original controller I was working with) and another one called the AdminController. The GameController now only handles querying for game objects, consoles, genres, etc.. The AdminController, on the other hand, handles “administrative tasks,” such as adding objects into the database, deleting objects, and modifying objects.</p><p>It is still a work in progress in trying to create one, centralized query that would find games based on different parameters, such as title keywords, genre, playable mode, and so on. I want to make it so that these parameters are optional, so in case the user does not enter information regarding one of the fields, I want my SQL query to ignore searching for that field and look for keywords in the other non-null fields. Finding a workable query is currently difficult, especially because I am joining about six different tables to the game table, and then querying for the game objects. I am having similar difficulties with the AdminController’s “edit game” function as well. I will be checking in with my advisor to fix this issue.</p><p>To put in real data into our database, my adviser wrote an awesome Python script that would add in data using a csv file (way easier than having to insert 80 games manually). One of the problems I am running into is the description field in the game object. SQL is complaining that the description exceeds the character count it is allowed to have, no matter how much I have minimized on the description for each game. I will be touching base with my adviser to work around this issue.</p><p>I have started unit testing for my data services, which are in direct contact with my DAO classes. It is generally understood that it isn’t good practice to be unit testing on class files that deal heavily with DAO classes, but in my case I wanted to make sure that specific function calls are being made. My advisor therefore recommended me to use <strong>Mockito </strong>to mock out the behavior of my DAO class function calls. Eventually, I will be unit testing my controllers as well. Unit testing has definitely been a time consuming and tedious task. It took me about an hour to unit test for each data service.</p><p>For the most part, the backend is almost completed with a couple of bug fixes that need to be made. I am hoping I can resolve the issues I’ve mentioned in this blog entry so that we can transition into working on the frontend side of the project.</p><h3>Week 7: Creating the Master Game Table</h3><p>Before transitioning into the frontend component of the project, I was advised to create a master database table that has all the relevant fields for a game, such as genres, consoles, and playable modes that are mapped to specific games by the game ID. This table would be referred to as the “Master Game” table. The purpose of the master game table is to have a centralized unit in which we can query for games by a variety of fields. If we were to have just queried from the regular game table, it would not be able to retrieve information regarding genre, playable mode, and console in one centralized unit. Master Game table can help with that.</p><p>I had two options in the design of the table:</p><ul><li>Option 1: Create a dependent table that is all mapped by game ID + mapping IDs</li><li>Option 2: Don’t map it by mapping IDs and convert all the mapping into strings to store in DB (i.e. instead of storing genre row by row →concatenate all the genres together to be mapped to one game row)</li></ul><p><strong>Option 1: </strong>I can map all of the columns by game ID and bring in all of the relevant mapping in this manner. This table would be dependent on the game table and mapping tables. Each row will be the game ID, also mapped to the console map, mode map, and genre map IDs. Because each playable mode and genre are mapped individually (rather than having a list of modes/genres per one game row), the master game table would have multiple rows of the same game but with unique mode and genre mappings. This causes the data to have repetitive information and makes it more difficult to organize and display the data for the frontend, putting more burden on React to organize the information.</p><p><em>Pros:</em> Easier to access, delete, and add new mapping using this design (from backend’s perspective)</p><p><em>Cons:</em> Puts more burden on frontend to organize the game data, causes repetitive information</p><p><strong>Option 2:</strong> Have backend handle organizing the master game table rather than frontend. I would have created an AttributeConverter so that I would query for all genres by game ID, for example, and concatenate them together into one string so that one game row in master game table will display the strings nicely. This way, when React queries for genres by a specific game ID, it won’t need to do extra work to organize the game data. Problem with this design is it renders the other tables created to be useless (game, map, console tables, etc..). Why create those other tables when we could have easily created a game table that had all of these fields?</p><p><em>Pros:</em> More organized in the DB side, less repetitive information, cleaner data, still easy to access information</p><p><em>Cons:</em> Harder to delete and add games by specific fields, defeats the purpose of creating the game table + mapping tables when removing mapping dependencies, and more burden on the backend to organize data/information</p><p>In the end, I ended up choosing Option 1 and asked the frontend to do more work in organizing the data.</p><h3>Week 8–12: Creating the Frontend with React</h3><p>The update on this portion of the blog post is LONG overdue, but I hope I can remember most of the struggles I had with the frontend.</p><p>My experience with React was very limited. The first time I was introduced to React was during my last summer internship (2018) when we had to use it for our hackathon project. The last time I worked with React was when I built a wacky Grocery Calculator to get a handle on the framework, and I hadn’t worked heavily in JavaScript for two years. The goal of this project was also to learn a new technology, and in this case is React.</p><p>During the development process, I had two servers serving my backend and frontend separately (connecting to :8080 and :3000 respectively). I first started out building this project by creating components for the search engine. I had the parent component called the SearchEngine, while I had child components for fields like console, playable mode, checked out, etc.. These fields would be used to filter for specific games with the selected criteria.</p><p>The biggest challenge with the frontend portion was organizing the master game data and rendering it, the con I was explaining with Option 1. Because I had so much repetitive data, I had to create a method that would group all of the data together by the game id, and only render the unique elements within the data. This process required a lot of testing, because not all elements would align correctly and show all of the genres and playable modes.</p><p>I also had to change the way I was created Spring’s method for finding games by the given criteria. Originally, I was envisioning the fields to come in as RequestParams, and then I would take those fields and funnel them through the game service. However, what I realized is that this could only work if I knew all of the fields would be inputted (meaning, the user chooses to input information for for every field like console, playable mode, rating, etc..), ideally knowing fixed number of parameters to account for. However, because I am allowing the user to input as little or as many criteria as they want, I needed to make the number of parameters optional/flexible. RequestParam does provide <em>required = false</em> parameters, but I was hardcoding in the link for the fetch method on the React side, so I needed the frontend to be flexible with the different types of parameters that need to be handled.</p><p>My solution to this was to create a post mapping that would take in a JSON body and would have all of the criteria fields. Instead of mapping everything to RequestParams on the Spring side, I instead used @RequestBody and took in an object that would have all of the fields inputted. This object is called Query, a class I created that has fields such as key (used to find keywords matching with title, description, and genre), game, console, genre, and playable mode. These fields can be left empty (null) or filled, and our SQL query will take this into consideration when querying for specific game objects.</p><p>Overall, during my process in prioritizing the SearchEngine component of the web application, I had everything render on one page rather than routing them to different pages. Here is what the early stage of the website looked like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CSzy6vBYQsosgj-XRGTg1w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IYhd21T42AXQFXLVyHM9Hw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2FICeyxQcE6IZ4BJ-V-Cng.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aBGo9R8wI6ubZS14jiVZgg.png" /></figure><p>The more classes and components I created in React, the more I understood how components worked. Originally, I thought one component corresponded to one web page, but in actuality I realized components talk about the smallest unit of functionality in a website. For example, a search bar can be its own component with its own programmed behavior (i.e. what would happen if we clicked the “submit” button on the search bar). I also learned that the JS files don’t have separate .html files that correspond to each JS file. We have one index.html file that renders different JS files depending on the event trigger.</p><h4>React Routing</h4><p>Eventually, we phased onto using React Router to map each functionalities to a different page. We had the following pages routed:</p><ul><li><strong>Home:</strong> The start of the web application, welcoming people to the website.</li><li><strong>Search</strong>: The search page would have the different fields/criteria user can use to filter for specific games.</li><li><strong>About</strong>: Introduces Smith community members to what the Gaming Lab is and how it functions on Smith campus</li><li><strong>Admin</strong>: An admin page where it also has multiple pages routed to the search page but with the option to edit games, edit game page, add new game page, and pages to edit genres, consoles, and playable modes</li><li><strong>Login</strong>: if trying to access admin functionalities, then user must log in through the login page</li></ul><p>Because at the time when I was implementing React Routers, I had no idea we had one index.html file that would render different JS files at different triggers, so I was really confused as to why I needed routers. I realized how much more complicated (or dumb) the React system was and could not naturally map to different paths without a workaround it (i.e. using React Router). It kind of felt like I was faking the mappings, but hey, at least it worked in hindsight.</p><h4>Security</h4><p>Another tricky part of the development process was configuring security for admin-protected functionalities. I wanted Spring’s security to be triggered every time the user tries to access the Admin tab.</p><p>I mapped the backend’s “/admin/**” to explicitly ask for login, and permitted the mapping “/game/**” to access every other part of the web application. At first, the backend’s mapping were working correctly; however, I didn’t know how I would integrate this into the frontend. My adviser created a method on my React Admin component called <em>adminFetch()</em> so that every time the method is called, it would fetch for some mapping from “/admin/**” and would trigger the login. I created a similar method but for mappings the required a JSON body.</p><p>The ultimate barrier having the security functional was because of the CSRF. Originally, I did not want to disable CSRFs to protect against such attacks; however, because we were on a time crunch, we decided to disable them for now.</p><p>In the final version, when user tries to access the Admin tab, a popup window will show a login screen, and upon submitting the login information, React also renders its own login page and asks the user to input the same password again. This is actually an unintentional behavior of the web app, but I didn’t feel it was important enough for me to spend time fixing it.</p><h4>Final Product in Dev/Local Environment</h4><p>With all the master game data parsed correctly, security configured, and React routing different components to different pages, here is the final aesthetic result of the web application:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HcyorQIXBfeeW_XacsG-xQ.png" /><figcaption>Home page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dKGFpnKMNogrFs2TKTIe5w.png" /><figcaption>The main search engine for the app</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dIX8aOR1-mZCW4pZbuWYtg.png" /><figcaption>Table of games filtered by PS4 VR</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ppy9QFL-NMDyyorec50BZQ.png" /><figcaption>About section</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SlpIrf7YivE-AMazthT6ag.png" /><figcaption>Edit Game Page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2yWTUxhmbba5kFNwu5MlPA.png" /><figcaption>Add Game page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dd9VD6S8u3NNulIemMkCzw.png" /><figcaption>Edit Playable Mode Page</figcaption></figure><p>Integrating React project into Spring’s server was another mountain we had to climb, but overall, we used this <a href="https://medium.com/@itzgeoff/including-react-in-your-spring-boot-maven-build-ae3b8f8826e">blog post</a> to get through it! I still don’t quite understand how React successfully integrated into the Spring application, but I’d like to call it “Maven” and “file path” magic. It just seemed miraculous after such an intense session of googling.</p><p>Some of the mappings were off when mvn packaging the entire build. In index.html, all of the builds would map to /static/**, in which the network could not find such path. Once I deleted the “/static/**” and kept all the paths the same, React was able to integrate successfully into Spring’s server (it just sucks I have to re-edit it every time I make a new build).</p><h3>Week 12–13: Deploying the Web Application</h3><p>This was the most hellish process during this entire project. I didn’t expect that deploying the web application would have been this difficult. I used Heroku as my deployment platform (which was decided with my adviser in the beginning of the semester).</p><p>The first problem I faced is the fact that I had no idea how the deployment process worked. I followed through instructions on the Heroku Dev Center page, but I wasn’t sure what Heroku was looking for in order to deploy my app. Therefore, Heroku failed its deployment for the first 20 times I tried, and I realized I was getting R10, H10, and H20 errors, showing that my app was crashing really hard and was not starting up within the 75 seconds it needed to.</p><p>I have been deploying via my github repo pushed to the Heroku branch. I thought that it’d be easier to contain everything inside the jar file and just have Heroku launch it upon deployment, so my primary focus was to push the jar file onto the Heroku branch. I created a Procfile that has the command to launch the jar file.</p><p>Unfortunately, none of the data had transferred over to the remote server. I learned that H2DB isn’t used for production environments, and all the data had been served on H2DB was actually stored on my home local drive, which is why none of the data transferred to the remote server. I also learned that Heroku actually does not explicitly support H2DB as a database and that I should use PostgreSQL instead.</p><p>However, I believed that it would still be possible to use H2, since H2’s server should start when Spring’s server is launched, so I tried to create TCP connections to the H2 server and even tried creating a static script that would create tables and insert data into them upon app’s launch. I realize that this is not a smart approach, but I was trying everything out of desperation. Eventually, I gave up on H2DB and moved on to using PostgreSQL permanently (especially because upon building with H2DB, literally all of my dependencies and needed builds got erased upon mvn package and had to rollback).</p><p>I was against using PostgreSQL simply because my query became significantly slower (especially when trying to load all of my game data). None of my JPA queries worked when switching to PostgreSQL. However, I discovered the reason why PostgreSQL was so slow was because the description field in my master game data had been a LOB. I converted the description from a String/LOB to instead be a bytea and created an array of bytes rather than storing it as a String in Spring. This improved the query performance significantly. The drawback to using array of bytes versus a String is that I can no longer query the description column by keywords; therefore, the search bar now only searches for title and genre but no longer description. This was a disappointing drawback, but it was better than waiting 23 seconds for the game table to show up versus the 3–6 seconds it now takes (yes, I literally timed it).</p><p>I also created multiple JPA queries rather than one enormous query when searching for games because JPA queries for PostgreSQL no longer accepted null/optional parameters (parameters would be read in according to which input was sent in first from the web rather than according to the ordering of the parameters listed inside the function).</p><p>Once I got the DB figured out and created a HomeController that would map React Router’s web paths to the index.html file, everything was smooth sail.</p><h3>Conclusion</h3><p>Overall, I am so proud to have worked on on a full stack development of the web application and learning so many new skills from this project. I now know how to use Spring and React proficiently (yay)! The hardest part about this project though was the lack of community/forums around the use of React + Spring Boot (majority of developers opt to use NodeJS Express as backend if React is used), so next time I think I’d really like to get my hands dirty with JavaScript backend frameworks.</p><p>I learned that creating and designing the frontend portion is NOT EASY at all (creating those buttons and making them pretty was such a pain)! When writing this blog in hindsight to my struggles, everything seemed so smooth and easy, but I always felt like I was grasping at straws or wandering in the darkness of uncertainty. I just didn’t know what I was doing 99% of the time and spent all my time Googling for answers.</p><p>I definitely violated MANY security, software developmental rules/norms/processes (I mean, when you launch the app it already tells you it’s not secure), but the goal of this project was just to “get it to work,” as in, just play around with the tools and make something. It was so much fun learning and making mistakes throughout this entire process, and I felt so hopeless when I was trying to deploy the application, like I wasn’t going to finish at all, but I really pushed through, prayed to God, and relentlessly asked my adviser for help (god bless you JJ). This is my first time working full stack, creating a fully fleshed out (though messy) web application from start to finish. Sadly, I wasn’t able to create the check-in/check-out system, and I did want to add visuals/images to each game in the game table; however, that will be a project for a different semester.</p><p>This web application is definitely far from perfect and not the most user-friendly website. But I got to learn more about what <em>is</em> a user friendly web application through working on this project. I am so happy and grateful to have been given the opportunity to work on a senior project, and I will carry this pride with me as I enter the tech industry upon graduation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5041140a5e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Reference Guide for Smith Computer Science Students]]></title>
            <link>https://medium.com/@thefaithkim/a-reference-guide-for-smith-computer-science-students-1e7e2bdd6624?source=rss-35b15a8bb162------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e7e2bdd6624</guid>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[college]]></category>
            <dc:creator><![CDATA[Faith Kim]]></dc:creator>
            <pubDate>Tue, 04 Dec 2018 18:20:21 GMT</pubDate>
            <atom:updated>2018-12-08T15:32:36.970Z</atom:updated>
            <content:encoded><![CDATA[<h3>Advice for Smithies: Reference Guide to CS</h3><p>Many of us come into Smith with twinkling eyes filled with curiosity and passion. Those who choose to follow the Computer Science path all end up taking our intro course, CSC 111: Introduction to Programming in Python. But what’s next?</p><p>Even after taking our core classes beyond CSC 111, our CS major requirements don’t list out important courses that would be integral to having a well rounded CS education. I’ll be dedicating this post to compiling some of my experiences that really helped me feel prepared as an engineer.</p><p>Please note: this is a REALLY LONG blog post. Anything mentioned in this blog is not “end all be all.” Please use it as a reference guide rather than reading through the entire thing. I intended this post to be like the “first stop” students can make to find guidance in their CS path. <strong>You can get away with reading the few bold sentences.</strong></p><h3>Before Intro to Programming: Where to Start</h3><p>If this is your first time experiencing CS, it is recommended that you take any of these courses <strong>before CSC 111:</strong></p><ul><li>How Computers Work (CSC 103, 2 credits)</li><li>How the Internet Works (CSC 102, 2 credits)</li><li>Communicating with Data (CSC 109, 4 credits)</li></ul><p>There are other CSC 10X courses, but these are the most commonly offered. The 10X level courses are specific for students who are just getting started in CS with no computational background. They are generally not coding-intensive (may not involve any coding, actually), and you just get to learn about how computers work and how they process code.</p><p><strong>Eventually, all CS students will need to take CSC 111 for the major, </strong>but taking these 10X courses will ease you into thinking more computationally for CSC 111.</p><p>Before I did CSC 111, I actually learned how to code in <strong>HTML/CSS</strong>, a language we use to create websites. HTML/CSS is generally more intuitive to learn than languages like Python and Java, and it still teaches you how to think step-by-step when executing code, a skill that’s emphasized in computational thinking. I mainly used <a href="https://www.w3schools.com/html/">W3Schools </a>to learn to code in HTML, but they also offer tutorials in other languages.</p><h3><strong><em>After Intro to Programming, What’s Next?</em></strong></h3><p>Upon the completion of CSC 111, Smith’s CS curriculum advises us to take CSC 212: Data Structures as our next natural step. But truth be told, there is a huge learning gap transitioning from CSC 111 to 212 (at least in the past semesters 111 and 212 were taught). By the time we’re in 212, we feel the inadequacy in our coding abilities as we struggle to complete each homework assignment.</p><p>We tell ourselves that we aren’t good enough, that we’re an “idiot,” or that “we don’t have a computational mind,” and these negative thoughts start to crush the self-confidence we already struggled to have because of <a href="https://en.wikipedia.org/wiki/Impostor_syndrome">Impostor Syndrome.</a></p><p>Well, first of all, let me tell you this as a CS senior at Smith: You aren’t an idiot, and there’s no such thing as “I don’t have a computational mind.” <a href="https://www.apa.org/action/resources/research-in-action/share.aspx"><strong>Computational thinking is something you can learn to develop overtime</strong></a><strong>.</strong></p><p><strong>Second of all, you have the potential to grow and improve as a Computer Scientist and engineer. If you push through, then I promise you that you will succeed. </strong>Now, let’s get down to business.</p><p>If you have enough semesters left under your belt, <strong>wait one semester before taking 212 after taking 111. Take a different course</strong>. Take this semester to build your computational skills. Take math classes or other elective CS courses that don’t have some form of pre-requisites.</p><p>Here’s some list of courses that has no explicit or hidden pre-reqs:</p><ul><li><em>Discrete Math:</em> this is a core requirement for our CS major anyway, and it was the one class that really helped me develop my computational skills. You don’t have to understand everything covered in this class, but just enough to train your problem solving.</li><li><em>Calculus 1 and 2 (MTH 111 and 112)</em>: not only can either of these courses count toward the CS math requirement, they are also pre-requisites to many upper level math courses, and I believe math is an integral part of computer science.</li><li><em>Advanced Programming (CSC 220): </em>you just get to code more! Best way to practice your coding is just to code more.</li><li><em>Intro to Game Programming at Hampshire</em>: even if you’re not interested in becoming a game developer, you still get to be part of a project that requires a lot of coding.</li><li>Check out the <a href="https://www.fivecolleges.edu/academics/courses">Five College Catalog</a> and see what courses interest you</li></ul><p><strong>If you need to take CSC 212 right away, these courses are still useful to take after 212. </strong>Try to have 212 as your one coding class in your schedule (rather than doubling up with 220 for example).</p><p>CSC 212 as a course itself will be the most important class you will take. <strong>The concepts that are taught in this course will be used as interview questions when applying for a technical position (specifically in software engineering). </strong>So, it is really important for you to get as much learning out of this class (which is also why it is important to build up skills leading up to 212 to maximize your learning experience. Patience is key).</p><h3>After Data Structures, What’s Next?</h3><p>Now, let’s talk about upper-level courses that I think are super important to the CS major. Even if you don’t end up applying all of these skills, they will still be an integral part of your overall understanding of CS.</p><p>I’ve modeled the importance of these courses after looking through the CS major requirements at <a href="http://catalog.mit.edu/degree-charts/computer-science-engineering-course-6-3/">MIT</a>, <a href="https://www.cics.umass.edu/ugrad-education/details-ba-requirements">UMass Amherst</a>, <a href="https://handbook.fas.harvard.edu/book/computer-science">Harvard</a>, and <a href="https://cs.stanford.edu/degrees/ug/Requirements.shtml">Stanford</a>.</p><p>So here’s some list of upper-level courses that are important for your CS major:</p><ul><li><em>Algorithms (pre-req: CSC 212):</em> This course teaches you about fundamental algorithms that all CS students should know, different algorithm design techniques, and Big O (time complexity) of the algorithm. These topics are all covered during technical interviews for software engineer positions. I personally recommend taking it at Mt. Holyoke because they offer it nearly every semester, and the profs are great.</li><li><em>Operating System (pre-req: CSC 231 Assembly):</em> understanding how the computer works will become important in helping you debug harder programs</li><li><em>Machine Learning (pre-req: Intro to Stats): </em>SDS in itself is such a powerful field, and machine learning will help you build your skills in creating statistical models and analyzing them. Even if you don’t end up in this field, understanding what machine learning can do can help you look into more interesting problems in the future</li><li><em>Linear Algebra (pre-req: Calc 3 or Discrete Math Calc 1/2): </em>how we think about problems in the form of a matrix and how objects are mapped in space are all pretty useful skills to have in computational thinking</li><li><em>Artificial Intelligence (pre-req: CSC 212): </em>AI is the study of how computers can become more like human; this is our current hot topic within the CS community <a href="https://www.youtube.com/watch?v=lXUQ-DdSDoE">(such as Google Home’s AI system</a>)</li><li><em>Overall, take a lot of math classes</em>: math is only going to help you improve as a computational problem solver. Anything you can solve in math, you can also write a program for it.</li></ul><p>More courses that are specialized toward a specific field:</p><ul><li><em>Intro to software development:</em> Offered at UMass Amherst. If you are interested in learning more about the software development cycle, how to develop a software application</li><li><em>Course in web development: </em>I haven’t personally taken any courses in this, but I know UMass Amherst offers courses in web dev. A lot of applications built in tech companies revolve around web applications.</li><li><em>Computer Graphics (hidden pre-req: CSC 212 + Linear Algebra): </em>if you’re interested in integrating art and computer science together; a lot of the projects you do in this class can be used to build your art and technology portfolio.</li></ul><h3>What to Do Beyond the Classroom?</h3><p>Not only is it important to learn these skills within the classrooms, but taking initiatives to practice computer science outside of the classroom is also important. This will also help you build your technical resume if you’re interested in working for tech companies.</p><p><strong>The key to improving as a CS student is to do lots and lots of personal projects. </strong>Here are some things you can do beyond the classroom.</p><ul><li><em>Participate in</em><a href="https://mlh.io/seasons/na-2019/events"><em> hackathons</em></a><em>:</em> hackathons are great ways to start your first idea of the project, create a small application for it during the hackathon, but then expand upon it after the event.</li><li><em>Join </em><a href="http://glowlime.com/"><em>GlowLime Games</em></a><em>: </em>GlowLime Games is a student org in Hampshire College where you get to build your own game primarily using Unity. They also teach you how to use Unity, so you get to build your technical skills. Plus, any game you work on can go on your resume/portfolio</li><li><em>Learn how to use </em><a href="https://www.howtogeek.com/180167/htg-explains-what-is-github-and-what-do-geeks-use-it-for/"><em>Github</em></a><em>:</em> Github is used by literally all tech groups because it really helps organize code and collaboration. <a href="http://rogerdudler.github.io/git-guide/">I highly recommend learning it.</a></li><li><em>Go to conferences: </em>Networking is another important part as non cis-male in tech. Conferences help you learn new perspectives beyond Smith, and you can receive a support network as a minority in tech. Here is a link to some <a href="https://www.eventbrite.com/d/ma--boston/women-tech/">WIT conferences in Boston</a>, and join <a href="https://www.facebook.com/groups/LSHJobs/?jazoest=265100122837967100686777118106879810910610170109771021087580109678248658810045451021071101031138795781001161138310358651001204878112566572118801178099721188085528072481045157695282100105107515277805588901161054869120988581"><strong>Ladies Storm Hackathon Boston group</strong> </a>to get more tech info. Some of the more popular conferences among Smithies are <a href="https://ghc.anitab.org/">Grace Hopper Celebrations </a>and <a href="https://www.wecodeharvard.org/">WECode at Harvard.</a> If you need funding, <a href="https://socialnetwork.smith.edu/submitter/form/step/1?guid=df9ce28b-f9c1-4372-b36d-174ba3bb4a8f">SGA has a conference fund app.</a></li><li><a href="https://www.linkedin.com/"><em>Make a LinkedIn Profile: </em></a>Connect with Smith alums, engineers, etc. This is the best way to connect with people you’ve met at conferences, events, internships.</li><li><em>Learn a new skill on your own:</em> Learn new languages like Java, C, C++ (depending on what field you want to get into)! Learn new <a href="https://apilist.fun/">APIs </a>(an application you can use to make coding easier)!</li><li><em>Find a CS mentor: </em>this can be an older CS Smith student, professor, someone you met at a conference, anyone.</li></ul><h3><strong>What to Take From this Blog Post</strong></h3><p>This is 100% an overwhelming post for any one person to digest in one sitting. Please use this as a <strong>“dictionary”</strong> (no one reads a whole dictionary) depending on where you are in your CS path.</p><p><strong>Please also take everything I say here with a grain of salt.</strong> This was my personal experience, what my mentors had advised me, and what I ended up doing. This is the perspective of an aspiring software engineer who also had some interest in game development.</p><p>This guide may not be helpful for everyone, <strong>and know that you have your own unique passion and agency in your CS path. Take ownership of that.</strong></p><p>But overall,<strong> prioritize your learning experience rather than what grades you get in your classes.</strong> Pass the class for those credits, and yes it’d be great to have a stellar GPA. But I realized good grades don’t reflect your competence as an engineer. Your true skills and understanding will shine when you work with people, and I believe professors will see your value and hard work.</p><p>Good luck on your journey through Smith CS, and know that you have support from me :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e7e2bdd6624" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Personal Reflection: Creating an Inclusive Space For Smithies in Tech]]></title>
            <link>https://medium.com/@thefaithkim/personal-reflection-creating-an-inclusive-space-for-smithies-in-tech-e49e9d03f148?source=rss-35b15a8bb162------2</link>
            <guid isPermaLink="false">https://medium.com/p/e49e9d03f148</guid>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[college]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Faith Kim]]></dc:creator>
            <pubDate>Sat, 01 Dec 2018 23:49:13 GMT</pubDate>
            <atom:updated>2018-12-01T23:49:13.376Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N9FzTE-hUg4uDxK-C0HMVA.jpeg" /></figure><p>Scared. Nervous. Excited. Inspired.</p><p>That’s how I feel right now as I write this blog. I feel like I’m not informed enough nor knowledgeable enough to write, but here I am, feeling more excitement than fear in sharing my story as a woman in tech.</p><p>My name is Faith, and I am a senior undergrad studying Computer Science at Smith College, a historically women’s college.</p><p>In the past three years I have been a part of the Smith CS community, I have felt hurt, isolated, and just alone in my path to Computer Science. I have had breakdowns on multiple occasions, asking myself if I truly do belong in CS or if I need to scramble for a new major, and luckily at the end of the day, I am still here as a “successful” CS major. But I am covered in scars and open wounds, building up walls made of steel around me so that I never feel this pain again. I had no friends or faculty I could turn to as I walked through this rigid path.</p><p>I wanted to change all of this. I never wanted anyone to feel the isolation I ever felt. That’s why I had chosen to become the Vice President of Smithies in Computer Science, a student organization that is supposed to empower and inspire non cis-male students to close the gender gap and have more minorities join the tech scene. Despite my conviction, none came to fruition as we continued to largely serve students who benefited from a society of white privilege. We were not hearing from our students of color, and there’s this underlying feeling of fakeness when we are organizing our events. We were excluding certain members in our community, and I realized I was merely becoming a part of the problem that had caused me pain: the feeling of exclusion and isolation. I wanted to give up and convince myself that this is no longer my problem.</p><p>But then I met my friend, <a href="https://medium.com/@michellewong_29018">Michelle Wong</a>, a fellow Computer Science senior. She had sent Smithies in CS an email about wanting to create a more inclusive space for students from all background, and this had felt like a hard slap in my face, a wake up call. A thought boomed in my head:</p><p><em>You can’t give up. This is only the beginning.</em></p><p>I couldn’t give up while I knew there were still students who were suffering the same pain I had felt as an underclassman. Fast forward, Michelle and I collaborated together and organized a game night for students of color and allies, a healing space where students of color don’t have to fit into this mold of a “perfect CS student,” and they can just let themselves go. They can express themselves however they want, and no one will ever judge them. We all played Mario Kart, Just Dance, and played around with VR Fallout 4. We were all laughing together, talking, and just connecting. It was so empowering to see a room full of non cis-male students of color in STEM, creating a bond together. We were able to also express our current hurt we feel about our CS community, and offered each other support. In the past two years I have been a part of Smithies in CS organizing events, I have never felt such an authentic, honest, and happy energy until I had met the people here at this game night. It was truly inspiring, and this could not have happened without the effort of Michelle and the courage the students had when coming to this event.</p><p>What I learned from talking to Michelle and experiencing this healing space is that I had never truly connected with the individuals who made up our CS community before. I never thought to reach out to students to ask a simple question of “how are you,” and it was because of the wall I had built around me to give myself a false sense of security. I wasn’t brave enough to be vulnerable with my peers, and as a result had pushed them away. But through this first step, I now know that I need to step out of my comfort zone and share more of myself with others, and listen to my peers’ happiness and pain.</p><p>For those of you reading this blog, especially if you are a non cis-male in tech, please know this: you are not alone. You belong in this field because of your passion and enthusiasm for technology. Your belonging in this community is not based on how others define your worth, your successes in the tech field. It is based on your own conviction, passion, and zeal for technology and empowering those around you. I’m sorry we have failed you, and now we will move forward so that our younger generation of students can smile and say, “This is where I belong.”</p><p>To have a more constructive view on our current CS community at Smith (plus learning more about our Game Night), please check out Michelle Wong’s <a href="https://medium.com/@michellewong_29018/whats-missing-in-smith-cs-b67867ec0b1d?fbclid=IwAR1CqPHh-sdovcDwWvows2OAB7e_Zh5g_B7VzLq6oVO8XUKGNPTB0Uo5qZI">wonderful blog post</a>.</p><p>—</p><p>Note: Shout out to <a href="https://www.linkedin.com/in/raven-g-b18b81169/">Raven Gomez</a>, an amazing friend who had also guided me through my path to knowing that this is what I must do before I graduate from Smith. Shoutout to<a href="https://www.smith.edu/academics/faculty/jordan-crouser"> Jordan</a> and <a href="https://www.smith.edu/academics/faculty/jennifer-malkowski">Jen,</a> our caring faculty members who made this game night a possibility.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e49e9d03f148" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>