Edit: This is resolved and nothing malicious is happening. See here for the GitHub issue update. The issue here appears to be the result of Safari pre-fetching DNS for Grafana’s forums, which are linked on the Grafana landing page and do use advertising scripts. I use AdGuard Home for DNS-based ad-blocking and recently noticed some suspicious looking traffic getting consistently blocked in my DNS query logs. Lots of outbound queries to fishy Russian and Greek ad servers (see the full list b...| Dan Snow
GitHub gist for source code Edit: It turns out there’s a much simpler way to do this. See the update below. I run a small Jellyfin server at home to watch movies and other media I’ve collected over the years. Recently, in order to debug some playback/networking issues, I wanted a way to answer the following questions via Prometheus and Grafana: What media is Jellyfin currently playing? Who is playing that media? How much bandwidth is the playback using? Basically, I wanted to make this gr...| Dan Snow
Recently, I’ve been working on a project that requires the element-wise comparison of many rows. The goal is to calculate a sort of similarity score between two tables. A simplified version of the data/problem looks like this: Table X IDV1V2V3V4V5 X193245 X291211 Table Y IDV1V2V3V4V5 Y193311 Y211111 Y399798 Each row of Table X is compared to each row of Table Y and the elements are replaced with a boolean. This happens element-wise, so X1, V1 is compared to Y1, V1, X1, V2 is compared to Y1,...| Dan Snow
Recently, I’ve been working on a project involving travel time matrices. These matrices are the output of specialized routing software and are used in social science research, urban planning, and policy analysis. They look like this: origindestinationminutes AA0 AB9 AC15 BA10 BB0 BC21 CA13 CC0 Where origin and destination are the identifiers of geographic points (usually Census geography centroids) and minutes is the travel time between the points. This is the “long” travel time matrix ...| Dan Snow
This is a list of my favorite digital things, excluding media. It’s basically a blogroll, /uses page, and bookmark dump combined into one. It’s purpose is three-fold: Make cool things discoverable for others Serve as a personal bookmark page for things I like Force me to be intentional about the things I use and read This list is constantly updated. When I find a cool new thing, I’ll add it. When I lose interest in something, I’ll remove it. The history of this page is tracked via git...| Dan Snow
I’ve been working as a data scientist in local government for around a year and a half now. Not long, but long enough to learn some things and update a few of my opinions. None of these lessons are specific to my organization or role. Friends in other agencies confirm they generalize well to most positions at the intersection of data and local government. I’m sharing these lessons with two goals: To help myself remember them and to keep a running log of what I’ve learned. To (hopefully)...| Dan Snow
GitHub gist for source code I’ve been on a bit of a transit kick this month. I read Human Transit (the blog and the book) and have been playing a lot of Mini Metro. I’ve also been playing around with GTFS feeds, which are a standardized data format for public transit systems. They provide schedules, stop locations, route shapes, and more. I wanted to see if I could take a GTFS feed and turn it into an animated map in the style of Mini Metro (I love its aesthetic). Turns out it’s actuall...| Dan Snow
I think I’ve made a personal website 3-4 times now. Each one sat on the internet dusty and unused. I made them out of a sense of obligation to have a site, not out of genuine interest in creating content. Well, now I finally feel like making some stuff and need a place to put it. So this site is my attempt at creating that space. It has five main purposes. It is: An outlet for rare creative impulses (photos, writing, or otherwise) A place to put coding projects and other technical work/thou...| Dan Snow
The blog, photos, and book reviews of Dan Snow| sno.ws
The blog, photos, and book reviews of Dan Snow| sno.ws