10 Practical ML Use Cases in Observability
Malloy seems petty cool…
I discovered Malloy recently in this great talk, it seems like a really interesting idea (a higher level abstraction or DSL on top of sql) with some great people behind it (looker founder who seems to really know his stuff). So I decided to try get going with it in as minimal a way as … Continue reading Malloy seems petty cool…
Painless Anomaly Detection with Apache Airflow
Data observability is so hot right now...but do you know what's also hot? Using some tried and tested ingredients like Apache Airflow and PyOD to perform painless anomaly detection on your key business metrics. You don't need to run off and buy an (expensive!) subscription for the latest hot data observability Sass offering (there is … Continue reading Painless Anomaly Detection with Apache Airflow
Stripe Webhook + GCP Functions Framework (Python)
This took a couple of days of messing around so decided to make a post out of it. Here is a minimal enough example repo using Terraform and GCP Functions Framework to build a GCP Python function that will receive a Stripe webhook event, perform signature verification, and then just print the event. You can … Continue reading Stripe Webhook + GCP Functions Framework (Python)
Colab to just run some curl
Here is a little google colab notebook to just paste in some curl command and get the response back into a json dictionary. This can be handy when working with backend and frontend engineers who might be using a different language than you and just send you some curl commands that you want to explore … Continue reading Colab to just run some curl
Some sort-of livecoding
Explaining kmeans clustering for unsupervised anomaly detection
Here is a video I did in work explaining how our anomaly detection works. https://www.youtube.com/watch?v=L1xleckyuDQ https://www.netdata.cloud/blog/how-netdatas-machine-learning-works
Hugging Face Text Classification Quickstart
I have been working a bit lately with some text classification stuff using Hugging Face - its great n all but their docs can actually be a bit overwhelming. So here is a minimal text classification example, using huggingface and either pytorch or tensorflow (you decide). Will try to update and maintain the colab here: … Continue reading Hugging Face Text Classification Quickstart
Airflow “Trigger Dags” Python Script
You have some dag that runs multiple times a day but you need to do a manual backfill of last 30 days. It's 2022 and this is still surprisingly painful with Airflow. The "new" REST API helps and mean's all the building blocks are there but, as I found out today, there can often still … Continue reading Airflow “Trigger Dags” Python Script