TIL

A 5-post collection


RSS feed of posts tagged TIL

Week 46/47 - 2022

On Elixir's dbg, codepoints and winter stuff »

Week 45 - 2022

On Mastodon, Nix and the value of doing things last minute »

Transaction tests in Pytest

If you are coming from Django, you may have come across the slightly unfortunately named TransactionTestCase. While the most commonly used TestCase cleans up after each test by rolling back »

Django ORM - Order of query evaluation

When working with an ORM it is often easy to forget that whatever you write is ultimately translated to SQL queries. Consider this script: bookings = task.contractor.bookings.all() task. »

Request logging in Opbeat

Opbeat is undeniably awesome. It logs all the things, it provides useful traces, and it often let's you know things are broken before your users even start suspecting anything. When »