<?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 Yankai Zeng on Medium]]></title>
        <description><![CDATA[Stories by Yankai Zeng on Medium]]></description>
        <link>https://medium.com/@yyankaizeng?source=rss-2e8d43a039ab------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*PkHMHXNzacZlHOIx</url>
            <title>Stories by Yankai Zeng on Medium</title>
            <link>https://medium.com/@yyankaizeng?source=rss-2e8d43a039ab------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 12:38:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yyankaizeng/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[CS373 Fall 2026: Yankai Zeng-Blog #7]]></title>
            <link>https://medium.com/@yyankaizeng/cs373-fall-2026-yankai-zeng-blog-7-a01207710030?source=rss-2e8d43a039ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/a01207710030</guid>
            <dc:creator><![CDATA[Yankai Zeng]]></dc:creator>
            <pubDate>Sat, 10 Oct 2026 14:38:52 GMT</pubDate>
            <atom:updated>2026-10-10T14:38:52.034Z</atom:updated>
            <content:encoded><![CDATA[<p>One concept that stood out to me this week was Python’s function unpacking and how it works with tuples, dictionaries, and keyword arguments. At first, these features seemed like different ways to pass data into a function, but working through the examples helped me see how they fit together. I found it interesting how the placement of unpacking operators, variable names, and argument values can affect how a function receives its inputs. I also learned how unpacking with * and ** can make function calls cleaner when the arguments are already stored in a list or dictionary. It made me realize that Python has many features that can simplify code, but understanding exactly what gets passed into a function is important when debugging.</p><p>The Kattis problem, while straightforward, was a good opportunity to not only brush up on my coding skills but also my python proficiency. After realizing it was binary search, I noticed that running at most ten times was guaranteed to find the value, and that it was not necessary to keep count of how many iteration has occurred. From there, it was just recreating binary search, an algorithm I was familiar in creating in Java, but not in Python. One thing I had to work on was making sure my variables represented the right information and that I was handling each input in the correct order. This reminded me that even a problem with relatively simple rules can become confusing if I do not organize the logic before coding. Reading the problem carefully and tracing a few sample interactions helped me understand what my program needed to do.</p><p>The paper also made me think about how software is designed beyond simply getting a program to work. Through the examples given in the reading, I realized how easy it was to create bad design that breaks down when adding extra classes, causing bugs that are extremely difficult to find and solve. It taught me that inheritance is not just about sharing code, but that a subclass must preserve the expectations established by its parent class. Thinking about this helped me understand why software engineering requires considering how different parts of a system interact, rather than focusing only on individual classes or functions.</p><p><strong>Pick of the Week: The Missing Semester</strong></p><p>My pick of the week is <a href="https://missing.csail.mit.edu/">The Missing Semester of Your CS Education</a>, a free course from MIT that teaches practical software development tools such as the command line, Git, debugging, and shell scripting through demonstrations and exercises that help students apply them in practice. I think it is useful because knowing how to write code is only one part of software engineering; being comfortable with the tools used to develop, test, and manage code is important too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-iD7eGaZ4IMvoY70p5mtvA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a01207710030" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CS373 Fall 2026: Yankai Zeng-Blog #6]]></title>
            <link>https://medium.com/@yyankaizeng/cs373-fall-2026-yankai-zeng-blog-6-e9ada4472406?source=rss-2e8d43a039ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9ada4472406</guid>
            <dc:creator><![CDATA[Yankai Zeng]]></dc:creator>
            <pubDate>Sat, 03 Oct 2026 16:23:37 GMT</pubDate>
            <atom:updated>2026-10-03T16:23:37.594Z</atom:updated>
            <content:encoded><![CDATA[<p>This week, we covered several Python concepts including generators and yield, comprehensions, functions, and decorators. I didn’t realize that you could turn a function into a generator, and since generators are just iterators, you can call next on it. By pausing the function at certain steps, instead of creating and storing every value at once, a generator can produce values when they are needed without having to store everything in memory.</p><p>The collaborative quizzes were helpful because they forced me to explain my reasoning instead of just trying to get an answer. Sometimes I thought I understood a concept until I had to explain why a piece of code behaved a certain way. By asking others for their results and explanations, it made it easier to notice different approaches as well as gaps in my knowledge or small details that I had forgotten. When someone had a different answer or explanation, it gave me a chance to figure out where my understanding was incomplete.</p><p>Project two really showed me how important it is to work and communicate as a team to produce the desired results in a timely manner. Additionally, it was really interesting seeing each member build a unique page, and then working together as a team to decide which aspects to keep and which to remove in order to keep a consistent webpage. The Open-Closed paper gave me a better perspective on software engineering. The idea that software should be open for extension but closed for modification made me think more about designing code for future changes instead of only making it work for current requirements. Good design should make it easier to add functionality without constantly changing existing code.</p><h3>Pick of the Week</h3><p>My pick of the week is <a href="https://visualgo.net/">VisuAlgo</a>. It is a website that visualizes different data structures and algorithms step by step and is useful for understanding how algorithms work instead of just memorizing the code for them. By showing every step, it helps visually explain how the core logic works, the process leading up to the solution, and the reasoning behind every line of code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-iD7eGaZ4IMvoY70p5mtvA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9ada4472406" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CS 373 Fall 2026 Blog 5 — Yankai Zeng]]></title>
            <link>https://medium.com/@yyankaizeng/cs-373-fall-2026-blog-5-yankai-zeng-117a29f8b62f?source=rss-2e8d43a039ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/117a29f8b62f</guid>
            <dc:creator><![CDATA[Yankai Zeng]]></dc:creator>
            <pubDate>Sat, 26 Sep 2026 12:57:36 GMT</pubDate>
            <atom:updated>2026-09-26T12:58:22.628Z</atom:updated>
            <content:encoded><![CDATA[<p>This week we covered operators, iteration, ranges, nested classes, and the Single Responsibility Principle. The concept that stood out to me the most was the difference between + and +=. Through learning java, I thought of them as very similar operations, differing only in assignment. However, Python allows these operations with objects, and the mutability of the object can change how they behave.</p><p>One problem I noticed is that it can be easy to assume that everything you can loop over behaves the same way. The examples with lists, ranges, and iterators showed that this is not necessarily true. An iterable does not necessarily keep track of its current position, while an iterator does. This can become an actual problem if you expect an object to be reusable but are actually working with an iterator that has already been consumed. The examples with zip and itertools.count made this distinction much clearer to me.</p><p>Another thing that surprised me was how small differences in operators can cause different behavior. The examples with + and += showed that they cannot always be treated as interchangeable. This is especially important with mutable and immutable objects. If two variables refer to the same list, modifying the list through one variable can affect the other. On the other hand, doing something similar with a tuple can result in a new tuple instead. This seems like the type of problem that could create unexpected bugs if I assume that an operator always works the same way regardless of the object.</p><p>The Single Responsibility paper gave me a more practical way to think about code organization. Before, I mostly thought about whether my code worked and whether I could make it more efficient. Now I am also thinking about whether each part of the program has a clear purpose. If one function or class starts handling too many unrelated tasks, changing one part could create problems somewhere else. Keeping responsibilities separated can make those changes easier to manage.</p><h3>Pick of the Week</h3><p>My pick of the week is <a href="https://pythontutor.com/"><strong>Python Tutor</strong></a>. I think it is especially useful for understanding concepts involving references, objects, and iteration because it allows you to see what is happening as the program executes. It can be useful when something seems to work differently than expected and you want to figure out what the program is actually doing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-iD7eGaZ4IMvoY70p5mtvA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=117a29f8b62f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CS373 Fall 2026: Yankai Zeng-Blog #4]]></title>
            <link>https://medium.com/@yyankaizeng/cs373-fall-2026-yankai-zeng-blog-4-a0f65c52a59d?source=rss-2e8d43a039ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0f65c52a59d</guid>
            <dc:creator><![CDATA[Yankai Zeng]]></dc:creator>
            <pubDate>Sat, 19 Sep 2026 15:37:50 GMT</pubDate>
            <atom:updated>2026-09-19T15:37:50.498Z</atom:updated>
            <content:encoded><![CDATA[<p>The week’s content introduced many new concepts and functions. While the reduce function and star unpacking were simple to use, understanding how they work and how python implements them is confusing. I could follow examples when each concept was presented separately, but combining them required me to slow down and think about what was actually happening.</p><p>One moment that challenged me was seeing a reduction with star unpacking inside the binary function. I was not expecting to see the two concepts combined in a single question, so I initially spent a lot of time trying to understand what the expression meant rather than thinking about what the code was actually doing. Fortunately, the people I worked with explained the logic to me, and I was able to piece the parts together to understand how the whole problem worked.</p><p>The programming exercise really showed me how reduction is implemented. It was unexpected having to solve reduction through iteration. However, a big discovery that jump-started my solution was figuring out that an iterator of an iterator returns the same object, including the current position it points to. While I solved the exercise with plenty of time to spare, the mistakes I made challenged the way I approached problems. The errors I received taught me that I should take more time to read the problem before jumping straight in and to look at the test cases to find edge cases I didn’t consider.</p><p>The pair programming paper also gave me a different perspective on software engineering. Programming is often viewed as an individual activity, but working with another person can make it easier to catch mistakes, explain ideas, and approach a problem from a different perspective. This was especially noticeable to me this week because discussing the reduce and unpacking problem with other students helped me understand concepts I was struggling with on my own. I’ll be sure to use this method in future projects and courses, where multiple perspectives can challenge my approach to functionality and problem-solving.</p><p><a href="https://roadmap.sh/">Pick of the day:</a> I chose roadmap.sh, a website that shows various skills and technologies associated with different software engineering paths. It’s a useful way to organize study plans in a structured manner instead of randomly learning tools.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-iD7eGaZ4IMvoY70p5mtvA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0f65c52a59d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CS373 Fall 2026: Yankai Zeng-Blog #3]]></title>
            <link>https://medium.com/@yyankaizeng/cs373-fall-2026-yankai-zeng-blog-3-da0aefaeab94?source=rss-2e8d43a039ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/da0aefaeab94</guid>
            <dc:creator><![CDATA[Yankai Zeng]]></dc:creator>
            <pubDate>Sat, 12 Sep 2026 23:48:15 GMT</pubDate>
            <atom:updated>2026-09-12T23:48:15.714Z</atom:updated>
            <content:encoded><![CDATA[<p>This week was full of twists and turns, with confusing exception logic, major differences compared to java, and data type instantiation. Seeing the keyword “finally,” while logical, was strange to see, and needing an extra comma to create a tuple of one element was jaw-dropping. Additionally, having “==” behave differently from Java was a change that didn’t make sense, especially since it acted similarly to how .equals() worked.</p><p>During the programming challenge, I found the core logic very simple, but had difficulty implementing it in python as I was constantly getting syntax errors. However, the people around me had the opposite issue, and together we worked towards developing code based on my logic written in their style. Thankfully, there was plenty of time to solve the questions, and I felt no pressure completing all three approaches of the factorial question. The quizzes on the other hand showed me that I needed to review better, as I kept forgetting the logic. As I kept comparing python to java, it often became confusing whether the logic was similar or the opposite during the quiz. For the next quiz, I’ll be sure to remember the differences by reviewing them right before the quiz starts.</p><p>The assigned paper, or the Makefile, opened my eyes to how multiple files can be compiled together. It was interesting seeing all the different tools with unique identifiers based on system architecture, and realizing that make targets are basically functions that could call others. I also liked the idea that a Makefile can prevent unnecessary work by only rebuilding the parts of a project that need to be updated. Although I have called Make multiple times before, I never extensively looked or studied them to truly understand how it functioned to compile complete projects.</p><p>Pick-of-the-week: my pick of the week would be an <a href="https://openai.com/index/hugging-face-incident-and-the-road-ahead/">article </a>about the AI hack on Hugging Face. It’s amazing how an openAI agent escaped its isolated testing environment and managed to access the internet. Because human error contributed to the mistake, it goes to show how software engineering requires thinking about how systems can fail in unexpected ways, especially when dealing with AI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-iD7eGaZ4IMvoY70p5mtvA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da0aefaeab94" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CS 373 Fall 2026: Yankai Zeng-Blog #2]]></title>
            <link>https://medium.com/@yyankaizeng/cs-373-fall-2026-yankai-zeng-blog-2-a4872483af6c?source=rss-2e8d43a039ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4872483af6c</guid>
            <dc:creator><![CDATA[Yankai Zeng]]></dc:creator>
            <pubDate>Sat, 05 Sep 2026 23:07:04 GMT</pubDate>
            <atom:updated>2026-09-05T23:07:04.157Z</atom:updated>
            <content:encoded><![CDATA[<h3>CS 373 Fall 2026: Yankai Zeng — Blog #2</h3><p>Week two delved deeper into technical concepts, had more collaboration on assignments, and reevaluated the tools we use. From understanding nuanced language mechanics to rethinking how we use AI, here is a breakdown of my week.</p><p>Of all the concepts we studied this week, the thing that surprised me most was the way exceptions were handled. While I have thrown exceptions in CS314, I have never written a try catch block. Learning that programs only catch the first matching exception even if there’s multiple potential conditions taught me that it’s critical how you structure the block, otherwise the safety net would unintentionally have a hole.</p><p>Being allowed to collaborate with others during assignment has really helped, as bouncing ideas off of each other helps push the group to understanding a proper solution. This idea really showed on the EdLessons, where although we started with similar initial instincts, working as a team forced us to articulate our thoughts, challenge assumptions, and merge our ideas. Additionally, from the various programming challenges, it helped me understand that memorizing algorithms and data structures is useless unless I truly understand their use and purpose. For example, during the divisor count problem, while I was familiar with the Sieve of Erosthenes algorithm, I struggled to connect prime factors with the number of divisors. The challenge helped me remember that knowing technical information isn’t the same as applying it, and that I need constant refreshers and practice if I was going to nail them down.</p><p>From reading the assigned paper, it made me realize the importance of understanding tools, especially AI. It’s easy to believe a model would produce an instant, flawless, architectural plan from a few, simple prompts. However, current models just don’t possess the ability to properly output a good response from such a prompt. It’s imperative to give quality context and guidelines as it dictates how AI processes and solves problems and to create a loop that starts the model off on the right track and eventually pushes forward towards perfection.</p><p>My pick of the week would be using <a href="https://pll.harvard.edu/catalog?topics%5B702%5D=702&amp;price%5B1%5D=1&amp;max_price=&amp;start_date=&amp;keywords=&amp;url=">Harvard’s online free courses</a> to learn new things outside of regular coursework. They provide a structured, self pace way to explore different areas of computer science and build a rock sold foundation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-iD7eGaZ4IMvoY70p5mtvA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4872483af6c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CS 373 Fall 2026: Yankai Zeng]]></title>
            <link>https://medium.com/@yyankaizeng/cs-373-fall-2026-yankai-zeng-33326aaca880?source=rss-2e8d43a039ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/33326aaca880</guid>
            <dc:creator><![CDATA[Yankai Zeng]]></dc:creator>
            <pubDate>Sat, 29 Aug 2026 21:04:43 GMT</pubDate>
            <atom:updated>2026-08-29T21:04:43.531Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, My name is Yankai Zeng and I grew up in Houston, Texas, where I went to Memorial high school. I’m taking CS 373 because I want to learn more about the development cycle that modern software goes through to become reliable and robust. I also want to understand the different tools and platforms used throughout that process and why they are important. My experience over python is fairly limited, so I’m hoping this class will help me become more comfortable with Python while also giving me a better understanding of why it is so widely used.</p><p>During the first lecture, I was surprised there was random cold calling, as I expected the class to be more traditional with walkthroughs of course material with long lectures. However, after the first week, I have become accustomed to being questioned during class. It forces me to pay attention, actively recall information, and think through problems instead of just listening. I do wish that we were able to use our laptops during lecture as I often struggle to remember exact code and examples used in previous lectures. Furthermore, the collaborative quizzes are a nice touch, as discussing our reasoning with other people can reveal mistakes that I might not have noticed on my own, though some more time to do the quizzes would be appreciated.</p><p>The week’s material, while straightforward and not complex, did showcase the various quirks python has: generator expressions, dunders, and using the walrus operator inside a while loop. Additionally, I’m excited by the introduction of the collatz project, as it is my first look at how projects are designed, documented, tested, and published. I’m also curious about how AI can be used during development while keeping the developer in control of the changes and structure.</p><p>My Tip of the week would be to focus on making code that works rather than making it perfect right away. It’s easy to get stuck trying to find the most optimized solution before knowing whether the approach even works. It’s okay to give up on that approach and try something else, as taking a step back and starting again can reveal new strategies and ideas.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-iD7eGaZ4IMvoY70p5mtvA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33326aaca880" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>