Kaspars Dambis

@kaspars.damb.is

Full stack maker of things with passion for #web, #electronics, #sustainable living, #buildingscience, #passivehouse, #personalfinance and teaching. Find me at https://kaspars.net and https://wpelevator.com

What would be your preferred interface for creating agent skills in WordPress? a) all front-matter fields in the editor area (ACF-style), or b) all front-matter fields in the sidebar panel?

Bild

Agent skills and instructions need a CMS so that teams can collaborate on these critical assets without having to learn git and cli tooling. WordPress is a CMS. Can we make it do this?

the no-tool and no-rag approach of claude code feels to be wasting tokens and working through things slower. what's your experience? same model in cursor is way faster and productive.

Would you trust AI to run this? Will it actually apply those single quotes when running it? It created the ~ directory itself during previous runs so it is trying to clean up.

Bild

Funny how macOS search (both Finder and Spotlight) is so bad that I don’t even think of using it. Imagine how bad AI would do if it couldn’t search properly. Are there recent Mac apps that are trying to solve this?

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 😅

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.

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

Bild

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.

Bild

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 JS at that point to show you the full state.

Bild

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...

Bild

I can't believe I'm discovering the Apple Shortcuts just now. In one click it can now get my computer ready for screen recording -- it opens VS Code, web browser + recording app, and resizes the windows to fit a specific aspect ratio. The app is bundled with every Mac and iPhone since 2021.

Can AI help optimize your landing pages from actual user session data? We enabled user session recording using PostHog (which uses rrweb behind the scenes), and drove Meta ads to the page. Then used AI to extract those 36k+ events into a single file and asked it to analyze the results.

Bild

Turns out that building a "Clear formatting" feature for the WordPress block editor is more difficult than I imagined. Many blocks have the inner content as part of the `content` attribute but things get difficult with RichText, for example. Do you have a solution for this?

Bild

Trying to find an alternative to Screen Time for kids on macOS since it’s completely unreliable and the UX is terrible. AdGuard/PiHole with a macos user profile that enforces DNS seems like one option. Need to be local and selfhosted. Suggestions?

After sunsetting a VPS that was used for backup of other VPSes, I decided to have #restic send everything to a restic-rest instance (as docker container) on my #homelab NAS over #wireguard. Amazing how restic can backup to so many destinations (s3, sftp, http) over so many transports.

Add logging to my kitchen-sink WordPress plugin with handlers for error_log() and Query Monitor. Nice to have info/debug level data while developing and warnings+ on PROD. How are you handling this in your plugins?

BildBild

Did you know that HTTP3 is already supported by 92% of browsers and can offer 10-20% performance improvements (mostly to LCP) especially for mobile users? Nginx added support for HTTP/3 two years ago in version 1.25.0 so it is available in most recent Linux distributions.

Bild