Comprehensive guide for setting up Python environment on macOS Sierra. Covers installing pyenv for version management, creating .python-version file for project-specific versions, configuring shell environment variables, and using Homebrew for easy installation and updates of development tools.
Explores Remote Procedure Call as pattern for microservices architecture, comparing to message queues. Demonstrates JSON-RPC for message formatting with Redis pub/sub system for message distribution, showing how client waits for RPC return results while message queues typically trigger jobs without reply requirements.
Solving Project Euler problem 001 in multiple programming languages to maintain skills. The problem asks for sum of all multiples of 3 or 5 below 1000. Includes solutions in JavaScript (both original and ES6), Ruby, Groovy, and Python, with plans to add Clojure solutions for cross-language functional programming practice.
Code examples for generating MD5 hashes in three programming languages. Shows both quick one-line hashing and the update method for hashing large data in chunks. Notes about using SHA-1 with salt instead of MD5 for password storage to prevent rainbow table attacks.
Two Python scripts for managing ZFS snapshots. The first script creates timestamped snapshots of all filesystems in a zpool. The second script automatically removes snapshots older than 30 days by parsing the timestamp in snapshot names, useful for automated backup cleanup.