RSSAmplifier

Blog

questionable services

Technical writings about computing infrastructure, HTTP & security.

blog.questionable.servicesRSS feed ↗10 posts

Latest posts

A Guide To Writing Logging Middleware in Go

This is an opinionated guide on how to write extensible logging middleware for Go web services.

Admission Control: A helpful micro-framework for Kubernetes

Admission Control (GitHub) is a micro-framework written in Go for building and deploying dynamic admission controllers for your Kubernetes clusters. It reduces the boilerplate needed to inspect, validate and/or reject the admission of objects to your cluster, allowing you to focus on writing the specific business logic you want to enforce.

Building Go Projects on CircleCI

Updated September 2020: Now incorporates the matrix functionality supported in CircleCI.

Connecting to a Coral TPU Dev Board with Windows

The Coral Dev Board is a TPU-enabled development board for testing out machine learning models with a requirement for near-real-time inference. For instance, image classification or object detection on video feeds, where a CPU would struggle to keep up.

Updating Kubernetes Deployments on a ConfigMap Change

Update (June 2019): kubectl v1.15 now provides a rollout restart sub-command that allows you to restart Pods in a Deployment - taking into account your surge/unavailability config - and thus have them pick up changes to a referenced ConfigMap, Secret or similar. It’s worth noting that you can use this with clusters older than v1.15, as it’s implemented in the client. Example usage: kubectl rollout…

Accidentally From macOS to Windows and WSL

Update (June 2019): Much of this post remains true, and is still relevant ~six months later (slow IO perf, WSL feeling like a shim), but there are some major improvements just around the corner. Specifically, with WSL2 moving to a VM-based architecture, a lot of the perf woes are scheduled to disappear. With VS Code’s Remote extension, the “two halves of the same system” problem - where you have…

Diving Into FiveThirtyEight’s “Russian Troll Tweets” Dataset with BigQuery

FiveThityEight recently released a dataset of what is believed to be ~3 million tweets associated with “Russian trolls”. These tweets are designed to spread misinformation (let’s not mince words: lies), and ultimately influence voters. If you haven’t read the linked article, I highly suggest you do that before continuing on. Exploring a ~700MB+ CSV file isn’t hugely practical (it’s since been…

From Firestore to BigQuery with Firebase Functions

In building my sentiment analysis service, I needed a way to get data into BigQuery + Data Studio so I could analyze trends against pricing data. My service (on App Engine) uses Firestore as its primary data store as an append-only log of all analysis runs to date.

Windows Subsystem for Linux w/ zsh, tmux & Docker

I recently put together a Windows machine for gaming, and although I still do most of my development on macOS due to a great third-party ecosystem, BSD underpinnings & better programming language support, I decided to see what development life was like on Windows in 2018.

Automatically Build Go Binaries via TravisCI & GitHub

Update: I’ve updated the travis.yml config to reflect Go 1.11.