Cursor was making a series of mad suggestions to my code. I rolled my eyes, and ploughed on. But it turned out I'd made a mistake earlier in the function, and the eager-to-please AI was just trying to roll with it. It's a 'signal' I'll look out for in future.
🔊 We're finally getting a fully stylable <select> element! Me and @surma.devoffthemainthread.tech/episode/styl...
And 10 other features we got along the way
`el.className` and `el.htmlFor` have such unusual names because `class` and `for` used to be reserved words in JS. That hasn't been true for property names for 10+ years. Firefox is experimenting with adding `el.class` and `el.for`, yay! github.com/whatwg/html/...
https://dom.spec.whatwg.org/#dom-element-classname https://html.spec.whatwg.org/multipage/forms.html#dom-label-htmlfor I assume these were originally given unusual and inconsistent names to avoid r...
🔊 Chrome folks are experimenting with an API that exposes a built-in LLM. Could something like this work on the open web? Me and @surma.devoffthemainthread.tech/episode/chro...
Chrome is experimenting with exposing an LLM to the web platform.
🎧 Refresh your players, there’s a brand new OMT podcast episode! In this one, @jakearchibald.comoffthemainthread.tech/episode/chro...
Chrome has hidden extensions pre-installed. How bad is this?
📝 I set off to find the best way to make video with transparency work on the web. Over 10 bug reports later, it turns out it's better to handle the transparency manually with WebGL. Here's how: jakearchibald.com/2024/video-w...
It's better to do it yourself.
📝 JavaScript garbage collection doesn't work how I expected when it comes to closures. TIL! jakearchibald.com/2024/garbage...
GC within a function doesn't work like I expected
🎧 Not that loads of people asked for it, but @jakearchibald.commusic.youtube.com/playlist?lis...
🔊 Are Web Components Worth It? In the latest OTMT, me and @surma.devoffthemainthread.tech/episode/are-...
The history, the use-cases, and what's missing