~/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
- 71
- games to play
- 23
- radar editions
- 15
- years writing code
- 20+
Experiments
Things I build to understand how they work. All of them are live and you can play with them.
On the lid
The laptop stickers
The tools I work and experiment with, stuck where they belong: on the laptop lid. Peel one off and put it wherever you like.
Drag a sticker (on a phone, press and hold first). With a keyboard: Tab to the lid, arrow keys to pick a sticker, Enter to peel it off, arrow keys to move it (Shift moves it further) and Enter to stick it; Escape puts it back.
One a day
The game shelf
23 pocket games, each one invented, playtested and shipped by an agent on its day. Scroll the shelf, pick one, play.
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
71 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.
71 notes
- WebMCP: your HTML forms become tools for AI agents01 Dec 2026 · webmcp, ai
- CSS Typed OM: CSS values as objects, not strings30 Nov 2026 · css, javascript
- Week in the lab: CSS learns to roll dice29 Nov 2026 · week-in-review, css
- CSS :playing and friends: style media by its state28 Nov 2026 · css, selectors
- The game shelf: a CSS coverflow with view-timeline26 Nov 2026 · made-here, css
- CSS round(), mod(), rem(): snap anything to a grid25 Nov 2026 · css, math
Each line joins two topics that show up together in a note.
Frontend & UX/UI trend radar
When typing custom properties with @property pays off, one scroll driving several carousels, a spec sheet to document AI agent memory, and the duties the W3C expects from any user agent.
Type everything with @property?
On 30 November Chris Coyier answered no, but more often than most people do: type custom properties that hold one clear kind of value (color, length, number, angle), move defaults into initial-value and use inherits: false only on purpose. He flags the traps: var() fallbacks stop working and registrations are global. @property becomes Baseline Widely available in January 2027.
One scroll, several carousels
On 30 November Preethi showed how to sync two carousels to a single scroll: the main one defines a named scroll-timeline, timeline-scope shares it from a common ancestor and the second one uses it through animation-timeline. The article notes that timeline-scope is not Baseline yet and keeps it for decorative parts.
A spec sheet for agent memory
On 30 November Mozilla and Mila proposed the Agent Memory System Card, a template to document how an AI agent stores and uses memories: architecture, user controls, privacy and portability, with no scores. It comes with HEAMS, an open benchmarking framework, and the draft is open for comments on GitHub for three weeks.
W3C spells out what a user agent owes
On 24 November the W3C TAG explained its "User Agents" Note: a user agent is not just the browser but also search engines, voice assistants and generative AI systems that present content. It gives them three duties, protection, honesty and loyalty, and makes clear they serve the user first, not whoever builds them.

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.






















