I’ve written a lot of things—all can be found on my github—however these are the ones that are of particular interest, or that I’m particularly proud of.
- What? A Twitter bot that tweets prime numbers, sequentially
- Where? twitter.com/_primes_
- Why? Art?
I wrote primes when thinking of twitter-as-database, but where it landed
isn’t exactly that. Still; the bot itself is completely stateless; it only
knows where it left off by retrieving its last tweeted prime number from
Twitter. To start it, I manually tweeted
2 from the website, and started the
Since then, it’s amassed over 8,000 followers. Neat.
- What? A developer’s tool for writing fake/mock services
- Where? github.com/urbanairship/frock
- Why? Development environments can be painful; let’s make them easier
frock is one of the most useful things I’ve ever written. Urban Airship is a microservice architecture, and the product I work on has the distinction of needing to talk to the most services. frock was written to keep my team’s development environment sane. Born out of previous tools that handled only small aspects of our requirements, I set out to design a plugin-based tool that was painless to write new fakes/mocks with, with generic plugins for common needs.
It’s been a great help to my team, and I hope others find it useful.
- What? A DNS server for your local network which uses Google’s DNS-over-HTTPS for lookups, masking DNS queries from your ISP
- Where? github.com/fardog/secureoperator
- Why? DNS is not a secure protocol, this is one possible solution to the problem
secure-operator is a DNS proxy server. What makes it different from usual DNS proxies is that it performs all its DNS lookups over HTTPS, meaning they cannot be snooped on by parties outside your local network. This is great if you don’t like the idea of your ISP tracking the websites you visit.
I mention it’s one possible solution to the problem, others exist but suffer from a different issue: unreliable servers, and not necesarily in the “uptime” sense. You don’t really know who’s running these other services either, so why not trust Google?
secure-operator has been well received, made the rounds on a number of Golang newsletters, and has been running reliably in my home for months. The number of downloads it receives indicate it might be working well for others too.