Time Series Data Retrieval with Mixed Granularity Optimization

Executive Summary This document describes an optimized approach for retrieving time series event counter data stored in multiple granularities (5-second, 1-minute, 1-hour, 1-day, 1-week, 1-month) when querying with timezone-specific ranges. The solution minimizes data retrieval overhead while ensuring precise boundary coverage through intelligent granularity selection. Problem Statement Time series data is stored in UTC-aligned segments …

More

ChatGPT code generation

I asked ChatGPT to “Write pascal code to manage a sorted symbol table using two tables the main table and a secondary table, when the secondary table becomes more then 10% of the main table do a merge sort into the main table” This is something I wrote back in the late eighties, and aside …

More

Software Design Principles (that maybe work)

The Enchanted Principles of Wizarding Codecraft Ah, young witches and wizards, gather ’round! Today, we shall uncover the ancient and powerful magic that governs the art of spellbinding software development. These sacred enchantments, whispered through the ages, are known as the SOLID Principles, and they shall lead you to craft code as elegant as Dumbledore’s …

More