I'm blogging about Emacs, Drupal, php and exciting subjects

· Lars Nielsen

A Docker Image Swap Made a Valid Index Quietly Lie to Production

A search engine's Postgres database swapped one Docker image for another — the same Postgres version, same data, same disk. Nothing about that should have touched a single row. It changed how the database compares strings, and for days, an index that reported itself perfectly healthy was quietly giving wrong answers to live production queries.

Read article A Docker Image Swap Made a Valid Index Quietly Lie to Production
· Lars Nielsen

The Font Bug That Traced Back to a Configure Flag From Months Earlier

The first time KDE Plasma actually started on this from-scratch build, the desktop came up. Windows opened, menus dropped down, dialogs drew where they were supposed to. Every piece of text in every one of them was a small square — a tofu box, the placeholder a font renderer shows when it has no glyph to draw. The bug wasn't in Plasma at all.

Read article The Font Bug That Traced Back to a Configure Flag From Months Earlier
· Lars Nielsen

root=UUID= Worked in Every Guide I've Read, and Still Panicked This Kernel

Building a Linux system from scratch means writing your own GRUB entry, which means picking how the kernel finds its root filesystem. The obvious choice, root=UUID=<filesystem-uuid>, is what nearly every guide on the internet uses. It's also exactly wrong for a kernel with no initramfs, and the panic it produces looks like a completely different bug.

Read article root=UUID= Worked in Every Guide I've Read, and Still Panicked This Kernel
· Lars Nielsen

A Stat That Reads Zero Right After a Restart, and the Difference Between Checking and Panicking

Right after a routine Postgres container swap, a quick health check showed zero live rows in three of the database's most important tables. For a moment, that looked exactly like catastrophic data loss. It wasn't — and the difference between panicking and checking came down to running one more, cheaper query before believing the first one.

Read article A Stat That Reads Zero Right After a Restart, and the Difference Between Checking and Panicking
· Lars Nielsen

The Average Position Halved. I Don't Know Which Half of the Explanation Is True.

The daily trend in both Search Console exports covers August 8 through September 4. Average position sits between 14 and 20 for almost the entire window — the single worst day is 23.4, on August 29, of all days. Then September 1 through 4 comes in at 7.8, 7.8, 9.4, and 8.4. The average position roughly halved in four days.

Read article The Average Position Halved. I Don't Know Which Half of the Explanation Is True.
· Lars Nielsen

A Mobile/Desktop Ranking Gap I Can Explain, Mostly

The September 6 Search Console export splits the last 28 days by device. Desktop: 60 clicks, 4,026 impressions, 1.49% CTR, average position 15.34. Mobile: 19 clicks, 487 impressions, 3.9% CTR, average position 11.14. Mobile beats desktop on both position and CTR, on roughly an eighth of the impression volume. I spent a chunk of one session two weeks ago chasing mobile performance specifically.

Read article A Mobile/Desktop Ranking Gap I Can Explain, Mostly
Subscribe to Linkhub