Skip to content

Instantly share code, notes, and snippets.

View gordol's full-sized avatar

Gordo Lowrey gordol

View GitHub Profile
from typing import Optional, List, Literal, Tuple, Generator, Union
class PizzaGrid:
"""A simple class to encapsulate the needed state and helper constructs to orchestrate pizza deliveries.
You may pass in optional start_coords as a tuple of x/y coodinates.
You can spin up a goat to help the human courier by setting the with_goat boolean.
You can ignore invalid commands, or throw an exception, with the ignore_invalid_commands boolean.
@gordol
gordol / CaseClass.py
Created March 22, 2021 21:54 — forked from breeko/CaseClass.py
Scala's case class built out for Python
def CaseClass(case_class_name, **kwargs):
types = {}
for k, v in kwargs.items():
if type(v) is not type:
raise ValueError("{} is not a type".format(v))
types[k] = v
class CaseClassImpl():
initialized = False
@gordol
gordol / 2024-09-architect-engagement-process.md
Created September 23, 2024 22:03
Architect Engagement Process

Architect Engagement Process

Author(s):

Gordo Lowrey - Architect

Date:

September 2024

Summary

This document attempts to establish an Architect Engagement Process. The goal is to ensure structured, efficient, and scalable communication between the architect and various teams (product, engineering, data science, etc). This process outlines the primary architecture concerns, and defines how and when teams should engage for architectural consultation.

Architecture as a Discipline

Author(s):

Gordo Lowrey - Architect

Date:

September 2024

Summary and Purpose

Architecture provides the foundation for aligning technical solutions with business goals, managing complexity and enabling efficient data processing, while ensuring that systems remain secure, performant, and adaptable to future needs. This document seeks to define architecture as a discipline, developing a culture where architectural thinking is embedded in daily practice. Architecture is not the sole responsibility of architects, but a shared discipline that drives consistency, scalability, and long-term success. By instilling architectural principles, all teams will create an ecosystem that is efficient, maintainable, and aligned with business objectives.

@gordol
gordol / rfc-000.md
Created July 21, 2025 21:01
RFC Process

RFC Process

Author(s):

Gordo Lowrey - Architect

Date:

February 2024

Summary

This document outlines a proposed process for documenting proposals, discussing ideas, and making decisions in a structured, transparent, and collaborative manner.

@gordol
gordol / rfc-001.md
Created July 21, 2025 21:03
Architecture Decision Records

Architectural Decision Records (ADRs)

Author(s):

Gordo Lowrey - Architect

Date:

February 2024

Summary

This document proposes the adoption of a process to document the architectural decisions made during the software development process. ADRs aim to provide clarity, rationale, and context for important architectural decisions.