Dave Vandyke

40 Followers
55 Following
20 Posts
Programmer at DuckDuckGo, previously Adblock Plus. Chromium contributor, working to improve the extension APIs.
Websitehttps://kzar.co.uk
GitHubhttps://github.com/kzar
Shower thought: Why aren't electric kettles insulated like a thermos to keep the water hot?
If you're trying to get Playwright integration tests to work reliably with a MV3 Chrome extension, I think we finally got to the bottom of the background Service worker attaching issue https://github.com/microsoft/playwright/issues/39075
[Bug]: Playwright does not reliably attach to background ServiceWorker of MV3 extensions · Issue #39075 · microsoft/playwright

Version 1.54.2 Steps to reproduce Clone https://github.com/duckduckgo/duckduckgo-privacy-extension/ Run npm install to install the dependencies. Run npm run playwright -- integration-test/navigator...

GitHub
I've got quite new puncture-proof tyres on my bike which are a nightmare to fit, to the point where I physically can't do it. Anyway, I got one of these Tyre Glider tools today and it worked amazingly well, fitted the tyre quite easily, really impressed with it https://tyreglider.co.uk/
Home

Remove and install bikes tyres in the easiest way possible with the help of the new and innovative tyre lever, Tyre Glider. This tyre changing tool can be used safely on all types of rim, across all cycle disiplines and ages.

Tyre Glider

I found Gemini 3 was compulsively stripping HTML comments from the file I was trying to get it to process, but it turns out a pretty effective workaround is to replace the comments with tags beforehand, then restore them again afterwards. E.g. by doing something like this:

```bash
# Preserve
perl -i -pe 's/<!--(.*?)-->/<preserve>$1<\/preserve>/g' file.html

# Restore
perl -i -pe 's/<preserve>(.*?)<\/preserve>/<\!--$1-->/g' file.html
```

Well, fair play to the engineer. He really did phone around some colleagues for me, called me back a few hours later, and managed to get the fault fixed. We're online as of this morning. (He wasn't getting anywhere with their official call-centre, I think often times the engineers are set up to fail a bit! I've seen brand new ONTs thrown in the bin previously, because activating a new one was easier than getting through to someone competent on the phone.)
After a month of waiting, an Openreach engineer failed to get our FTTP internet working. We've gone from a solid PON light to a flashing one, in other words they've actually made it worse 🤷
Trying to get a Chromium patch ready for review today, making the most of the bank holiday. Anyway, my cat has just figured out it gets nice and warm behind my desktop computer while I'm compiling, so he's wedged himself back there 😅
Switched Mastodon servers today... was kind of a manual process and I've lost all my posts 🙃