{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "Zheming's Blog — English",
  "home_page_url": "https://zhuzheming001.github.io/en/",
  "feed_url": "https://zhuzheming001.github.io/en/feed.json",
  "language": "en",
  "items": [
    
    
      {
        "id": "https://zhuzheming001.github.io/posts/TheFirstStepToTrainAnAIModel-1-en/",
        "url": "https://zhuzheming001.github.io/posts/TheFirstStepToTrainAnAIModel-1-en/",
        "title": "My First Time Training a Model: Reinforcement Learning vs. Imitation Learning",
        "date_published": "2026-09-21T22:50:00+08:00",
        "summary": "The question of whether a computer can think is no more interesting than the question of whether a submarine can swim. — Edsger Dijkstra",
        "content_text": "\n  The question of whether a computer can think is no more interesting than the question of whether a submarine can swim.\n— Edsger Dijkstra\n\n\nWhat I built\n\nI’d been learning about AI for a few days when I decided to try training a model myself. I taught myself enough PyTorch to build a few simple models that all play the same classic game: Flappy Bird. Here’s how they performed, what I tried, and what I learned.\n\nReinforcement learning\n\n\n  \n    \n      Version\n      Method\n      Training episodes\n      Estimated average score\n    \n  \n  \n    \n      1.0\n      Reinforcement learning\n      8000\n      0\n    \n    \n      1.1\n      Reinforcement learning\n      8000\n      2.1\n    \n    \n      1.2\n      Reinforcement learning\n      8000\n      0 (the model collapsed)\n    \n  \n\n\nImitation learning\n\n\n  \n    \n      Version\n      Method\n      Training\n      Data source\n      Average score\n    \n  \n  \n    \n      2.1\n      Imitation learning\n      50 epochs\n      Rule-based expert and human play\n      37.5\n    \n    \n      2.1.1\n      Imitation learning\n      50 epochs\n      Trajectories collected by the v2.1 model\n      47.0\n    \n    \n      2.1.2\n      Imitation and reinforcement learning\n      4000 episodes\n      Replay prefilled with v2.1.1 data, followed by online DQN training\n      53.5\n    \n  \n\n\nSetting up\n\nHere’s my setup, in case it saves you from making the same mistakes:\n\n\n  An Apple-silicon Mac with MPS GPU acceleration\n  Python 3.13 in a venv virtual environment\n  PyTorch 2.14\n  flappy-bird-gymnasium, an OpenAI Gym-style Flappy Bird environment\n  pygame for rendering\n\n\nThe first trap: the Run button in the top right of VS Code can use a different interpreter from the virtual environment you activated in your terminal. I installed torch in the terminal, hit Run, and still got No module named 'torch'. It took me a while to realize I was using two different Python environments.\n\n\n\nWhat is DQN, in my own words?\n\nThe idea behind DQN is simple: use a neural network to predict how much future reward each available action is worth in the current situation, then pick the action with the highest predicted value. That estimate is the Q-value.\n\nThink about what goes through your head while playing: “If I flap now, I might stay in the air five seconds longer. If I don’t, I might hit the pipe.” The neural network is doing that kind of guesswork.\n\nTwo key ideas:\n\n\n  Experience replay: Save what happens at each step, then randomly sample a batch for training. Training no longer depends on a sequence of highly correlated, consecutive frames.\n  Target network: Use a separate network to supply the learning targets, and sync it with the training network periodically. Otherwise it’s like grading your own homework and changing the answer key every time.\n\n\n\n\nHow the versions evolved\n\nv1.0: My first DQN went nowhere\n\nSetup:\n\n\n  Network: a 128 → 64 → 2 MLP\n  Reward: +0.1 for surviving a frame, −1 for dying\n  Epsilon: starts at 1.0 and decays\n\n\nResult: Reward hovered at 3.9, and the score never budged from 0. The bird had no idea it was supposed to fly through the pipes.\n\nThe mistake: I put epsilon decay inside train_step(), so it ran every step, or every frame. With hundreds of frames per game, epsilon dropped from 1.0 to 0.01 in two games. Exploration was over before it had really started.\n\n\n  I spent a long time stuck on this. Why was epsilon already at 0.01 when I’d set it to 1.0? Eventually I realized it was decaying in the wrong place. I meant to reduce it once per episode, not once per frame.\n\n\n\n\nv1.1: Bigger rewards got the bird through a pipe, but not reliably\n\nChanges:\n\n\n  Fixed epsilon decay so it happened once per episode\n  Changed the reward for passing a pipe to +100 and the death penalty to −10\n  Gave +0.01 per surviving frame and applied no flap penalty in the first 4000 episodes\n\n\nResult: The bird finally got through pipes! Over 10 test games it averaged 2.1 points and reached a high of 4.\n\nThere were still problems:\n\n\n  It seemed to get through pipes by luck rather than applying a reliable skill.\n  Reward hovered around −9.5, suggesting the bird still died after about 50 frames most of the time.\n  Every checkpoint file was exactly 129,373 bytes. At the time I took that as a sign that the weights hadn’t changed much since episode 1000, and suspected the model had settled on a poor strategy. File size alone doesn’t establish that the weights stopped changing.\n\n\nWhy did it happen? The first 2000 episodes were random exploration. The bird got through its first pipe by chance in episode 2494. By then epsilon was falling. The model had seen only one example of passing a pipe, so it hadn’t learned to reproduce that behavior before epsilon dropped to 0.05.\n\n\n\n\n\nv1.2: Adaptive epsilon taught the bird to give up on the game\n\nChanges:\n\n\n  Reduced the reward scale: −1 for dying, +0.1 for surviving a frame, and +1 for passing a pipe\n  Added a +10 bonus for the first successful pass\n  Made epsilon adaptive: If the average score over the last 100 episodes was below 0.5, the agent kept exploring randomly with epsilon at 1.0. Only after it started succeeding would epsilon fall.\n\n\nThe idea: v1.1 stopped exploring before it had learned anything useful. Why not do the reverse and reduce exploration only after the bird learns to get through pipes? It sounded reasonable.\n\nResult: The score stayed at 0 for about 2300 episodes. The average never met the threshold, which kept epsilon at 1.0. Around episode 2300 the bird finally passed a pipe, and the model started learning, just not the behavior I wanted.\n\nHow it failed: The model learned to flap constantly. The bird flew straight to the top almost immediately and got stuck near the ceiling. The score stayed at 0 because it never made it through a pipe.\n\nWhy? It found another poor strategy:\n\n\n  Flap continuously and you may survive a few dozen frames, earning +0.1 per frame. That’s better than dying quickly during random play.\n  The model has a simple answer: keep flapping as long as there’s a reward for staying alive.\n  The next pipe is too far away for the model to learn from it. Surviving now is easier.\n\n\n\n  The reward function signaled that survival and passing pipes were good, but didn’t give the model a reason to stop flapping mindlessly. It picked the easiest way to survive: keep flying up.\n\n\nThis was the flip side of v1.1: when useful guidance is too sparse, the agent can find a shortcut that earns reward without getting better at the game.\n\nVideo:\n\n\n  \n  \n\n\n\n\nThe ideas that stuck with me\n\n1. What epsilon actually is\n\nEpsilon is the chance of trying a random move. At 1.0 the agent plays entirely at random; at 0.01 it almost always follows what it has learned.\n\nI wanted more trial and error early on and more reliance on the learned policy later. Decay too quickly and the agent “graduates” before it has learned anything. Decay too slowly and the policy never settles down. For this project, getting that timing right mattered more than the network architecture.\n\n2. The reward function is a compass\n\nThis was my biggest takeaway: for these experiments, reward design mattered much more than the architecture.\n\n\n  The first version didn’t reward passing pipes, so it could learn “don’t die,” but not that pipes were the point.\n  In the second version, +100 was much larger than the other signals. I struggled to get stable learning.\n  In the third version I tried smaller, more frequent rewards. They were an improvement in scale, but the model still found a loophole.\n\n\n\n  With no clear reward signal, the model can work hard and still go the wrong way. It’s like climbing a hill blindfolded without knowing where the summit is.\n\n\n3. The agent can learn to stop trying\n\nI initially set the death penalty to −100 and watched the model give up. One pipe wasn’t enough to make up for dying, so the setup left the agent with little reason to learn how to pass it. I forget what the equivalent effect is called in psychology, but it reminded me of how it feels to stop trying after bombing an exam.\n\n4. Exploration versus exploitation\n\nThis is a central tension in reinforcement learning:\n\n\n  Exploration: Try a new action. It could uncover a better strategy or send you into a wall.\n  Exploitation: Stick to the best strategy you know. It’s more reliable, but you might miss something better.\n\n\nTuning epsilon by hand felt clumsy. Adapting it to the model’s current performance seemed more promising, although I still needed to make sure the rule couldn’t lock exploration in place.\n\n\n\nImitation learning\n\nWhat is imitation learning? In this case, it was basically copying someone’s homework.\n\nWith reinforcement learning, the AI starts from scratch. It bumps into a pipe thousands of times before figuring out that pipes are bad news. The game is stingy with feedback: most of what it tells you is “you died.” How not to die is up to you.\n\nImitation learning does something more direct: record how someone who knows the game plays, then have the AI learn to copy those actions. It’s how you might learn a new game yourself: watch someone skilled play, copy what they do, and gradually develop your own feel for it.\n\nBehavior cloning in three steps\n\nBehavior cloning is a straightforward form of imitation learning:\n\n\n  Record trajectories. Let the expert play and record the state and the expert’s action at each frame.\n  Train a classifier. Teach the network to predict which action the expert would take given a state.\n  Run inference. Let the model play on its own, predicting an action at each frame.\n\n\nPut simply, I turned “how do you play this game?” into “what label does this state get?” That felt familiar from competitive programming: first learn the standard solutions, then figure out when you need to go beyond them.\n\nv2.1: Pure imitation reaches 37.5\n\nI wrote a rule-based expert that steered toward the middle of each gap. It played 100 games, and I added some recordings of my own play. That gave me 58,682 frames. I trained a 12 → 128 → 64 → 2 network for 50 epochs, reaching 99.26% classification accuracy.\n\nThe average test score was 37.5. I usually only get around ten when I play by hand, which says something about my gaming skills. The AI did better after one night than I did after a day of practice. A little humbling, but I was heading in the right direction.\n\nv2.1.1: Let the model teach its successor, and reach 47\n\nData was the bottleneck. The rule-based expert was steady, but its actions were mechanical and didn’t offer much variety. My idea was to let v2.1 play and record its own data, then train v2.1.1 on those recordings. A trained model became the next model’s teacher.\n\nI hit a big snag: at first I added a little random exploration during recording, with a 5% chance of a random move. The average fell to 0.9 points. Flappy Bird depends on precise timing; a single extra flap can kill the bird. For the demonstrations I wanted, the learned policy needed to act deterministically. After switching to pure argmax, I recorded 300 games and 177,889 frames. Training accuracy reached 99.50% and the average test score hit 47, up about 25%.\n\nv2.1.2: Imitation plus reinforcement, a lot of crashes, and finally 53.5\n\nImitation had worked well enough to tempt me into adding RL for another boost. I still wanted to make DQN work. Instead, I got a long run of failures:\n\n\n  Start DQN from the imitation model’s weights? Crashed. The evaluation score fell to zero.\n  Prefill replay with expert data and add an imitation loss? Crashed.\n  Freeze the feature layers and train only the output layer? Crashed.\n  Switch to PPO? Still crashed once I let the policy update freely.\n\n\nI tried seven or eight combinations and none worked. Reading more made a mismatch clear: the imitation head predicted classification logits, whereas DQN needed estimates of future reward. Those outputs mean different things. Reusing one output layer as if it already spoke both languages was asking for trouble.\n\n\n  DQN learns “roughly how much future reward is this action worth?” Imitation learns “which button did the expert press in this state?” They’re different questions, even if both models end in a layer with two outputs.\n\n\nWhat finally helped was a demonstration-based approach inspired by DQfD. I trained the Q-network from scratch but prefilled its replay buffer with about 178,000 expert frames. I also fixed the exploration-rate logic that had stalled v1.2. Later in training, I saw signs of bootstrapping error accumulating, and the policy broke down in longer games. Early stopping, by selecting a mid-training checkpoint, got me to 53.5.\n\nWhy did imitation work so much better?\n\nCopying a good example is faster than figuring everything out from scratch.\n\nFlappy Bird’s reinforcement feedback is sparse: +1 for passing a pipe and −1 for dying, with many moves between those events. Imitation provides a target every step: did the expert flap or not? It’s the difference between seeing the answer to every exercise and getting only a final exam grade.\n\nAt the same time, pure imitation gives you no explicit signal for doing better than the teacher. My model was learning from the rule-based expert and my own play. I wanted RL to help it go further. Getting those methods to work together cost me an evening, and the demonstration-prefilled replay buffer was what finally got me somewhere.\n\nMistakes worth remembering\n\n\n  The action labels were heavily imbalanced. Across 300 games and about 178,000 frames, the expert flapped in only 5.4% of frames. A model that never flapped would be 94.6% accurate and still useless at the game. A high classification score isn’t enough; check the actual game score.\n  Demonstration quality mattered. In my run, 5% random exploration was enough to drop the average from over 40 to 0.9.\n  A short evaluation can be misleading. The mid-training model did well on the short evaluation. Longer games exposed a failure that would otherwise have gone unnoticed.\n  Imitation and RL ask for different predictions. I couldn’t simply swap classification logits for Q-values and expect the existing weights to keep working.\n\n\nWhat I took away\n\nComing from competitive programming, I found the process familiar: learn the standard tactics, then try to invent better ones. Imitation helps you learn the standard tactics quickly, but what it teaches you is limited by the examples. Reinforcement learning looks for new tactics. It can go further, but it takes more work. Learning the tactics and then trying to improve on them is where things get interesting.\n\nThere’s a lot left to learn, but I have a clearer idea of where to go next.\n\n\n\nSummary\n\nI started with three reinforcement-learning attempts that topped out at 2.1 points. Imitation jumped to 37.5. Training again on the model’s own demonstrations got me to 47, and imitation plus reinforcement learning reached 53.5. The scores were fun, but the takeaways were more useful:\n\n\n  In RL, designing rewards and managing exploration were harder than writing code. Sparse guidance encouraged shortcuts like flapping constantly. Decay epsilon too early and the agent barely explores; leave it high too long and it never settles into a policy.\n  Imitation learning was mostly data work. A three-layer MLP was enough for all this; the big difference was the data. The rule-based expert and human demonstrations got 37.5 points, and better trajectories collected from the model got 47. Adding just 5% random actions wrecked those demonstrations.\n  In my runs, combining imitation and RL worked best at the data level. I stopped reusing the imitation head, trained the Q-network from scratch, and prefilled its replay buffer with expert data before online DQN training. Early stopping helped avoid the degradation I saw later.\n  Evaluate over the horizon you care about. The 600-frame evaluation masked a breakdown I could see in the 3000-frame test. Model selection should use a test that reflects the real goal.\n  Learn the standard tactics first, then innovate. That applies to both competitive programming and training an AI model. Starting with demonstrations was fast, and experimenting beyond them was hard but worth it.\n\n\nGetting to 53.5 is only a start. Next I’d like to train a CNN that plays from the screen directly, or try Double DQN to address the late-training breakdown. I’ll update the post if I make progress. 🐦\n\n\n  Written late at night on September 21, 2026, in front of my MacBook Pro, after taking the bird from 2.1 all the way to 53.5.\n\n  I drafted this article and used AI to polish it. It took about three hours and is the longest technical article I’ve written.\n\n  I’m still learning. This is a record of what happened in my experiments, and discussion by email is welcome.\n\n  Zheming Zhu · September 21, 2026 · South China University of Technology\n\n"
      },
    
      {
        "id": "https://zhuzheming001.github.io/posts/cost-en/",
        "url": "https://zhuzheming001.github.io/posts/cost-en/",
        "title": "How Expensive Is College? My Real Spending Over Half a Month at SCUT",
        "date_published": "2026-09-18T16:30:00+08:00",
        "summary": "When the granary is full, people understand propriety; when clothing and food are sufficient, people understand honor and shame. ——Guanzi",
        "content_text": "\n  When the granary is full, people understand propriety; when clothing and food are sufficient, people understand honor and shame. ——Guanzi\n\n\nMain Body\n\nAs a freshman who just started college and is managing money on their own for the first time, I’ve always been curious about where my living expenses actually go. This week I decided to keep a careful account and see “where the money went.” After a week, the results were a bit unexpected — I thought my biggest expense was food, but it turned out to be…\nNo beating around the bush, I’ll say it directly: from September 6 to September 18 at 16:00, I spent a total of 3419.7 yuan?? 🤯 I usually don’t notice much when I spend, and it doesn’t feel like a lot — but once I started keeping accounts, I realized I’d spent this much money!\n\nSpending Rankings\nBelow is a ranking of individual expenses from highest to lowest: (Top 4)\n\n  \n    Textbooks, totaling 418.98 yuan. This is only the cost of the first unified textbook order at the school; it does not include the textbooks the author bought secondhand, nor the amounts spent later on exercise books.\n  \n  \n    Earphones, totaling yuan. Earphones are almost a necessity of college life. Since the author’s AirPods4 left earbud was damaged by water, the author bought a new one on Xianyu (Idle Fish).\n  \n  \n    A pair of shoes, costing 259 yuan.\n  \n  \n    A washing machine, costing 162 yuan. The E-area dormitories on the South China University of Technology University City campus currently have no shared washing machines, so dorm members must buy one themselves. The author and three roommates pooled their money to buy an entry-level pulsator washing machine for a total of 648 yuan, with each person paying 162 yuan.\n  \n\n\nAt this point, the total is already 1169.98 yuan, accounting for 34.21%.\n\nBelow is the spending ranking by category:\n\n  \n    Daily necessities, totaling 771.2 yuan, accounting for 22.55%, including the washing machine, laundry detergent, shampoo, toothpaste, toothbrush, toilet paper, bucket, power strip, and various other daily necessities.\n  \n  \n    Dining, totaling 571.5 yuan, accounting for 16.71%. I don’t eat breakfast; this is all my lunch and dinner spending over the past half month. I eat at the cafeteria most of the time — lunch is usually around 20–25 yuan, and dinner is usually around 15–20 yuan. I ate McDonald’s twice, about 40 yuan each time. I went into the city once on the weekend and had dim sum, spending 51.4 yuan. Overall, dining spending isn’t much — about 1500 yuan a month.\n  \n  \n    Education, totaling 502.98 yuan, accounting for 14.71%, including 418.98 yuan for new textbooks, 25 yuan for secondhand textbooks, 22 yuan for exercise books, and a 36 yuan CET-4 exam fee.\n  \n  \n    Health, totaling 108 yuan, accounting for 3.15%, including a 100 yuan freshman health screening fee and 8 yuan for allergy treatment at the campus clinic.\n  \n  \n    Transportation, totaling 86.47 yuan, accounting for 2.53%. This part of the spending surprised me the most — I’m usually on campus, so transportation costs should be low. Looking back through my records, transportation spending mainly went to 22 shared-bike rides and 5 taxi rides. On campus, I usually walk or cycle; a shared-bike ride starts at 0.99 yuan, and a longer ride is usually 2 yuan. The largest single expense was 29 yuan, for the intercity train from the airport to school; taxis are cheap, about 8 yuan per trip, mostly for getting around University Town. The subway is 4–6 yuan per ride; since I take it rarely, this expense is also low.\n  \n  \n    Miscellaneous, total amount unknown, including the earphones, shoes, haircut, music membership, printing fees, dorm electricity bills, and other expenses that are hard to categorize.\n  \n\n\nThe spending categories ranked above are expenses I actually paid for. They do not include the costs of setting up my dorm room as a freshman, such as a mattress, quilt, pillow, bedding set (three pieces), mosquito net, etc. These expenses amount to roughly 1500 yuan and are not included in the statistics.\nFinancial Plans\n\nTo reduce my spending, I’ve decided to do the following:\n\n\n  \n    Diet: Try to eat out less and eat at the cafeteria more, to minimize dining expenses.\n  \n  \n    Shopping: Try to choose products with good value for money and avoid unnecessary purchases.\n  \n  \n    Transportation: Try to make fewer trips, choose public transportation where possible, and reduce costs like taxis and shared bikes.\n  \n  \n    Education: Try to choose textbooks that offer good value for money and avoid unnecessary purchases.\n  \n  \n    Health: Try to maintain a good daily routine, pay attention to diet, and avoid getting sick.\n  \n  \n    Miscellaneous: Try to reduce unnecessary spending and avoid waste.\n  \n\n\nConclusion\nCollege is expensive. It was only when I started keeping accounts that I realized how many expenses could be reduced. Going forward, I will continue to keep accounts, keep optimizing my spending management, and try to save money.\n\n\n  Thank you for reading. If this article was helpful to you, feel free to discuss it!\n\n\n\n  Zhu Zheming\n\n\n\n  2026.9.18\n\n\n\n  At South China University of Technology\n\n"
      },
    
      {
        "id": "https://zhuzheming001.github.io/posts/build_log-en/",
        "url": "https://zhuzheming001.github.io/posts/build_log-en/",
        "title": "Site-Building Notes",
        "date_published": "2026-09-16T20:00:00+08:00",
        "summary": "I stole fire, hidden in a fennel stalk, and it became the teacher of all arts for mankind.",
        "content_text": "\n\n  I stole fire, hidden in a fennel stalk, and it became the teacher of all arts for mankind.\n\n\nMain Text\nWhy Did I Want to Build a Site? — A Stand Against the AI Era\nThere are three main considerations behind building the site, as follows:\n\n  \n    In a C++ class, the teacher asked a question: “What impact has AI had on your life?” Thinking back over my life, I feel AI has many good uses, such as helping me understand a great deal of knowledge and broadening my horizons. But when it comes to the growth of my own abilities, the arrival of AI has made me dependent on it in every aspect of my life. This year on Teachers’ Day, I wanted to send a message to my teacher to express my blessings and good wishes, but I found I couldn’t write it myself — I could only rely on AI. This excessive reliance on AI has greatly weakened my writing ability. So I decided to set up a blog site and write more articles myself. Unlike the essays of my high school days, here I can speak freely, record my life, share my thoughts, hone my writing ability, and resist the influence of AI on me. This is the main reason I built this website.\n  \n  \n    Just as the quote before this text suggests, I want to promote the open-source spirit. I want to share some of my ideas, share development experience, and share my life. Unlike common self-media platforms, a blog site is a personal platform. In a relatively relaxed public environment, I can speak freely. At the same time, as I expect, this site won’t have a very large audience, which allows me to focus more on the authenticity and sincerity of the content, because the most important reader is the author of these articles himself. I don’t need to worry about social influence, or about facing people with different values.\n  \n  \n    I want to preserve some memories and keep my thoughts. In the future I will update this site with some plog-style content, so that I can look back on it 10 years from now, or even 50 years from now, and recall my beautiful youth.\n  \n\n\nThe Site-Building Process\nThe idea of building the site originated in my first year of middle school, when I wanted to have a personal website — not mainly for writing articles, but mainly to showcase my résumé. Owing to the limits of my development skills at the time, I made only a plain static HTML page with a crude layout. Back then, when I wrote articles I would add content directly into the index.html file, which seems a bit laughable looking back.\n\nFor a while in between, I had to participate in the Xining City Robotics Competition, and this domain name was commandeered by me to design a sample website for the competition. After the competition ended it was never restored, and the personal website plan was shelved.\n\nIn September 2026, I started university, and for the reasons above I decided to rebuild the site. This time, having learned more, I used the Jekyll framework and spent 4–5 hours knocking together a presentable blog website.\nFor the specific site-building techniques, you can refer to this article: Reference article\n😊\n\n\n  Thank you for reading — feel free to exchange ideas via email!\n\n\n\n  Author: Zhu Zheming\n\n\n\n  September 16, 2026\n\n\n\n  At South China University of Technology\n\n"
      },
    
      {
        "id": "https://zhuzheming001.github.io/posts/%E6%88%91%E9%80%89%E6%8B%A9%E5%A4%A7%E5%AD%A6%E7%9A%84%E5%BF%83%E8%B7%AF%E5%8E%86%E7%A8%8B-en/",
        "url": "https://zhuzheming001.github.io/posts/%E6%88%91%E9%80%89%E6%8B%A9%E5%A4%A7%E5%AD%A6%E7%9A%84%E5%BF%83%E8%B7%AF%E5%8E%86%E7%A8%8B-en/",
        "title": "My Journey of Choosing a University",
        "date_published": "2026-09-16T12:00:00+08:00",
        "summary": "",
        "content_text": "\n\n\n  My name is Zhu Zheming, and I am a 2026 candidate from Qinghai. My subject combination was Physics, Chemistry and Geography, my Gaokao score was 603, and my provincial ranking in the Physics track was 444. When filling out my application, I made the South China University of Technology (SCUT) Academy Featured Class my top choice, and I was ultimately admitted. After admission, I felt some dissatisfaction, some confusion, some anticipation, and some anxiety. I once considered repeating a year, and the major I wanted to study changed considerably after submitting my application—from wanting to study engineering to wanting to study a pure science major. Now, I would like to share my thoughts and my choice.\n\n\nMain Text\n603 points. In some provinces strong in education, this score is not so impressive, but it is indeed the result of my utmost effort.\nSince elementary school, whenever someone asked me what university I wanted to attend, the words “Tsinghua University” would slip out of my mouth. Back then, all I knew was that America had Harvard and MIT, Britain had Cambridge, and China had Tsinghua and Peking University.\nBecause my older cousins all got into Tsinghua University, I naturally set Tsinghua as my goal—it became a great mountain in my heart.\nIn middle school, I didn’t study especially hard, but in the final exams of the second semester of seventh grade I still ranked in the top ten of my class. That was when I realized I might have some talent for studying. The following years were ordinary. The high school entrance exam, the first major exam of my life, I scored 738, ranking 560th in the city. Comparing this with last year’s score-ranking table, I realized I could probably only get into the second-ranked high school. The best high school’s enrollment plan was 770 students, but because it also had to admit students with special talents and students from balanced-admission quotas, the number actually admitted through regular channels was only about 560—just enough to shut me out. Some time later, the admission results were announced: I, Zhu Zheming, was admitted to Xining No. 2 Middle School. The top-ranked high school was called Qinghai Huangchuan Middle School, with a cutoff score of 740.\nI was quite sad that I could only go to Xining No. 2 Middle School, but three years later I am very glad that I did.\nFrom Dream to Fantasy\nEver since childhood I dreamed of getting into Tsinghua University. I took part in one informatics competition and one informatics winter camp; everyone around me was a future Tsinghua or Peking University student, and the guest speakers were all Tsinghua and Peking students and professors. This gave me a kind of illusion, as if the me of today were the me of tomorrow. Right up until the Gaokao, I looked at last year’s score-ranking table and set 630 as my target score, because that was the admission cutoff for the CNNC targeted program, and it was also far above the cutoff for the Strong Foundation Plan. The day before I checked my score, as a member of the Communist Youth League, I went to the Kumbum Monastery in Qinghai to pray. On the day I checked my score, I got 603, ranking 444th in the province in the Physics track, and I realized I could probably only get into a 985 university.\n\nThe Fantasy Shatters and the Choice of Life\nA few days later, the Strong Foundation Plan’s exceptional cutoff far exceeded last year’s, and the cutoff for Tsinghua’s CNNC targeted program also rose sharply. I realized that my undergraduate studies had no connection with Tsinghua, and with that, the fantasy shattered. I began researching my choices. After several days without any clear result, I finally made Xiamen University’s Nanqiang College, SCUT’s Hundred-Step Ladder Innovation Academy, and Sun Yat-sen University my main options. Since Sun Yat-sen University only offered regular class tracks for recruitment in Qinghai, I placed it below SCUT. The Academy Class has an impressive name and an 80% rate of recommendation for graduate school, so it became my choice.\nWatching the batches 1–6 being submitted one by one, I grew more and more anxious. At that time, considering the beautiful environment of the city of Xiamen, I wholeheartedly wanted Xiamen University’s Nanqiang College. On the morning the submission results came out, I opened my computer with sleepy eyes and saw SCUT highlighted in red. I felt a bit sad, thinking this was not a good choice. Because after submitting my application, my thinking about the future changed—from wanting to study engineering to wanting to study true science. This submission result strengthened my idea of repeating a year. In the end, out of fear of the hardship and pressure of repeating, I chose to go to university.\nDo I Regret It?\nIt would be a lie to say I don’t. There are no perfect choices in life; every gain comes with a loss. We can only slowly accept this and, within the limited time we have, be the best we can be and cherish every minute of life.\nMy Next Step\nNext, I have decided to study hard. I am not yet sure whether I will continue my studies after completing my undergraduate degree. If I do, I will still steadfastly set Tsinghua University as my goal.\nFinally, I wish everyone who reads this article a bright future!\n\n\n  Author: Zhu Zheming\n\n\n\n  2026.09.16\n\n\n\n  At South China University of Technology\n\n"
      },
    
      {
        "id": "https://zhuzheming001.github.io/posts/site-build-log-en/",
        "url": "https://zhuzheming001.github.io/posts/site-build-log-en/",
        "title": "How I Built This Site, From Scratch to Launch 🔧",
        "date_published": "2026-09-15T19:25:00+08:00",
        "summary": "The tools and steps behind this personal site.",
        "content_text": "Here’s how I set up this site, so I have a reference when I need to maintain it and anyone building a personal site has somewhere to start. 📝\n\nChoosing the tools 🧐\n\n\n  Hosting: GitHub Pages. It’s free, stable, and supports a custom domain.\n  Static site generator: Jekyll. GitHub Pages supports it natively, so I don’t need a separate server.\n  Theme: Chirpy. It comes with light and dark modes, tags, categories, archives, full-text search, and PWA support. That’s a good fit for a personal profile and blog.\n\n\nSetting up the site 🛠️\n\n\n  Get the official Chirpy starter template into a local repository.\n  Edit _config.yml to set the site title, timezone, avatar, social links, and deployment URL.\n  Write _tabs/about.md for the About page and put blog posts in _posts/.\n  Preview locally with bundle exec jekyll s.\n  Push to GitHub. The repository includes .github/workflows/pages-deploy.yml, which builds and publishes the site after a push.\n\n\nHow I publish a post ✍️\n\nFrom here on, posting takes three steps. These are the commands I keep for reference (the comments are in Chinese):\n\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n# 1. 在 _posts/ 下新建一个 markdown 文件，命名格式：\n#    YYYY-MM-DD-标题.md（front matter 里写 title/date/categories/tags）\n\n# 2. 本地预览确认效果\nbundle exec jekyll s\n\n# 3. 提交并推送，网站自动更新\ngit add .\ngit commit -m \"add new post\"\ngit push\n\n\nA few things that tripped me up ⚠️\n\n\n  A direct connection to GitHub can be unreliable. If cloning or pushing fails, try again or switch to SSH.\n  The date in the post’s filename is its publication date. If it’s wrong, the post may be skipped.\n  I keep images in assets/img/ and use relative paths to reference them.\n\n\nI’ll add more here when I find other things worth trying. 🚀\n"
      },
    
      {
        "id": "https://zhuzheming001.github.io/posts/hello-world-en/",
        "url": "https://zhuzheming001.github.io/posts/hello-world-en/",
        "title": "Hello, New World: My Little Site Is Live 🌱",
        "date_published": "2026-09-15T19:20:00+08:00",
        "summary": "What I'll write about on my personal site.",
        "content_text": "This is the first post on my personal site. Hello, new world. 👋\n\nI’ll write about four kinds of things here:\n\n\n  Life in photos 📷 — everyday moments, little projects, and places I’ve been;\n  Thoughts on starting university 🎓 — the shift from high school, choosing a major, learning, and managing my time;\n  Academic explorations 🔬 — working through ideas from computing competitions, physics, and engineering;\n  Open questions ❓ — the things I can’t figure out yet, written down for my future self.\n\n\nThe site uses the Chirpy theme and is hosted on GitHub Pages. I documented the setup in another post.\n\nI hope this site will stay with me through the next four years of university. Come by anytime. 🚀\n"
      }
    
  ]
}
