FastAPI has made it easy for you to handle responses that deal with all sorts of data types (like datetime objects). However, It’s important to understand how FastAPI handles responses as you may run into bugs and lengthy debugging sessions otherwise. More info on FastAPI docs
[Read More]
How to use VS Code Dev Containers with your docker compose deployment for efficient development and deployment
In this guide we learn we can use VS Code's dev containers to develop inside any of our services setup by a docker compose deployment
Common Deployment Problems
Often times, as developers we are working across a tech stack (LAMP, MEAN, MERN) and you may need be working on multiple services simultaneously.
[Read More]
Running Ansible Inside a Docker container whilst using VS Code Dev Containers for VERY FAST development
This guide shows you how you can (and why you should) run ansible inside a docker container and why you should use VS Code dev containers for fast ansible development
Benefits of Running Ansible inside a docker container
[Read More]
Elasticsearch - Sort your aggregation buckets based on timestamp
This guide shows you how you can sort out the output buckets of an aggregation based on on which buckets have the latest timestamp (in elasticsearch)
By Default Elasticsearch’s aggregation tends to sort your buckets based on count. We want to be able to sort out buckets based on which buckets are “newer”.
[Read More]
(SOLVED) VSCode SFTP SSH Authentication Error in Linux
This guide aims to give a variety of solutions to the ssh authentication error that you might come across when using VSCode's SFTP extension
When using the VScode SFTP extension by Natizyskunk, you may run into issues when using it if you have set up the extension to use SSH.
[Read More]