From b03a2e23b7080730a06cdbdb26ff72f6e5aaff1f Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Thu, 27 Jan 2022 22:46:45 -0500 Subject: add webp links, update svg links --- content/articles/the-birthday-paradox.md | 4 +-- content/posts/2021-11-05-feed-bloater.md | 35 +++++++++++++--------- content/posts/2021-12-05-mathyd-easy-tex-to-svg.md | 2 +- content/posts/2021-12-31-tiny-binaries.md | 4 +-- content/posts/2022-01-23-pg-trigger-tests.md | 2 +- 5 files changed, 27 insertions(+), 20 deletions(-) diff --git a/content/articles/the-birthday-paradox.md b/content/articles/the-birthday-paradox.md index deb3acd..e888c34 100644 --- a/content/articles/the-birthday-paradox.md +++ b/content/articles/the-birthday-paradox.md @@ -112,7 +112,7 @@ from [combinatorics][], [probability][], and [set theory][]: Here's what all the chicanery above looks like visually: {{< figure - src="/files/articles/birthday-paradox/probability-basics.svg" + src="/files/articles/birthday-paradox/probability-basics.min.svg" class="image" width=492 height=556 @@ -269,7 +269,7 @@ end Here are the results of the script from the previous section: {{< figure - src="/files/articles/birthday-paradox/people-vs-probability.svg" + src="/files/articles/birthday-paradox/people-vs-probability.min.svg" class="image" width=614 height=461 diff --git a/content/posts/2021-11-05-feed-bloater.md b/content/posts/2021-11-05-feed-bloater.md index b26ebfe..d04506c 100644 --- a/content/posts/2021-11-05-feed-bloater.md +++ b/content/posts/2021-11-05-feed-bloater.md @@ -3,6 +3,25 @@ slug: feed-bloater title: "Feed Bloater" date: "2021-11-05T23:49:56-04:00" draft: false + +pics: + llvmweekly-old: + css: "image" + tip: "Truncated LLVM Weekly RSS feed, viewed in The Old Reader." + sources: + - "/files/posts/feed-bloater/llvmweekly-old.webp" + - src: "/files/posts/feed-bloater/llvmweekly-old.png" + width: 1013 + height: 623 + + llvmweekly-new: + css: "image" + tip: "LLVM Weekly RSS feed, expanded by Feed Bloater, and viewed in The Old Reader." + sources: + - "/files/posts/feed-bloater/llvmweekly-new.webp" + - src: "/files/posts/feed-bloater/llvmweekly-new.png" + width: 1046 + height: 673 --- In addition to [fixing the RSS feed for this site][site-rss], I also created a simple command-line tool named [Feed Bloater][] @@ -31,24 +50,12 @@ feedbloater https://llvmweekly.org/rss.xml div.post path/to/llvmweekly.xml Here's what the original [LLVM Weekly][] [RSS feed][rss] looks like in [The Old Reader][]: -{{< figure - src="/files/posts/feed-bloater/llvmweekly-old.png" - class=image - width=1013 - height=623 - caption="Truncated LLVM Weekly RSS feed, viewed in The Old Reader." ->}} +{{< pe-figure "llvmweekly-old" >}} Here's what the expanded [RSS feed][rss] generated by the example above looks like: -{{< figure - src="/files/posts/feed-bloater/llvmweekly-new.png" - class=image - width=1046 - height=673 - caption="LLVM Weekly RSS feed, expanded by Feed Bloater, and viewed in The Old Reader." ->}} +{{< pe-figure "llvmweekly-new" >}} Much better! I've been happily using [Feed Bloater][] to expand several truncated feeds for about a week. diff --git a/content/posts/2021-12-05-mathyd-easy-tex-to-svg.md b/content/posts/2021-12-05-mathyd-easy-tex-to-svg.md index 5e64743..c14b49d 100644 --- a/content/posts/2021-12-05-mathyd-easy-tex-to-svg.md +++ b/content/posts/2021-12-05-mathyd-easy-tex-to-svg.md @@ -26,7 +26,7 @@ Given [this input file][cubic-tex], the command above produces the following result: {{< figure - src="/files/posts/mathyd-easy-tex-to-svg/cubic.svg" + src="/files/posts/mathyd-easy-tex-to-svg/cubic.min.svg" class=image caption="The Cubic Formula, rendered by Mathyd." >}} diff --git a/content/posts/2021-12-31-tiny-binaries.md b/content/posts/2021-12-31-tiny-binaries.md index 75e16a5..a79b760 100644 --- a/content/posts/2021-12-31-tiny-binaries.md +++ b/content/posts/2021-12-31-tiny-binaries.md @@ -17,7 +17,7 @@ combinations of optimizations and build options. Here's a plot of the results (**note:** [log scale][] X axis): {{< figure - src="/files/posts/tiny-binaries/sizes-all.svg" + src="/files/posts/tiny-binaries/sizes-all.min.svg" class=image caption="All Static Binary Sizes" >}} @@ -26,7 +26,7 @@ Here's a plot of the smallest static binary sizes (<1k, linear scale X axis): {{< figure - src="/files/posts/tiny-binaries/sizes-tiny.svg" + src="/files/posts/tiny-binaries/sizes-tiny.min.svg" class=image caption="Tiny Static Binary Sizes (<1k)" >}} diff --git a/content/posts/2022-01-23-pg-trigger-tests.md b/content/posts/2022-01-23-pg-trigger-tests.md index 5c58b6f..dd0541e 100644 --- a/content/posts/2022-01-23-pg-trigger-tests.md +++ b/content/posts/2022-01-23-pg-trigger-tests.md @@ -12,7 +12,7 @@ Out of curiosity I decided to time row-level and statement-level Here are the results: {{< figure - src="/files/posts/pg-trigger-tests/results.svg" + src="/files/posts/pg-trigger-tests/results.min.svg" class=image caption="Row Count vs Query Time" >}} -- cgit v1.2.3