Tech

Enum types in Ruby

When I start a new project in Ruby, the first module I copy over is my custom little enum.rb.

Many popular programming languages have built-in support for enums. C, C++, C#, Go, Java, Rust, Swift, but also looser-typed languages like PHP and Python.

Ruby doesn’t have native support for enum types, but it’s not hard to add and add some clarity and cleanliness to your code.

Classic Mac Experience

Classic Mac Experience

Learning something new offers a unique experience to take notes about tips, tricks and lessons learned that an experienced user may not think is noteworthy or think of at all. This is a bit of a journal of my experiences learning the ropes of Mac OS 9 in 2025.

This was originally written in April 2025 but I forgot to publish it. Oh well.

SQL Server over AppleTalk

SQL Server over AppleTalk

If you’re looking for an instruction guide to successfully connect to SQL Server from a Mac using AppleTalk, I’m afraid this isn’t it. This is documentation of efforts made to get it to work and the dead-end result.

Windows 2000 Domain Recovery

I have a Windows 2000 Active Directory domain that had one domain controller. I added a second domain controller and performed what I thought were all necessary steps to prepare the new domain controller to be the only one in the domain. Turns out I missed a few key steps and broke my domain.

Windows 2000 on libvirt

For the retro part of my home network, I have Windows 2000 Server running Active Directory, DNS, and DHCP servers on the retro VLAN. I was running this on Proxmox, but wanted to move this over to my Debian server running libvirt.

Rather than try to migrate the actual virtual machine, I installed a new instance of Windows 2000 Server under libvirt and added it as a Domain Controller.

libvirt has support for legacy operating systems, but its default configurations are not optimal and will cause difficulties.

Changing Brother MFC Language

Changing Brother MFC Language

I bought a Brother MFC-L2710DW multi-function laser printer and scanner. I bought it in Germany. When I turned on the machine for the first time it asked me to pick my country. The only options were Germany and Austria.