Skip to content

Instantly share code, notes, and snippets.

View islomar's full-sized avatar

Isidro López islomar

View GitHub Profile

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.
@MarkRoddy
MarkRoddy / parse_s3_access_logs.sql
Last active February 28, 2024 18:42
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.
@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

# pretty sudo prompt
read -r -d '' SUDOPROMPT << EOM
🌺🌳🌸🌷🌷🌸🌻🌷🌷🌸🌸🌸🌸🌷🌼🌷🌳🌺🌼🌺🌸🌻🌼🌼🌳🌳🌼🌺🌻🌷🐛🌷🌼🌻🌳🌸🌷🌷🌻🌸
🌸🦉🌻🌸🌳🌷🌸🌷🌸🌳🌸🌻🌳🐌🌻🌷🌷🌼🌻🌺🌺🌻🌼🌻🌻🌼🌺🌻🌳🌼🌳🌺🌳🌷🌻🌼🌷🌼🌻🌸
🌳🌸🌻🌺🌻🌳🌺🌺🌻🌺🌸🌻🌷🌷🌼🌻🌺🌼🌻🌻🌷🌳🌻🌸🌳🌷🌻🌳🌳🌳🌳🌼🌳🌳🌺🌷🌳🌺🌳🌺
🦉🌸🌻🌺🌺🌳🌸🌸🌼🌻🌺🌼🌷🌸🌳🌼🌺🌸🌺🌷🌻🌷🌺🌺🌳🌷🌷🐰🌸🌻🌳🌸🌼🌷🌼🌳🌷🐹🌼🌺
🌷🌳🌻🌸🌸🌼🐰🌷🌺🌷🌺🌻🌷🌸🌺🌻🌳🌻🌷🌻🌻🌺🌸🌸🌺🌻🌸🌻🌳🌳🌻🐦🌻🌼🌼🌻🌻🌺🌳🐰
🌼🐦🌻🌳🌸🌸🌳🌷🌺🌼🌳🌷🌸🌻🌼🌻🐛🌻🌼🌷🌺🌼🌺🌸🌺🦔🌷🌸🌷🌻🌻🌺🌼🌷🐌🌸🌷🌼🌸🐹
🌸🌳🌻🌼🌻🌳🌸🌷🌺🌷🌷🌼🌻🌷🌻🌺🌼🌼🌳🌸🌻🌻🌸🌼🌼🌸🌳🌺🌻🌻🌳🌺🌷🐰🌻🌼🐹🌷🌷🌳
🌼🌷🌻🌸🌼🌳🌻🌻🌳🌷🌼🌻🌺🌺🌺🌺🌺🌳🌻🌼🌷🌸🌸🌻🌺🌻🌳🌸🌷🌺🌺🌼🌸🌺🌻🌻🌷🌸🌻🌷
@carlosble
carlosble / jsdaycan2017_js_engancha_resumen.md
Last active April 7, 2020 22:08
Por que JavaScript engancha, #JSDayCAN2017
  • Historia:

    • Eich escribió el primer prototipo de JS en 10 dias en Mayo de 1995
    • Creado en poco tiempo, sin restricciones, como en Java las Checked Exceptions o en C# los metodos finales.
    • JavaScript Jabber Podcast con Brendan Eich: https://devchat.tv/js-jabber/124-jsj-the-origin-of-javascript-with-brendan-eich
    • Aprender JavaScript me obligó a estudiar. Kudos a Pasku por la cantidad de recursos que me pasó.
    • Scheme: Higher-order functions o functors, lexical scoping
    • Lo mejor es su flexibilidad, es multiparadigma
  • Douglas Crockford Lectures on JavasScript:

@jbrains
jbrains / 1-GraftNextCommitIfAny.sh
Last active July 23, 2017 17:56
Extract subproject from git repository by grafting commits onto the corresponding files
# CONTRACT
# SOURCE_SUBPRPOJECT_ROOT points to the "same" directory tree
# as TARGET_PROJECT_ROOT. We're extracting the directory tree
# at SOURCE_SUBPROJECT_ROOT into TARGET_PROJECT_ROOT.
#
# There must be a single, linear history in the SOURCE repository.
# Graft the current commit into the target
pushd "$SOURCE_SUBPROJECT_ROOT"
commit_comment="$(git log -1 --pretty=%B)"
@eferro
eferro / TheMotionAgileSoftwareDeveloperInfrastructure.md
Last active April 24, 2017 14:13
TheMotionAgileSoftwareDeveloperInfrastructure

Agile Software Developer (Infrastructure)

Madrid, Community of Madrid, Spain · Product

Description

We are looking for a Software Developer with experience in infrastructure and architecture to join our dynamic Tech Team, based in Madrid (Spain). As a software developer you will be part of a collaborative effort in continuously delivering business value for our product and customers, with special emphasis in traversal/infrastructure services.

We are a SaaS company that believes in simplicity. We work to change the way people feel and make video advertising, aiming to make it as simple as clicking a button.

Engineering Team Culture

  • We love our profession. We work hard to build the best product and the best team that any SaaS company could have.
@bifer
bifer / relacion_estable.md
Last active November 19, 2020 09:04
Relación estable equipo desarrollo/sistemas

En Alea Soluciones buscamos relación estable

En Alea Soluciones buscamos nueva compañera o compañero para relación estable dentro del equipo de desarrollo/sistemas; nos gustaría que dicha relación esté basada en la confianza, transparencia, empatía y en la pasión que todos compartimos por nuestra profesión.

TL;DR Como explicamos más adelante, buscamos un perfil principalmente técnico, por favor abstenerse perfiles de gestión, marketing y similares.

¿Cuáles son nuestros Valores?

Estos son los valores que como equipo más apreciamos, aunque por supuesto, no son los únicos

  1. Transparencia
  2. Respeto
  3. Colaboración
@josketres
josketres / eclipse-favorite-types-java-tdd
Last active January 3, 2016 18:19
Useful favorite types to add to eclipse IDE for Java development (TDD)
# Useful favorite types to add to eclipse IDE for Java development (TDD)
# Add them in Eclipse under:
# Window -> Preferences -> Java -> Editor -> Content Assist -> Favorites -> New Type
org.hamcrest.MatcherAssert
org.hamcrest.Matchers
org.junit.Assert
org.testng.AssertJUnit
org.mockito.Mockito
org.mockito.MockitoAnnotations
@sloria
sloria / bobp-python.md
Last active July 24, 2024 02:53
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens