Open in app

Sign In

Write

Sign In

Nicholas Porter
Nicholas Porter

739 Followers

Home

About

Published in Level Up Coding

·Pinned

NodeJS — Virtual Domains with VHost

Creating virtual domains with vhost middleware — First off, what is VHost? vhost is a NodeJS middleware package that serves as a simple manager to segment traffic to specific services based on the requesting hostname. More often you’ll see vhost used in Express servers as it is bundled with the Express standard library viaExpress.vhost. Looking at the vhost source on github, the…

JavaScript

2 min read

NodeJS — Virtual Domains with VHost
NodeJS — Virtual Domains with VHost
JavaScript

2 min read


Oct 30, 2022

The Origin of the Cat’s Responses to Rats and Mice (Kuo — 1938)

A summary of Recent Experiments in Psychology — 1938 Edition Is rat killing in cats “instinctive”? The word “instinct” possesses so many unscientific connotations that it has fallen into disrepute among most psychologists. …

Psychology

4 min read

The Origin of the Cat’s Responses to Rats and Mice (Kuo — 1938)
The Origin of the Cat’s Responses to Rats and Mice (Kuo — 1938)
Psychology

4 min read


Published in Towards AWS

·Nov 9, 2021

SNS and SQS with Localstack using GoLang

Writing this because it was annoying to setup. — First, we need to start up Localstack on our computer. Luckily all you need is docker and you can get it running. 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"

AWS

2 min read

SNS and SQS with Localstack using GoLang
SNS and SQS with Localstack using GoLang
AWS

2 min read


Jul 8, 2020

Spanish Contributions to 15th Century California Geography

Carl O Sauer’s writings on Spain’s exploration of the New World — 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 Famously known for his contributions to…

History

6 min read

Spanish Contributions to 15th Century California Geography
Spanish Contributions to 15th Century California Geography
History

6 min read


Jun 14, 2020

The Pareto Distribution

A natural law governing domains of creative human production. — 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…

Pareto

4 min read

The Pareto Distribution
The Pareto Distribution
Pareto

4 min read


Published in Age of Awareness

·Apr 28, 2020

Mycorrhizal and Protozoan Health

Rocks — The Refuge of the Mircoworld. — An often dismissed component in plant health is the comparative distribution of rocks to plants in a given landscape. The sight beneath a rock is quite predictable to those who have ever been outside. The soil is moist and dark with a possible biological makeup of various arthropods such as…

Plants

3 min read

Mycorrhizal and Protozoan Health
Mycorrhizal and Protozoan Health
Plants

3 min read


Published in JavaScript in Plain English

·Feb 22, 2020

Creating Pure Immutable Reducers in Redux

A quick demonstration on how you can migrate your current reducers to be pure and immutable. — 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. …

Redux

3 min read

Creating Pure Immutable Reducers in Redux
Creating Pure Immutable Reducers in Redux
Redux

3 min read


Published in JavaScript in Plain English

·Jan 17, 2020

NodeJS — Nuance of Requiring a File VS Reading a File

We’re going to walk through one of the small nuances of requiring vs reading a file directly during a running NodeJS process. — 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.

JavaScript

2 min read

NodeJS — Nuance of Requiring a File VS Reading a File
NodeJS — Nuance of Requiring a File VS Reading a File
JavaScript

2 min read


Published in JavaScript in Plain English

·Jan 6, 2020

JavaScript Iterator Benchmarks

Below are benchmarks and the accompanying function for the various ways to iterate in JavaScript. Some people may argue that benchmarking without real application data is pointless but I still find it useful to understand runtime implications in these artificial setups. Each was tested by iterating 10 million times. TLDR…

JavaScript

2 min read

JavaScript Iterator Benchmarks
JavaScript Iterator Benchmarks
JavaScript

2 min read


Published in Level Up Coding

·Dec 27, 2019

Chrome SameSite Update — Data Flow Audit

TLDR; Chrome is pushing an update to its browser to enforce SameSite and Secure values on all third party cookies. Systems that rely on third party cookies without these values will not be set in browser nor sent with any following requests. Below is a local network audit of New…

Chrome

5 min read

Chrome SameSite Update — Data Loss
Chrome SameSite Update — Data Loss
Chrome

5 min read

Nicholas Porter

Nicholas Porter

739 Followers

Researcher. Software. Plants.

Following
  • Darrin Atkins

    Darrin Atkins

  • Sam Westreich, PhD

    Sam Westreich, PhD

  • Will Lockett

    Will Lockett

  • Carlyn Beccia

    Carlyn Beccia

  • Nadin Brzezinski

    Nadin Brzezinski

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech