programming
-
lisp programming
UCB STk Scheme Interpreter for Working Through Brian Harvey's CS61A Course
This note describes how to install the UCB STk 4.0.1 Scheme interpreter on modern 64 bit Debian based systems. It also describes a method of building the Debian Package used to install the program. This is the version of scheme used by Brian Harvey in his 2011 course, CS61A: Structure and Interpretation of Computer Programs, named after and using famed text, Structure and Interpretation of Computer Programs by Harold Abelson and Gerald Jay Sussman with Julie Sussman, a phenomenally good computer science textbook.
Now, I'm not a package maintainer and I certainly don't know the nuances of building packages, this is just meant to document how I was able to get this working in 2023 after reading tons of "too bad, so sad, I can't get it to work posts", YMMV, but I've tested on LMDE5 (Elsie), Mint 21.1 (Vera), MX Linux 21.3 (Wildflower), and Ubuntu 22.04.2 (Jammy Jellyfish).
Here's a screenshot of the working system running on LMDE5:

-
linux os programming
Setting up Slackware 15 on T430 for X Window Programming
The note walks through the process of installing and configuring a working Slackware 15 64 instance with the packages mirrored locally for ease of access and eliminating the need to be online as much. When the system is up and running it provides xdm services to nearby hosts (those on the local network). This makes running and testing x window clients simpler and more interesting. You may notice that the note references other environments that you may not have or want to use (MacOS Mojave and FreeBSD 13.1). Just ignore those references as they are not strictly required.
I chose Slackware 15 64 as the environment after trying out various flavors of Debian, Arch, Kwort and others. While these worked ok, they did not provide much of a clean, vanilla x experience. Slackware, on the other hand, provided a sane, simple, and understandable x environment that was pretty vanilla :). It feels really good to get back to Slackware and its simplicity. I don't have a gazillion processes running doing who knows what, the laptop sleeps without crazy interventions, and stuff works well. That said, Slackware is not for the faint of heart. You should be somewhat familiar with Linux and it's command line interface and be willing to do your own research before jumping into it.

-
programming
Xlib basics
This note explores the basics of Xlib. It covers enough to open a window, configure it, display a message, respond to some events, and close it gracefully - see figure 1 for a hint at what this will look like.
Why xlib? Well, because we can, because it is the lowest level above the X protocol (sending bits around), and because, contrary to many espoused beliefs these days, knowing how to do something the 'hard way' helps you understand what's going on with the 'easy way'... and when things inevitably go wrong, you want to have a clue.
Figure 1. A Basic Xlib Application

-
os mac programming
Setting up for X-Windows Development on MacOS
This note describes setting up a development environment for doing X Windows Development on Mac OS from the ground up. The notes do apply to other environments... with minor tweaks (I tried the same basic setup on Debian Linux, DragonFly BSD, and FreeBSD with no major issues).
This is enough setup to build applications in X Windows using Xlib - the lowest level of programming in X... other than the X Protocol :). I did this because I have developed an interest in how graphical interfaces work and X, for all its quirks, is not self-limiting, crippled, partially proprietary or any of that nonsense and it is widely used.
After setting up, downloading some source, building and deploying, here's what we're looking at... on a Mac:

-
programming tools
dircmp.py - a plan to improve and extend
dircmp.py
A plan to improve and extend
This note pertains to dircmp.py a program that I wrote to give me information about two directories for the purpose of deciding what to keep and what to remove and to learn about python. The note is a draft note and as such it's not very refined and it may lack in many ways, but I thought it might be interesting to put it out there and let anyone see it. Email me if you have comments or suggestions.
-
m100 retro-computing programming
Notoriously S.L.O.W BASIC
This week, I spent some time writing code for my m100. On my list of things to do with the little machine, was to write a disassembler. In order to disassemble memory, it helps to know what's there, so I decided to write a memory dump utility first.
-
unix research-unix v7 programming
ratfor and Kernighan and Plaugers Software Tools
A short note documenting the process of getting ratfor working on a v7 instance.
-
programming
HelloMono - Mono on Windows XP
An article I wrote back in the day (2004-05-06)and published on CodeProject. The article is rated 4.11 and has been viewed more than 229k times as of October 21, 2025. Codeproject is no longer active. The links below refer to wayback's archived version.
-
programming
hello, world - A primitive view of the state of the art
An article I wrote back in the day (2004-04-30) and published on CodeProject. The article is rated 4.67 and has been viewed more than 161k times as of October 21, 2025. Codeproject is no longer active. The links below refer to wayback's archived version.
-
programming
LogDriver - A simplified log4j using C++
An article I wrote back in the day (2002-01-07) and published on CodeGuru. The links below refer to wayback's archived version.
https://web.archive.org/web/20250622081336/https://www.codeguru.com/cplusplus/logdriver/