Featured image of post Security Settings for Using CloudFlare R2 as an Image Host to Prevent Malicious Class B File Requests

Security Settings for Using CloudFlare R2 as an Image Host to Prevent Malicious Class B File Requests

CloudFlare R2 is a groundbreaking free service generously offered by the good folks at Cloudflare, providing users with 10GB of storage and unlimited bandwidth by default. However, this “unlimited” comes with some restrictions: no more than 1 million write operations and 10 million read operations per month, beyond which usage will be billed accordingly. Recently, I migrated over 110,000 images to R2 and became concerned about exceeding these limits, so I implemented strict security measures.

Featured image of post Why Is Food Safety So Difficult to Ensure? Lessons from the Tianshui Kindergarten Lead Poisoning Incident

Why Is Food Safety So Difficult to Ensure? Lessons from the Tianshui Kindergarten Lead Poisoning Incident

Recently, the collective lead poisoning incident at a kindergarten in Tianshui has sparked widespread public outrage. Issues ranging from food supervision and industrial materials to medical testing, groundwater pollution, and the local government’s baffling response have all contributed to a surge of anger. This is a good opportunity to discuss why ensuring food safety is such a daunting challenge.

Featured image of post Cable Management Makeover for My Computer Desk

Cable Management Makeover for My Computer Desk

My computer desk sits in a room with irregularly shaped walls—three straight walls and one curved wall by the window. The desk was custom-made to fit this curvature, so the desktop is flush against the wall. Unlike standard office desks, I can’t just let cables dangle behind it, resulting in a cable management disaster.

Featured image of post Migrating Soomal.cc to Hugo

Migrating Soomal.cc to Hugo

Earlier this year, after obtaining the source code for the Soomal.com website, I uploaded it to my VPS. However, due to the outdated architecture of the original site, which was inconvenient to manage and not mobile-friendly, I recently undertook a complete overhaul, converting and migrating the entire site to Hugo.

Featured image of post Why Is India's Rape Rate Lower Than China's?

Why Is India's Rape Rate Lower Than China's?

I came across a bizarre argument on Zhihu claiming that China’s current rape rate is higher than India’s, questioning whether China remains a safe country. After some research, I found some intriguing phenomena behind this claim.

Featured image of post After Over a Decade of Work, I Received My First Commendation Banner

After Over a Decade of Work, I Received My First Commendation Banner

Yesterday afternoon, I suddenly got a call from the security office saying someone had come to deliver a commendation banner for me. I thought I must have misheard, so I asked them to repeat it. They mentioned that the person had called me about it on June 19th. Given the sheer number of calls I handle daily, I couldn’t recall such a conversation, so I told security to let them in to see what this was all about.

Featured image of post What Does 'Transcribing Court Hearing Recordings' Mean?

What Does 'Transcribing Court Hearing Recordings' Mean?

Recently, I came across a rather intriguing judicial interpretation provision. Article 11 of the Several Provisions of the Supreme People’s Court on the Audio and Video Recording of Court Hearings states: “Parties, defense lawyers, litigation representatives, and others may, in accordance with regulations, copy the audio or transcribe the audio and video recordings of court hearings, and the people’s court shall provide the necessary facilities when required.” To some extent, this reflects the evolution of judicial philosophy over the past decade.

Featured image of post 618: Adding a Half-New, Half-Old PC

618: Adding a Half-New, Half-Old PC

This year, during the 618 shopping festival, I wanted to build a gaming PC for fun, but I found myself stuck when it came to choosing the right setup. As mentioned in my previous post 618: The Struggle of Buying a PC, I ultimately decided against purchasing the Mechrevo gaming laptop and instead opted for a semi-DIY approach, resulting in a half-new, half-old PC.

Featured image of post 618 PC Shopping Turns Into a Headache

618 PC Shopping Turns Into a Headache

The annual 618 sale is here, and I originally planned to upgrade my PC. But turns out there’s no room for upgrades—only a full replacement. Then, assembling a new PC led to a series of bizarre issues, leaving me stuck after a whole day of frustration.