Glutton for Punishment

I’d like to think that I’ve come to appreciate things that make that life more straightforward at this point in my life. But then I make decisions that seem to prove the opposite. In particular, I’m referring to the new computer I bought back in December. My previous computer was on its last legs, so the need for a new one was clear. When Apple announced their new M1 Apple Silicon machines, I figured it was a chance to get something for the future.

Read more

Remapping My Brain

While the title may sound a bit sinister, it is technically happening, even as I type this. Our brains are remarkable things. Through the use of routine, we can develop what many people call muscle memory. Actions we can perform with little to no thought. Like signing your name, most people do this automatically. But if you wanted to change your signature, that would require conscious thought. You’d have to deliberately stop yourself each time and then make an effort to sign differently.

Read more

Movember

It has been a long time since I participated in Movember. The main reason being that I’ve had a beard for so long and wasn’t keen on shaving it. But given a recent encounter with prostate cancer within the family I thought it was about time. For those not familiar, Movember is an annual event to raise money and awareness for men’s health. People usually participate by growing or attempting to grow a mustache (or ‘mo’).

Read more

Error: main.ts is missing from the TypeScript compilation.

This is one of those blog posts where I want to provide a reference to my future self and anyone else who encounters this problem. The problem presents itself when trying to build (via ng build or ng serve) your Angular application and you see the following error. ERROR in ./src/main.ts Module build failed: Error: <path\to\>src\main.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the ‘files’ or ‘include’ property.

Read more

Yahtzee State Machine

So this is one part release announcement, one part tech fan boy rant. I’ve just released a new app/game. It isn’t an original, it is an implementation of the dice game Yahtzee. At the moment it doesn’t feature a computer opponent, it is designed to be played with two people on the same device. I may add a computer player at some point. In any case, you can check out the game at https://yahtzee.

Read more

Dice 6.0 Released

I don’t normally make posts when I release new versions of my various apps and tools, but since this app probably has the widest use, I figured I probably should to explain the changes. The app I’m referring to is my Dice PWA at https://dice.cbate.com There are three main changes. The first is that you no longer need to shift-click or press and hold the dice to lock them. Just click on them.

Read more

Cloudflare Workers

As a father of two young boys I don’t find myself with a lot of free time to work on personal projects and when I do have the time I rarely have the energy. So while I spend a fair bit of time learning about new tech I’d like to play with, finding time to do so isn’t easy. Even in a lockdown it seems. Or at least that was the case until this weekend.

Read more

Social Distancing

If you haven’t heard the term social distancing by now I’d be quite surprised, as it comes hand in hand with the current COVID-19 outbreak. People need to stay at home and avoid close contact with others. And from what I’ve seen online, a lot of people are having a hard time with that. For most people, human contact is important. They feel isolated at home without being able to go out.

Read more

Creating an iA Writer template on the iPad

Earlier I mentioned that I was going to try and create a custom preview for my blog articles. Well I did. It wasn’t particularly hard but it was a bit tedious since I wrote the template on the iPad itself. To start with I needed to grab a copy one of my rendered article pages. That proved to be tricky since Mobile Safari and other mainstream iOS browsers don’t let you view source.

Read more

Working with Shortcuts

More success in the blogging automation front. I spent some time playing around with the Shortcuts app which is now standard as part of iOS 13. If you haven’t played with it, I recommend checking it out. It is reminiscent of Automator on the Mac in that it allows you visually combine functional blocks linking inputs and outputs to create a script which you can trigger manually or based on some event.

Read more