Whistlr
About Sam Sam's head

Popular Posts

AWS Amplify Is A Grift

Something something Amplify is bad

AbortController is your friend

The AbortController is ostensibly for fetch, but it has some other ways we can use it too.

Make Async Methods Sync in Node.js

You shouldn't block the main thread to make async methods sync... unless, hmmmm? 🤔💭

In Defence Of Dialog

The modal dialog is here. Stop, and be prompted! ✋

Node.js Streams & Object Mode

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

Opinions On Sydney Rail Transport

I'm funemployed now so have too much time to think about these things

Recent Posts

AbortController for expiry

The AbortController can be flipped on its head for memoized/cached values. Learn how.

Practical Python Modules

Python modules suck—here's some guidance if you've used Node.

Focus Management in 2022 📺

I spoke about <dialog> and inert! Watch it, plus read an addendum. 👀

Event-Driven JavaScript Development

You should be building objects that emit their own events in JS. Learn how!

Cross-Tab Title Hints

Hidden tabs can be made to work for your users—find out how 👀

Unit Testing React without Jest

Using the power of JSDOM, we can avoid Jest and its legacy code completely.

Three Fun Facts on Australian Federal Elections

Want esoteric election content? Look no further! 🗳️

Builtin Node.js Testing

It's 2022, and you can test your Node.js code without ANY dependencies 🥳