Skip to content

Aaron Boman

Ramblings of a Coder

  • Home
  • About me
  • Blog

Aaron Boman

  • Home
  • About me
  • Blog

Programming

Per-Request Database Transactions with NestJS

July 24, 2024July 12, 2024

Back in 2020, I wrote an article about how to set up a database transaction that lasts the entire request (using TypeORM). However, the approach I took had two major drawbacks: The primary reason I went this route back in 2020 was because there was no stable way to store context about about the currently …

Read more

Categories Programming Tags nestjs, nodejs, transaction, typeorm, typescript 2 Comments

Python 3 and Generic Classes for IDE type-hinting

May 27, 2020May 27, 2020

Using Python 3 Generic types in a base class we can then provide concrete types in a subclass to get accurate type hints from an IDE like PyCharm.

Categories Programming Tags generics, intellisense, python3, type-hints 2 Comments

Per-Request Database Transactions with NestJS and TypeORM

July 12, 2024May 15, 2020

An example of how to set up per-request transactions

Categories Programming Tags nestjs, nodejs, typeorm, typescript 11 Comments

A Custom Mono + Italic Font

May 14, 2020May 14, 2020

In this post, I’m going to show you how you can take any two existing fonts (for example Fira Code and Script12 BT) and mash them together to create your own Operator Mono-like font.

Categories Programming Tags fonts, programming, vs-code Leave a comment

Python Metaclasses – A blueprint for types

April 9, 2024March 9, 2016
A blueprint

Python provides the ability to generate a class at runtime. We’ll explore how Metaclasses are classes that construct classes.

Categories Programming Tags metaclasses, python Leave a comment

Recent Posts

  • Per-Request Database Transactions with NestJS
  • The Wisdom of God
  • I am a Christian
  • Python 3 and Generic Classes for IDE type-hinting
  • Per-Request Database Transactions with NestJS and TypeORM

Recent Comments

  • aaron on Per-Request Database Transactions with NestJS
  • Dev on Per-Request Database Transactions with NestJS
  • aaron on Per-Request Database Transactions with NestJS and TypeORM
  • Tobias Feil on Python 3 and Generic Classes for IDE type-hinting
  • Tobias Feil on Python 3 and Generic Classes for IDE type-hinting

Archives

  • July 2024
  • August 2020
  • May 2020
  • April 2019
  • April 2018
  • June 2017
  • March 2016

Categories

  • My Testimony
  • Programming
  • Random

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
2025 © AaronBoman.com