<?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 uemura1999 on Medium]]></title>
        <description><![CDATA[Stories by uemura1999 on Medium]]></description>
        <link>https://medium.com/@tomo.2015cj?source=rss-f8a3c3c685c5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*IB-6QJPKWiYHS1SZ</url>
            <title>Stories by uemura1999 on Medium</title>
            <link>https://medium.com/@tomo.2015cj?source=rss-f8a3c3c685c5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 20:18:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tomo.2015cj/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[My Dumb Self-Built PC Is Now My Best Friend (with 48 GB of RAM)]]></title>
            <link>https://medium.com/@tomo.2015cj/my-dumb-self-built-pc-is-now-my-best-friend-with-48-gb-of-ram-dbdbb2de3f05?source=rss-f8a3c3c685c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbdbb2de3f05</guid>
            <dc:creator><![CDATA[uemura1999]]></dc:creator>
            <pubDate>Thu, 19 Nov 2026 09:04:10 GMT</pubDate>
            <atom:updated>2026-11-19T09:04:10.509Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pmNeRR9bwLZd0yylncCOlw.jpeg" /></figure><p>In December 2024, I built a computer by assembling ready-to-use parts I bought on Amazon. It had a minimum spec of 16 GB of RAM and a GeForce GT 1030 GPU, and was basically less useful than I expected. I didn’t know that I needed an Internet connection to install Ubuntu. After struggling for a few weeks to get the OS installed without a Wi-Fi card, I decided to stop working on this machine that could only show the BIOS, put it in a cardboard box, and erased all memories of my attempt. Time to go back to my MacBook.</p><p>As I started studying Computer Science at USC and got more into software engineering (and of course as AI evolved significantly every month), I found myself always running out of RAM despite using the maximum amount of swap. My laptop often crashed. It was manageable, but still annoying, and I could see a future where the required amount of computing only gets more intensive because of the emergence of AI. To get more RAM, I almost hit the “purchase” button for a $1,000+ Mac Mini, but I reconsidered and thought, “wait, my dumb self-built computer might be useful in this situation.” So I gave it a shot.</p><p>I knew that I was struggling with 16 GB of RAM on my MacBook, so I decided to load more RAM on my other machine. I named it “whitebox” because its computer case is white (I know the name is so lame. Leave me alone). After I installed 32 GB more RAM and a Wi-Fi card, everything went pretty smoothly. It booted Ubuntu, and I installed basic tools such as Docker, Node, and Python. I connected my MacBook to whitebox using SSH (Tailscale). Now I can control whitebox from wherever I want.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2n8O1hkUCNCbHVAamp2JeA.jpeg" /></figure><p>Whitebox is my best friend now. With 48 GB of RAM loaded, it’s more than enough for daily, sometimes AI-intensive development tasks. My main uses are threefold.</p><ol><li>Software development with AI</li><li>GitHub CI and AI review</li><li>Website / application hosting</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8UnYZq_-0-q0GwfDuQBHwQ.png" /></figure><p>The first one should be easy to imagine. Inside the /Development directory, I have a bunch of project folders for my personal apps. I use Claude Max ($200 per month), and having multiple Claude sessions open uses up more than 16 GB of RAM. But again, now that I have 48 GB, it is no longer a problem. Developer experience peaks when you have enough RAM and tokens.</p><p>As I built more apps and welcomed ten developer interns for one of my projects, the GitHub Actions limit became a bottleneck since we run our CI tests on it. I had whitebox connect to GitHub with long polling so it can receive any request to run tests. Internally, it deploys 5 LXD containers, which are ephemeral environments. This is one of the privileges of having enough memory: you don’t have to pay for other computing resources.</p><p>Finally, I host some personal apps on whitebox. Using subdomains of my own uemura1999.com domain and Cloudflare, they are accessible through the Internet with arbitrary URLs. What apps do I run? I’ll answer that question in other articles.</p><p>These are the uses of my own local server. I still have spare RAM, so I am thinking of running a new process for CI. I also use my server to do some light machine learning or batch processing. In this compute-intensive era, having enough computing resources is having the power and freedom to explore anything I want.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbdbb2de3f05" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Film and Technology]]></title>
            <link>https://medium.com/@tomo.2015cj/film-and-technology-6c37a23a1fbb?source=rss-f8a3c3c685c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c37a23a1fbb</guid>
            <category><![CDATA[usc]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[creative-technology]]></category>
            <dc:creator><![CDATA[uemura1999]]></dc:creator>
            <pubDate>Thu, 22 Oct 2026 17:53:19 GMT</pubDate>
            <atom:updated>2026-10-22T21:24:59.004Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S1o0P8WkmOlbvyaTIfsrCg@2x.jpeg" /></figure><p>Since we shoot with digital cameras, distribute DCP files, and stream on SVOD platforms electronically, I have come to realize that a movie is now a digital product, and making one is as much an engineering problem as it is an artistic or business one.</p><p>I have been involved in both the business and artistic sides of cinema for years. I write film reviews for 33K readers on my Japanese blog. I directed a few short- to mid-length films in college. I worked at movie theaters in Tokyo. Even now, I help out at a few film festivals in Hollywood.</p><p>While studying computer science at USC, I gained confidence as an engineer. I also discovered a connection between engineering and the film industry. Now I feel I can finally contribute to the industry I have always dreamed of, with a tangible, solid skill: software engineering, or more specifically, pipeline engineering. It feels great.</p><p>As far as I know, pipeline problems look much the same across industries. The job is to make the stream flow more smoothly. How? By learning the specifications of each component and adjusting the data, or whatever else is in the pipeline, to fit each spec.</p><p>The limits we have to deal with are inherent not only in the components themselves, but also in the network, the physical machines, and the clients’ security policies. It is like an obstacle course race. We are not competing against anyone, but there are many hurdles to clear before we reach the goal.</p><p>The other side of pipeline engineering is iterating on the stream and continuously improving the pipeline. It is extremely rare for everything to run smoothly on the first test. The improvement can take days or weeks. Patience and staying motivated are key. If you stick with it, you will eventually find peace.</p><p>While juggling homework and other responsibilities, I have been enjoying learning and building things in this realm of creative technology. I built a website where users can convert XML files to AAF files, using OpenTimelineIO behind the scenes. I am building a color-mapping website based on ACES. Both OTIO and ACES are open source, and I am looking for ways to contribute to these tools by using them as a developer. Honestly, it is a great way to learn them and to find more things to improve.</p><p><a href="https://timelineconverter.uemura1999.com/">https://timelineconverter.uemura1999.com/</a></p><p>The difficulty is that I do not have enough professional experience as a filmmaker. To truly understand the ecosystem of creative technology, making a film and running into technical problems myself would be the best way. Otherwise, I do not even feel I am speaking the same language as filmmakers. My solutions are sometimes not rooted in their reality; they are just armchair arguments. I may need to start shooting again, like I did as a student filmmaker.</p><p>Every day, I try to learn something new and be useful to this industry. My survival has only just begun, and I am excited to see how far I can go from here.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c37a23a1fbb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Handler, Usecase, and Business Logic]]></title>
            <link>https://medium.com/@tomo.2015cj/handler-usecase-and-business-logic-0c2a17f9748f?source=rss-f8a3c3c685c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/0c2a17f9748f</guid>
            <dc:creator><![CDATA[uemura1999]]></dc:creator>
            <pubDate>Sat, 15 Aug 2026 19:53:13 GMT</pubDate>
            <atom:updated>2026-08-15T23:28:30.989Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*b3mQz-6jp2Q8kvZnKYqmRg.jpeg" /></figure><p>Big words in the realm of software design have been confusing me since day one of my internship as a SWE. Though each term is quite simple (or maybe that is why), what they actually mean always slips through my fingers and eventually frustrates me. A layer “handler” sounds like it is dealing with something professionally, but I don’t know what it’s dealing with, how, and for what purpose. I’m familiar with the word “Usecase” due to my marketing expertise, but in a layered architecture, I can only guess that the word must mean something different.</p><p>In this article, I’d like to unpack these words and wrap my head around how they relate to each other. We are specifically going to focus on these words:</p><ul><li>Handler / Controller</li><li>Usecase</li></ul><h3>Usecase as an Orchestrator</h3><p>I personally prefer calling it an Orchestrator instead of a Usecase. This layer orchestrates a procedure (a set of steps) to satisfy a specific usecase, such as creating or updating user data. It involves calling functions to validate data against business rules, interacting with a repository to manipulate the database, and returning a result that indicates success or failure. These steps are executed in a specific order dictated by business requirements.</p><h4>Two Types of Business Logic</h4><p>One type of business logic is about data validation. The other is about a set of steps to take to satisfy a usecase. Both are applied in the Usecase(Orchestrator) layer.</p><p>Data validation here doesn’t mean something that Zod can validate. It is specific logic for this business/software such as requiring Balance to be over $1,000 or VisaStatus to be ‘F-1’. These kinds of rules are set in the Entity/Domain layer with functions that the Usecase can call internally to verify the legitimacy of received data.</p><p>A set of steps is literally what a Usecase file embodies. Since what to check in what order is also business-specific, this procedural rule is business logic.</p><p>To me, this layer feels like the core of a software since it knows a specific procedure and rules that fit the user’s needs. While the files are organized by usecases, what this layer actually does is orchestrate these steps guided by business logic. This is why I prefer calling it an “Orchestrator” of business logic.</p><h3>Handler / Controller</h3><p>The Handler/Controller layer sits above the Usecase layer and it validates and translates incoming data over HTTP. This layer basically does prep work of validating incoming data type using Zod, for example, before passing data to Usecase. If I were to rename this layer, I would call it “Prep”.</p><h4>Why Two Names?</h4><p>Given their different origins, we have different ways to call this layer.</p><p>The word “Controller” comes from a classic architecture model “MVC” — Model, View and Controller.</p><ul><li>Model: Data</li><li>View: Presentation</li><li>Controller: HTTP read/write, business logic, DB manipulation, etc…</li></ul><p>MVC-styled frameworks such as Nest / Spring / Rails still use this word even though the responsibility of this layer has become very thin and it only handles what I described before.</p><p>The word “Handler” comes from an “event-driven” mindset, meaning “When this event happens, this pre-registered function HANDLES it”. This design is nothing new; we see this pattern in operating systems or the DOM as well. In 2009, Node.js applied this mindset to server functions `<em>(req, res) =&gt; {}</em>` and in 2010 Express named it “route handler” because a handler reacts to a specific incoming request. Thus we use the word handler for something that reacts immediately after receiving requests, and it is the layer that handles HTTP translation and data validation before passing data to the Usecase layer.</p><p>Knowing that both names have their own history and reasons, I personally prefer the name “handler” since it has a scent of authentic system pattern and it actually handles requestsimmediately after the route where we receive them. Still, it would have been unclear if I hadn’t researched their backgrounds, so these names are still beginner-unfriendly.</p><h3>Bottom-Up Approach</h3><p>While writing this article, a conversation that I had with my manager recently came to mind. We discussed the importance of maximizing resolution for requirements of a system we build. Better TS syntax or the use of libraries is relatively trivial in the face of a fundamental understanding of design and criteria that the system needs to meet.</p><p>My frustration might have come from a lack of understanding of the steps a system needs to take. If I knew them, how to group and name them would have felt more trivial. Since I took a top-down approach, I had to unpack each word and ended up complaining about their “poor” naming conventions. I should always remember: “The more you understand, the less you should memorize”.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0c2a17f9748f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is It Wrong to Wish You Were White? | Slanted]]></title>
            <link>https://medium.com/@tomo.2015cj/is-it-wrong-to-wish-you-were-white-slanted-27fb5831f169?source=rss-f8a3c3c685c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/27fb5831f169</guid>
            <dc:creator><![CDATA[uemura1999]]></dc:creator>
            <pubDate>Sun, 22 Mar 2026 00:36:47 GMT</pubDate>
            <atom:updated>2026-03-22T00:36:47.585Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve wished it many times.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*A0XRZc8wVSj7Z3ff" /></figure><p>This film, which takes the slur “Slanted” as its title, is a coming-of-age body horror about a Chinese American high school girl who undergoes a racial conversion surgery to become white. It marks the feature directorial debut of Amy Wang. Shirley Chen, a Harvard-educated newcomer, plays the protagonist in her Asian appearance before the surgery, while the rapidly rising Mckenna Grace plays the protagonist in her white appearance after the surgery.</p><p><em>Slanted</em> has received lukewarm reviews, sitting in the 50–60% range on critics’ aggregators. Some have described it as a cross between the school hierarchy classic <em>Mean Girls</em> and the new body horror masterpiece <em>The Substance</em>, arguing that it shows only half-hearted commitment to either genre. And sure, there are technical shortcomings. The narrative loses focus at times, and some of the extras’ performances are rough. Still, this is personally one of my top ten films of the year. No, it <em>has</em> to be.</p><p>In a world that insists “racism is wrong, period,” wishing you could become part of the majority can be seen as defeat, betrayal, or complicity in discrimination. Being a minority is always framed as something positive. Be proud of where you come from and how you look. That, at least, is the message Hollywood has been pushing in recent years. And it is a necessary message for today’s world, even if it’s an idealistic one.</p><p>I’ve been living in the U.S. for three years now, and the reality is that white people are the majority. They tend to be tall, muscular, well-proportioned. There’s a sense of being “mainstream” about them.</p><p>Is it wrong to wish you were white? I’ve wished it many times.</p><p>As a man, I’m grateful that BTS, ATEEZ, and Mackenyu in the live-action <em>One Piece</em> are embodying what it looks like to be a cool Asian. But somewhere in the back of my mind, I also believe that to be taken seriously as an Asian man in American society, to walk through people’s gazes and feel at ease, you need the beauty regimen of an idol and the physique of an athlete. That’s why I do skincare every day and go to the gym.</p><p>Living in America and constantly taking pride in being Asian is, simply put, exhausting. Life as a minority can be humbling and painful. That’s not something today’s Hollywood is willing to say out loud. That’s precisely why it’s a remarkable achievement that this film dares to put into raw, honest cinema what might be a forbidden wish: “If only I could be white, life would be easier.”</p><p>That said, this is by no means a heavy-handed, theme-first film. The filmic texture of the cinematography compensates for the low budget. The prom scene is dreamlike in its visual composition. The performances from fresh young talents like Mckenna Grace and Maitreyi Ramakrishnan of <em>Freakier Friday</em> are compelling. The interior design of the clinic that performs racial conversion surgery is fascinatingly crafted. The quality and entertainment value of a commercial film are all there. Give this director a bigger budget and a good mentor, and it’s not hard to imagine her next film being even better.</p><p>For a film centered on this desperate “wish,” the genre elements are merely seasoning. The school hierarchy illustrates social structure. The grotesque prosthetic makeup underscores the protagonist’s dire circumstances. There’s no attempt to make these genre conventions feel novel or to reinvent the genre itself. That’s simply not the point. And so the criticism that the film is “half-hearted as a genre film” feels beside the point.</p><p>Of course, there are plenty of films with higher overall marks. But this one tackles race in a way that exposes the flip side of Hollywood, expressing emotions that today’s major studios can’t touch, all within a limited budget. It’s one version of what an independent filmmaker can achieve at their best. Especially now, with critics’ scores working against it, I believe that supporting this film is the only way to stand behind the lived reality of being Asian in America.</p><p>I still don’t know if wishing to be white is wrong. But at the very least, knowing that this wish is universal enough to become a film gave me a sense of relief.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27fb5831f169" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Get Comfortable with LeetCode: First Steps]]></title>
            <link>https://medium.com/@tomo.2015cj/how-to-get-comfortable-with-leetcode-first-steps-2b7964fd5c6a?source=rss-f8a3c3c685c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b7964fd5c6a</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[leetcode]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[usc]]></category>
            <dc:creator><![CDATA[uemura1999]]></dc:creator>
            <pubDate>Mon, 05 Jan 2026 23:31:36 GMT</pubDate>
            <atom:updated>2026-01-05T23:53:42.069Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IRb5rMw4YeRe66tauboHcg.avif" /></figure><p>The simplest answer is “practice as many problems as you can”, but it doesn’t sound very nice, so I will break it down to smaller and more brutally realistic steps.</p><h3>Quantitative and Qualitative Criteria</h3><p>Say you are a beginner in coding interview. You may know how to write if, loop or recursion, but when facing even easy problems on LeetCode, at a chance of 60% or more likeliness, you will end up reading solutions before coding it up by yourself. Sounds like me before getting into LeetCode.</p><p>What could be criteria to say “I’m ready to take any coding interview”? The guy running “NeetCode” said what he did before coding interview for Google was</p><ul><li>Solving Blind 75 two times for each problems</li><li>Solving around 50 random LeetCode problems (mostly mid)</li></ul><p>It is a good reference as quantitative criteria to start off this journey.</p><p><a href="https://youtu.be/4SUJt3dP2Jc?si=9wC7oYYpMzLSP-MB">https://youtu.be/4SUJt3dP2Jc?si=9wC7oYYpMzLSP-MB</a></p><p>How about the qualitative? Thinking reversely of what you need to do in real coding interview is</p><ul><li>Coding at least two solutions (ideally) with no references</li><li>Explaining your solution verbally</li></ul><p>So if you can solve the problem in a few ways along with presenting your thoughts, you are done with the problem. This would be reasonable qualitative criteria.</p><p>Let’s master 125 problems keeping this quality.</p><h3>Estimation</h3><p>The key to master anything is planning and repeating.</p><p>The game plan I recommend is first, you just read or write through all 75 problems and solutions first. You don’t have to comprehend all details. The level of understanding can be as shallow as 10%. The point here is knowing what you can expect in this LeetCode journey and having a better view of what is coming next because you are coming back to these problems anyway and leaving something unknown doesn’t feel great. Facing problems diminishes fears you might have to LeetCode. This actually helps me a lot.</p><p>After dry running blind 75, you can dig into each problem deeply. Here, you should repeat the same problem 5 times because again repeating is a key to sink the solutions into your mind. Say it takes 1 hour for you to be able to solve the problem by yourself. And you can study LeetCode 3 hours a day. This means to master Blind 75, it will take 125 days, nearly equal to 4 months.</p><p>Here is a big spoiler. Yes, it actually takes several months to get comfortable with LeetCode. It is not an easy journey that ends before you get bored. You need to invest time and effort.</p><p>So please start your learning plan as soon as possible. If you have one year before actually applying positions, you’re lucky and you should start now. If you don’t have that much time, you should start now and figure out how to squeeze more time out of your current lifestyle. Time is the most valuable resource to equip yourself.</p><h3>Stick to Your Plan</h3><p>After planning your journey, the things you need to do is just sticking to your plan. Make a time box on your calendar to allocate some time to practice, lock in every day, and reflect what you’ve learned occasionally. You will see how interesting LeetCode is and have better understanding to one problem from different perspectives.</p><p>I am currently on this “focusing each problem in Blind 75” phase, solving 3 problems a day for myself and other 5 to 10 problems a week for my study group. This pace feels nice to me because I can feel that I am learning new things every day, finding underlying theories and things in common among problems that seem completely unrelated. When I get “Aha!” moment, I can’t stop dancing in my room even in front of my girlfriend. Being able to have enough time to sharpen skills I want is a privilege of having breaks at USC in between semesters.</p><p>Only people who have never gotten into LeetCode say “Coding interview sucks because it is not pragmatic and the skill will be replaced by AI soon.” You won’t think the same way after executing your plan for a few weeks. Because as far as I understood, coding interview is not only for showing your algorithmic thinking process or implementation skill. It is also about showing communication skill, your personality, and your way to solve problems with someone you’ve never worked with. You can’t misunderstand the problems otherwise you will end up wasting your and other employees’ time and company resources. You can’t leave anyone confused about your thoughts otherwise you can’t move a number of people in one direction. I feel that communicating clearly is so much required more than we imagine. And coding interview is the best way to measure applicant’s professional skill in this little limited amount of time in the hiring process.</p><p>I wrote this article as a break after solving five problems today. I’m gonna get back to three more DP problems later. Please plan first, see things realistically, and start your journey ASAP. The 2026 has just begun and it is not late to get your new plan started.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b7964fd5c6a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Year with My Impreza]]></title>
            <link>https://medium.com/@tomo.2015cj/a-year-with-my-impreza-f57dc2fd59e6?source=rss-f8a3c3c685c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/f57dc2fd59e6</guid>
            <dc:creator><![CDATA[uemura1999]]></dc:creator>
            <pubDate>Sun, 28 Dec 2025 22:56:38 GMT</pubDate>
            <atom:updated>2025-12-28T23:10:57.163Z</atom:updated>
            <content:encoded><![CDATA[<p>No one’s gonna celebrate my one-year anniversary with my car, so I’ll do it myself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*txtFUAO9ZQU2rpJkL3oVvg.png" /></figure><p>She is an Impreza Sport 2019. The previous owner, I heard from the dealer when I bought it, was a Japanese lady who resides in New York. After 5 years since she bought it, the mileage was only 8K and the condition was practically new. The price was $30K.</p><p>I honestly fell in love by taking first glance at her photo at the car dealer. Not just because it looked good. I wanted a Subaru for my first car since it is my family’s tradition, and Impreza was the only model my dad never owned although he was always talking about it (I guess Impreza was too small for a family of 6). And the color was light blue which is a special edition and signature for Impreza.</p><p>The salesperson told me she would be auctioned off in two days unless I buy it now. There was no way I would let that happen. So I called my mom, made my case, and closed with a punch line of “We have to love the car we drive everyday,” which was stolen from the salesperson.</p><p>Even with $2K extra shipping fee from NY to LA, we finally bought the Impreza. It was raining on the day I went to pick her up at the dealer and take her home. I was nervous because I had never driven in Tokyo and just got my driver’s license in LA. Everything felt different from my instructor’s Prius, and all felt better than that. Stable. Like driving a real car.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jvu0cR_o3Pn7S5dXaUyQJg.png" /></figure><p>For the past year, I drove her to San Diego, Utah, Vegas, Yosemite, and more cities and national parks. A lot of people were in my passenger seat. A lot of things happened in the back seat. We also got an accident (which was not my fault).</p><p>What was crazy about the accident was that it happened on the way back home right after watching “The Final Destination” movie. It was at 12AM in DTLA and I was being paranoid driving through all the complex streets there (IYKYK). Anything could terminate my life. I dropped off my friend and stopped at the light. Then suddenly I felt a huge impact. A black BMW just bumped into my car from behind. The driver apparently was not looking ahead. I needed to drive a rental car for a month which was really heartbreaking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KmMlGLm_iZgODII-kZjm5w.png" /></figure><p>After having gone through all the mental damage and time-consuming procedures for getting my car repaired, I finally felt like a real driver in LA. I commute to the USC campus two days a week. It is a 50 min travel one way and the mileage is now 20K, which means I’m driving 100km per day on average. This is crazy since we don’t drive this much in Japan, but the good thing is that I love driving. It just clears my head and lets me reflect on my thoughts.</p><p>The blue color is special and its shape is so modern. It even has a huge trunk space. She’s perfect. I don’t know if other car owners feel a similar attachment to their cars, but I really love my car. And I know that won’t change anytime soon.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f57dc2fd59e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[USC: The Labyrinth | MSCS Fall 2025]]></title>
            <link>https://medium.com/@tomo.2015cj/usc-the-labyrinth-mscs-fall-2025-a59c939e490a?source=rss-f8a3c3c685c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/a59c939e490a</guid>
            <dc:creator><![CDATA[uemura1999]]></dc:creator>
            <pubDate>Sun, 21 Dec 2025 04:38:59 GMT</pubDate>
            <atom:updated>2025-12-27T18:57:23.315Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*C2X2bgBVj1a4sSIAHkiuRA@2x.jpeg" /></figure><p>My first semester as a USC Computer Science master’s student has come to an end. Between daily assignments and exam preparation, it was quite hectic, but I managed to earn all my credits successfully.</p><p>In this article, I’d like to reflect on this semester, share some lessons learned, and outline my goals for the coming year.</p><h3>Academics</h3><p>This semester, I took two classes. While that might seem light, taking more than three classes becomes extremely challenging when assignments and exams overlap. Two classes per semester is the standard pace.</p><h4>CSCI 455: Introduction to Programming Systems Design</h4><p>This course teaches fundamental programming in Java and C++. Starting from the absolute basics like variables, functions, if statements, and while loops, it progresses to object-oriented design, error handling, compilation methods, and handling addresses and pointer variables in C++. The knowledge gained corresponds roughly to tackling LeetCode “Easy” problems.</p><p>I earned an <strong>A</strong> in this class. Having basic programming knowledge before enrollment and prior experience with LeetCode gave me a significant advantage. Conversely, aspects I hadn’t consciously focused on in LeetCode – like class design, C string manipulation, and the differences between pass-by-reference, pass-by-pointer, and pass-by-value – were refreshing new learning experiences.</p><h4>CSCI 571: Web Technologies</h4><p>This course broadly covers the history and details of web and internet technologies while building implementation skills through application development. It spans various languages including HTML, CSS, JS, and Python, covering DOM manipulation and Ajax communication on the browser side, runtimes and frameworks on the server side, network technologies and security supporting communication, and even types of hacking and the dark web. Assignments involve developing simple web and Android applications utilizing multiple external APIs.</p><p>Here’s one of the apps I developed for the assignment. It fetches event information from TicketMaster API based on search criteria and displays it. Each event page integrates with Spotify and Google Maps APIs to provide detailed information. Using an API that retrieves each device’s IP address enables location-based searches. The favorites feature stores user IP addresses and event IDs in MongoDB, enabling multi-user functionality.</p><p><a href="https://events-around-1025887176370.us-west1.run.app/search">https://events-around-1025887176370.us-west1.run.app/search</a></p><p>I earned a <strong>B</strong> in this class. Despite getting “A”s on all assignments and scoring over 80 out of 100 on both exams, the heavy exam weighting (80%) and unusually strict grading standards resulted in this grade. After each exam, I had several battles with the professor, pointing out mistakes in exam questions and grading to scrape together points.</p><p>The class content was excellent, but the professor’s personality was problematic. According to “RateMyProfessor” and other online reviews, he’s known for being domineering, authoritarian, and unwilling to admit his mistakes – a tendency I struggled with myself. This taught me that mental exhaustion from such interactions is also part of the learning experience.</p><h4>Exam Preparation Strategies</h4><p>Performing well on exams is crucial for grades. As I explored more efficient study methods this semester, here are some favorite strategies I discovered:</p><p>First, the goal of exam preparation should be to “master past exams perfectly.” While it’s a one-time semester for students, professors have been teaching the same course for years, sometimes decades, and exam questions often draw heavily from past exams. The process of mastering past exams helps you grasp the lecture’s key points while providing actual exam preparation. Therefore, obtain as many past exams as possible – online, through friends, or even by paying for them.</p><p>Next, understanding the basic terms and concepts introduced in lectures is crucial. Review lecture materials and add any terms you can’t explain off the top of your head to flashcards. Reviewing these flashcards 2–3 times inputs the necessary knowledge to understand the lecture content, finally bringing you to the starting line of solving past exams.</p><p>Furthermore, while solving past exams, compile notes on topics you’re uncertain about. Spend adequate time understanding each topic. Exam preparation benefits from as much time as possible – starting a month ahead isn’t too early. You’ll definitely regret insufficient preparation, but never over-preparation.</p><p>Forming study groups to report progress and share quiz tools you’ve created is also beneficial. Actively answer questions about lecture content on class discussion boards. Taking responsibility for your statements significantly deepens understanding. Writing out what you’ve learned on blank paper is also highly recommended.</p><p>After exams, always check questions and grading, and protest to the professor about questions outside the scope, ambiguous answer choices, or anything that seems wrong. You’ll get points back.</p><p>One thing refined during graduate school is “how to learn” and “how to study.” By repeatedly calculating backward from exam dates, visualizing what should be accomplished by when, and strategically using time to achieve it, I was able to proceed efficiently.</p><h3><strong>Development</strong></h3><h4>Daily Programming and Development Build Confidence</h4><p>After finishing this semester, I finally feel confident calling myself “an engineer.” This comes from the daily necessity of programming and development for assignments and exams, which cultivated confidence that “I can build products” and “I can solve problems through research.”</p><p>The Web Tech app development assignments encouraged AI-assisted vibe coding. While this enabled fast-paced development, I still had to make decisions and maintain oversight. For example:</p><ul><li>Which frameworks for frontend/backend?</li><li>Which database and where to deploy?</li><li>What directory structure for the project?</li><li>How do the API implementation program files connect?</li><li>Should APIs be called from frontend or backend?</li><li>What design and frontend behavior?</li><li>Is security adequately addressed?</li><li>What order and schedule for development?</li></ul><p>I recognized the importance of properly deciding these things before starting development, documenting them, and developing sequentially according to the plan. Always keeping control (not letting AI decide everything) is crucial. Additionally, I learned that team development would add more tasks: member recruitment and management, organizing and conducting meetings, documentation organization, and roadmap arrangement.</p><p>All of this stems from studying something CS-related every day. Some days I’d zoom in with a bug’s-eye view, meticulously writing C++ methods, while other days I’d take a bird’s-eye view doing AI-assisted product development. While basically driven by external pressures like assignments and exams, this semester provided unmistakably more growth than any past self-study. In this sense, I recommend graduate school even for those without engineering experience, and I don’t think you need “genuine passion for engineering and programming” to make this decision. However, you do need a vision of what you want to do once you can build products. If you place yourself in a somewhat pressured environment and end up doing development daily regardless of passion, you’ll definitely feel growth.</p><h4>Projects</h4><p><strong>Studio App </strong>is a comprehensive filmmaking management platform I’m developing in tandem with a USC film school student. Independent filmmakers can procure shooting locations and props at fair prices, match with job seekers, pitch to investors, and smoothly handle pre-production preparation, arrangements, and financing – critical processes that consume significant effort in filmmaking.</p><p>I joined this project as the first engineer, advancing basic system design and MVP development. Starting this winter, a second engineer will join to polish existing features while targeting UX and security suitable for test operations. Development is AI-driven, with the frontend based on JSX files output by base44. The backend uses Next.js deployed on Vercel.</p><p><strong>Local Cinema</strong> is an individual project aggregating mini-theater movie information in Los Angeles. While this seemed like a simple app displaying information scraped from various theaters, I’m currently working on properly configuring scraping job execution and frontend update timing.</p><p>I also released the iOS app <strong>Bench Press Recorder</strong>. While going to the gym, recording all training feels tedious, but bench press weight is a clear indicator of muscle strength, so this app specializes in recording only bench press. Being fully English-compatible and downloaded worldwide, I’m currently processing legal entity registration with the App Store to distribute a paid version.</p><p>Even after learning to build products, marketing efforts to expand them remain necessary, they don’t sell easily, and cloud services incur subtle costs. Individual development for a living isn’t straightforward. However, repeatedly building apps clarifies common issues and preparation steps in app development, enabling me to approach new projects with increasing confidence.</p><h4>CS Master’s Degree in the AI Era</h4><p>AI development has increased engineer productivity while also increasing engineer layoffs. Combined with the longstanding “CS degree unnecessary” and “practical experience supremacy” arguments among engineers, spending $70+K to pursue a CS master’s degree in this AI era might seem like a counter-trend, uneconomical choice.</p><p>However, speaking as someone involved, I find these two years pursuing a CS master’s very meaningful. Because studying CS allows you to become a “well-rounded engineer.”</p><p>AI completes various intermediate tasks in product building at lightning speed. What remains are higher-level decisions: system design itself, security measures, and team communication issues. Comprehensive knowledge requires organization and orchestration. CS master’s courses allow specialized learning of each topic through database classes, networking classes, algorithms, etc. Leveraging master’s-level knowledge to develop with AI can be considered an engineering “strength.”</p><p>Also, AI has “brought developers closer to the market” because individual developers can now implement many things alone. With rampant layoffs recently, the importance of having your own revenue-generating product has increased. Engineers have the power to build such products. Since I originally wanted to make a living from my own products, being able to learn while releasing products and experimenting during these two years is truly appreciated.</p><p>The job market is extremely tough. Hundreds of applications yield no response. What’s actually happening: positions decrease while students applying with AI-generated content explode, and employers also use AI for screening. It might be better to consider “the hiring system itself broken.” Demand for skilled people remains, and after hundreds of applications, jobs often come through friend-of-friend connections. As a strategy to bypass the malfunctioning hiring system, building person-to-person networks – showing up various places, talking, and making connections – is necessary, and I want to do that next semester.</p><p>This semester, through internship applications and online assessments, I realized my skill insufficiency and decided to stop internship applications, instead allocating time to coursework, personal development projects, and LeetCode.</p><h3>Life</h3><h4>Weekly Schedule</h4><p>This semester, I attended campus classes on Tuesdays and Thursdays. Other days were basically home study or work, plus gym.</p><ul><li>Monday: Study at home, gym</li><li>Tuesday: Two campus classes, study sessions</li><li>Wednesday: Several external meetings for side work, gym</li><li>Thursday: Two campus classes, study sessions and language exchange</li><li>Friday: Study at home, gym</li><li>Saturday-Sunday: Assignments and study at home. Watch 3–4 movies at theaters</li></ul><p>While it might look relaxed, tasks emerge infinitely. Exam studying is endless, plus personal project development for resumes, coding interview prep like LeetCode, English study – if you try, there’s no end. Also, the first half of the semester was spent searching for summer internships, applying to nearly 250 positions. About 8 online assessments arrived, but feeling my skill insufficiency, I temporarily halted summer internship searches to focus on fundamentals like LeetCode.</p><h4>Living Expenses</h4><p>Since living costs, rent, and relationship issues are significant for surviving in America, while recognizing it’s quite personal, I’ll write this for reference.</p><p>One of the most helpful things this semester was living at my American girlfriend’s family home. It’s about a 50-minute drive from campus, but with only two days of commuting per week, it’s manageable. Zero rent, meals provided, significantly reduced living expenses, plus living spaciously in a large house and being constantly together with my girlfriend greatly reduced economic and psychological burdens. Immense gratitude.</p><p>Her mother also lives in this house, and the three of us live happily together. When my girlfriend and her mother went on a month-long vacation, I stayed home caring for their pet rabbit and fixing plumbing issues. At semester’s end, I ordered a huge sashimi platter as my gesture of gratitude for everyone.</p><h4>English</h4><p>I’ve written several blog posts about English before, but after two years in America and obtaining IELTS 7.5, I’ve become comfortable with graduate school applications, English communication within Japanese companies in the US, and private interactions with partners and friends.</p><p>However, communication difficulty at USC is far higher. 40,000 excellent (and somewhat wealthy) students from across America are enrolled, and even international students from China, India, Korea, etc., arrive fluent in English. English speakers like me with just a bit beyond beginner level are overwhelmingly in the minority. The environment assumes that technically discussing things properly in English is a prerequisite for community entry. In this context, I needed to elevate my English communication another level.</p><h4>Pronunciation Correction</h4><p>I’ve had issues understanding native speakers’ fast, ambiguous pronunciation in listening comprehension. Without understanding their arguments, I can’t provide constructive responses. To resolve this, I started pronunciation correction to understand what others say while making my own speech more stress-free for listeners.</p><p>Initially, I worked with an English instructor on MENTA, having pronunciation checked weekly. I committed to the “Jingles” material they taught me, currently progressing through the official Jingles textbook and official sessions.</p><p>After daily Jingles practice for 5–10 minutes and completing six weekly 30-minute official sessions, my impressions are:</p><ul><li>Slight improvement, especially with schwa sounds becoming easier</li><li>Identified challenges with “ae” sounds</li></ul><p>My American girlfriend provides feedback that “pronunciation improves daily.”</p><p>“Jingles” isn’t just imitation but training to develop whole-body muscles for English pronunciation – a very physical and deep (difficult to master) method involving constant abdominal tension, extending tongue tips 1mm to 8mm, etc. While challenging, progress is slow. However, I personally sought this “repetition” type practice, so I plan to continue through next year.</p><h4>Daily Input and Output</h4><p>Cohabiting with my girlfriend provides daily forced English communication, very helpful for English improvement. While not using extremely difficult vocabulary in daily conversation, it trains responsiveness and timing for using slang.</p><p>Also, I switched my driving and gym podcasts from Utamaru’s movie reviews to entirely English content. This gives me a sense of absorbing English-specific expressions and logical progressions.</p><p>Previously, I’d hesitate: “I should input more in English… but Utamaru’s movie reviews are always interesting…” But deciding to make all input and output English eases the mind, and surprisingly many interesting contents emerge.</p><p>Not exaggerating, now listening to Japanese content for 30 minutes makes me slightly queasy. It feels like body cells individually transforming from Japanese speakers. Switching back to English speakers is also difficult, so I avoid Japanese input as much as possible.</p><h3>Next Semester Plans and Goals</h3><h4>The Challenging Algorithms Course</h4><p>Next semester includes an algorithms course – one USC CS students struggle with most. The exam median is 55 out of 100, past exams are completely useless, and my friend dropped out midway to retake it next term – numerous “legends” circulate.</p><p>Preparing during winter break seems best. Dynamic programming in particular lacks a clear backbone, depending on “how many example problems you’ve encountered” and “how many solutions you know,” so I want to start there.</p><p>The other class is “Software Engineering,” a team project-based app development course. Unlike “Web Technologies” individual development assignments, it will focus on team management, development cycle management, and communication. A presentation is required at semester’s end.</p><p>For coursework, I’ll steadily proceed based on this semester’s commitment level. I want to make an exciting semester by adding extracurricular activities (development projects, networking, etc.).</p><h4>Turning 27</h4><p>Next month I’ll already turn 27. Crazy!! I imagined 27 would be more economically and socially stable, ready to take care of others. But I’m still a student caring for myself.</p><p>As I wrote in a previous note, not feeling much attraction to “being employed” might be suppressing my activity level. I want to be hungrier. But having come to America with housing and a partner, living comfortably without extra stress lol. However, feeling “is this okay?” exists, so turning 27, I hope to confront that haze.</p><p>Anyway, I achieved my year’s goal: “shift identity from marketer to engineer”! Next year, I want to earn money as an engineer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a59c939e490a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What I struggled when I tried to run an app locally]]></title>
            <link>https://medium.com/@tomo.2015cj/what-i-struggled-when-i-tried-to-run-an-app-locally-73b7a46e9d99?source=rss-f8a3c3c685c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/73b7a46e9d99</guid>
            <dc:creator><![CDATA[uemura1999]]></dc:creator>
            <pubDate>Tue, 14 Oct 2025 23:39:10 GMT</pubDate>
            <atom:updated>2025-10-14T23:39:10.092Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8-rdCv-J4VSIUl3NA_wwIA.png" /></figure><p>This might be very basic, but I’ll jot it down for my future reference.</p><h4>DB Configuration</h4><p>Using MySQL, I haven’t created a user for the app. I didn’t even understand how MySQL works.</p><p>First, I needed to install MySQL.</p><p>Then, just create an user for the app. In the app configuration (e.g., .env.local), I needed to write the password that I just set up.</p><p>That’s it. The software called MySQL runs on my machine and its inside we can create DATABASEs connected to each app. The app that runs on local is also one of users so we need to create an user for the app setting password.</p><h4>Port</h4><p>The port 8080 was already used so that’s why the app didn’t run at first. Just kill the current process on 8080, or change the port for your app to something like 8081.</p><p>Very simple, but for me as a beginner, it felt like a hell while struggling with running app for the first time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73b7a46e9d99" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Class, Module, Package, Library and How to Manage Them]]></title>
            <link>https://medium.com/@tomo.2015cj/class-module-package-library-and-how-to-manage-them-5e53e5ceff14?source=rss-f8a3c3c685c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e53e5ceff14</guid>
            <dc:creator><![CDATA[uemura1999]]></dc:creator>
            <pubDate>Tue, 14 Oct 2025 00:00:25 GMT</pubDate>
            <atom:updated>2025-10-14T00:00:25.223Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8-rdCv-J4VSIUl3NA_wwIA.png" /></figure><p>Words can be confusing when studying computer science.</p><p>A <strong>Class</strong> is a blueprint for object and contains of instance field(s) and method(s). This might be familiar even for beginner learners.</p><pre>class Student{<br>  // fields and methods<br>}</pre><p>A <strong>Module</strong> is a file that contains class(es).</p><pre>class Student{<br>  // fields and methods<br>}<br><br>class Teacher{<br>  // fields and methods<br>}<br><br>class School{<br>  // fields and methods<br>}</pre><p>A <strong>Package </strong>is a folder (directory) that contains module(s) = file(s).</p><pre>Package/<br> - module1.js<br> - module2.js<br> - module3.js</pre><p>A <strong>Library </strong>is a folder (directory) that contains package(s) = folder(s) and usually meta information such as README.md or package.json.</p><pre>Library/<br> - lib/<br>  - package1/<br>    - module1.js<br>    - module2.js<br>    - module3.js<br>  - package2/<br>    - module4.js<br>    - module5.js<br>    - module6.js<br> - README.md<br> - package.json</pre><p>They are pre-defined convenient tools that we can use when developing an app. You usually install them as libraries (that are distributed as packages, not as individual modules).</p><p>The definition of Package and Library can vary by programming languages. You can take them referring the same thing, but the focus for library is on code or functions itself, whereas for packages it’s on the setup to distribute externally including README or other specifications.</p><h4>How to Manage Packages</h4><p>When you install, delete, list up, and manage libraries or packages, you can use package managers that are provided by each language. These are some famous managers.</p><ul><li>Python : pip (pip itself doesn’t have meaning)</li><li>JavaScript/Node.js: npm (stands for Node Package Manager)</li><li>Java: mvn (stands for Maven that means “specialist”, “wiseman”</li></ul><p>You can list up all libraries on a manifest file so that other people can also install same versions of libraries on their own machines.</p><ul><li>Python (pip): requirements.txt</li></ul><pre>numpy==1.26.2<br>pandas&gt;=2.0.0<br>requests~=2.31.0<br>flask==3.0.0</pre><pre>pip install -r requirements.txt</pre><ul><li>JavaScript (npm): package.json</li></ul><pre>{<br>  &quot;name&quot;: &quot;myapp&quot;,<br>  &quot;version&quot;: &quot;1.0.0&quot;,<br>  &quot;scripts&quot;: {<br>    &quot;start&quot;: &quot;node index.js&quot;,<br>    &quot;dev&quot;: &quot;nodemon index.js&quot;<br>  },<br>  &quot;dependencies&quot;: {<br>    &quot;express&quot;: &quot;^4.18.2&quot;,<br>    &quot;mongoose&quot;: &quot;^7.2.0&quot;<br>  },<br>  &quot;devDependencies&quot;: {<br>    &quot;eslint&quot;: &quot;^8.49.0&quot;,<br>    &quot;nodemon&quot;: &quot;^3.0.0&quot;<br>  }<br>}</pre><pre>npm install</pre><ul><li>Java (mvn): pom.xml</li></ul><pre>&lt;project&gt;<br>  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;<br>  &lt;groupId&gt;com.example&lt;/groupId&gt;<br>  &lt;artifactId&gt;myapp&lt;/artifactId&gt;<br>  &lt;version&gt;1.0.0&lt;/version&gt;<br><br>  &lt;dependencies&gt;<br>    &lt;dependency&gt;<br>      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;<br>      &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;<br>      &lt;version&gt;3.2.0&lt;/version&gt;<br>    &lt;/dependency&gt;<br>    &lt;dependency&gt;<br>      &lt;groupId&gt;com.google.code.gson&lt;/groupId&gt;<br>      &lt;artifactId&gt;gson&lt;/artifactId&gt;<br>      &lt;version&gt;2.10.1&lt;/version&gt;<br>    &lt;/dependency&gt;<br>  &lt;/dependencies&gt;<br>&lt;/project&gt;</pre><pre>mvn install</pre><p>These pre defined programs can be depending on other library or module. What if Library A depends on Library B ver1.0, but Library C depends on Library B ver 2.0? This is called a dependency conflict and package managers can solve or warn it for users.</p><h4>Then, What is a Framework?</h4><p>It is easy to get a sense of framework if you look at the code.</p><pre># This is an example of using a library<br><br>import requests<br><br>response = requests.get(&quot;https://example.com&quot;)<br>print(response.text)</pre><pre># This is an example of using a framework<br><br>from flask import Flask<br>app = Flask(__name__)<br><br>@app.route(&quot;/&quot;)<br>def index():<br>  return &quot;Hello!&quot;</pre><p>You do call a function in a library in your code, but your code is called in a framework. A framework defines the flow of your app in terms of booting app server, processing requests and returning responses. You can define only what needs to be done on a given user interaction. This is what people mean when they say “a framework gives you a structure”. You can develop an app following a structure of a framework while using functions from libraries here and there.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e53e5ceff14" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Compile, Interpret, or Hybrid?]]></title>
            <link>https://medium.com/@tomo.2015cj/compile-interpret-or-hybrid-f077b76395c8?source=rss-f8a3c3c685c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/f077b76395c8</guid>
            <dc:creator><![CDATA[uemura1999]]></dc:creator>
            <pubDate>Mon, 13 Oct 2025 22:35:37 GMT</pubDate>
            <atom:updated>2025-10-13T22:35:37.362Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8-rdCv-J4VSIUl3NA_wwIA.png" /></figure><p>There are three types of programming language.</p><ul><li><strong>Compiled</strong>: C, C++, Rust, Go</li><li><strong>Interpreted</strong>: Python, JavaScript, Ruby, PHP, Bash/Shell Script</li><li><strong>HyBrid</strong>: Java, C#, TypeScript</li></ul><p>What are the differences?</p><p>First of all, there are a few layers in programming language from what we write to what a computer actually understands.</p><ol><li>High Level Languages</li><li>Assembly Languages</li><li>Machine Code</li></ol><p>High-Level Languages are just very familiar programming language. It is written by humans and is for humans who read it.</p><pre>int x = 10;<br>cout &lt;&lt; x &lt;&lt; endl;</pre><p>Assembly Language can be written and read by humans, but compilers can also produce it out of High-Level Languages. Each instruction corresponds to one CPU operation.</p><pre>mov DWORD PTR [rbp-4], 10   ; x = 10<br>mov eax, DWORD PTR [rbp-4]  ; load x into a register<br>mov esi, eax                ; set up function argument<br>lea rdi, [rip+_ZSt4cout]    ; load address of cout<br>call _ZNSolsEi              ; call cout &lt;&lt; x<br>call _ZSt4endl              ; call endl</pre><p>A machine called “Assembler” converts assembly language to Machine code. It is the binary form of assembly instructions — pure bits executed by hardware.</p><pre>C7 45 FC 0A 00 00 00<br>8B 45 FC<br>89 F0<br>48 8D 3D 00 00 00 00<br>E8 12 00 00 00<br>E8 34 00 00 00</pre><h4>History of Programming Language’s Evolution</h4><p>In the 1940s to the 1950s, people used to write only Assembly Languages or even Machine language to interact with CPU. There was no High-Level Languages existing.</p><p>Around 1957, the first High-Level Language was introduced. Its compiler output Assembly Language file, and we needed an assembler to convert it to Machine Language so that CPU can understand the instructions.</p><p>In the 1970s to the 1980s, compiled languages came to have assembler within their compilers. These are modern compiled languages such as C or C++ that we use today.</p><p>How about Interpreted Languages? Interpreted Languages work on virtual machines that can interact with CPU. By using virtual machines, all differences between each CPU can be ignored and the program can run on any computer. It was introduced in the 1960s and now they are used widely as Python or Ruby.</p><h4>Difference Between Compiled vs Interpreted Languages</h4><p>The first difference is how much to compile at once.</p><ul><li>Compiled Languages compile all programs at once, and produce an executable file in Machine Language.</li><li>Interpreted Languages compiles code and execute it one line after another.</li></ul><p>Compiled Languages take time at first since they need to go through all lines to output executable file. But after that, all executions are so quick because we already got executable file. Interpreted Language is slow when we execute it because the language compiles code line by line every time we need it. But this means, the executable file of Compiled Language is static, whereas we can flexibly change code on Interpreted Language.</p><p>The second difference is how to manipulate CPU.</p><ul><li>Compiled Languages manipulate CPU directly by providing executable file in Machine Language.</li><li>Interpreted Languages manipulate CPU through virtual machines (VM).</li></ul><p>Compiled Languages can flexibly manipulate hardwares where as Interpreted Languages run only on VM and are restricted from accessing to CPU/Hardware.</p><p>So this is a trade-off decision. Here are some values in programming and which language is more favorable.</p><ul><li><strong>Execution Speed</strong>: Compiled Languages</li><li><strong>Hardware Manipulation</strong>: Compiled Languages</li><li><strong>Error Detection before Execution</strong>: Compiled Languages</li><li><strong>Test and Change in Development</strong>: Interpreted Languages</li><li><strong>Independence in Environment</strong>: Interpreted Languages</li><li><strong>Safety for OS/Hardwares</strong>: Interpreted Languages</li></ul><h4>What does Hybrid means?</h4><p>Hybrid languages are compiled like Compiled Languages first, and will be executed on VM. This way, the execution is faster than interpreted Language while keeping independence in environment.</p><p>JavaScript is no longer an Interpreted Language; it’s a Hybrid language on V8 engine. V8 has a Just-in-Time compiler, which can compile chunks of code that are used frequently in the program and cache them in memory. This way, we can only compile code when needed. It’s fast in execution, and still can be independent of the underlying environment.</p><p>Each language has its own pros and cons. By being aware of these differences, we can improve the performance of our program.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f077b76395c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>