Category Archives: Code & Craft

Hands-on practice: testing, debugging, builds, documentation and tooling.

Concurrent objects and SCOOP

Representing concurrency in an object-oriented system has been a long-standing problem. Encapsulating the concurrency primitives via objects and methods is easy enough, but doesn’t get us anywhere. We still end up composing our programs out of threads and mutexes and … Continue reading →

Posted in Code & Craft | Tagged | 1 Comment

More on UIAutomation tests

Update The information below is mostly redundant. After filing a bug report with Apple, their engineers determined that the Xcode-detected set of macro actions (find a text field, double click, enter text) weren’t working because the double click action wasn’t … Continue reading →

Posted in Code & Craft | Tagged | Leave a comment

given-when-then in XCTest

I started writing a new Mac app, and I started doing it by driving the implementation through Xcode UI Automation tests. But then it turned out I was driving the test infrastructure as much as the tests, and it’s that … Continue reading →

Posted in Code & Craft | Tagged , | 3 Comments

The hardest thing

I now have the make the hardest decision in programming. It has nothing to do with naming things or invalidating caches: rather it is which *nix to install on a computer. NextBSD and MidnightBSD both have goals that are relevant … Continue reading →

Posted in Code & Craft | Tagged | Leave a comment

On null

I’ve had an interesting conversation on the topic of null over the last few days, spurred by the logical disaster of null. I disagreed with the statement in the post that: Logically-speaking, there is no such thing as Null This … Continue reading →

Posted in Code & Craft | Tagged | Leave a comment

Subatomic Chocolate

This started out as a toot thread, but “threaded tooting is tedious for everybody involved” so here’s the single post that thread should have been. The “Electron vs. native” debate doesn’t make much sense. I feel like I’ve been here … Continue reading →

Posted in Code & Craft | Tagged | Leave a comment

To become a beginner, first become an expert

We have a whole load of practices in programming that only really work well if you’re already good at whatever the process is supposed to help with. Scrum is a process improvement framework, but only if you already know how … Continue reading →

Posted in Code & Craft | 2 Comments

MUI

In my last post I talked about investigating AROS, the modern, open source[*] implementation of the Amiga Operating System. Today I’ve spent some more time on that study, and found some things: my strategy last time was to read the … Continue reading →

Posted in Code & Craft | Tagged , , | Leave a comment

AROS

I spent the weekend teaching myself some Amiga GUI (Intuition) programming using AROS via the Icaros Desktop distribution, their developer guides, and the Amiga developer CD. It’s a nice enough system to program in that works like most other GUI … Continue reading →

Posted in Code & Craft | Tagged , | 1 Comment

Computing’s fundamental Principle of No Learning

I haven’t used Taligent’s frameworks or operating systems directly; what I know of it comes from their documentation and the book Inside Taligent Technology. I put some small effort into finding out whether it’s possible to use the Taligent system … Continue reading →

Posted in Code & Craft | Tagged , , | Leave a comment