Random Notes

Viewing posts for 2021.

Security Through Adversity?

When we recently moved to a new home, I had to get a lawnmower. Having experience with petrol powered ones, I knew I wanted an electric powered mower. It has worked well and I enjoy not having to smell exhaust fumes. But the Makita designers have made an odd design choice.

Read more…

The Trouble with `

The grave accent, or more commonly in programmer circles, the backtick. A tiny character with so many uses. With the advent of computers, it has diversified its traditional role as an àccent with new purposes. It marks code in Markdown and Markdown-ish syntaxes. It delimits template literals in JavaScript. It executes code in shells and PHP. And it drives me up the wall.

Read more…

5 Years of Code::Stats

Five years ago, I was using a web service called Codeivate to track my programming habits. After some on–off, it finally went offline in the spring of 2016. So, during my company’s next hacking event, I started a new project to replace the missing service. That project became Code::Stats. Now, five years later, it’s still running and I’m still focused on improving it. I’m quite proud of what it has become, so here are some updated numbers from the database.

Read more…

Simple Configuration Setup for Elixir Projects (v1.11+)

I’ve written about Elixir configuration in an earlier post, describing the differences in the configuration styles. If you don’t know how Elixir configuration works, I suggest reading it also. In this post, I will demonstrate a system for configuring an Elixir project using the config/runtime.exs system introduced in Elixir 1.11. This system is how I configure my projects, so feel free take it as inspiration, but it’s not a law that you have to follow.

Read more…