Changelog v2026.7
New umbrella releases
2026-07-30Mango Exposure v2026.22026-07-30y2v2026.22026-07-27y2v2026.12026-07-27pyref.devv2026.1
New posts
2026-07-30Configure iTerm2's Smart Selection for Diff Paths2026-07-30my-pet-peeve-when-parent-urls-dont-work
Configure iTerm2's Smart Selection for Diff Paths
When working with diffs in the terminal, for example:
--- a/src/pyrefdev/mapping/pylabel.py
+++ b/src/pyrefdev/mapping/pylabel.py
I often need to copy the path of the file. But double-clicking the path selects a/src/pyrefdev/mapping/pylabel.py by default.
Luckily, you can configure iTerm2's Smart Selection with this regex to only select the path part:
(?<=[-+]{3} [ab]/)\S+
Here is a step-by-step guide:
- Go to
Settings > Profiles > Advanced > Smart Selection > Edit. - Click the
+button. - Set
Regular expressionto(?<=[-+]{3} [ab]/)\S+. - Set the precision to
Very Highso it wins over the built-in path rules.
Now a double-click selects just src/pyrefdev/mapping/pylabel.py.
my pet peeve: when parent URLs don't work
for example if your website has a page:
site.domain/path/to/this/page
these pages should always be valid too:
site.domain/path/to/thissite.domain/path/tosite.domain/path
Mango Exposure v2026.2
Mango Exposure v2026.2 is now available. This one is mostly about sensors.
NEW:
- A Release Notes screen in Settings, so the app can tell you what changed without you coming here.
- The 1 inch sensor, used by cameras like the Sony RX100 series and most drones.
- The 44x33 digital medium format sensor, used by the Fujifilm GFX and Hasselblad X series.
- The 53x40 digital medium format sensor, used by the Phase One IQ4 and Hasselblad H series.
CHANGED:
- The Four Thirds sensor is now labelled Four Thirds / Micro Four Thirds.
- The APS-C Sony/Nikon/Pentax sensor now mentions Fujifilm, which uses the same sensor size.
Happy photographing, whatever you shoot with ^_^
Changelog v2026.2
New umbrella releases
2026-02-21Added parent links on sub-node pages across the website.
New short posts
2026-02-20section-230
突然意识到, 我不用再为section 230焦虑了
Changelog v2026.1
New umbrella releases
2026-01-24Mango Exposure v2026.1
New posts
2026-01-04Sequoia National Park
New short posts
2026-01-04fastlane-rsync-issue
Mango Exposure v2026.1
After 4 months of deliberation, I have decided to adopt Liquid Glass in Mango Exposure v2026.1. Why? Because Apple told me to.
Anyway, happy photographing no matter where you are ^_^
Somehow my fastlane upload pipeline stopped working, due to shadowing the system rsync binary.
I would have never guessed this root cause.
Historically it would take me hours of debugging and head banging, but Opus 4.5 just did it under one minute by itself.
Found it! You have a Homebrew rsync (3.4.1) that's being used instead of Apple's built-in openrsync:
- which rsync → /Users/mango/tools/brew/bin/rsync (Homebrew 3.4.1)
- /usr/bin/rsync → Apple's openrsync (protocol 29)
Xcode's export process is mixing these two incompatible versions, causing the "syntax or usage error" when they try to communicate.
Sequoia National Park
In the afternoon before our spontaneous road trip to Sequoia National Park, I discovered a bulge on the front right tire. I immediately called my repair shop Menlo Atherton Auto Repair, and thanks to Anthony, we were able to depart before noon the next day. We stayed for two nights in Three Rivers, close to the south entrance.
The view at our AirBnb in Three Rivers
The first 20 miles entering the park are steep with numerous switchbacks. I drove much more slowly, but with frequent turnouts along the road, it was a pleasantly relaxing experience.
Landscapes in the Sequoia National Park
Snow appeared once we entered the Giant Forest. On a holiday during winter, the parking space near General Sherman are accessible spots only. So we took the shuttle service instead. It ran quite frequently. On the way back to Three Rivers, we saw a spectacular sunset.