top of page

Search


Option vs Result in Rust: What’s the Real Difference?
If you’ve written Rust for more than a few days, you’ve probably hit this moment: You’re writing a function, something might fail, and now you’re staring at your screen thinking, “Should I return an Option or a Result?” They both kind of mean “something might go wrong,” but they’re not interchangeable. Let’s break it down in plain English. Option<T> — Sometimes There’s Just Nothing Option is Rust’s gentle way of saying, “Hey, there might be nothing here, and that’s okay.”No

Ruud Wijnands
Oct 26, 20252 min read


How to use pretty_assertions for Rust test cases
Practice using Rust’s pretty_assertions with exercises that highlight color-coded diffs for clearer test failures and easier debugging.

Ruud Wijnands
Feb 1, 20254 min read


How to use Git Conventional Commits Messages
Git Conventional Commits: type(scope?): subject ≤72 chars. Body & footer optional for details, references, or BREAKING CHANGE.

Ruud Wijnands
Jan 25, 20252 min read


Rust Basics of Checking Command-Line Arguments
In Rust, you typically read command-line arguments using the standard library’s std::env::args() function. This function returns an...

Ruud Wijnands
Jan 18, 20251 min read


My Vim Basics Cheat Sheet
Learning Vim is beneficial if you often use Unix or Linux systems. The following cheat sheet will help you get started with the basic...

Ruud Wijnands
Jan 4, 20253 min read


Rust’s println!: Way More Powerful Than You Think
When I started learning Rust, I treated println! like a simple print statement. You know, “just show some text” and move on. Turns out it’s a lot more than that. It’s basically a mini language for string formatting , and once you actually get what it can do, it’s powerful to use. If you’ve played with Python’s f-strings or .format(), you’ll recognize the vibe. But Rust adds a layer of precision and safety that’s surprisingly satisfying once it clicks. Start with the Basi

Ruud Wijnands
Dec 8, 20243 min read
![Understanding #[derive(Debug)]](https://static.wixstatic.com/media/44764b_c99a7b06022d4e3e9d8441b488d97b61~mv2.webp/v1/fill/w_333,h_250,al_c,q_30,blur_30,enc_avif,quality_auto/44764b_c99a7b06022d4e3e9d8441b488d97b61~mv2.webp)
![Understanding #[derive(Debug)]](https://static.wixstatic.com/media/44764b_c99a7b06022d4e3e9d8441b488d97b61~mv2.webp/v1/fill/w_454,h_341,al_c,q_90,enc_avif,quality_auto/44764b_c99a7b06022d4e3e9d8441b488d97b61~mv2.webp)
Understanding #[derive(Debug)]
In Rust, #[derive(Debug)] is an attribute macro used to automatically generate an implementation of the Debug trait for a custom data...

Ruud Wijnands
Dec 1, 20242 min read


Understanding the Halting Problem: A Fundamental Concept in Computer Science
Introduction The Halting Problem is a well-known dilemma in computer science that questions whether it is possible to devise a program to...

Ruud Wijnands
Apr 27, 20242 min read


Are Pull Requests Sabotaging Your Development Productivity?
In software engineering collaboration, platforms like GitHub, Azure DevOps, and GitLab have given us a formidable tool: Pull Requests....

Ruud Wijnands
Mar 27, 20242 min read


Choosing the Right Path: A Comparison of Git Submodules and Conan for Dependency Management
In software development, managing dependencies is crucial yet often challenging. When it comes to version control systems like Git,...

Ruud Wijnands
Mar 24, 20242 min read


How to Build a Linux Docker Container for Cross-Compiling C++ Code to macOS Mach-O 64-Bit
One way to build macOS-targeted binaries from a non-macOS environment is by using cross-compilation tools. This involves setting up a...

Ruud Wijnands
Dec 16, 20233 min read


Published an AlmaLinux 9.1 Vagrant box for Parallels Desktop on Mac M1
I use a MacBook Pro M1 for my development and am a happy user. I am developing training materials and want to provide pre-cooked virtual...

Ruud Wijnands
Apr 27, 20232 min read
What is TLS?
TLS stands for "Transport Layer Security," a cryptographic protocol that provides secure communication over the internet. It is the...

Ruud Wijnands
Mar 19, 20231 min read
Mastering ~/.ssh/config
The ~/.ssh/config file configures SSH settings for connecting to remote servers. It can be a powerful tool for customizing your SSH...

Ruud Wijnands
Mar 18, 20232 min read


How to work with multiple GitHub Accounts and ssh keys
If you need to work with different GitHub accounts, e.g., when you have personal and work accounts, you may want to create separate ssh...

Ruud Wijnands
Mar 18, 20231 min read


What is Position-Independent Code (fPIC)?
fPIC stands for "Position-Independent Code" in the context of computer programming. It is a flag used when compiling code to create...

Ruud Wijnands
Mar 12, 20231 min read


How to give your zsh shell a productivity boost on macOS
In this little tutorial, I will show you how to give your zsh a significant productivity boost as a developer. There are four simple...

Ruud Wijnands
Jan 8, 20224 min read


How to install Git on macOS
There are several ways to install Git on macOS. To write this tutorial, I am using an iMac with macOS Catalina. On a fresh installation,...

Ruud Wijnands
Dec 11, 20212 min read


How to uninstall macOS Command Line Tools
This tutorial assumes you have the macOS command-line tools installed on your system. I tested the tutorial on a macOS Catalina...

Ruud Wijnands
Dec 11, 20212 min read
bottom of page

