Image for post
Image for post
Photo by Boba Jaglicic on Unsplash

Have you ever wanted to watch foreign malicious actors attack a virtual machine in real time? In this article, we will do just that with a python honeypot and Azure Monitor.

First, I need to give a shout-out to the Microsoft docs for setting up Application Insights. This explains in greater detail some things that I gloss over.

Also check out my GitHub repo with python honeypot.


This article has 3parts:

  1. Create a honeypot — set up a virtual machine that will run a python script to expose a port to public connections. …

Interactive charts are key to visual storytelling.

Image for post
Image for post
Tableau dashboard we will create in this article.

Building an infographic often starts while you are first exploring the data. Matplotlib, Seaborn, and ggplot2 are the classic programming charts, while Plotly has also exploded in popularity. But for me, nothing matches the clean professional aesthetic of Tableau. In this article, we will leave behind the inline Jupyter Notebook charts and learn how to create hosted interactive charts using Tableau Public.

This article is comprised of three parts:

  1. Researchwhat is your topic and how will you extract the data? In this article, we will check out the Bureau of Labor Statistics (BLS) API. We are able to…

COVID-19 has been the greatest influence on the US labor market since the 2008 financial crisis.

Faced with a fast-spreading disease, a slew of misinformation and unclear guidance from all levels of government, the national economy contracted as businesses temporarily or permanently shut down. It is apparent that certain sectors of the economy have been hit differently by the response to the virus, and this article will explore employment trends from January to June 2020 for three cross-sections: state, race, and industry.

Data for this analysis was retrieved from the Bureau of Labor Statistics. You can download the data and check out a python notebook at my github repo.

State Unemployment

Image for post
Image for post
link to tableau public

Linear regression is a data scientist’s most basic and powerful tool. Let’s take a closer look at the Least Squares Line and Correlation Coefficient.

Invention of Linear Regression

Image for post
Image for post
Photo by Johannes Plenio on Unsplash

Linear regression is a form of linear algebra that was allegedly invented by Carl Friedrich Gauss (1777–1855), but was first published in a scientific paper by Adrien-Marie Legendre (1752–1833). Gauss used the least squares method to guess when and where the asteroid Ceres would appear in the night sky (The Discovery of Statistical Regression, 2015). This was not a hobby project, this was a well-funded research project for the purpose of oceanic navigation, a highly competitive field that was sensitive to technological disruption.

Principles of Linear Regression

Linear regression is a method for predicting y from x. In our case, y is the dependent…

Elevate your mind with a modern productivity stack

Image for post
Image for post
Photo by Debby Hudson on Unsplash

Your tools are an extension of your mind

As such, they should work maximize your retention and help you realize connections and deeper meanings for your area of study. Your computer is a powerful sidekick for your brain, and its greatest strength is its ability to aid a human mind store information. You need the right set of tools to code information in a way that is clear but nuanced, simplifies complex ideas, and is optimally organized for the USER to retrieve and de-code.

The tools I suggest in this article have played a tremendous role in my ability to simply take good notes, and have contributed to…

Create a SQL database and Serve your API in the cloud!

Image for post
Image for post
Photo by Rollnik on Unsplash


This article is the fourth in a series dedicated to building a .NET API for the Angular Tour Of Heroes tutorial.

So far, we have:

  1. Set up our environment.
  2. Built a MSSQL Docker container database for local development.
  3. Wrote a .NET API for the Angular Tour of Heroes app.

You can pull a working local development version of the Angular App, .NET API, and a Docker MSSQL database from my GitHub repo, or build it yourself by following the previous article in this series.

Now, let’s deploy our .NET API to Azure! I must give credit to this awesome Microsoft…

Build a back end web server for the Angular Tour of Heroes tutorial

Image for post
Image for post
Photo by Archaique Chang on Unsplash

If you have been following along from the Series outline, and have a working database, an Angular Tour of Heroes App, and a generic .NET API, we have now come to the meat of the Series, writing the C# code for our .NET API.

To follow along, you can download a complete version of the .NET API + Docker MSSQL DB + Angular app from my GitHub repo.

The process we are going to follow for this article is:

  1. Connection String and Startup.cs
  2. Model
  3. Scaffold Controller
  4. Controller Routing
  5. Testing from Postman
  6. CORS
  7. Modify the Angular app

Let’s do this!

If you have not…

Level up development with container databases

Image for post
Image for post
Photo by Chris Pagan on Unsplash

Lightweight, fast, and convenient

You can stop waiting for your database admin to give you access to a dev server, or sifting through the endless documentation for setting up a MS SQL database on your computer’s locked-down work environment, and get to the bare bones of what you really NEED. A sql server that can take requests and return data. That’s it. Your API needs testing, and you need a database.

In the beginning stages of development, you do not want to spend hours configuring your sql server or dealing with a hosted database for a prototype project…

An epic journey from local development to cloud deployment!

Image for post
Image for post
Photo by Alex Azabache on Unsplash

Before proceeding:

This article assumes that you have already built the Angular official tutorial — Tour of Heroes app. If you have not built this, you should check the Angular docs, or download from here. Everything else will be taken care of in this series of articles!

What we will accomplish

In this series, we will embark on a magical exploration of .NET Core, Angular, Docker, Azure, and Azure SQL Server.

We will become familiar with several technologies, such as Docker containers, C#, JavaScript, SQL, and the Azure Command Line Interface.

The end result of these articles will be an Angular front end with a .NET…

With help from your old friends Docker and GitHub.

Image for post
Image for post
Photo by Damir Spanic on Unsplash

You built an app — now host it

This tutorial will help you deploy the official Angular Tutorial — Tour of Heroes app to Microsoft Azure using a Web App that runs a docker container from Azure Container Registry. We will then set up an automatic deployment from pushes to a GitHub repository.

There are a couple of moving parts, but we will go over every step in detail. Some major thank-yous are in order:

  1. Wojciech Krzywiec’s explanation of how to do a multi-stage build for an Angular docker container.
  2. Devdungeon article detailing nginx for angular.
  3. Official Docker docs explaining multi-stage builds.
  4. The official Azure Container Deployment docs.

Richard Peterson

Northwestern University Master’s in Public Policy Student

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