TL, DR Latex is the “gold standard” for writing academic papers. And it will be quite common to have co-authors in your research. How can you be collaborative and work simultaneously to edit the same paper using Latex, keeping consistency and immediately noticing somebody else’s updates? Overleaf is the ultimate answer. You can create a… Continue reading Collaborative Latex editing with Overleaf
Author: randomds
Sorting list elements in Python: sort() and sorted()
TL, DR Python lists are a great tool to handle data, and very often you will find useful to sort values in a list. There are two handy built-in methods to do so: sort() and sorted(). They sound similar, but they have quite different effects. Order matters Lists in Python are a great tool to… Continue reading Sorting list elements in Python: sort() and sorted()
Import NA strings in Pandas the right way
TL, DR Pandas has great parsing tools to let you import data from multiple file formats (CSV, Excel, etc…). Sometimes in your data you have “NA” strings that are valid values. However, Pandas default will consider those strings as markers for missing values. Below some option you can use to prevent this default and import… Continue reading Import NA strings in Pandas the right way
Access host resources from a Docker container
TL, DR Docker is a great platform for development and deployment of modern applications. Sometimes you need your Docker container to access some resource published on the host. This guide explains how to access host resources from a Docker container in Linux, Windows, and MacOS. Docker containers In today’s cloud environment Docker is one of… Continue reading Access host resources from a Docker container
How to check the health of your SSD or HDD?
TL, DR Sometimes you need to check the health status of a SSD or HDD. For instance, when you buy a second hand one. Or when you are preparing a RAID array and you want to make sure there is no disk close to its end-of-life. In Linux you can do so with a few… Continue reading How to check the health of your SSD or HDD?
Fix WSL2 issues to access folders
TL, DR Windows Subsystem for Linux version 2 (WSL2 for its friends) is a great tool developed by Microsoft that let you use a full Linux system fro within your windows machine. However, sometimes WSL2 may have issues to access some Windows folders. Rebooting WSL2 is often the quickest fix. Windows Subsystem for Linux In… Continue reading Fix WSL2 issues to access folders
Deploy a local Docker Registry with GUI
TL, DR During the development of Docker applications you may need to continuously pull and build images. A local Docker registry can help you to save time and effort, especially if your Internet connection is not the fastest in the world. The GUI by joxit helps to make this local Docker registry more user friendly… Continue reading Deploy a local Docker Registry with GUI
Multipass and Portainer to develop with Docker
TL, DR Ubuntu Multipass gives you the ability to create virtual machines on Linux, Windows and MacOS. It provides an image with Docker and Portainer pre-installed, so you can have a local Docker development environment with GUI in no time. Below a few commands to guide your first steps with Multipass and launching the Portainer… Continue reading Multipass and Portainer to develop with Docker
Minio, a powerful self-hosted object storage
TL, DR Minio is a powerful open source self-hosted object storage, similar to S3, that you can deploy on your own hardware or cloud instance. You can also deploy it on a Raspberry Pi. It has a comprehensive Python SDK for all operations. Minio Server Minio is a powerful open source software that enables you… Continue reading Minio, a powerful self-hosted object storage
Deta Cloud, a free platform for developers
TL, DR Deta Cloud is a free platform where you can deploy micro-APP. It includes serverless functions, a NoSQL database, and cloud object storage. You can use Python or Node.js to develop and deploy your app for free. Deta Cloud Deta Cloud is a new platform that you can use to deploy small projects. It… Continue reading Deta Cloud, a free platform for developers