~/richi.codes $ ls lab
Learning by building, in the open.
Richi Gallego's second brain and code lab: working prototypes, automated technical notes and a new game every day. Stuck on a problem with your website or your code? You can write to me.

- technical notes published
- 60
- games to play
- 13
- radar editions
- 4
- years writing code
- 20+
Experiments
Things I build to understand how they work. All of them are live and you can play with them.
Schedule a weather alert
A Web Push experiment: install the PWA on your phone, pick a place and a time, and an n8n workflow sends you the forecast right then.
Step 1 · on your phone
Open this page on your phone and enable it there: the notification goes to that device, not this one.
Step 2 · schedule the alert
The honest friend
That friend who looks at your website and tells you what's wrong, no sugar-coating. It may sting, but better to hear it from them than from a client, from Google or from a user who leaves and never comes back.
- 01 · Reads the public HTML of the page you give it.
- 02 · An AI (Gemini) reviews it like a friend would, not like a salesperson.
- 03 · Asks for no email or personal data: the result shows up right here.
Second brain
60 technical notes connected by topic. Search, or tap a node in the graph to filter.
For now most notes are in Spanish; English ones are on the way.
60 notes
- CSS typed arithmetic: turn any length into a number19 Nov 2026 · css, calc
- moveBefore(): move DOM nodes without resetting them18 Nov 2026 · dom, javascript
- CSS Grid Lanes: native masonry, now in Safari17 Nov 2026 · css, layout
- Safari may darken your site unless you say so16 Nov 2026 · css, darkmode
- data-nosnippet: decide what AI Overviews can quote15 Nov 2026 · ai, seo
- CSS text-box: text finally centered in its box14 Nov 2026 · css, typography
Each line joins two topics that show up together in a note.
Frontend & UX/UI trend radar
Safari moves forward on the customizable select and privacy signals for apps, Mozilla shares how it measured fingerprinting in Firefox, and a uBlock Origin bug is a reminder that postMessage must check who is talking.
STP 257: customizable select
Safari Technology Preview 257 (November 18) adds preview support, off by default, for the enhanced select with the multiple attribute, list box rendering and cloning chosen options into selectedcontent. It also ships AudioWorklet.port and makes ::first-letter and ::first-line animatable.
GPC in WKWebView
WebKit ships an API (November 18) that lets apps using WKWebView or WebPage turn on Global Privacy Control from iOS, iPadOS, visionOS and macOS 27. When enabled, the navigation exposes navigator.globalPrivacyControl and sends the Sec-GPC: 1 header for the document, its subframes and their subresources.
Firefox measures fingerprinting
Mozilla explains (November 10) how it used aggregate data from nearly 25 million users to measure its defenses: limiting exposed screen resolution, reporting 4 or 8 cores and making image and Web Audio output consistent. Some only apply in Private Browsing or Strict tracking protection, and they can break sites.
uBlock Origin and an open postMessage
Smitty van Bodegom details (November 15) a universal XSS in uBlock Origin for Firefox: a page could iframe the element picker, drive it with messages and add trusted filters that run JavaScript on any site. Versions 1.75.2 and earlier are affected, 1.75.4 fixes it, and the fix requires a secret in the first postMessage.

About this lab
I'm Richi Gallego and I've been programming for over twenty years. This site is my notebook: I build whatever makes me curious, leave it running and write down what I learn along the way.
- Everything published here works and you can try it. If it breaks, that is part of the experiment too.
- The notes and the radar are written by an AI pipeline, and every piece says so.
- No courses or subscriptions here. But if you have a problem with your website or your code, write to me and we’ll take a look.
Want to tell me something?
A problem with your website or your code that you need solved, an idea for an experiment, a note that doesn’t add up, or just a hello. I read it myself, no bots in between.
Email is optional, but if you need a hand, leave it so I can reply.