OddBit
Home
Categories
About
  • The case against .env files for configuration

    João Pinheiro Dec 2, 2021 · 7 min read · best-practices  ·
    Share on:

    Using environment variables to store sensitive information is a well-known bad practice that seems to be ignored by the "the twelve factor app" manifesto. We will dissect on why this is a bad practice, and why it is not a solution for the problems it tries to solve.

    Read More
  • Globally unique numeric keys in PostgreSQL

    João Pinheiro Dec 1, 2021 · 7 min read · sql tutorial  ·
    Share on:

    Usage of numeric unique identifiers is a very popular approach to identify individual records in database systems. However, these identifiers can lead to collisions between multiple database instances. In this tutorial, we show a simple mechanism to generate unique numeric keys per cluster.

    Read More
  • Minimalist dependency injection in Python

    João Pinheiro Nov 15, 2021 · 19 min read · patterns tutorial  ·
    Share on:

    Dependency injection (DI) is a well known and broadly used pattern to provide dependencies to a given object, following inversion of control principles. In this tutorial you will learn how to build a simple but powerful DI system in Python.

    Read More

Featured Posts

  • The case against .env files for configuration
  • Globally unique numeric keys in PostgreSQL
  • Minimalist dependency injection in Python

Recent Posts

  • The case against .env files for configuration
  • Globally unique numeric keys in PostgreSQL
  • Minimalist dependency injection in Python

Categories

CLUSTER 1 POSTGRESQL 1 PYTHON 1 RANT 1

Tags

TUTORIAL 2 BEST-PRACTICES 1 PATTERNS 1 SQL 1
OddBit

Copyright 2020-  ODDBIT. All Rights Reserved