Serializing SwiftUI Color

There are plenty of resources out there that will tell you how to make SwiftUI’s Color conform to the Codable protocol. They all boil down to creating a UIColor (when you’re running on iOS) or NSColor (when you’re running on macOS) and then grabbing the color components from there, because SwiftUI is helpful by notContinue reading “Serializing SwiftUI Color”

Open Letter to the FSF

I have been professionally active in software development for 27 years and I have used and even contributed to Free Software.  While Richard Stallman has played a critical role in the development of Free Software, he has also contributed to a toxic atmosphere of male entitlement – a sense that rules only apply to otherContinue reading “Open Letter to the FSF”

How to Make a Library with Xcode

A few months ago, I asked a question on Hacking with Swift about how to extract code from an existing project into a library. This is a thing that, over the course of many years of developing Java applications, I find myself doing often. I solve a problem for one project, then get to anotherContinue reading “How to Make a Library with Xcode”

A New Project

For the past several months, I’ve been following along with Paul Hudson‘s quite excellent series of tutorials. The focus of this series is to develop a portfolio application, demonstrating knowledge of iOS and SwiftUI, as well as good development practices (testing, architecture, etc.). At first, there were a couple of videos per week, but itContinue reading “A New Project”

Programmer’s Notebook – Ruby

I’ve been using MacOS as my desktop and development environment for the past 19 years. Whenever I got a new laptop, I’d use the migration assistant to copy my user settings over. So, I’ve got a lot of cruft in my home directory. Over that time I mostly did Java programming. But, there’s also beenContinue reading “Programmer’s Notebook – Ruby”

Release!

Stumpy is ready for use, for anyone who wants to use it. If you’re working on an application that sends email and you’d like to test that feature, you may find this useful. In other news, searching for “pop3 client library” leads me to believe that every developer for macOS thinks that Apple Mail isContinue reading “Release!”

Stumpy Progress

With a bit of persistence and lots of print statements, I’ve debugged my port of the core dumbster features over to Swift. Stumpy now works as a native replacement for dumbster. It turned out there was a capitalization mismatch (my code was looking for ‘Message-ID’ while Mail was writing ‘Message-Id’) and a counting error (headersContinue reading “Stumpy Progress”

Stumpy: History and Problem Statement

When we were first writing the software for LinkedIn, Jean-Luc put together a python script that would act like a dummy MTA and mail store. The point was that the application was going to be sending out emails of various kinds, notably invitations to connect, and we needed to be able to write tests thatContinue reading “Stumpy: History and Problem Statement”