About Sam Sam's head

Popular Posts

(P)react vs Web Components: a Xoogler's perspective

My job was Web Components! For years! Read some thoughts.

In Defence Of Dialog

The modal dialog is here. Stop, and be prompted! βœ‹

Builtin Node.js Testing

It's 2022, and you can test your Node.js code without ANY dependencies πŸ₯³

Three Fun Facts on Australian Federal Elections

Want esoteric election content? Look no further! πŸ—³οΈ

Node.js Streams & Object Mode

Streams for bytes are rarely useful, and objectMode can be made better.

Understanding Load Events on the Web

We use the load and DOMContentLoaded events in our scripts, but do you understand why?

Recent Posts

Major Node Changes

(Updated for v18) Summary of major features in Node releases.

Foot Pedal For Mute

You've got hands. Why not try feet?

Code golf & the art of CSV parsing

What your minifer doesn't know, might hurt you.

Thoughts on Google and what's next

I'm leaving Google to join a tiny energy startup β˜€οΈπŸ”ŒπŸ”‹ as CTO!

Plex, Ubuntu & Quadro Cards on AMD

AMDs don't do hardware transcoding. You can buy a Quadro card and it works in Ubuntu / Linux.

How I Learnt To Stop Worrying And Love Animating The Box Model

Or, let's talk about accordions. πŸͺ—

Sents File Watcher for Node

A pure-JS file watcher with no dependencies.

Disposable Web Components

Web Components are described as re-usable. What if instead, we can dispose of them and restart whenever we like?