Changing SHM Size for PostgreSQL in a Docker Container

If you are having issues like time outs when querying data within any application from PostgreSQL instance running locally in a Docker container, you are probably running into memory allocation issue set by the Docker container which defaults to 64MB. You can update the SHM (shared memory) by adding the…

A Pitfall of Writing Shell Scripts on Windows

This is something I have learned the hard way and most likely a rookie mistake. I have been using Visual Studio Code when tailoring Dockerfile definitions for various projects since Visual Studio Code comes with a very handy Docker extension from Microsoft. You can view, attach, start an interactive shell,…

Docker, GitLab CI and Developing R Packages

When I started developing R packages, I did not care much whether they would build with no errors, no warnings and no notes. I hardly knew about Build & Reload and Check in RStudio. I am not going to lie. I never finished reading Hadley Wickham's R Packages book (I…