Graham Brooks Photo

Hello! This is the website for Graham Brooks: architect, developer and sometime blogger.

Disclaimer: This is a personal weblog. The opinions expressed here represent my own and not those of my employer (LexisNexis).My thoughts and opinions change over time as I learn. This weblog is intended to provide a semi-permanent record of these thoughts and is for informational purposes only.

User-defined build settings for Bazel builds

User-defined build settings for Bazel builds

Adding your own custom command line arguments to your Bazel build for a cleaner interface.

Text fingerprints

Text fingerprints

Creating text and document fingerprints that can be used to find similar documents or group text by similarity.

Installing built binaries locally with Bazel

Installing built binaries locally with Bazel

Building and installing locally with Bazel. A simple rule example.

Go and Bazel to build containers

Go and Bazel to build containers

Working with go projects using Bazel. Builing in and out of a container.

Technical Health over Technical Debt

Prefer technical health over technical debt as a metaphor for developer practice changes for better code.

Of Languages And Containers

Run production on a workstation or embrace a new way of working…​

Orchestration And Choreography

Orchestration and Choreography are often confused. This is how I think of them.

Quantifying Commit Risk

All change carries an element of risk but not all changes are equal.

The path to a million (loc)

How do projects get to a million lines of code.

Builder anti-patterns

The Builder pattern has become very popular over the last few years but there is a growning tendency to use it everywhere. Here are some of the problems and alternatives that you might find a better fit.

Commit History Metrics

What can your commit history tell you about the health of your project?

Defending the Domain Model

Keeping a domain model is hard. Implementing a anti-corruption layer with the right separation of concerns can help.

Testing Logging

Logging - one of the most crucial aspects of any system. But how well is your logging tested?

Templated styles

A clean/DRY way to style content based on model data

Emacs es-mode - REPL experiences for ElasticSearch development

I don’t usually write reviews but I was so deleted by es-mode for emacs that I felt compelled to share. If you have worked with REST APIs and ElasticSearch in particular you probably have had similar experiences of using something to develop queries. Coding in one of the client libraries does not provide the interactive experience you need to develop quickly and it often becomes a frustrating exercise. es-mode takes away a lot of that pain.

comments powered by Disqus