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.
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.
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.
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.
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.
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.
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.
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.
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.