Skip to main content
Apache Wangye

Apache Wangye

Writing code, exploring systems, and documenting practical solutions.

Products

Products I am building

Small, useful products backed by the engineering notes on this site.

In development

Cloud Album

A private cloud photo album for overseas users, focused on backup, organization, and subscription-ready experiences.

A real product journey covering the iOS client, MinIO storage, overseas payments, and growth experiments.

iOS AppMinIO storageOverseas subscription

Blog

Latest posts

Submit a Dynamically Generated Form with jQuery

· 2 min read
Apache Wangye
Software developer and technical writer

A dynamically generated form is useful when a page must perform a normal browser navigation with a POST request, such as exporting a file with parameters. This avoids keeping a hidden form in the page markup.

Use DOM APIs to assign field values. Do not concatenate untrusted data into HTML strings, because that can break the markup or introduce an injection vulnerability.

A Dangerous C Disk-Write Example and How to Study It Safely

· 2 min read
Apache Wangye
Software developer and technical writer

This early C exercise demonstrates how a program can open a Windows physical drive and overwrite its first sector.

Warning: the original code can corrupt critical disk structures, make the operating system unbootable, and cause permanent data loss. Do not run it on a real machine or any disk containing valuable data. It is retained here only as a security-education example. A safe exercise should replace the physical-drive path with an ordinary test file inside an isolated virtual machine.

Total views -- · Visitors --