From 817587d35c5d1ee589973d46226b89124149bcc0 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Mon, 20 May 2024 11:57:37 -0700 Subject: [PATCH] chore: image quality --- package-lock.json | 4 ++-- package.json | 2 +- src/_includes/partials/media/grid.liquid | 4 ++-- .../partials/media/music/period/grid.liquid | 2 +- .../partials/media/music/tracks/recent.liquid | 2 +- .../media/watching/favorites-grid.liquid | 2 +- .../partials/media/watching/hero.liquid | 2 +- src/_includes/partials/widgets/badge-grid.liquid | 16 ++++++++-------- src/_includes/webrings/the-claw.liquid | 2 +- src/pages/errors/404.html | 2 +- src/pages/main/books/index.html | 2 +- ...ening-data-from-apple-music-using-musickit.md | 2 +- ...-email-with-regex-filters-now-with-chatgpt.md | 2 +- ...m-ics-to-json-surfacing-anticipated-albums.md | 2 +- .../now-page-grouping-episodes-of-same-show.md | 2 +- ...ying-eleventy-netlify-edge-functions-emoji.md | 2 +- .../optimizing-for-performance-with-eleventy.md | 2 +- .../2023/road-to-madness-apple-music-charts.md | 2 +- .../2024/adventures-in-self-hosting-data.md | 2 +- ...x-webhooks-edge-functions-and-blob-storage.md | 2 +- ...h-b2-netlify-image-cdn-hazel-mountain-duck.md | 2 +- ...g-my-self-hosted-scrobbling-implementation.md | 2 +- src/posts/2024/on-getting-tattooed.md | 2 +- src/posts/2024/what-song-is-in-your-head.md | 2 +- 24 files changed, 33 insertions(+), 33 deletions(-) diff --git a/package-lock.json b/package-lock.json index bd75c730..d8c5e114 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "16.4.1", + "version": "16.4.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "16.4.1", + "version": "16.4.2", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.2.2", diff --git a/package.json b/package.json index a2977407..5f8bbf17 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "16.4.1", + "version": "16.4.2", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/_includes/partials/media/grid.liquid b/src/_includes/partials/media/grid.liquid index 528c07ed..2ed2c3b5 100644 --- a/src/_includes/partials/media/grid.liquid +++ b/src/_includes/partials/media/grid.liquid @@ -19,9 +19,9 @@ {%- if loading -%}{{ loading }}{%- else -%}lazy{%- endif -%} {%- endcapture -%} {% if shape == 'square' %} - + {% else %} - + {% endif %} diff --git a/src/_includes/partials/media/music/period/grid.liquid b/src/_includes/partials/media/music/period/grid.liquid index 7911c73a..abdc0d87 100644 --- a/src/_includes/partials/media/music/period/grid.liquid +++ b/src/_includes/partials/media/music/period/grid.liquid @@ -8,7 +8,7 @@
{{ item.title }}
{{ item.plays }} plays
- + {% endfor %} diff --git a/src/_includes/partials/media/music/tracks/recent.liquid b/src/_includes/partials/media/music/tracks/recent.liquid index 86f126b0..919cf86e 100644 --- a/src/_includes/partials/media/music/tracks/recent.liquid +++ b/src/_includes/partials/media/music/tracks/recent.liquid @@ -4,7 +4,7 @@ {% capture alt %}{{ item.title | escape }} by {{ item.artist }}{% endcapture %}
- {{ alt }} + {{ alt }}
{{ item.title }} diff --git a/src/_includes/partials/media/watching/favorites-grid.liquid b/src/_includes/partials/media/watching/favorites-grid.liquid index 4d62e5c2..9d59cfbf 100644 --- a/src/_includes/partials/media/watching/favorites-grid.liquid +++ b/src/_includes/partials/media/watching/favorites-grid.liquid @@ -15,7 +15,7 @@ {%- capture loadingStrategy -%} {%- if loading -%}{{ loading }}{%- else -%}lazy{%- endif -%} {%- endcapture -%} - {{ alt }} + {{ alt }}
{% endfor %} diff --git a/src/_includes/partials/media/watching/hero.liquid b/src/_includes/partials/media/watching/hero.liquid index a338435f..e4477a34 100644 --- a/src/_includes/partials/media/watching/hero.liquid +++ b/src/_includes/partials/media/watching/hero.liquid @@ -5,6 +5,6 @@
{{ movie.title }} ({{ movie.year }})
Last watched @ {{ movie.dateAdded | date: "%B %e, %Y" }}
- {{ alt }} + {{ alt }}
\ No newline at end of file diff --git a/src/_includes/partials/widgets/badge-grid.liquid b/src/_includes/partials/widgets/badge-grid.liquid index 94011277..eff12b0c 100644 --- a/src/_includes/partials/widgets/badge-grid.liquid +++ b/src/_includes/partials/widgets/badge-grid.liquid @@ -1,26 +1,26 @@ diff --git a/src/_includes/webrings/the-claw.liquid b/src/_includes/webrings/the-claw.liquid index 3d47efac..fe900d99 100644 --- a/src/_includes/webrings/the-claw.liquid +++ b/src/_includes/webrings/the-claw.liquid @@ -1,6 +1,6 @@
- The Claw Webring + The Claw Webring

