Xheldon Blog

The Answer to Life, the Universe and Everything is...

Analysis of Dreams: Xiao Zhao

"Today's dream was spent in an atmosphere dominated by fear and terror," Xiao Zhao told me.

This story is part of a fictional series. Any resemblance to reality is purely coincidental. It’s also my first attempt at dipping my toes into fiction writing, haha~ “The overall atmosphere of t...

Vue Reactivity Principle and Implementation

Origin of This Article After studying Vue’s reactivity principle, I wanted to document it and implement Vue’s reactivity system from scratch, hence this article. Overview Vue The initialization of ...

Environment Configuration / Common Software Collection

Preface Every time I get a new computer, I always scramble to install a bunch of tools, and sometimes forget to install certain software until I actually need it. When starting a new job, the first...

My Exploration of CORS

The Origin of This Article While reading an online resource about CORS, I was confused by a statement: “Note that after setting withCredentials = true, the cookie carried is the target domain’s coo...

Some Complaints

Preface The following rant has no logical structure—just random thoughts as they come to mind. Learning at Work The company encourages you to learn new technologies, but only after you’ve taken car...

Three Ways to Implement Routing in Vue

Introduction The Vue learning summary is basically complete. Next, I’ll supplement some fragmented knowledge. Today, let’s discuss three implementation methods of Vue Router. View the complete proj...

Vue Learning Summary

Preface This article begins with the “Instance” section from the Vue 2.0 Official Documentation], exploring some usage methods of the Vue API and the principles behind how Vue implements certain fu...

Several Notes on Domain Optimization Configuration for This Blog

Preface When I decided to set up a static blog on GitHub Pages, my goal was to maximize its loading speed. To achieve this, I employed some minor tricks to accelerate page loading and enhance user ...

Webpack Asynchronous On-Demand Loading

Introduction Webpack aims to achieve asynchronous loading, where the main module is loaded first, and additional requests are sent to load specific modules (i.e., bundled chunks) only when they are...

First Experience with Vue + Webpack Component-Based Development (Practice Environment)

Preface After studying others’ vue multi-page frameworks, I found they simply copy the package.json file and run npm install locally, or generate a project using the official vue-cli tool. While th...

Summary of Commonly Used Git Commands

Preface I frequently use git but never had the time to document it. Now that I finally have time, I’ll summarize the commonly used commands. Main Content Create a new branch and switch to it: 1git ...

"Translation" Promise Anti-Patterns

Recently, while studying topics related to Promise, I came across this article and found it quite insightful, so I decided to document it. Promises itself is quite simple—provided you can find the ...

Using the Sina Weibo JS SDK API

Preface Previously, the entire website was built by a single senior developer, resulting in various bugs and incomplete details. Therefore, we decided to refactor it. Brother Hou set up the seajs d...

A Personal Reflection on the Importance of Code Optimization/Work Experience

Preface Due to a lack of project experience, I often make mistakes regarding the roles and responsibilities between frontend and backend development. Main Content For example, I needed to implement...

Perspectives on Collecting User Privacy

Origins Today while watching the news, I heard the anchor mention that the makers of the famous game Angry Birds were collecting user privacy data, including names, genders, email addresses, geogra...

Using sz/rz Commands for File Download/Upload on OS X

File Upload and Download Without Third-Party Software

OS X’s built-in terminal can directly connect to Linux (in comparison, Win’s cmd is quite inferior). However, there’s an issue: the terminal cannot directly upload or download files via Zmodem. Thi...

By the Gan River, before the Tengwang Pavilion

"Where is the prince who once resided in this pavilion? Beyond the rails, the endless river flows on alone."

Origins Nanchang had been overcast with continuous rain for several days, until finally, on the morning of the 6th, a sunrise lasting only two minutes appeared before the sun vanished again behind ...