Articles

May 30, 2024

How To Authenticate Your Google Service Account In Python Using Environment Variables

Securely store your Google service account credentials with environment variables and use python to authenticate with Google services.

May 28, 2024

How To Handle Rent Paid In Arrears Using Yardi Breeze

A work around for setting up rent schedules for tenants that pay in arrears, such as the Federal Government, using Yardi Breeze - a system that really wants rent to be paid in advance.

May 17, 2024

How to Handle Multiple Domains in Django with the Sites Framework

How to use the Django Sites framework in combination with custom middleware for supporting multiple domains pointing to discrete locations with a single Django application.

April 16, 2024

Considerations for Updating Time Zones in Django

Additional steps to consider when configuring time zones in your Django project for optimal user experience.

April 15, 2024

How to Use Time Zones with Django

A discussion on how to set up your Django project to handle timezones.

April 10, 2024

Content Components to Consider When Designing a Blog

What types of content structure to consider, how to break it apart and considerations on indexing content.

March 25, 2024

How Do You Embed Images in a Django Blog From a WYSIWYG Editor?

How to add images to you blog pages using a WYSIWYG editor widget in a blog built with Django.

March 20, 2024

Why are Simple Things Hard?

A meditation on why it sometimes feels more challenging to complete a simple task than a complex one.

March 18, 2024

Generative AI and the Authenticity Crisis

A speculation of the threat tools like generative AI pose to the human experience and our deliberate march towards redundancy.

March 15, 2024

Do Simple Things Well

What I've found to work well in developing a skill and being rewarded for it.

February 4, 2024

Triage in Commercial Real Estate Operations

Thoughts on how to approach and manage problems in commercial real estate when you're feeling stretched. Do diseconomies of scale exist in commercial real estate?

January 27, 2024

Adding a Limited User to Dockerfile Upends My Kubernetes Deployment

Adding a limited user to Dockerfile without considering downstream affects causing unanticipated problems requiring debugging that could have been avoided.

January 24, 2024

Trivial Mistakes I Made With Docker Compose This Week

Wasting time chasing complex solutions for simple mistakes in Docker, Docker Compose, & Kubernetes.

January 16, 2024

Health Care Savings Accounts: One of the Best Accessible Tax Strategies

HSAs are a great financial tool to offer tax savings in the current period while preparing you for unforeseen medical challenges that we all experience at some point in our lives.

December 31, 2023

Year-End Reflections 2023: Don't Be a Liar

In the 2023 installment of my annual reflections I examine the costs of lying and the ways non-truth can pop up and contaminate our lives.

November 21, 2023

Accounting Differences Between Arizona Rent Tax and Sales Tax

A discussion on the nature of Arizona Transaction Privilege Tax, common misconceptions and mistakes, and what the proper accounting treatment should be.

November 11, 2023

Managing Office Lease Credit Risk With Free Rent Timing

Considerations in managing credit risk when building free rent into commercial office leases.

November 9, 2023

Template Tests for Django TemplateView Requiring Staff Permissions

A mixin to be used with testing Django TemplateView class-based views that require staff privileges.

November 9, 2023

How to Test a Django TemplateView Requiring Staff Permissions

A discussion of how to test whether a Django TemplateView required staff permissions is properly structured.

October 27, 2023

Template Tests for Django TemplateView

A mixin for testing Django TemplateView class-based views to reduce having to write redundant test cases.

October 10, 2023

How to Test a Django TemplateView

An overview of tests you should consider for your Django TemplateView class view.

September 25, 2023

Test Logging in Django

An easy way to test Django logging to ensure your logs are being created as expected.

September 24, 2023

Fixing SQL ID Sequences in Postgres

How to reset the id or primary key for a particular table in a Postgres database when the sequence is throw off.

September 9, 2023

Flatpages In Django Part 2: Extending Flatpages

How to extend the Django flatpages app including a custom view to handle lookups by ID instead of URL.

September 8, 2023

Flatpages In Django Part 1: Basic Implementation

How to quickly set up Django flatpages for building generic, one-off pages like "about us," "privacy policy, "terms and conditions," and so forth.