Will Smidlein's Blog

January 23, 2025

How I Write <img> Alt Tags for This Blog

llm 'Write an alt tag for this image' -a xyz.gif

I use the llm CLI tool and cycle through different vision-capable models until I get an answer I like. At some point I will probably automate this as part of the build step of the blog, but the novelty of trying out the various different models far outweighs any annoyance for now. I was surprised they all handled animated GIFs without complaints, although they may just be pulling a single (or a few) frames.

The price of that query with GPT-4o? $0.0023 - that is, one half of one half of one penny.

Presidio

Presidio helps to ensure sensitive data is properly managed and governed. It provides fast identification and anonymization modules for private entities in text and images such as credit card numbers, names, locations, social security numbers, bitcoin wallets, US phone numbers, financial data and more.

How it works

I was just taking a look at Chainlit, and more specifically this example and saw Presidio mentioned.

I have seen basic attempts at doing this with hand-spun regexes in the past and I’ve seen commercial products, but this feels like it strikes a nice middle ground. Despite the very Microsoft-y website that made me immediately assume it was for C# or .NET, it’s a Python library, and it’s MIT licensed. From their FAQs:

Microsoft Presidio is not an official Microsoft product. […] The authors and maintainers of Presidio come from [our] Industry Solutions Engineering team.

Understanding Home Assistant’s Database and Statistics Model

Zero

Terrible name, interesting idea.

Hacking Subaru

I bought my mom a 2023 Subaru Impreza with the promise that she would let me borrow it to try and hack it

Another Sam Curry Banger. Don’t miss the Bypassing 2FA portion, it’s a doozy.

First time hearing of ffuf, looks neat.