BatisteDesigning a Card GameAfter playing games such a MTG, Hearthstone and Slay the Spire for quite some time, I wanted to create a board game taking some of the…Jul 19, 20231Jul 19, 20231
BatisteSpeed up you Github Actions by caching you Python packages installInstalling python packages on every CI run can be adding precious seconds before you can get a feedback. For my current project it was up…Jun 30, 20231Jun 30, 20231
BatisteinTowards DevDjango REST Framework Translated Serializer FieldThere is many ways to handle i18n with Django and DRF. This document describe a small ad-hoc solution using DRF serializers and a naively…Apr 28, 2023Apr 28, 2023
BatisteinTowards DevDjango Rest Framework authentication and Django Middleware: Why request.user is anonymous?When using DRF and in in the context of Django middleware I have often found to be the case that request.user is an AnonymousUser. Why is…Jan 4, 2023Jan 4, 2023
BatisteinTowards DevThe Blop language and a parser generatorAfter years of experimenting around on how to write an efficient compiler in JavaScript, I decided to test my latest creation by creating a…Dec 31, 2022Dec 31, 2022
BatisteinTowards DevDebugging a Python project with VSCode and DockerThis guide explains how to setup a Django project and Docker together for debugging sessions within VSCode. We will follow the steps…Dec 31, 2022Dec 31, 2022
BatisteinTowards DevDjango + Celery + Sentry + JSON Logging meta dataWhen working with a Python service it can be daunting to make all those tools work together and output useful logs with proper meta data.Nov 21, 20221Nov 21, 20221