Fading Coder

One Final Commit for the Last Sprint

Nginx URL Rewriting for Unified Content Delivery with Dynamic Path Parameters

During the development of a headless CMS arhcitecture, I encountered an interesting Nginx configuration challenge. The project required serving the same static template file for multiple URL patterns while preserving URL parameters for client-side processing. The frontend application, built with Rea...

Building a Long-Running GitHub Webhook Service in Go

A long-lived GitHub webhook receiver built with Go can automate script execution and expose operational insights via a minimal panel. The focus lies not only on features, but also on foundational engineering choices: structuring code, managing dependencies, defining boundaries, and streamlining buil...

Custom Multi-Column Filter Implementation for Ant Design Vue Tables

Custom Multi-Column Filter Implementation for Ant Design Vue Tables When working with data tables, implementing Excel-like filtering functionality across multiple columns requires a custom approach since Ant Design Vue's built-in filter mechanism only supports single-column operations. Table Configu...

Practical XPath Patterns for HTML Parsing in Python

Loading HTML Documents To parse local HTML files, read the content and initialize the etree object. This sets up the DOM for traversal. from lxml import etree source_path = 'data/source.html' with open(source_path, 'r', encoding='utf-8') as f: markup = f.read() # Create element tree from string docu...

Introduction to MooseFS: Architecture, Deployment, and Management

Overview of MooseFS MooseFS (MFS) is a fault-tolerant, distributed network file system that stores data across multiple physical servers, disks, or partitions, maintaining redundant copies for reliability. To clients, the entire cluster appears as a single unified filesystem, behaving similarly to t...

Mastering Elasticsearch Built-In Text Tokenizers

Core Functionality In Elasticsearch, tokenization serves as the foundational step for full-text search operations. When processing fields defined with the text data type, the engine relies on analyzers to break raw strings into discrete units known as tokens. While the platform ships with several ou...

Memory Management in C++: new and delete

Memory Management in C++: new and delete
Introduction In my blog about C language, there is also an article about dynamic memory management. If you are interested, you can check it out: C Language - Dynamic Memory Management. You should be familiar with this diagram: If you have read my previous blog on Linux process virtual address space,...

Managing Cookies, Sessions, and Custom Pagination in Django

Cookie Fundamentals Why Cookies Exist HTTP is a stateless protocol. Each request is independent, meaning the server treats every interaction as a brand-new encounter without memory of previous requests. However, web applications often need to "remember" user data across multiple requests....

Quickly Configure SwaggerUI with Magicodes.SwaggerUI and Set Up API Grouping

Magicodes.SwaggerUI Quick configuration and integration of SwaggerUI for ASP.NET Core applications. Features Simple configuration through JSON files to generate Swagger UI API format JSON and inttegration Supports API grouping and hiding Supports custom pages and authentication NuGet Package Install...

MRI Medical Image Super-Resolution Implementation Using PaddlePaddle

Project Background MRI Fundamentals Magnetic Resonance Imaging (MRI) is a non-invasive imaging technique that utilizes nuclear magnetic resonance phenomena. The technology employs radiofrequency pulses to stimulate hydrogen atoms within a strong magnetic field, causing resonance and energy absorptio...