paulca / paulca.com Public
Remove the inline style from the post template; backfill pi's ledger entry (#2)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
4 files changed,
+36
−4
docs/ai.html+18 −2docs/blog/using-an-llm-off-the-grid/index.html+1 −1src/_data/ledger.json+16 −0src/_includes/post.njk+1 −1
diff --git a/docs/ai.html b/docs/ai.html| index b472038..29491dc 100644 |
| --- a/docs/ai.html |
| +++ b/docs/ai.html |
| @@ -36,6 +36,22 @@ first.</p> |
| <td>~0.8 g</td> |
| <td>A half-hour of a 5 W LED bulb</td> |
| </tr> |
| +<tr> |
| + <td>July 25, 2026</td> |
| + <td>“Lose it. The pi post worked great.” — “it” being the one inline style left on the post template.</td> |
| + <td>Removed the <code>style</code> attribute from the <code><article></code> in the post template. Blog posts now render with browser default styles only, like everything else. Also backfilled the entry below.</td> |
| + <td>~4 Wh</td> |
| + <td>~1.6 g</td> |
| + <td>Three minutes of a 75 W ceiling fan</td> |
| +</tr> |
| +<tr> |
| + <td>July 25, 2026</td> |
| + <td>(Logged after the fact; the exact wording wasn't recorded.) Paul asked the pi agent to fix two typos in the first blog post.</td> |
| + <td>The local GPT‑OSS model's first solo change: “ben” → “been” and “closet” → “closest” (plus an added “a”) in the blog post, rebuilt and pushed. It forgot to log itself here, so Claude added this entry afterwards.</td> |
| + <td>~2 Wh</td> |
| + <td>~0.8 g</td> |
| + <td>Two minutes of an RTX 3090 idling</td> |
| +</tr> |
| <tr> |
| <td>July 25, 2026</td> |
| <td>“I want to set up a blog and an FAQ on this site. I want to be able to add to the blog using gpt-oss in the pi harness, so I want to end up with instructions that will allow it to: add a blog post in md format, make any tweaks, build the site, open and merge a PR on GitHub, update the prompt and carbon ledger. I think using 11ty would make all this easier, but building locally rather than build on push.” — plus follow-ups on keeping posts style-free and wording this ledger's introduction.</td> |
| @@ -126,8 +142,8 @@ first.</p> |
| </tr> |
| </table> |
| -<p><b>Running total:</b> ~150 Wh, |
| -~60 g CO₂e — |
| +<p><b>Running total:</b> ~156 Wh, |
| +~62 g CO₂e — |
| about the energy it takes to boil a litre and a half of water, or the emissions of driving a petrol car about 350 metres.</p> |
| <h2>Method</h2> |
diff --git a/docs/blog/using-an-llm-off-the-grid/index.html b/docs/blog/using-an-llm-off-the-grid/index.html| index 007d57e..04c7db8 100644 |
| --- a/docs/blog/using-an-llm-off-the-grid/index.html |
| +++ b/docs/blog/using-an-llm-off-the-grid/index.html |
| @@ -11,7 +11,7 @@ |
| <nav><a href="/">← Home</a></nav> |
| -<article style="max-width:40rem;margin:auto;"> |
| +<article> |
| <header> |
| <small>Paul Campbell • July 25, 2026</small> |
| <h1>Using an LLM "off-the-grid"</h1> |
diff --git a/src/_data/ledger.json b/src/_data/ledger.json| index ca8b97d..cbe1a8b 100644 |
| --- a/src/_data/ledger.json |
| +++ b/src/_data/ledger.json |
| @@ -9,6 +9,22 @@ |
| "co2_g": 0.8, |
| "comparison": "A half-hour of a 5 W LED bulb" |
| }, |
| + { |
| + "date": "July 25, 2026", |
| + "prompt_html": "“Lose it. The pi post worked great.” — “it” being the one inline style left on the post template.", |
| + "outcome_html": "Removed the <code>style</code> attribute from the <code><article></code> in the post template. Blog posts now render with browser default styles only, like everything else. Also backfilled the entry below.", |
| + "wh": 4, |
| + "co2_g": 1.6, |
| + "comparison": "Three minutes of a 75 W ceiling fan" |
| + }, |
| + { |
| + "date": "July 25, 2026", |
| + "prompt_html": "(Logged after the fact; the exact wording wasn't recorded.) Paul asked the pi agent to fix two typos in the first blog post.", |
| + "outcome_html": "The local GPT‑OSS model's first solo change: “ben” → “been” and “closet” → “closest” (plus an added “a”) in the blog post, rebuilt and pushed. It forgot to log itself here, so Claude added this entry afterwards.", |
| + "wh": 2, |
| + "co2_g": 0.8, |
| + "comparison": "Two minutes of an RTX 3090 idling" |
| + }, |
| { |
| "date": "July 25, 2026", |
| "prompt_html": "“I want to set up a blog and an FAQ on this site. I want to be able to add to the blog using gpt-oss in the pi harness, so I want to end up with instructions that will allow it to: add a blog post in md format, make any tweaks, build the site, open and merge a PR on GitHub, update the prompt and carbon ledger. I think using 11ty would make all this easier, but building locally rather than build on push.” — plus follow-ups on keeping posts style-free and wording this ledger's introduction.", |
diff --git a/src/_includes/post.njk b/src/_includes/post.njk| index b8faf6f..f377c9b 100644 |
| --- a/src/_includes/post.njk |
| +++ b/src/_includes/post.njk |
| @@ -3,7 +3,7 @@ layout: base.njk |
| --- |
| <nav><a href="/">← Home</a></nav> |
| -<article style="max-width:40rem;margin:auto;"> |
| +<article> |
| <header> |
| <small>Paul Campbell • {{ page.date | longDate }}</small> |
| <h1>{{ title }}</h1> |