Automating Hexo Theme Migration with AI Agent: From Next to Butterfly
The Problem: A Tedious Task No One Wants to DoRecently, I decided to migrate my Hexo blog from the Next theme to Butterfly. Sounds simple, right? If you’ve ever done a Hexo theme migration, you know it’s anything but simple: Config files are 1000+ lines long, requiring line-by-line comparison between old and new theme formats Feature mapping is complex: Next’s leancloud_visitors maps to Butterfly’s busuanzi, Next’s reading_progress maps to Butterfly’s preloader Two sites need syncing: Both C...
How I Recovered My Blog After Vercel Banned 163 Email
A few days ago, I wrote a new article and deployed it to Vercel as usual, but the pipeline threw an error. At first I thought it was a build issue, and after messing around for a while I realized something was wrong — it was the Vercel account itself. The account registered with a 163 email couldn’t log in at all. Later I found out that Vercel had banned the entire 163.com email root domain. What is Vercel?If you’re into independent blogging, you’ve probably heard of or are currently using ...
Using LLM to Manage Security Development Standards - An llm-wiki Practice
When I was organizing our team’s security development standards recently, I encountered an old problem: security documentation keeps piling up, but when you actually need it, you can’t find it. Every time a new team member joins, they have to dig through various documents to piece together the complete security standards. Every time we have a security incident, the lessons learned are scattered everywhere, and we end up rediscovering the same issues next time. I’ve tried managing this with Co...
Vaadin Framework Tutorial: A Frontend Development Guide for Java Engineers
The pain point of backend engineers developing frontend code is usually that it’s too tedious — you often have to spend a long time looking things up for even the smallest task. Vaadin solves this pain point well by providing backend engineers with an easy-to-learn, convenient solution for writing frontend code. Today, let’s take a look. Hello everyone, today I’d like to introduce a tool that’s especially valuable for backend engineers — Vaadin. To be honest, getting started with basic HTML...
An Easy Way to Build a Multi-Language Blog with Hexo
The simplest way to use hexo to build a multilingual website is to directly build two independent sites and make a jump link to each other. Here’s how to implement it. Suppose I now have a Chinese blog and plan to add an English site Copy the entire blog directory as the English blog directory. For example, my blog root directory is called blog.source, and copy a blog.source.en. After this, if source code of the blog is maintained using git, you can just create a new git project directly i...
Zhihu Enhancement Tool — Comment Timestamps Down to the Second
A Tampermonkey tool for optimizing Zhihu’s display. I previously saw a complaint on Appinn Meta about the chaotic time display in Zhihu’s comment sections, and someone immediately provided a Tampermonkey script as a solution. I used it for a while and it worked great. Then a few days ago, Zhihu pushed an update that caused the display to become chaotic again. I looked into it, made an update, and decided to publish it to GreasyFork so that future Zhihu adjustments can be handled via online ...
Kubernetes: A Practical Introduction
This tutorial will not focus on Kubernetes deployment, architecture, implementation, or other internal principles. Instead, it will introduce Kubernetes entirely from the perspective of a developer who uses Kubernetes, helping you understand how to better leverage its features. Basic IntroductionWhat is Kubernetes? A relatively official definition: Kubernetes is an open-source container orchestration platform that manages large-scale distributed containerized software applications, commonly...
How to Scientifically Browse Zhihu at Work
Everyone knows what kind of website Zhihu is. Today, we’re sharing a small tool to make your Zhihu browsing experience at work more enjoyable. When I was looking at my own Zhihu account analytics, I discovered something quite interesting — over 40% of traffic came from the PC side, which is almost unimaginable in the mobile internet era. I also learned from other sources that Zhihu’s traffic on weekends and holidays is lower than on workdays. What does this tell us? You’re not the only one ...
Book Notes: Thinking in Systems - How to Face Complex Problems in Reality
The primary purpose of this book is to teach readers how to think more effectively when facing complex problems in reality. The book itself focuses on basic systems concepts, which are actually quite easy to understand. Additionally, the author provides numerous examples. When first reading this book, you might feel that the theory and practical examples are somewhat disconnected. But gradually you’ll realize that this topic is indeed not easy to explain in a way that’s easily accessible — it...
Common Patterns in Distributed System Design
Previously, I translated an article about distributed systems (https://lichuanyang.top/posts/3914/) which received positive feedback across various platforms. So I recently reorganized the related knowledge, combined with new insights gained over the past year, and rewrote this article. First, let’s clarify what kind of distributed systems we’re discussing here. Simply put, they need to satisfy two conditions: multi-node and stateful. Multi-node is straightforward to understand. Being state...