Open in app

Sign in

Write

Sign in

Batiste
Batiste

95 Followers

Home

About

Oct 20

DeckHand Kickstarter: 97%

DeckHand, the pirate card game, is on the cusp of becoming a reality! We’re just a few pledges away from making it happen. If deck building is your cup of tea, or you are curious about it, check out our campaign! >> DeckHand Kickstarter Campaign << If you’re interested in the behind-the-scenes of our game’s creation, I’ve dusted off an article that explains the entire process: The Making Of DeckHand

Card Game

1 min read

DeckHand Kickstarter: 97%
DeckHand Kickstarter: 97%
Card Game

1 min read


Jul 19

Designing a Card Game

After 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 ideas behind those games. Deck building, in particular, has been an enjoyable aspect for me. I initially crafted a prototype featuring a crew of…

Card Game

7 min read

Designing a Card Game
Designing a Card Game
Card Game

7 min read


Jun 30

Speed up you Github Actions by caching you Python packages install

Installing python packages on every CI run can be adding precious seconds before you can get a feedback. For my current project it was up to a minute. Github cache action can help us here. My setup uses pipenv, but potentially a similar setup should work with pip…

Cache

1 min read

Speed up you Github Actions by caching you Python packages install
Speed up you Github Actions by caching you Python packages install
Cache

1 min read


Published in

Towards Dev

·Apr 28

Django REST Framework Translated Serializer Field

There is many ways to handle i18n with Django and DRF. This document describe a small ad-hoc solution using DRF serializers and a naively translated Django model to provide a seamless experience to the API user based on its language preferences. Lets consider you have this artificial Product model #…

Django

2 min read

Django REST Framework Translated Serializer Field
Django REST Framework Translated Serializer Field
Django

2 min read


Published in

Towards Dev

·Jan 4

Django 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 that? It is because the DRF authentication classes are executed after all the normal Django middleware are already in their get_response stage. class DjangoMiddleware…

Django

2 min read

Django Rest Framework authentication and Django Middleware: Why request.user is anonymous?
Django Rest Framework authentication and Django Middleware: Why request.user is anonymous?
Django

2 min read


Published in

Towards Dev

·Dec 31, 2022

The Blop language and a parser generator

After years of experimenting around on how to write an efficient compiler in JavaScript, I decided to test my latest creation by creating a language that can be used for something in the real world: a language for the web. My contempt for Angular’s dependency injection and React’s Redux boilerplate…

Compilers

5 min read

The Blop language and a parser generator
The Blop language and a parser generator
Compilers

5 min read


Published in

Towards Dev

·Dec 31, 2022

Debugging a Python project with VSCode and Docker

This guide explains how to setup a Django project and Docker together for debugging sessions within VSCode. We will follow the steps detailed here. The specifics in this document are about Django but it should work all the the same for FastAPI or any dockerized Python code. Given that you…

Vscode

2 min read

Debugging a Python project with VSCode and Docker
Debugging a Python project with VSCode and Docker
Vscode

2 min read


Published in

Towards Dev

·Nov 21, 2022

Django + Celery + Sentry + JSON Logging meta data

When working with a Python service it can be daunting to make all those tools work together and output useful logs with proper meta data. This document is a step by step setup guide for Django. But is can be also applied to FastAPI or flask with minimal changes. First…

Logs

4 min read

Django + Celery + Sentry + JSON Logging meta data
Django + Celery + Sentry + JSON Logging meta data
Logs

4 min read

Batiste

Batiste

95 Followers

A Full Stack developer trying new things. https://batiste.github.io/

Following
  • Yoan Blanc

    Yoan Blanc

  • Raphaël Briner

    Raphaël Briner

  • David Gut

    David Gut

  • Iwan Gulenko

    Iwan Gulenko

  • Jessica

    Jessica

See all (76)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams