Separate app dependencies using Multi-stage builds

Intro Deploying and testing a web app using docker has become the standard nowadays. Quite often, we don’t pay attention on building more than one docker images of the service in order to use them for different scenarios. One of the most known use cases are the following: Use the docker image to run the application. Use the docker image to run the tests. Usually, the second scenario comes with some additional dependencies, such us: testing frameworks, mocking tools and others....

<span title='2023-05-16 15:24:09 +0200 +0200'>May 16, 2023</span>&nbsp;·&nbsp;3 min&nbsp;·&nbsp;Panagiotis Simakis

OSS: Estimate and monitor the number of active users using Github Actions

Context A beta version of your awesome open-source software has been released. Great news so far. Except from introducing new features, fixing bugs and answering users’ questions, it’s really important to have an estimation of the total number of users. In case you are not the only user of your OSS, it’s significant to monitor the active users for the following reasons: Motivation. Knowing that people are using you software will motivate you to keep maintaining and improving your project....

<span title='2022-02-20 15:24:09 +0200 EET'>February 20, 2022</span>&nbsp;·&nbsp;4 min&nbsp;·&nbsp;Panagiotis Simakis

Add prefect flow visualizations into a Sphinx project

This article demonstrates an easy way (hopefully) to add your prefect flow visualizations into your sphinx documentation using the sphinxcontrib-prefectviz plugin. Some context Let’s say that you have implemented some pipelines using the lovely Prefect, great news so far, you chose a great tool to automate the boring stuff. Now it’s time to document your flows, a simple way to have an overview of your flows is to use the flow visualization....

<span title='2021-11-12 15:24:09 +0200 EET'>November 12, 2021</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;Panagiotis Simakis

Exclude files from your dropbox easily using dropboxignore

The “Problem” A common issue/request about Dropbox was about ignoring files without using Selective Sync. Dropbox recently introduced the ability to ignore specific files or folders. Although the significance of the new feature, many users [ 1, 2 , 3, 4] have expressed the importance of ignoring files from Dropbox using Glob just like .gitignore. For various reasons Dropbox doesn’t seem to have the will to implement such a feature :/...

<span title='2021-01-02 15:24:09 +0200 EET'>January 2, 2021</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;Panagiotis Simakis

Store images efficiently in scrapy using folder structure

Introduction NOTE: This article was the reason to implement the scrapy-folder-tree scrapy extension. What is the problem and how deal with it When it comes to image storing, a common pitfall is to save all the images in a single folder. If the number of images is less than few thousands, when, stop reading this post because you will not face any issue. On the other hand, if you are planing to store numerous images, then consider splitting them in different folders....

<span title='2020-08-06 15:24:09 +0200 +0200'>August 6, 2020</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;Panagiotis Simakis