The Claw Webring

diff --git a/src/pages/errors/404.html b/src/pages/errors/404.html index be3858a6..bf2529a8 100644 --- a/src/pages/errors/404.html +++ b/src/pages/errors/404.html @@ -5,7 +5,7 @@ permalink: /404.html image: /assets/img/404.jpg ---
- {{ alt }} + {{ alt }}
What kind of idiots do you have working here? Hurry up and skip out on the room service bill! diff --git a/src/pages/main/books/index.html b/src/pages/main/books/index.html index 2e7c99fb..ffbab24f 100644 --- a/src/pages/main/books/index.html +++ b/src/pages/main/books/index.html @@ -17,7 +17,7 @@ schema: books {% capture alt %}{{ book.title }} by {{ book.authors }}{% endcapture %}
- {{ alt }} + {{ alt }}
diff --git a/src/posts/2023/displaying-listening-data-from-apple-music-using-musickit.md b/src/posts/2023/displaying-listening-data-from-apple-music-using-musickit.md index 6c6b944e..e1b7e7d0 100644 --- a/src/posts/2023/displaying-listening-data-from-apple-music-using-musickit.md +++ b/src/posts/2023/displaying-listening-data-from-apple-music-using-musickit.md @@ -203,7 +203,7 @@ The templating for my site is all written in [liquid.js](https://liquidjs.com) a We have an object containing arrays of objects — we iterate through each object for the appropriate section (tracks aren't displayed at the moment) and build the resulting display[^3]. This isn't perfect by any means, but, it does provide a nice little visualization of what I'm listening to and `240` tracks feels adequate as a rolling window into that activity. -Albums and artists +Albums and artists [^1]: There are some good options to do this, but there aren't a _ton_ and the age of some of the apps is concerning. [Marvis](https://appaddy.wixsite.com/marvis) is far and away your best choice here. [^2]: Making sure that you update the values you obtained, including the path to your downloaded `.p8` file. diff --git a/src/posts/2023/fastmail-handling-inbound-email-with-regex-filters-now-with-chatgpt.md b/src/posts/2023/fastmail-handling-inbound-email-with-regex-filters-now-with-chatgpt.md index fb71015f..5eb5a714 100644 --- a/src/posts/2023/fastmail-handling-inbound-email-with-regex-filters-now-with-chatgpt.md +++ b/src/posts/2023/fastmail-handling-inbound-email-with-regex-filters-now-with-chatgpt.md @@ -9,7 +9,7 @@ I've been using Fastmail for years now and have explored a number of different a For now, I've approached filtering my mail by applying regular expressions to reasonably broad categories of incoming mail[^2]. My thinking with this approach is that will scale better over the long term by applying heuristics to common phrases and patterns in incoming mail without the need to apply rules to senders on a per address or domain basis. -A diagram of my Fastmail workflow +A diagram of my Fastmail workflow ## Alias-specific rules diff --git a/src/posts/2023/from-ics-to-json-surfacing-anticipated-albums.md b/src/posts/2023/from-ics-to-json-surfacing-anticipated-albums.md index 00c9a959..66098091 100644 --- a/src/posts/2023/from-ics-to-json-surfacing-anticipated-albums.md +++ b/src/posts/2023/from-ics-to-json-surfacing-anticipated-albums.md @@ -66,6 +66,6 @@ Rendering the output is as simple as: Leaving us with: -Albums I'm looking forward to +Albums I'm looking forward to [^1]: At this point, a dev playground. diff --git a/src/posts/2023/now-page-grouping-episodes-of-same-show.md b/src/posts/2023/now-page-grouping-episodes-of-same-show.md index c8f3ed55..e588e734 100644 --- a/src/posts/2023/now-page-grouping-episodes-of-same-show.md +++ b/src/posts/2023/now-page-grouping-episodes-of-same-show.md @@ -12,7 +12,7 @@ I made a minor update to how I'm normalizing TV data for display on my now page. By _minor_ I mean one of those things that may well break inexplicably depending on where the data lands. Instead of returning a normalized array based directly off the data returned by [Trakt](https://trakt.tv)'s API I'm instead collecting episodes in an array, checking as I iterate through the response to see if an episode of the same show exists and replacing that object with a mutated object designed to display the range of episodes watched for the show. -Grouped TV episodes +Grouped TV episodes {% raw %} diff --git a/src/posts/2023/now-playing-eleventy-netlify-edge-functions-emoji.md b/src/posts/2023/now-playing-eleventy-netlify-edge-functions-emoji.md index 02384d42..a3c2424a 100644 --- a/src/posts/2023/now-playing-eleventy-netlify-edge-functions-emoji.md +++ b/src/posts/2023/now-playing-eleventy-netlify-edge-functions-emoji.md @@ -168,6 +168,6 @@ Finally, if the page this all lives on is loaded by a client without JavaScript All of this, yields the single line at the bottom of this image — updated on each visit. -Now playing +Now playing [^1]: Plus explicit conditions matching David Bowie and Minor Threat. diff --git a/src/posts/2023/optimizing-for-performance-with-eleventy.md b/src/posts/2023/optimizing-for-performance-with-eleventy.md index b94201bb..dc9750c1 100644 --- a/src/posts/2023/optimizing-for-performance-with-eleventy.md +++ b/src/posts/2023/optimizing-for-performance-with-eleventy.md @@ -126,6 +126,6 @@ For this page in particular, the images that are rendered above the fold are set All of these boilerplate steps leave us with a quick to load, accessible and resilient site: -Pagespeed scores for coryd.dev/now +Pagespeed scores for coryd.dev/now [^1]: It's easy, flexible and helps mitigate my lack of an eye for design by providing safe baselines. diff --git a/src/posts/2023/road-to-madness-apple-music-charts.md b/src/posts/2023/road-to-madness-apple-music-charts.md index 7eac8b44..e59b7926 100644 --- a/src/posts/2023/road-to-madness-apple-music-charts.md +++ b/src/posts/2023/road-to-madness-apple-music-charts.md @@ -132,7 +132,7 @@ _Cool_[^4]. GitHub triggers a rebuild of the site every hour, Netlify builds it, There are some significant issues with this approach: it doesn't capture listens to an album in a loop (like me playing the new Outer Heaven record today — hails 🤘). It can get wonky when my diff function hits a track order that elicits a false positive return value. -Charlie Day standing in front of charts +Charlie Day standing in front of charts "But Cory there's last.fm." I hear this, I love last.fm, but I've got concerns about its age, ownership and maintenance. I don't want to be on the wrong end of a scream test when the wrong (right?) server rack gets decommissioned. diff --git a/src/posts/2024/adventures-in-self-hosting-data.md b/src/posts/2024/adventures-in-self-hosting-data.md index e9f9de5c..44565ce3 100644 --- a/src/posts/2024/adventures-in-self-hosting-data.md +++ b/src/posts/2024/adventures-in-self-hosting-data.md @@ -24,7 +24,7 @@ Trakt's backups are in JSON so I went to work coercing them into CSVs to upload - For movies I wanted to track when I last watched them, title, year, my play count and whether I'd collected it or considered it a favorite. - For TV shows I kept a similar data set and linked it to an episodes table via the `tmdb_id`. I used this ID to link out to [TMDB](http://themoviedb.org) and simplify my image URLs. -A diagram of my watched media tables +A diagram of my watched media tables The watched data for [my now page](https://coryd.dev/now) is now sourced from these tables and I've built out [a dedicated watching page](https://coryd.dev/watching/). The hero image is randomly selected from my favorite movies at built time, as are the 6 TV shows and movies in their respective favorite sections. diff --git a/src/posts/2024/building-a-scrobbler-using-plex-webhooks-edge-functions-and-blob-storage.md b/src/posts/2024/building-a-scrobbler-using-plex-webhooks-edge-functions-and-blob-storage.md index c880ae0e..37311e3d 100644 --- a/src/posts/2024/building-a-scrobbler-using-plex-webhooks-edge-functions-and-blob-storage.md +++ b/src/posts/2024/building-a-scrobbler-using-plex-webhooks-edge-functions-and-blob-storage.md @@ -9,7 +9,7 @@ I've written before about [embedding music into my site](https://coryd.dev/posts I could have kept depending on Last.fm and — don't get me wrong — I love Last.fm. It's one of those valuable, legacy services that's hanging on with a rich user base and historical recommendations. I'm going to keep scrobbling data there and to ListenBrainz[^1]. -A diagram of the scrobbling architecture +A diagram of the scrobbling architecture What I've long wanted is something that sits on infrastructure I control, stores my own data and lets me present roughly the same data. Given that Plex will issue outbound webhooks, I thought I'd set up an edge function over at Netlify and point a webhook at it to see what I could do with the inbound payload. What Plex sends is fairly lightweight and ended up needing to be read in from form data on the `POST`, but it was enough to work with. diff --git a/src/posts/2024/handling-images-with-b2-netlify-image-cdn-hazel-mountain-duck.md b/src/posts/2024/handling-images-with-b2-netlify-image-cdn-hazel-mountain-duck.md index 8edf7f4f..9264ed68 100644 --- a/src/posts/2024/handling-images-with-b2-netlify-image-cdn-hazel-mountain-duck.md +++ b/src/posts/2024/handling-images-with-b2-netlify-image-cdn-hazel-mountain-duck.md @@ -14,7 +14,7 @@ To simplify file uploads to B2, I mount the bucket for my site using [Mountain D My music charting feature relies on JSON maps of artist and album metadata — if a new artist or album isn't present in either, it assumes that the image it needs is in the format of `artist-name.jpg` or `artist-name-album-name.jpg`. I store the canonical copies of these image files in a separate GitHub repo and have Hazel watch the `artist` and `album` directories contained therein. It renames the files to match the aforementioned format, strips characters that typically break URLs and copies them to my mounted B2 Bucket. -An example of my album art Hazel workflow +An example of my album art Hazel workflow --- diff --git a/src/posts/2024/improving-my-self-hosted-scrobbling-implementation.md b/src/posts/2024/improving-my-self-hosted-scrobbling-implementation.md index f1f7760a..3c436233 100644 --- a/src/posts/2024/improving-my-self-hosted-scrobbling-implementation.md +++ b/src/posts/2024/improving-my-self-hosted-scrobbling-implementation.md @@ -29,7 +29,7 @@ I had data for each, structured as JSON. I wrote some ugly node scripts (I'll sp I imported those CSVs into their respective tables, and worked my way to connections between the tables that look like this: -A diagram of my scrobbling tables +A diagram of my scrobbling tables The connections between the tables allow me to query data specific to a given listen's artist or album — data is stored in a given table where it makes the most sense: artist `mbid`s with artists, `genre`s with artists and so forth. I can then retrieve that data, provided I have a valid listen, using Supabase's select syntax: `artists (mbid, image)` or `albums (mbid, image)`. diff --git a/src/posts/2024/on-getting-tattooed.md b/src/posts/2024/on-getting-tattooed.md index e29837e0..418d6f62 100644 --- a/src/posts/2024/on-getting-tattooed.md +++ b/src/posts/2024/on-getting-tattooed.md @@ -28,7 +28,7 @@ Each piece was important to me when I got it and remains important to me now. Th {% capture fallbackIcon %}{% tablericon "photo" "A photo of the Sturgill Simpson-inspired half sleeve referenced above." %}{% endcapture %} -A photo of the Sturgill Simpson-inspired half sleeve referenced above. +A photo of the Sturgill Simpson-inspired half sleeve referenced above. [^1]: My wife got the same piece done — there was one pointing to the driveway of the house we got married at. It burned down in the Butte fire. [^2]: She got elected! diff --git a/src/posts/2024/what-song-is-in-your-head.md b/src/posts/2024/what-song-is-in-your-head.md index d7dac299..43944350 100644 --- a/src/posts/2024/what-song-is-in-your-head.md +++ b/src/posts/2024/what-song-is-in-your-head.md @@ -6,7 +6,7 @@ tags: ['music'] --- I saw this carved into a table in Austin once and it — like many songs — has been stuck in my head ever since. I'll get hooked on a song and circle back to that roughly carved message. -What song is in your head? +What song is in your head? I've had songs and albums stuck in my head dating back to my childhood, primarily tracks from [*The Traveling Wilburys Vol. 1*](https://en.wikipedia.org/wiki/Traveling_Wilburys_Vol._1) — Tweeter and the Monkey Man, Handle With Care — they all take turns getting stuck in my head.