MareArts Open Lab

MareArts IDE Looks for VS Code and Cursor

MareArts IDE Looks for VS Code and Cursor

MareArts IDE Looks is a free VS Code and Cursor extension that makes the editor look and work like the IDE you came from. Six IDEs, from Visual Studio 2022...

MareArts IDE Looks for VS Code and Cursor

MareArts IDE Looks is a free VS Code and Cursor extension that makes the editor look and work like the IDE you came from. Six IDEs, from Visual Studio 2022...

Test tubes with coloured caps in a yellow rack

unittest.mock, from stand-ins to spies

A practical guide to Python's unittest.mock: replace a function or object for the length of a test, control what it returns, and check how it was called. Covers Mock, MagicMock,...

unittest.mock, from stand-ins to spies

A practical guide to Python's unittest.mock: replace a function or object for the length of a test, control what it returns, and check how it was called. Covers Mock, MagicMock,...

MareArts Themes for VS Code and Cursor

MareArts Themes for VS Code and Cursor

This article introduces MareArts Themes, twenty colour themes for VS Code and Cursor made from the MareArts brand palettes in dark and light versions. It shows how the colours were...

MareArts Themes for VS Code and Cursor

This article introduces MareArts Themes, twenty colour themes for VS Code and Cursor made from the MareArts brand palettes in dark and light versions. It shows how the colours were...

Colourful electrical wires on a light background, photographed by Kier in Sight Archives

API and ABI, and the line between them

Two acronyms one letter apart. An API is the promise you make in source. An ABI is the promise your compiled bytes make to somebody else's compiled bytes — and...

API and ABI, and the line between them

Two acronyms one letter apart. An API is the promise you make in source. An ABI is the promise your compiled bytes make to somebody else's compiled bytes — and...

Source code on a laptop screen

The X-macro, from #define to runtime reflection

Write the list once, replay it as an enum, a name table, a field descriptor table, a set of registration calls — with every snippet verified against gcc 11.4.

The X-macro, from #define to runtime reflection

Write the list once, replay it as an enum, a name table, a field descriptor table, a set of registration calls — with every snippet verified against gcc 11.4.

pytest, from your first test to your own plugin

pytest, from your first test to your own plugin

A path through pytest: plain assert and discovery, then fixtures and parametrization, then the configuration that makes a suite pleasant to live with, and finally hooks and plugins. Every runnable...

pytest, from your first test to your own plugin

A path through pytest: plain assert and discovery, then fixtures and parametrization, then the configuration that makes a suite pleasant to live with, and finally hooks and plugins. Every runnable...