Over the flows

personal space about software engineering


Pattern Automate - boucle avec état

Quand on a besoin de parser un document complexe, on peut utiliser un pattern de programmation qui consiste à maintenir un état ou un contexte entre les itérations d’une boucle. Ce pattern permet de traiter un flux séquentiel de données en maintenant un état qui évolue au fil des itérations. L’état accumulé peut influencer le comportement des itérations suivantes. Ce pattern de programmation peut être appelé boucle avec état ou boucle à mémoire.

Read more...

[dev log] release of alfred-cli v2.2.1 - what's new

Version 2.2.1 of alfred is out. I’m happy with the changes in this version. I’m even more excited for the next release which will fix a major issue and remove the dependency on plumbum. 2 articles are ready and will be publish next week. 2 articles are ready for week to come : how to plays a continuous integration pipeline for fast api and react in local with alfred how to stream and capture at the same time stdout and stderr in python on both linux and windows.

Read more...

Supercharge your draw.io skills with custom styling

draw.io is one of my favorite tools for iterating and talking about software and system architecture diagrams. It’s intuitive, allows real-time drawing, provides a library of ready-to-use icons, and even works offline.

However, there’s one drawback when it comes to using these diagrams in corporate documents: they often end up looking unprofessional because of draw.io’s default style. Finding the perfect colors becomes a tedious process, there’s no way to save them, and the diagrams end up feeling generic.

This problem had been bugging me for years. But guess what? I recently discovered it could be tune with just a few lines of json. Let’s see how.

Read more...

Inspect dynamic Ansible AWS inventory

The inventory in ansible helps identify machines that need to be updated. The inventory can be dynamic. This is the case that will interest us. In this case, it’s hard to figure out what inventory ansible actually made. ansible-inventory allows us to inspect the inventory that ansible loaded and saves us from wasting time guessing which group and which machines ansible has referenced.

Read more...

Test a ftp data pipeline with pytest & docker

System integration tests are difficult to write, difficult to run in a continuous integration platform.

That’s behind us. I will convince you that they are easier to write and run in a continuous integration platform than you might think. We are going to write together the system integration tests of a data pipeline that downloads data from open weather and deposits it on an ftp server.

Read more...
1 of 1