DiscoverOff The Main Thread
Claim Ownership
13 Episodes
Reverse
After talking about Bazel in one of our previous episodes, we are now looking at Nix, a build system that has been getting increasing attention lately. Resources: OTMT Bazel episode Surma's video on Nix Eelco Dolstra's PhD Thesis Nix & NixOS A branch of Squoosh using Nix Nixpkgs manual Comparison of size and freshness of different package managers Home Manager Nix pills
We're finally getting a element we can fully control with CSS! A bunch of other stuff needed to be added to the platform to make it work, and the good news is we can use it a lot of them independently of . Resources: Chrome's article on the new , and how you can provide feedback. The CSS appearance property. Nope, I still don't know what it does. The Popover API. "On popover accessibility: what the browser does and doesn’t do" by Hidde de Vries and Scott O'Hara. The CSS anchor positioning API. The previous spatnav spec effort. The hidden attribute until-found value (sorry, I said if-found in the episode). The CSS element function. Timing of cloning for the element. Animating to height auto. The new entry-exit animation feautres. The proposed command and commandfor attributes which give buttons declaritive activation behavior.
Chrome is experimenting with exposing an LLM to the web platform. Jake and Surma dig into how the API works, and whether something like this could work on the open web. Resources: The explainer ChatGPT functions Chrome's initial vague docs about the feature Gemini terms of use The EURion constellation WebNN
Luca found a hidden Chrome extension that is installed by default in Chrome and most Chromium derivatives. Surma and Jake dig into what this extensions does and how reasonable it is to get angry about it. Resources: Luca’s original tweet thread The extension’s source code Discussion on blink-dev The original PR that introduced the extension Brendan Eich’s response Brave PR disabling the extension
In this episode, Jake and Surma chat about web components. Why they were invented, what they're useful for, and how they would improve. Resources: Surma showers his eyeball. The old custom elements 'v0' spec. The old shadow DOM 'v0' spec. The old HTML imports spec. The initial version of Polymer. Lit (formally lit-html). HTML attributes vs DOM properties. Issue looking at ways custom elements could have behavior. The ElementInternals API, for making custom elements interact with forms. The is attribute. WebKit's position on the is attribute. Programmatically assigning children to slots. Issue looking at ways to slot children that aren't direct children of the shadow host. Declarative shadow DOM. Custom element support in React 19. pinch-zoom custom element.
In this episode, Surma shares with Jake all the things he learned reading up on source maps and DWARF. Resources: Jake's Jericho triangle source-map-explorer Hacker News comment by Joseph Shorr on the origins of source maps The Source Map "specification" EvanW's source map visualizer Wikipedia: VLQ DWARF specification llvm-dwarfdump gimli addr2line bundlephobia Wasmphobia WebAssembly Debugging Chrome Extensions by Ingvar TC39 source maps spec Squoosh Animal Well .kkrieger: Gameplay video and Wikipedia article "C64 'fast loaders'" "Thank you for playing Wing Commander"
In this episode, Jake and Surma chat about the complexities of adding common framework patterns into the web platform, and work that has been done on that so far. Resources: Michael Jackson's tweet. Is WebAssembly magic performance pixie dust? - Surma's investigation into wasm performance. defaultValue reflects the value attribute. The value property is complicated. HTML template instantiation. DOM parts API. DOM Parts Imperative API. DOM Parts Declarative Template API. Atomic move for elements. Shizo Kanakuri's marathon record
In this episode, Surma talks about web apps that (partly) abandon the DOM and use canvas instead, to take rendering matters into their own hands. Figma is one popular app that uses this approach, while Flutter is an entire app platform that went with this technique to provide portability. Jake and Surma discuss the tradeoffs of building apps this way. Resources: AI text-to-speech having a stroke ServiceWorker Static Routes Targeting the browser with Bevy Flutter’s “Showcase” section with a 6MB gif Flutter’s Material 3 Demo w/o Wasm Flutter’s Material 3 Demo w/ Wasm Ian 'Hixie' Hickson’s “Towards a modern Web stack” document HarfBuff
In this episode, Jake chats about the latest EU ruling that requires Apple to allow other browser engines on iOS, and how Apple is reacting to it. Resources: Microsoft vs the EU Microsoft vs the US BrowserChoice.eu IBrowse Mobile operating system market share Web platform tests dashboard The internal Apple email about HTML5 The Open Web Advocacy group The EU digital markets act Safari is "three browsers" Same Safari, different device Apple's "Using alternative browser engines in the European Union" docs Apple is killing web apps in the EU
In this episode, Surma shares what he learned while getting started with the Bevy Game engine, Entity Component Systems and why they might be useful for the Web. Jake rounds up the newest JavaScript language features that landed in TC39’s Stage 3. Resources: Bevy Game Engine Bevy Rendering Pipeline Buffer-backed Objects, a library by Surma to store objects in ArrayBuffer Surma built Boids with Bevy: Tweet 1, Tweet 2 When should your alarm go off when daylight savings time kicks in? TC39 Stage 3 Proposals ShadowRealm style API on workers Our previous episode which covers JSON imports. The JSON spec. Pushing up the daisies.
In this episode, Jake investigates whether the existence of build tools is a symptom of the web being underpowered, or if they are part of the solution to make the web better. Surma shares his experience of learning about Bazel and how it can be used to build web projects. Resources: Touching cloth. Emirates silly class. Yes, we have done "The big build tool bonanza" before. Jake: Although "Terry's ringpull museum" isn't a real thing, the closest thing that comes to mind is a site I still use every time I buy a new pair of shoes, it's Ian's Shoelace Site. Jake's 10 year old blog posts on progressive enhancement. NextJS server actions. Rollup's docs. Jake and Surma’s talk on writing custom Rollup plugins. Vite. Some of the issues with HTTP/2 push. HTTP 203 episode on importing JSON. Using import attributes with build tools. Improving TypeScript types for import attributes. Silly view transition demo. Jason Lengstorf video: 4 Web Devs, 1 App Idea. Bazel. Aspect’s Bazel rules for JavaScript. Bazel Remote Caching.
In this episode, Surma talks about the “GPU” in “WebGPU” and how this new web standard makes programming for the GPU more accessible. Jake talks about how different browsers approach standards and their perceived ideologies around what they prioritize. Resources: Surma’s blog post on WebGPU A 13-part blog post series on the architecture of GPUs. The OpenGL internal state object explained Dawn, a C++ library that brings the WebGPU API to C++ wgpu, a Rust crate that brings the WebGPU API to Rust. The extensible web manifesto. Edge 'injecting' content into the Chrome download page. -webkit-box-reflect. Is Safari the new IE? Stadia controller flash.
(This is an episode from our previous podcast HTTP 203, originally published on June 29th, 2022) In this episode: - Surma changed jobs. - The Shopify interview process. - Pair programming vs pair problem solving. - Surma's also doing bits of work for Deno. - The complexities of testing image codecs. - Jake forgot to tell Ada how HTTP 203 filming ends, so it almost never did. - Keeping animations fast but simple for page transitions. Transcript: https://goo.gle/3ns4TTK
Comments
Top Podcasts
The Best New Comedy Podcast Right Now – June 2024The Best News Podcast Right Now – June 2024The Best New Business Podcast Right Now – June 2024The Best New Sports Podcast Right Now – June 2024The Best New True Crime Podcast Right Now – June 2024The Best New Joe Rogan Experience Podcast Right Now – June 20The Best New Dan Bongino Show Podcast Right Now – June 20The Best New Mark Levin Podcast – June 2024
United States