Compare commits

..

4 commits

Author SHA1 Message Date
b57fd9c8d0 Commit the weeknotes for 2025W33 post 2025-08-19 10:05:48 -07:00
1f2de30c60 Pass the list of images generated by the figures/image template to the partials that actually render the figure
This template was doing a bunch of work to look up resources, but then
discarding it and passing just the "name" to the partial. Instead, pass the
$imgs list.

Add a "global-asset-src" parameter to the shortcode that takes an asset path.

Update the termlite submodule commit.
2025-08-19 10:03:50 -07:00
cc405e6ca9 Cat House photo;
Fix up the sort date for the 2025 collection of photo posts.
2025-08-17 16:07:38 -07:00
724f2a37d4 Fix a typo in the MatrixPortal post 2025-08-17 09:32:08 -07:00
9 changed files with 146 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 KiB

View file

@ -17,7 +17,7 @@ tags:
I've had this [MatrixPortal M4][m4] from AdaFruit for a little while now. It's a
fun little bit of hardware. Easy to hack on with the Arduino IDE. AdaFruit have
published a bunchh of useful libraries for doing fun things with LED matrix
published a bunch of useful libraries for doing fun things with these LED matrix
displays. Here it is running a metaballs simulation on a 64×64 matrix
display.

View file

@ -0,0 +1,99 @@
---
title: "Notes on 2025W33"
slug: weeknotes-2025w33
date: 2025-08-17
categories: weeknotes
tags:
- Weeknotes
- Life
- Me
- GitHub
- Forgejo
- Erynwells.me
- LGBTQIA+
- Trans
- Politics
- CLI
---
It has been a while since I wrote any weeknotes. Hi! I'm still alive. Life is
keeping me busy and I find it difficult to fit in writing and sharing things
sometimes.
I had a goal this year of posting weeknotes like this on a roughly weekly
cadence. I did not keep up. I got so frustrated with myself that my brain
literally became this penguin and I stopped posting altogether.
{{< figures/image global-asset-src=images/memes/not-doing-it.png size=small >}}
This is all totally arbitrary and avoidable. And yet. Life is busy, the politics
are shit, existing while trans is a constant source of stress. Maybe I owe
myself some slack, right? Unfortunately, slack is not something I'm good at
granting myself.
---
Tech Mastodon was abuzz this week about the new that [GitHub will be folded into
the AI group][gh] at Microsoft. I have been meaning to move off of GitHub for a
little while ago, and this kicked me over the edge. I set up a [Forgejo][fj]
instance over at [source.erynwells.me](https://source.erynwells.me) to host my
code going forward and migrated everything over there. Maybe one day I'll write
more about this.
---
I also figured out how to get my VPS to mail me periodic emails of system status
through FreeBSD's `periodic` system. I discovered that I get almost 1200
unauthorized login attempts against my system every day. Wtf. Here's a small
snippet of the attempts.
```txt
postgres 30 attempts
ubuntu 31 attempts
test 36 attempts
debian 43 attempts
user 64 attempts
admin 124 attempts
1156 total attempts
```
To my surprise, `root` is not among the attempted usernames.
---
Did you know [peacocks can shoot laser][peacocks] beams? Neither did I. I think
this kicks them up about eighteen notches on the "Metalest bird" scale.
---
Someone tooted in my vicinity about [Terminal Trove][tt], a website that
"curates and showcases all things in the terminal such as command line interface
tools (CLI), text mode interface tools (TUI), developer tools and more no matter
what platform or medium." Right up my alley.
---
Politics continues to suck in the United States. A few articles (of a great many)
that stood out:
[Impeachment is a Duty][impeachment]. Keep shouting about the house being on
fire while the house continues to be on fire.
There are [a lot of bills moving through state houses that limit access to
gender-transition-related care][tcare], and seems a lot of these bills are
flying under the radar.
[It's not just burnout][bn] asks us to consider where we derive meaning in our
careers, to stay mindful of how much is actually fucked about the current world
order, and to cut ourselves some slack for the lethargy and demotiviation many
of us are feeling.
[gh]: https://arstechnica.com/gadgets/2025/08/github-will-be-folded-into-microsoft-proper-as-ceo-steps-down/
[fj]: https://forgejo.org
[peacocks]: https://arstechnica.com/science/2025/07/scientists-use-peacock-feathers-to-make-frickin-laser-beams/
[tt]: https://terminaltrove.com
[impeachment]: https://www.the-reframe.com/impeachment-is-a-duty/
[tcare]: https://transnews.network/p/the-sweeping-anti-trans-bills-moving-through-congress-no-one-s-talking-about
[bn]: https://newsletter.activevoicehq.com/p/it-s-not-just-burnout

View file

@ -1,3 +1,4 @@
---
title: 2025
date: 2025-01-01
---

BIN
content/photos/2025/cat-house/IMG_0011.jpg (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,19 @@
---
title: "Cat House"
date: 2025-08-09T16:37:04-07:00
resources:
- name: photo
src: IMG_0011.jpg
params:
alt: >
A two-storey house pained various shades of blue. Large California
poppies cover the upper stories. The garage at ground level has
two cats. There is a blue car parked out front.
tags:
- San Francisco
- Cats
---
Loved this mural someone commissioned for their house. Cats and California
poppies. Delightful.

BIN
content/photos/2025/cat-house/thumbnail.jpg (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -1,12 +1,14 @@
{{- $imgs := slice -}}
{{- $shouldResize := .Get "shouldResize" | default true -}}
{{- if .Get "name" -}}
{{- $imgs = $imgs | append (.Page.Resources.GetMatch (.Get "name")) -}}
{{- else if .Get "names" -}}
{{- range (split (.Get "names") ",") -}}
{{- $imgs = $imgs | append ($.Page.Resources.GetMatch .) -}}
{{- end -}}
{{- else if .Get "global-asset-src" -}}
{{- with resources.Get (.Get "global-asset-src") -}}
{{- $imgs = $imgs | append . -}}
{{- end -}}
{{- else -}}
{{ errorf "Missing name or names parameter to figures/image" }}
{{- end -}}
@ -16,14 +18,26 @@
{{- end -}}
{{- $class := .Get "class" -}}
{{- $shouldResize := .Get "shouldResize" | default true -}}
{{- $shouldShowTitle := (.Get "shouldShowTitle") | default true -}}
{{- $style := .Get "style" | default "included" -}}
{{- $size := .Get "size" | default "full" -}}
{{ if in (slice "full" "main") $size }}
{{ if eq $style "inline" }}
{{
partial "page/figures/inline-image.html" (dict
"page" $.Page
"name" (.Get "name")
"size" $size
"class" $class
"shouldShowTitle" $shouldShowTitle
)
}}
{{ else if in (slice "full" "main") $size }}
{{
partial "page/figures/fullwidth.html" (dict
"page" $.Page
"name" (.Get "name")
"images" $imgs
"size" $size
"class" $class
"shouldShowTitle" $shouldShowTitle
@ -33,7 +47,7 @@
{{
partial "page/figures/small.html" (dict
"page" $.Page
"name" (.Get "name")
"images" $imgs
"size" $size
"class" $class
"shouldShowTitle" $shouldShowTitle

@ -1 +1 @@
Subproject commit a395d26bc4fa025335489845ed8c0dd988b4252d
Subproject commit 3248ac51d13b1ecf221f3c9ba453cb3da30b9bf3