
VIC-20 Tetris
Wrote Tetris in 6502 assembly for the Commodore VIC-20. You can find it here. Collision detection is a mess, and the sound effects are primitive. Flicker is also a problem. The pros are able to synchronize rendering with the scan…

Rust ANSI Art
I wrote a dumb utility to print a image to the console using Rust: https://github.com/paulmcgovern/ansi_image Rust is great, but I speak it with an accent. I’ve been working mostly with Python and JS for the last few years so returning…

PowerShell ANSI Art
Recent versions of the Windows console support RGB ANSI colors. Here’s a script that outputs an image to the console, useful for when you feel the need to beautify the user experience of some backup script. It repeatedly samples parts…

Fun With Common Table Expressions
I came across some interesting ways to use common table expressions (CTE) in SQL Server and pass them on in the hope someone may find them useful. The first example shows how to use a CTE to update a table,…