Mastodon
separate

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
scrapy-plugin-alt

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
bdd-alt

Book Depository Dataset EDA

kaggle dataset: Book Depository Dataset kaggle notebook: Introduction to Book Depository Dataset github repo: book-depository-dataset Book Depository Dataset EDA Through this notebook we will try to become familiar Book Depository Dataset and extract some usefull insights. The goal of this notebook is to become an introductory step for the dataset. import pandas as pd import os import json from glob import glob import matplotlib.pyplot as plt import seaborn as sns % matplotlib inline Dataset Structure Files:...

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