Nicholas Porter
Researcher. Software. Plants.

First, we need to start up Localstack on our computer. Luckily all you need is docker and you can get it running.

  1. Copy the following config and paste it into docker-compose.yml file.
version: "3"
services:
localstack:
image: localstack/localstack
container_name: “localstack”
network_mode: bridge
ports:
— "4566:4566"
volumes:
— "/var/run/docker.sock:/var/run/docker.sock"

2. Start…

All the information provided in this article was derived from the writings of Carl O Sauer. The historical geography of the Spanish in California is rich, these are only the accounts of the first commissioned surveys of California coast and the maps they produced.

Carl O Sauer

FFamously known for his contributions to…

Background

I recently stumbled upon a lecture given by psychology professor at the University of Toronto, Dr. J Peterson, where he details socio-political developments of the Soviet Union after the first World War. He begins by explaining how the“peasant class” in the Soviet Union had become tremendously successful in agricultural production…

Quick Redux Recap

Redux at its core is really just a one way messaging subscription system, but with this we can create amazing scalable state management.

In this messaging system we can subscribe (AKA “observe” and “listen”) to events, such as calling a function to make a request to an API. …

NOTE: This is not an in depth comparison of require and fs.readFile

TLDR

If want to reference the latest version of a file throughout your running NodeJS process use the fs package, otherwise if you want your data to remain constant or don’t anticipate the file changing use require.

Example

When programming…

Nicholas Porter

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store