🎧 Not that loads of people asked for it, but @jakearchibald.com and I put our Off The Main Thread podcast up on Google Podcast/YouTube/Google Music/YouTube Music/<insert Google’s current product iteration name>.
music.youtube.com/playlist?lis...
0 replies
1 reposts
4 likes
Scheduled a pickup with DHL, they never arrived and I can’t schedule a new pickup time.
Went to website and clicked on “Help & Support”. It shows this in response.
10/10 would Lorem Ipsum again.
0 replies
0 reposts
10 likes
Reposted by Surma
🔊 Are Web Components Worth It?
In the latest OTMT, me and @surma.dev look at the benefits and tradeoffs of web components, and how things could improve.
⬇️ Listen here ⬇️
offthemainthread.tech/episode/are-...
0 replies
3 reposts
10 likes
🔥 A brand new episode of the Off The Main Thread podcast is out NOW!
While I built Wasmphobia, I learned a lot about how Source Maps (and WebAssembly’s counterpart!) work. In this episode, I try and share it all with @jakearchibald.com!
offthemainthread.tech/episode/why-...
0 replies
3 reposts
8 likes
(⚠️ Definitely one of the dumber things I have written)
This ES6 Proxy lets you instantiate any WebAssembly module without having to care about every import it requires. It generates an empty function for the ones you don’t provide.
gist.github.com/surma/da12f7...
0 replies
0 reposts
3 likes
I added experimental support for JavaScript sourcemaps (both inline and separate) to Wasmphobia.
I liked the idea of making it a one-stop-shop for all your bundle analysis needs 😅
wasmphobia.surma.technology
0 replies
0 reposts
3 likes
I really wanted to know which libraries are bloating my WebAssembly binaries, so I wrote a visualizer.
Throw in a .wasm file with DWARF debug symbols, and wasmphobia will generate a flame graph for you, breaking down the module by source file.
wasmphobia.surma.technology
0 replies
3 reposts
6 likes
ICYMI: In the most recent OTMT podcast episode, @jakearchibald.com and I talk about putting React in the browser.
While that’s good clickbait, the episode is about about past and present platform proposals that aim to help frameworks with managing the DOM.
offthemainthread.tech/episode/putt...
0 replies
1 reposts
4 likes
Reposted by Surma
🧶 What would it mean to "put React in the browser"?
Can something like element.replaceHTML(html) be added to the platform to perform diffing and update the DOM?
Me and @surma.dev talk it through: offthemainthread.tech/episode/putt...
0 replies
1 reposts
4 likes
Trying to get started with Kubernetes. Slightly annoyed by the cyclic “you should know about X first” in the docs 🙄
1 replies
0 reposts
6 likes
Just found a great show-case of AbortController. I don’t think I could make this code as concise without aEL’s support for AC signals.
Note that I need to:
- access `controller` from within the listener,
- access `this` in `start()`
- remove the listener in `cancel()`
0 replies
0 reposts
4 likes
One of my biggest upsets with getting more into smart home & automation is the hard data that my washing machine's "TurboWash 59" program takes 65 minutes.
0 replies
0 reposts
6 likes
Reposted by Surma
🧶 ICYMI, here's the latest episode of OTMT, where me and @surma.dev chat about service worker static routes, and whether it's ever ok to throw away most of the web platform and do everything in <canvas>.
Listen here: offthemainthread.tech/episode/canv...
1 replies
1 reposts
6 likes
First time actually playing with the new-ish Navigation API.
developer.mozilla.org/en-US/docs/Web/API/Navigation_API
A very modern API. A lot more control. As a trade-off, not as trivial to implement correctly.
First tripwire for me: `navigationEvent.intercept()` commits the new URL.
0 replies
0 reposts
5 likes
The more I get into compilers, the more I think the Dragon Book (used at university and often recommended on the internet) is a bad introduction.
It makes it seem like lexing and parsing are difficult and like they are the main part when building a compiler.
Neither is true.
0 replies
1 reposts
3 likes
How is that not your profile photo mate
0 replies
0 reposts
1 likes
I have successfully ignored the main quests so far and have just been trying to claim towers and yeet myself through the air 😂
0 replies
0 reposts
0 likes