Posts
Wednesday, December 21, 2022
I just added a humans.txt file to this site.
I learned about this idea a few weeks back and really liked it! It’s simple, it’s plaintext, and it spits in the face of the subtext of robots.txt being “the internet is for robots (and not for humans).”
You can read more about it here.
Implementation Details Initially, I tried to “just” make a Page at the top-level of my content (similar to how my about page) is generated, but have hugo produce a text file instead of HTML.
Tuesday, April 26, 2022
For the last few years, I have been working on a project within Vitess called VTAdmin1. It’s an operator-friendly API and UI replacement for the older vtcltd UI control panel. In order to function, it needs to make gRPC requests to both vtctld and vtgate components in one (or more!) Vitess deployments.
To connect to vtgate and vtctld components, VTAdmin relies on a Discovery abstraction, which defines an interface for fetching lists of VTGate and Vtctld addresses:
Monday, March 13, 2017
Disclaimer First things first, I need to tell you something. For most use cases, the following is going to be unnecessary. If all you want is a blog with the green padlock, maybe with a custom domain, and you’re not a masochist, this post is likely useless to you. GitHub pages gives you HTTPS for free. Spend your time reading something more valuable.
Initial Setup However, I am a masochist. Or, maybe I’m thinking ahead to future use cases.
Sunday, June 12, 2016
About a month ago, I sat down to write a Haskell implementation of Conway’s Game of Life.
Taking a literate programming approach, let’s walk through my solution.
First things first, let’s make a Cell type:
1 type Cell = Bool This is nothing more than a simple type alias. The Bool type is a natural way to represent the cell, with live cells being True and dead cells being False.
Saturday, April 18, 2015
I spent the better part of tonight trying to debug getting Travis-CI set up on a repository I’m working on, so I thought I’d write up what the problem was, and hopefully that may eventually help someone else not go through the same headaches.
This gist was the original error I was trying to debug. See line 503 of log.txt for the postgres error.
Before I begin explaining the problem, the fix is to change the Gemfile: