Redowan's Reflections — Page 9

Recent writing

Longer articles, short notes, and things I'll probably need to look up again.

Browse the archive
Writing a TOTP client in Go

Build a TOTP-based 2FA client in Go using the standard library. Generate time-based one-time passwords like Google Authenticator.

Interface guards in Go

Use compile-time interface guards to verify type conformity in Go without runtime overhead. Learn the var _ Interface = (*Type)(nil) pattern.

Writing on well-trodden topics

Why writing about common topics matters for personal growth, even when countless others have covered the same ground before you.

Go structured logging with slog

Master Go 1.21's log/slog package for structured logging with levels, JSON output, and attribute grouping. No third-party libraries needed.

Notes on exit interviews

Practical advice for navigating exit interviews from an employee's perspective, minimizing risk while maintaining professionalism.

Using DNS record to share text data

Share data via DNS TXT records using dig and base64 encoding. Learn limitations, security concerns, and practical use cases for DNS tunneling.

Descending into the aether

A reflection on choosing the MacBook Air M2 15-inch for portability without sacrificing screen size and development capabilities.

Search and navigate

Navigate