Posts with #tips tag

About Self-Service

When I hear self-service, I think of a restaurant where customers serve themselves, which minimizes wait times and maximizes efficiency. Similarly, in our software engineering team, self-service...

Design for the Long Term

I really enjoyed reading the debates around choosing boring or exciting technology. In my opinion, there is another interesting point, beyond new or old, that is about longevity, or durability....

About Maintenance Mode

You may be familiar with this situation: your team has been working on a project for a while, and now that it seems to do the job, it is not really justified for so many engineers to spend time on...

Tips for your Makefile with Python

Recently, while I was migrating old repos from TravisCI to Github Actions, I realized that several of them had wobbly Makefiles. I know that Makefiles are not super elegant, and that intrepid...

Check content hash between server and client

In order to make sure that your remote content was fetched successfully by your client, we can use a bit of cryptography. A simple way is to compute a hash on the server, and let the client...

Handling requests timeout in Python

Being optimistic is sometimes a disadvantage. When we make calls to an API, we usually test it under ideal conditions. For example, we make sure the client behaves as expected against a real HTTP...

Your tests as your specs

At last, with all this surrounding pressure, you finally decided to write tests. Now, you always setup TravisCI to run when code change is submitted. You now feel confident when pull-requests come...

Use Docker to ease database schema migrations

Docker is very versatile, and can fulfill many (many) different use-cases. You've probably heard of it to put applications in production. Even though I wrote quite a few Dockerfiles to package and...

Remove django form field validation errors manually

Original post at Makina Corpus Sometimes I look for something which seems so simple and stupid that I can't imagine it does not exist. It makes me wonder why and who is the fool. Worse, I can't be...

Git : annuler proprement un commit après un push

Ce qu'il faut éviter Pour annuler des commits, il existe la commande git reset. git reset --hard HEAD~1 HEAD is now at 444b1cf Rhoo Celle-ci est pertinente tant que les commits n'ont pas été...

More...