A proposal to add support for built-in readonly typed arrays got rejected by the TypeScript team. This post shows how to build your own.
My name is Daniel Imms, I'm a software engineer from Australia. I live in Washington State and work at Microsoft on Visual Studio Code. I use this site as a platform to learn, revise and teach various software development topics.
I’ve been on Google Analytics pretty much since moving the site off of Blogger. Technically if you use GA now you require a cookie consent dialog which got me thinking why I actually use GA.
When working on an application that interfaces with an Azure Cosmos DB backend you could use an actual Cosmos DB instance to test against but that’s a bit of a hassle as it involves setting up and configuring an actual instance. It turns out there is an emulator that runs in a docker container that you can test against instead.
I’m currently going through the POSIX specification and wanted to document some of the lesser known things you can do.
xterm.js ran into a great problem to use the Intersection Observer web API. This post introduces the problem, what Intersection Observer is and why it’s such a good fit.
I started using nvm a while ago but ever since then my terminal has been very slow to start up.