Submit: A Short Story

Written in collaboration with OpenAI text-davinci-003

My mind was blank, unable to consider what words to propose next. Unlike the GPT system in front of me, I did not have the boundless energy of entire data centers at my fingertips. I only had a colorful LED keyboard. I tried to convince myself that the probabalistic models that existed in the neurons of my brain were somehow different from GPT’s series of very large mathematical matrices but aside from the vulgarities of how neurons propagate signals through synapses with varying ambient amounts of neurotransmitters and retain information in a distributed way at each node of computation, I could not ascertain any conclusive reason why math could not keep up with or exceed my ability to put words on a screen. All that I could provide to this system was an input that constrained it into a particular part of the English language latent space and it would explore from that point in whatever direction it chose. I was just along for the ride until it stopped. I prepared myself to press the submit button with the provided parameters, realizing that I did not know what to expect given the words that I had written so far. Was I ready? Ready as I ever would be. I pressed the “Submit” button.

Read more

How Terraform Implicit Dependencies Work: A Toy Example

Have you ever wondered how Terraform Implicit Dependencies actually work in practice?

In today’s blog, I’m going to craft a toy example that demonstrates how I understand that they work using local_file resources and thus not requiring any cloud connection or even internet connectivity.

What do you mean by Implicit Dependencies?

You might be wondering, “Implicit Dependencies… are those like the stuff artists do to avoid getting a Parental Advisory: Explicit Content sticker on their albums?” Which, yeah, I guess it could be but I’m talking about Terraform here. In Terraform, every time that you run a terraform plan or terraform apply, the tool is internally building a directed acyclic graph that models the dependencies between resources in your configuration that you specify using HCL. The edges in this graph are the dependency relationships between your resources and they are typically inferred by Terraform without you explicitly specifying them. It is possible to specify these dependencies explicitly using the depends_on meta-argument but, as I will discuss in this post, that won’t necessarily do what you might expect.

Read more

Migrating to Zola

Another year; another static site generator. I’m really enjoying working with Rust so I’ve migrated this blog to Zola. After explaining why I’m switching, I’ll provide a brief walkthough of the steps I had to take.

Why Zola?

I was previously using Hexo for my blog, which is yet another static site generator in JS. It’s quite popular, but I don’t work very often with the NodeJS ecosystem so I found that every time I wanted to write a new blog post, I had to get aquainted with the latest updates to all the various dependencies – many of which had security issues. That was all quite a bit of effort for software that is only ever used in the build process to generate static HTML, CSS and JavaScript.

Read more