2023

Articles and demos from 2023, by month.

January

Self-describing code

It is possible to write code in a manner that allows you to choose whether to execute it immediately or grab a description of what the code does as an Abstract Syntax Tree. All using the same code.

19 January 2023

Parsing self-describing JavaScript code

It is possible to write code in a manner that allows you to choose whether to execute it or grab a description of what the code does as an Abstract Syntax Tree. All using the same code.

22 January 2023

March

Program: a programming language

Write-up to come.

8 March 2023

Rocks Off

Write-up to come.

11 March 2023

The Dodge Game

Write-up to come.

11 March 2023

3D Script IDE

This is an interactive environment for creating 3D animations using a simple scripting language.

14 March 2023

A pure JavaScript CPU emulator

A CPU takes instructions from RAM and acts on them: a working emulator for a tiny one in plain JavaScript, a loop and a switch.

14 March 2023

Flattening 2D data

Write-up to come.

14 March 2023

Comparison of JavaScript binary data objects

There are a set of objects for dealing with binary data in JavaScript, which are slightly different on NodeJS and in the browser.

15 March 2023

FastArray (draft)

A fast array is a trie-like data structure that allows for fast insertion and removal of elements at any index. It is useful for cases where you need to insert and remove elements at arbitrary indices in an array-like data structure.

15 March 2023

July

AI models in Docker containers

Every AI model wants its own Python, its own libraries and gigabytes of weights, so give each one a container of its own.

3 July 2023

Endless music with MusicGen

Getting an AI music model to keep playing, in time, for as long as you like.

7 July 2023

August

The Ai module

A JavaScript module to perform AI tasks with a convenient async interface.

14 August 2023

October

An introduction to MicroPython

Python 3, small enough to run on a microcontroller.

26 October 2023