Kaspars Dambis
kaspars.damb.is
Kaspars Dambis
@kaspars.damb.is
Full stack maker of things with passion for #WordPress, electronics, sustainable living, personal finance and teaching. Find me at https://kaspars.net and https://wpelevator.com
Has anyone had luck registering for AliExpress API access?

Getting auto-rejected and not sure what to try next.
November 28, 2025 at 6:09 PM
The #FAIR plugin for WP doesn’t like iOS Safari. Probably an outdated regex on user agent?
November 23, 2025 at 9:53 AM
Amazing how little PHP can do so much! serverless.industries/2025/07/06/a...

I also do 99% of prototyping in PHP.

Fun idea from @christian@einbeck.social
The Anti-Framework - Serverless Industries
After all these years, I still love PHP. Every time when I create a small or big personal project which should work for a long time with low effort, I choose PHP over .NET or Angular. It “just works”.
serverless.industries
November 23, 2025 at 8:28 AM
Turns out HTTP Host headers can have a trailing dot (totally valid too) and nginx will happily forward it to php-fpm making $_SERVER['HTTP_HOST'] have a trailing dot which then fails all WP multisite domain lookups...

First time seeing this on a fresh nginx + php 8.4 setup.
November 21, 2025 at 8:51 PM
How do you profile PHPStan runs for performance issues?

It appears to be spawning a child process even if maximumNumberOfProcesses is set 1 which makes the core logic invisible to XDebug profiler.
November 21, 2025 at 11:08 AM
Trying out the new VS Code fork from Google.

Requires Google login to actually use it... not sure I like this direction.
November 21, 2025 at 7:45 AM
Feels like half the web is down now...
November 18, 2025 at 2:01 PM
Cloudflare and other MITM proxies with TLS termination have access to your WP usernames and passwords, and every WooCommerce transaction (including customer billing and address data).
November 16, 2025 at 5:05 AM
Version 3.0.0 of the Minit plugin for WordPress now defers the script bundle by default and uses this trick to support scripts with "after" logic (which require the parent to be loaded).

Learn more here: github.com/kasparsd/minit
November 15, 2025 at 1:14 PM
Has anyone seen WP add ?_t=... to image URLs? Couldn't find anything in the codebase where this is happening.

This is causing WP to fail at generating the srcsets.
November 13, 2025 at 4:06 PM
Improve the local development experience for your team and point *.local.yourproject.com to 127.0.0.1 using the public DNS.

Here is how to configure it:
Setup Local Development Domain with Public DNS
Did you know that you can point any domain to 127.0.0.1 and it will happily resolve to your local development environment? No more edits to ...
kaspars.net
November 13, 2025 at 5:05 AM
Everyone on Twitter now...

The whole re-auth flow is completely broken. I'm using the correct key and it still goes into this infinite loop.
November 12, 2025 at 7:49 PM
Has anyone created a /metrics REST API endpoint for WordPress that reports data about the WP instance -- object cache reads/writes/memory (from memcache/redis/apcu), php-fpm stats, system load, disk space, etc.

Ideally, with Prometheus and OpenTelemetry output formats.
November 12, 2025 at 1:09 PM
Here is a tip -- you don't need the defined( 'ABSPATH' ) checks in class files that don't run any code. PHP will simply do nothing when a class definition is loaded.

I've noticed that AI is prone to adding it because of how WP core uses outside of class files.
November 7, 2025 at 1:14 PM
Cmd+Z for restoring recently closed tab is really nice. That key combo is muscle memory for global undo.

TIL: Zen browser and others use Cmd+Shift+T to do that.
November 5, 2025 at 5:05 AM
“Knowing what matters for a specific thing is called being an expert.

Knowing what matters over the course of a human life is called being wise.”

commoncog.com/only-thing-t...
The Only Thing That Matters
Business skill as the ability to cut a messy business problem down to a single, most important thing.
commoncog.com
November 4, 2025 at 1:14 PM
What’s your preferred service for hosting 1000TB of S3-like data (videos, images) with ~300TB/month egress?

Backblaze B2 seems really nice but I’m looking for recommendations.
October 31, 2025 at 2:51 PM
Did you know that *.wpenv.net (all subdomains) point to 127.0.0.1?

Use it for local development and avoid editing hosts file or setting up custom NS resolver.
October 27, 2025 at 5:57 PM
Finally moved away from 1Password 7 (which still had the iCloud sync) to Strongbox which uses KeePass behind the scenes.

All started with trying out the Zen browser which doesn't work with the old 1Password extension 😅
October 23, 2025 at 12:14 PM
Reposted by Kaspars Dambis
whenever I see a `bet on ${currentHype}` because "the web is in decline" I just smirk because it's a great way of demonstrating you have no idea what you're actually talking about.

the web outlives every "the web is dead, use this thing i like" and will continue to do so.

always bet on the web.
October 16, 2025 at 9:24 AM
Facebook Ad Manager feels like a time capsule of bad UX decisions. It's slow, confusing and somehow gets worse every year.

A perfect case study in legacy product debt buried under layers of React.
October 14, 2025 at 12:14 PM
Did you know that Google Tag Manager now supports server-side implementation which runs all the tag logic on your server?

Since they only publish a Docker image of the server, I extracted and published the source in case you're interested.
www.googletagmanager.com
October 14, 2025 at 4:05 AM
This looks fun! Just joined. See you there.
nooki.me nooki @nooki.me · Oct 9
(1/4) I'm soft launching nooki.me to get some early traction and feedback on what to improve. Excited to see how this platform grows!
October 10, 2025 at 7:01 AM
Have you experieced “default to AI” in your work?

Reading through verbose RFCs and PRDs filled with emojied lists accompanied by obviously vibe coded prototype pull requests, shared via AI composed emails and Slack threads is a sad experience.
September 29, 2025 at 12:14 PM