Code Singularities

Technical implementations and algorithms

One SKU, Five Markets: Where the iPhone 18 Pro Pre-order Broke

One SKU, Five Markets: Where the iPhone 18 Pro Pre-order Broke

Eight availability queries across five markets in the first half hour of iPhone 18 Pro pre-orders. Pro Max 1TB Burgundy was at zero in Hong Kong and Shenzhen while Pro Max 2TB sat in stock down the road, which makes this SKU concentration rather than a shortage.

T

The Sun Is a Square: Inside Apple's iPhone 18 Pro Pre-order Page

Press Cmd-A on Apple's iPhone 18 Pro pre-order page and the sky breaks: the landscape is a 1200px square whose edge pixels are the exact same blue as the page background. A teardown of the cover page, its 65-second heartbeat, and the proof-of-work puzzle your browser quietly solves.

W

What Is SSO? From 玉玺 to WeChat Login

Guan Yu had to fight through five gates. You just click "Sign in with WeChat." A culturally-biased look at what Single Sign-On really is, why Asia's SSO story is different from the West's, and the price of one seal that opens every door.

I

IPv6 Broke My Server — But I Blamed Apache First

Intermittent 522 errors, a perfectly healthy server, and a wrong diagnosis — the real culprit was invisible IPv6 routing failure. Here's how I chased Apache ghosts before finding the two sysctl lines that fixed everything.

A

A Roundup of Excellent Public DNS Servers, Domestic and Abroad

Public DNS servers worth using: Google, Norton ConnectSafe, OpenDNS, DNS Watch, Comodo, Verisign, OpenNIC, GreenTeam, Cloudflare — plus 114, Tencent, Ali, Baidu and CNNIC in China.

About the Server I Bought at Pesyun.com

About the Server I Bought at Pesyun.com

A brief review of Pesyun.com hosting: two one-year servers, a "US" high-defense VPN box whose IP turned out to be Chinese, and a Namepros blacklist surprise.

S

Self-hosting the Fiora Chat Room with aaPanel (宝塔)

A beginner-friendly walkthrough for deploying the Fiora chat room with aaPanel: dependencies, PM2, MongoDB, Redis, systemd and reverse proxy.

X

Xiuno BBS 4.0 Download

Xiuno BBS 4.0 — a lightweight PHP forum product, archived here after the open-source project closed.

W

WHMCS 7.x: "Something went wrong and we couldn't process your request" After Moving Servers

Moving WHMCS to a new server hit the generic Oops page. The culprit: a leftover DirectAdmin addon encrypted for PHP 5.6.