I'm currently open to new opportunities! View my resume or connect on LinkedIn.

TIL: Dash Testing, Docker Compose, and Python Mocking

Web Development and Testing Dash Framework Testing It is possible to memoize dash callback responses with flask-caching Dash supports response caching to improve performance Flask-caching integration allows for sophisticated caching strategies Important for optimizing callback-heavy Dash applications Flask-Dash Integration Best Practices Always ensure that dash registration in a Flask-Dash app is configurable Might want to not load dash when testing backend only Separation of concerns between backend API and frontend visualization Enables more targeted testing strategies Testing and Mocking Python Mock Module Best Practices When mocking python functions in a flask test, ensure you reference the module where the function is called, not where it originates from Common pitfall: mocking at the wrong import level Mock at the point of use, not the point of definition Critical for effective unit testing in complex applications Infrastructure and Networking Docker Compose Development Insights docker-compose has no docstrings Interesting observation about code documentation practices Even popular tools can have documentation gaps Reminder of the importance of good code documentation DNS and Network Tools Pi-hole Architecture pihole’s Faster than light engine is a fork of dnsmasq Built on proven DNS server technology Optimized for ad-blocking and DNS filtering Demonstrates how open source projects build on each other Command Line Tools argparse does support sub-commands Python’s built-in argument parsing library is more capable than often realized Enables building complex CLI interfaces with nested commands Alternative to third-party libraries like Click for simpler use cases

July 23, 2020 · 2 min · 239 words

TIL: Optimizing Rust Compile Times

Today I learned about techniques to improve Rust compilation performance, including dependency management, feature flags, incremental compilation, and toolchain optimization strategies.

July 22, 2020 · 13 min · 2761 words

TIL: Rust Systems Programming and Terminal Productivity Tools

Today I learned about Rust systems programming through terminal applications, backend development patterns, Pi-hole networking setup, and various development productivity tools and resources.

July 21, 2020 · 29 min · 5986 words

TIL: Curated Development Resources and Learning Paths

Today I learned about comprehensive curated lists of development resources, learning curricula, and specialized tools covering everything from CSS protips to computer science fundamentals and documentation systems.

July 20, 2020 · 20 min · 4139 words

TIL: Python Code Quality and Development Tools Deep Dive

Today I learned about advanced Python code quality tools, CPython internals resources, and modern development practices from my archive of learning notes.

July 18, 2020 · 6 min · 1084 words

TIL: Documentation Systems and Educational Resources

Today I learned about effective documentation systems, comprehensive learning resources for computer science, and modern educational platforms from my archive.

July 17, 2020 · 6 min · 1083 words

TIL: Real World Cryptography, Programming Languages, and JPEG Decoding

Cryptography and Security Real World Cryptography Book Book on Real World Cryptography Practical approach to understanding cryptographic concepts Focuses on real-world applications rather than pure theory Manning Publications interactive book format VPN Solutions Pritunl - Simple OpenVPN Implementation pritunl is a simple home OpenVPN implementation Web-based OpenVPN server management Simplified setup and configuration for home users Alternative to complex commercial VPN solutions Computer Science Education Brown University Programming Course Brown University: Programming and Programming Languages Comprehensive course on programming language theory and implementation Covers language design, semantics, and implementation techniques Free online course materials available Technical Deep Dives JPEG Decoder Implementation Understanding and writing a JPEG decoder in Python Step-by-step guide to implementing JPEG decoding Explains the JPEG compression algorithm and file format Practical Python implementation with detailed explanations Great for understanding image compression fundamentals

July 16, 2020 · 1 min · 135 words

TIL: Real World Cryptography, Rust Resources, and CS Education

TIL 2020-07-16 Book on Real World Cryptography - A practical guide to applied cryptography by David Wong. Brown University: Programming and Programming Languages - Comprehensive course materials on programming language theory and implementation. CS 61B Data Structures, Spring 2019 - Berkeley’s excellent data structures course with Java implementations. Crust of Rust on YouTube - Jon Gjengset’s series diving deep into intermediate Rust concepts. Foundations of Applied Mathematics - Lots of Python and Data Science resources from BYU. ...

July 16, 2020 · 1 min · 189 words

TIL: Flask Advanced Patterns and Development Tools

Today I learned about advanced Flask patterns including Method Views, Signals, profiling techniques, and security extensions that enhance Flask application development.

July 15, 2020 · 7 min · 1485 words

TIL: Barry Warsaw Zen of Python Song and Flit

Python Community and Culture Barry Warsaw’s Zen of Python Song Barry Warsaw adapted the Zen of Python into a Song! Creative interpretation of Tim Peters’ famous “Zen of Python” principles Demonstrates the playful and creative side of the Python community Barry Warsaw is a core Python developer and former release manager Python Packaging Tools Flit - Simple Python Package Publishing Flit for Python Lightweight alternative to setuptools for simple Python packages Focuses on pure Python packages without complex build requirements Simplifies the package creation and publishing process Uses pyproject.toml for configuration Created for packages that don’t need complex build steps or C extensions

July 14, 2020 · 1 min · 103 words

Subscribe to Newsletter

Get the latest posts and insights delivered to your inbox.

Built using Picoletter.