Skip to content

Instantly share code, notes, and snippets.

View islomar's full-sized avatar

Isidro López islomar

View GitHub Profile
@sleepyfox
sleepyfox / 2021-07-09-why-3x-is-only-half-the-story.md
Last active October 4, 2021 14:37
Why 3X is only half the story

Why 3X is only half the story

Many people will have read one of Kent Beck's articles on 3X or eXplore-eXpand-eXtract or The Product Development Triathlon. Many people have taken to explaining Kent's work on their own sites, sometimes helping, sometimes not, sometimes even ranking higher on search engines than the original articles!

I have an unpayable debt owed to Kent, his work started me off on a journey of discovery that forever changed how I practice my craft. I count him as one of the handful of people who in this field have had the most effect on my professional career.

But even the best of us are blind to things that our position, our background, our experience and our culture either deprioritise, hide away or even make taboo. I'm going to argue that Kent isn't wrong per se, but rather his model is only half the story - perhaps

@MarkRoddy
MarkRoddy / parse_s3_access_logs.sql
Last active August 6, 2025 08:25
DuckDB: Query S3 Access Logs
/*
Usage: you'll want to search for the strings <bucket> and <prefix>, and insert the S3 bucket where your access
logs are being delivered. Use (or delete) <prefix> to filter to a subset of your logs.
*/
/*
These commented out configuration settings you can either run yourself in the REPL and source this file using
`.read parse_s3_access_logs.sql`, or you can uncomment them and supply values for yourself.

Invariantes vs Reglas de negocio

A partir de esta conversación escribo este Gist.

Posible caso

Tenemos un almacen que tiene un stock por producto.

Regla de negocio:

  • No podemos vender un producto que no tenemos stock.
@xoelop
xoelop / .pre-commit-config.yaml
Last active March 12, 2025 11:12
script to replace secrets from one or multiple files, given a .env file where they're stored and pre-commit hook to run it before each commit
repos:
# Local hooks
- repo: local
hooks:
- id: env-var-replacer
name: Replace sensitive values with env variables
description: Replace actual values from .env with their variable names
entry: scripts/env_var_replacer.sh .env blur
language: script