Kaspars

@kasparsd
73 Followers
110 Following
496 Posts
Somebody should unleash AI agents on the WP trac backlog, have it track all steering decisions and see where we land. We sure could get a core committer skill out this 😅
A sidecar approach might work better but it would require polling for filesystem changes and parsing the cache files which do have the response headers in there.

Spent the Saturday afternoon exploring ways to add surrogate-key (also known as cache tags) support for Nginx fastcgi cache which is otherwise great with state-while-revalidate support, etc.

Considered creating an Nginx module but there don't appear to be any hookable events when the cache files are written. The idea would be too keep an index of tags mapped to cache files on disk and have a route for invalidating by tags.

I worked on an API for that a while back: https://github.com/wpelevator/encrypted-secrets
The Connectors screen in WP 7.0 would really benefit from encrypted options unless we want to expose those API keys to anyone with access to wp-admin/options.php

ChatGPT wouldn't do it, Claude wouldn't do it.

Eventually tried Perplexity and it was able to generate notes with correct code snippets from my WordPress course videos. Amazing since it didn't have to invent anything -- just capture everything I said and include the relevant code snippets.

The trick was to create 1 FPS videos with full audio so that it still has access to full video contents and audio but with ~5% of the file size. Worked great.

To enable it, add this configuration to .vscode/launch.json file.

WordPress block development with breakpoint debugging for JS is a life-changer! So is PHP breakpoints, to be honest.

Instead of hunting for the correct file in the browser console, you just add breakpoints in VS Code and it automatically stops the JS executation at that point to show you the full state.

When can we reasonably expect all macOS apps to use the correct squircle radius?

I can't believe VSCode and Google Chrome are still different from the Finder or any of the built-in apps...

Here is the "Record Coding" automation that I built.