~/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
- 61
- games to play
- 14
- radar editions
- 5
- 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
61 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.
61 notes
- CSS @scope: the nearest theme finally wins20 Nov 2026 · css, scope
- 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
Each line joins two topics that show up together in a note.
Frontend & UX/UI trend radar
AI lands in the browser with Edge's Prompt API and forces Next.js to rethink how it handles security; Google explains how to move to a CDN without scaring off Googlebot, and Firefox 161 gets ready to bring random() to CSS.
Edge opens up the Prompt API
Microsoft announced (November 19) an origin trial of the Prompt API in Edge, previously limited to Canary and Dev. It runs on Aion Instruct, a 2.3B-parameter open-weights on-device model that replaces Phi-4-mini and is only downloaded when a site needs it; sites can switch to a cloud provider to reach more devices.
Next.js: 51 security advisories
Vercel explains (November 17) why Next.js has 51 security advisories in 2026 versus 14 in 2025: AI makes bugs cheaper to find, and 70% were in code at least a year old. Since 16.4, next dev and next build warn when your version is vulnerable, and an agent reviews every pull request trying to exploit it.
Move to a CDN without losing Googlebot
Google Search Central explains (November 11) how to move to a CDN: Googlebot may crawl faster and a cold cache sends those requests to your origin. It advises not blocking verified bots with CAPTCHAs or WAF rules, pre-warming your busiest URLs and, if the origin struggles, returning 429 or 503 for a few hours and never more than a day or two.
Firefox 161 brings random()
Firefox 161, now in beta and due on November 24 according to MDN, adds the CSS random() function to generate values in a range, with an optional step and a key to share the same random value. It also allows custom clipboard formats prefixed with "web ".

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.