Blog

Moving Back to WordPress

It’s been some time since this blog ran on WordPress. I can’t remember when exactly, but some time ago I moved this blog to Medium for the convenience of not having to manage a site and the free exposure offered by Medium’s network. However, these days hosting your own content is in vogue again and…

2018 Year in Review

As has been my custom for the past eight years, I like to spend a bit of time at the end of the year reflecting on the year that has been, looking ahead to the year that is to come, and noting down these reflections for posterity. Professionally Since selling my WordPress business at the…

Coming Around to Utility First CSS

This week I’ve been playing with Tailwind, which is a “Utility-First CSS Framework for Rapid UI Development”. At first I was skeptical of the benefits of “utility-first” CSS but I’m pleased to say that after using Bootstrap 4 for a while (which contains some utility classes) and Tailwind for a week I’m convinced that utility-first…

Custom Validation Attributes in Laravel

Recently, I was working on some Laravel validation that used the array syntax to validate fields. For example: However, in this case the error message that is returned looks like this: Not ideal. The Laravel docs cover how to customize the error messages for rules but not for the attribute names themselves. It turns out…

Moving Away from Medium

For some time now my blog has been hosted on Medium. I liked Medium for several reasons: I didn’t have to worry about things like maintaining a server or software updates. The editor made the writing experience really nice. Built it social aggregation meant I got more eyes on my content. However, as time has…

2017 Year In Review

As has been my tradition for the last seven years now I like to spend a bit of time at the end of the year reflecting on the year that has been and looking ahead to the year that is ahead, and note down some of these reflections for posterity. Professionally In many ways 2017…

One week with my Google Pixel 2

Last week I traded my iPhone for a Google Pixel 2, after nine years of being a faithful iPhone fan. In the article I explained my reasons for wanting to switch away from Apple to Google. As it turns out, quite a few people have found themselves in the similar position of considering switching away…

My problems with utility-first CSS

If you’ve not already read it yet, you should read Adam Wathan’s article on how he reached the conclusion that using utility classes was the best way to build consistent components in CSS. As I read the article I followed his conclusions and agreed with his justifications. It sounded like a very reasonable solution. However,…