Roger Steve Ruiz is a software engineer.

Writing.

Sometimes my notebooks end up memorialized here.

devex programming
20 Feb 2024 15 min read

Data classes in Python

Using Data Classes in Python is a super convenient way to represent data & properties assigned to a class. It saves you from having to implement your own special methods like __init__ & makes managing the class a breeze when requirements change for how the underlying data is represented.

hugo learning
19 Feb 2024 6 min read

Table of Contents for your Hugo pages

Setting up table of contents sections in Hugo pages can be as complicated as you’d like. Let’s breakdown how I use it to hopefully inspire you to experiment with this useful feature.

devex learning nix
01 Feb 2024 9 min read

Using Nix with Exercism

Want to get really good at programming? Use Exercism. Want to get really good while using your own personal development environment? Use Nix. I’ll show you how to manage each Exercism track using Nix Shells. I hope it inspires you to try out Nix when using Exercism.

devex hugo learning
26 Jan 2024 7 min read

Labeling Code Blocks in Hugo

Using code blocks in Hugo is helpful when you’ve got to show some code in your posts. But labeling & highlighing them beyond the syntax highlighting helps the experience of your readers immensely.

devex mac nix
23 Jan 2024 8 min read

Using TouchID with Tmux

As I transition my dotfiles configurations over to Nix away from Homebrew & Chezmoi, I found myself elevating my priviledges a lot more than usual. Having to type my password so much lead me to question my life choices and how I can improve things for myself. In my research, I learned about using TouchID for Sudo, but quickly found that it didn’t work in Tmux.

automation devex mac nix programming
19 Jan 2024 11 min read

Using launchd to keep up appearances

I’ve covered how to automate appearances in macOS before using the Defaults CLI to check for values in the user defaults system. While this works well, I’ll show you how you can use launchd to automate things while using Nix Darwin to manage the functionality without having to write any XML.

management programming
24 Nov 2023 11 min read

Coding interviews

Interviewing for software engineers is a complicated topic. Here’s my observations with over a decade of experience interviewing on both sides for various engineering organizations.

git mac
28 Sep 2023 8 min read

Revisting lolcommits in macOS Sonoma

I upgraded to macOS Sonoma recently and it brought my career-long lolcommits setup to a halt! Thankfully troubleshooting and Zsh came to the rescue. But while I solved the issue I was having, I did start to question whether I should keep using this tool while Apple fixes their CLI tools.

devex hugo
04 Mar 2023 3 min read

Serve Hugo sites on your local network

When doing local web development, it’s useful to have multiple devices to view your site. This is especially true with mobile-first design & starting a Hugo project from scratch. This neat feature will help you do this reliably across development environments.