Category: Uncategorized
-
BJ’s 2024 Election Guide (Utah)
It’s election time. Some years, I have sent out an email explaining some of the issues that were on the ballot. I’ve had people ask about my thoughts again this year. So, I figured I’d put my thoughts on the web. It’s easier to share them there. Voting can be overwhelming, and I want to…
-
Why I’m Voting Kamala Harris
Some people have asked me why I’m supporting Harris over Trump. I’m happy to answer. Immigration Our immigration system is seriously broken. We need more border workers to handle the volume of people seeking to enter the U.S. We need better technology to secure the border. We need better laws that make it possible for…
-
Whose Lives Matter?
In 1838, Missouri governor Lilburn Boggs issued the “Extermination Order” in response to rising tensions between incoming Mormon settlers and local residents. It read, in part: The Mormons must be treated as enemies, and must be exterminated or driven from the state if necessary for the public peace. The order authorized violent force in removing Mormons…
-
How to get Civilization 6 turn notifications on your iPhone
The Feb 2019 update to Civilization VI added support for multiplayer “Play by Cloud” games. These are long-running asynchronous games where the save file lives on the cloud and everyone take their turn when it comes up. It’s useful to be notified when it’s your turn to keep the game moving. Steam has desktop notifications…
-
Paid Upgrades in the App Store
App developers are increasingly turning to subscriptions to build a sustainable business model. This is understandable; the economics of a one-time-purchase business model favor short-lived apps and games, but building a high-quality app requires ongoing revenue. However, many consumers are feeling “subscription fatigue”. Each subscription may seem reasonable on its own, but subscriptions add up…
-
A U.S. analogy of the Brexit situation
Confused about the “Brexit” situation? Here’s how it might go down if the United States were actually the United Kingdom. The Tea Party hates being part of the European Union because they have to pay a bunch of money, the EU gets to make some laws that affect the US, and immigrants can come in…
-
Swift Protocols constrained to a specific class
Update: As of Swift 4, this is supported natively. Just do this: That’s it! Objective-C developers learning Swift often wonder how to represent something like UIViewController. The simple answer is that there’s currently no way to directly represent that construct in Swift as of Swift 2.2. However, it’s possible to work around it fairly easily…
-
Thoughts on WWDC 2015
In my mind, these are biggest developer-facing announcements to come out of WWDC 2015: iPad Multitasking UI Testing and Code Coverage in Xcode 7 Swift 2 Swift as an Open-Source language App Thinning Watch OS 2.0 with on-device apps CloudKit Web Services Free iOS provisioning Note that these aren’t changes in the SDK itself. Developers…
-
Defining Modules for Static Libraries
Preview: I figured out how to define modules for static libraries, so you can import them into Swift or into other module-defining frameworks. This solves a common build error: “include of non-modular header inside framework module“, as it allows you to turn that non-modular header into a modular one. You just have to define a…
-
Mutable collections in Swift
I recently came across this question on Twitter: Hey #swiftlang peeps: How do you create an var that holds an immutable Array? As in a var that you can assign different immutable Arrays to?— Mike R. Manzano (@bffmike) October 17, 2014 This is an interesting question. As a developer coming from Objective-C and the Cocoa…