Misnomers in the Docs on Swift Parameters
[I filed this as Radar #31462992. I might be overthinking things — this is a little like quibbling over whether something's a metaphor or a simile — but word choices matter to me. You should see how I...
View ArticleQuick Thoughts on the Apple Glucose Monitor Rumors
Last year when I switched to a low-carb diet I wished I had something like Instruments for my body, where I could observe changes in various parameters throughout the day. Later I learned that's...
View ArticlePairing in Judo and in Programming
These kids are practicing tomoe nage, one of the many judo techniques I never got the hang of: [Facebook post by Miki Simoyama] Watching this, I realized there's a relevance here to my life as a...
View ArticleWorkarounds for Font Glitches in BBEdit 12.0.1
[UPDATE: Wow, Rich Siegel of Bare Bones replied to my email within a few hours — on Thanksgiving morning! See the updates below.] Issues in BBEdit 12.0.1: If I change the default font using BBEdit >...
View ArticleEnjoying Another Advent of Code
On his blog, Karthik Balakrishnan wrote: My interest in competitive programming dwindled pretty quickly and eventually I stopped doing it all together. Until I discovered Advent of Code. The whole...
View ArticleUsing Xcode for Advent of Code 2017
This year I'm using Swift as much as I can for Advent of Code. After fiddling with a few different coding environments, I settled on Xcode. I have a "Command Line Tool" project that I reset everyday to...
View ArticleWhom
I've known for a long time that who am i prints info about the current user. Today I learned it's synonymous with who -m, though not synonymous with whoami. I also learned that the two words after the...
View ArticleXcode Docs Navigator
[The following is basically a transcription of a series of tweets.] I have my wishes and druthers regarding the Xcode docs, but the Navigator pane in the docs window is pretty nice. Sometimes I want to...
View ArticleQuick Notes on Printing from AppKit
Recently, while writing a quick Mac app for personal use, I had to refresh my memory on the basics of printing from AppKit. Here, for my future self who will surely have forgotten again, are the basic...
View ArticleForcing Single-Sided Printing with AppKit
I've been hand-writing GOTV postcards for two organizations1, and I decided to write a quick app to print address labels for one of them. (The other requires hand-written addresses.) It's been a long...
View Article