This blog has been archived.
Visit my home page at

dl? cmplnts?

My name is Zhiming Wang (Simplified Chinese: 王之铭), and I am a Ph.D. student in high energy theory at Princeton Physics (first year as of September 2016). Previously I earned my bachelor's degree in mathematics and physics at Stanford. I enjoy coding in my spare time, for fun and profit — I hate repetitive tasks, so computer programs help me automate and get things done quickly.

My first programming language was Pascal and I consider C my mother tongue, but recently I write most of my stuff in Python and Zsh. My operating system is OS X / macOS, my text editor is Emacs, my interactive (and non-interactive) shell is Zsh, my package manager is Homebrew, and my default browser at the moment is Google Chrome. I use four-space indents when the target language has no established convention that says otherwise. Any source code I publish on the Web is licensed under WTFPL unless a license is explicitly declared (usually OSI's MIT, aka Expat). I am on Keybase in case you are security-minded (or use this link if you just want my public key). PGP or not, you can reach me at [email protected]. You won't and likely never will find me on SNS. What else is there to tell?

This blog could be about anything, but most of the stuff here should be technical. Oh yes, this blog is fully open source, down to how image assets were generated. All tools necessary for reproducing this blog are either in or documented in the source branch of zmwangx/


pyenv: compiling Python with SQLite in nonstandard location
This blog is now behind CloudFlare
It's 2016, and Microsoft is the only legit player who spams me without unsubscribe links
Chrome is screwing with our extensions... Again
Emacs's got a redesigned website!
Google Chrome keeps getting uglier
Dropbox, Noteworthy, and damned skeuomorphism
Antivirus app on MAS top chart?
Me-too comments on GitHub
The dirtiest mistakes of OS X
Virtualenvs for everyone


Catches when installing Windows 7 with Boot Camp
Why I want lossless music on iTunes Music Store
Lesson on magic method access of Python new-style classes (from my failed Python3 port of Tomorrow)
autoenv with auto cleanup
Regex flavor hell
Spoiled by Retina, in less than a day
Safeguarding git repos against accidental rm
Bash function exporting fiasco
We need a programming keyboard on iOS
Microsoft drops unlimited OneDrive storage after people use it for unlimited storage
AT&T to Pure TalkUSA, one month later
SIP — For the Greater Good
Follow-up: The sad state of Finder on El Capitan
The importance of dated, detailed release notes
Printing long, 80-character-per-line plain text document in two columns
We need an OS X security white paper
Auto hidden menu bar & dock + maximized window is the new full screen mode
Upgrading to El Capitan
Removing Google Analytics from this blog
Apple Watch: Digital Crown tightness issue
Zsh 5.1 and bracketed paste
After all these years, 10pt non-anti-aliased Monaco is still the best
Automated OS X provisioning
I installed BlockParty, and the only thing I can say is WOW
iOS 9: turn off Wi-Fi Assist!
Other people's ___
Switching to capitalized commit messages
Should Apple split up iTunes on OS X?
Sync Chrome bookmarks with Safari on OS X
The sad state of Finder on El Capitan
dl? cmplnts?'s web doesn't suck
GitHub experimental attachment formats: PDF, DOCX and PPTX!?!
Zsh: save stdout, stderr, and return value of command to different variables (without temp file)
dl? cmplnts? in Apple News
Automatically clean up "Previous Mobile Applications"
iOS 9: searchable Settings
All problems solved!?
The tip of the iceberg
Chrome disappointment: the shabby and boring old bookmark system from Stone Age strikes back
Apple turns its homepage into a WWDC liveblog
StackOverflow review system is completely BS
Using a personal helper package in everyday scripting
Apple's customer service is still the best (plus an Authy horror story)
Using a command table as wallpaper
Bash: the special slash character in filename expansion
storyboard reached 0.1
Searchable settings are one honking great idea — let's do more of those!
Graceful handling of SIGINT when using Python's multiprocessing.Process
New blog, new start
Why Oh My Zsh is completely broken
Using Python 3 with Emacs Jedi
Back up OS X app icons
The new OneDrive API
All is not lost
My dock and updated OmniFocus
Microsoft is getting cool (but not its website)
Monitor progress of your Unix pipes with pv
Web design: Microsoft vs Apple
Fonts: why Chinese web design is hard
OS X system ruby encoding annoyance


mpv launcher
10k images on imgur
App suggestion: Dropzone 3
The Google Chrome Comic — A classic
Speeding up Emacs with emacsclient
The Mac-like Evernote
OmniFocus: change sync behavior, Mac and iOS
Distraction free writing
Opera-style advanced keyboard shortcuts in Safari
Going Diceware
Given infinite time
Original images in Day One journal
I got 16 gigs of RAM
Why I abandoned MathJax and fell back to PDF
iPhone photography frustration
Dropbot for Geeks®
Convolution of irreducible characters
Re-encoding everything for iPhone 6 Plus
Average phone plan in the U.S. costs ten time as much as that in the U.K.
2014 Nobel Prize in Physics — LED lights, seriously?
Apple is pushing Yosemite hard
List YouTube playlist with youtube-dl
vobcopy, dvdbackup, etc.
Google Drive — no selective subfolder sync?
Mou 1.0 fundraiser: goal reached
OneDrive goes unlimited
Convert Audio CD/DVD to ISO image on OS X
Disk visualizer: DaisyDisk
OS X package receipts
Charles Munger donated $65M to KITP
Ripping copy-protected DVD with mpv
Get rolling
Help Mou hit 1.0
Hello, Octopress!