Oops. I seem to have missed posting this weekend past. I was helping a friend celebrate his 40th birthday on Saturday. It’s safe to say that Sunday was pretty much a write-off.

I’m trying to learn to deal with setbacks as temporary and not a complete failure that warrants just giving up.

Reading matter

I tend to go through sporadic periods of reading and then long spells of not really reading anything at all. These days getting engrossed in a good story is even more rare; my reading is almost entirely non-fiction and in non-dead-tree form.

Essays on theory and general techniques notwithstanding, by the time a development book is printed it’s almost guaranteed to be out-of-date. I’m enjoying this current spell of diving into new topics but my study isn’t all that structured at the moment, jumping around between articles and tutorials online.

Learning by doing

This evening I went along to the Edinburgh instalment of the Docker Global Mentor Week. I wasn’t really sure what to expect but there was a good range of tutorials for both the beginner and the intermediate level.

I spent a couple of hours exploring some new (to me) functionality for deploying and scaling Docker images in production environments. I’ll hopefully get a chance to put some of this knowledge into practice sooner rather than later.

Size matters

During my experiments will building my own Docker images I have become somewhat preoccupied with getting my images as small as possible. Naturally I’m using Alpine as a starting base image but I recently started wondering what could be shed from even this, almost heading toward a Unikernel approach. Not only would these be tiny — and therefore incredibly fast — but also far more secure due to a much reduced attack surface.

After I started doing some research, I happened across a blog post that outlines the process of stripping back a container to its smallest possible image.

My own tinkering continues.

Learning from communities

Edinburgh has a raft of user groups — technology-related and otherwise. I usually attend the monthly PHP group, have dipped into EdinburghJS several times and this coming Thursday I’ll be going along to the Docker meetup.

The PHP talk this evening concerned the PHP FIG which I’d kind of put out of my mind after the meltdown back in May. It seems rumours of their demise had been greatly exaggerated.

Back at the Scotland PHP Conference, Jessica Rose presented on the topic of tech communities. One pearl was the Ruby community mantra:

“Matz is nice so we are nice”

From what I’ve seen of the latest raft of popular languages, Rust and Elixir have great supportive communities. There is no combativeness but frequent support, encouragement, understanding and learning. When challenged, their response is one of explanation. For example, “Here are the reasons behind this design decision, please tell us what we could do better.” and, if that fails to resolve any conflict, “If this isn’t clear then we have a problem with our documentation”.

PHP is often the target of derision — at times with good reason — but to see this kind of maturity among developers is very refreshing.