Engineering · Architecture · Systems

Blog

Practical insights on building, improving, and scaling technology systems for modern businesses.

bucket manufacture denominator divide 100 * ✗ → 100.0 * ✓ % facility-month grain → capacity the tables don't contain → safe division
Study Notes

The Utilisation Pipeline

A worked example: facility utilisation percentage by month. Bucket to facility-month grain, manufacture the denominator the tables don't contain, then divide safely past the integer-division trap.

Jul 2026 · Reference
Open the notes →
zero-fill 14 PRECEDING SUM(CASE) → calendar → frame clause → rolling avg
Study Notes

The Rolling-Average Pipeline

One hard question that chains everything: SUM(CASE) revenue, zero-fill via a generated calendar, and a frame-clause rolling average, decomposed as a data pipeline and traced with real numbers.

Jul 2026 · Reference
Open the notes →
compute low RANK() OVER (...) AS rnk filter high WHERE rnk = 1 value not available where you need it? add a level
Study Notes

Compute Low, Filter High

One portable model that answers most intermediate SQL problems: when a value is not available where you need it, add a level. Compute it inside, filter or order by it outside.

Jul 2026 · Reference
Open the notes →
GROUP BY one row / bucket
Study Notes

Aggregation Fundamentals

One mental model and six rules. Everything GROUP BY can throw at you falls out of the bucket picture, with no new syntax beyond what you already know.

Jul 2026 · Reference
Open the notes →
grain: shipment fan-out ✗ one row per wh ✓ GRAIN → FILTER → COLLAPSE / SIDEWAYS → OUTPUT
Study Notes

SQL Thinking Traces

Working notes we use internally: reason a query into existence by tracing the grain down the execution pipeline. Worked patterns, an error catalog, and blank worksheets.

Jun 2026 · Reference
Open the notes →
Architecture

dbt: Data Pipelines Done Right

Putting the transformation on the database. How dbt changes the way you think about data pipelines.

Jun 2026 · 6 min read
Read article →
Engineering

The Risk You Carry Until You Can't

On the invisible weight of technical risk and why most teams don't see it until it's too late.

May 2026 · 5 min read
Read article →
DevOps

8 Silent Failures in 2 Workflow Files

Zero warnings. Zero errors. Eight things that would break in production. A deep dive into CI/CD pipeline failures.

Apr 2026 · 6 min read
Read article →
Engineering

The Problem Was Already Solved

Why the best engineering decisions often come from recognizing that someone has already solved your problem.

Apr 2026 · 5 min read
Read article →
Architecture

Two Workflow Files, One Missing Step, and a Broken Kitchen Dashboard

How duplicated CI/CD logic drifted, broke production, and why one shared workflow fixed it permanently.

Mar 2026 · 10 min read
Read article →
Case Study

Case Study: E-Commerce Automation

How an overworked founder saved time, cut errors, and grew revenue with the right automation strategy.

Jun 2025 · 7 min read
Read article →
Data & Analytics

Building a Data-Driven Culture

How organizations can build better decision-making habits by making data accessible, understandable, and part of everyday work.

Mar 2023 · 7 min read
Read article →
Python smtplib SMTP Server smtp.gmail.com :465 :587 SSL TLS Gmail Inbox <html> MIME Python → SMTP → SSL/TLS → Gmail → Delivered Secure email automation with smtplib
Automation

How to Send Emails from Your Gmail Account using Python

Learn how to send emails programmatically using Python, Gmail SMTP, SSL, TLS, and HTML email templates with secure authentication.

· 12 min read
Read article →
{"type":"message"} "AdaptiveCard" "entities":[...] "webhook":true "mention" "POST" > requests.post( url, payload) 200 OK Webhook Daily Standup Bot ! @Jones @Michael @Grace @Paul @Kate @Mark 3 Task Scheduler 12:00 PM daily
Automation

How to Send Messages in Microsoft Teams using Incoming Webhook Adaptive Card

Learn how to configure Microsoft Teams Incoming Webhooks, build Adaptive Card payloads, and automate team notifications using Python.

· 8 min read
Read article →
Windows Service Monitor PowerShell PS> Get-Service -Name AppMgmt Status: Stopped PS> Invoke-WebReq_ Webhook HTTP POST office.com/webhook T Microsoft Teams #general ALERT Service Down AppMgmt is not running ! OK All services running Every 10 min 10:00 10:10 10:20 10:30 ALERT Windows Service → PowerShell → Webhook → Teams Alert Automated infrastructure monitoring every 10 minutes
Automation

Microsoft Teams Webhooks Using PowerShell – Create an Alert System

Learn how to monitor Windows services using PowerShell, send automated Microsoft Teams alerts with Incoming Webhooks, and schedule monitoring with Windows Task Scheduler.

· 8 min read
Read article →
f Facebook Graph API Python JSON Insights DataFrame
Data Engineering

How to Extract Data from Facebook using Graph API

Learn how to authenticate with Facebook Graph API and extract Page Insights data including reactions, fans, reach, and demographics using Python.

· 12 min read
Read article →
GET GRAPH API PYTHON ANALYTICS
Data & Analytics

Data Extraction from Instagram API

A comprehensive guide to extracting Instagram analytics data using the Instagram Graph API, Python, authentication, and insights endpoints.

Sep 2021 · 8 min read
Read article →
MEDIUM OAuth2 PYTHON ANALYTICS { "views": 1240, "claps": 89 }
Data Engineering

How to Get Data from Medium API

Learn how to authenticate with the Medium API, generate OAuth tokens, retrieve publications, and analyze Medium account statistics using Python.

Sep 2021 · 7 min read
Read article →
Azure Blob Storage Python Download Transform Upload container-a container-b container-c
Cloud Engineering

How to Upload and Download Blobs from Azure Blob Storage Using Python

Learn how to use Python and the Azure Storage SDK to download, transform, and upload blob files using Azure Blob Storage.

· 7 min read
Read article →
S3 CRAWLER ATHENA
Data & Analytics

Connect CSV Data in S3 Bucket with Athena Database

A step-by-step guide to querying CSV data in Amazon S3 using AWS Athena and Glue Crawler, including how to avoid common CSV formatting pitfalls.

Aug 2021 · 6 min read
Read article →
Python Pyodbc SQL Server Database Pandas DF
Data Engineering

How to Connect Python with SQL Server Database Using Pyodbc

A practical guide to connecting Python with Microsoft SQL Server using Pyodbc, including reading and writing DataFrames with Pandas integration.

· 8 min read
Read article →