How and Why to Containerize Your Development

John Hoestje Articles, Development Technologies & Tools, Docker, Opinion, Python, Tutorial Leave a Comment

This is a tutorial for how to use the VS Code Remote-Containers extension to containerize your development environment.ย First, I will discuss my reasons for separating my programming environment and why virtual machines didnโ€™t work.ย Then, Iโ€™ll show a simple example using a containerized Python development environment.ย Finally, Iโ€™ll give you my reasons why containerizing the development environment fits what Iโ€™m looking for in a solution.

Expression Parser with Antlr4

An Antlr4-Based Expression Parser

Lou Mauget Articles, Development Technologies & Tools, Java, Programming, Python 1 Comment

In this blog, weโ€™ll present a simple arithmetic expression parser implemented through an Antlr4 parser generator. It will be able to take in an input string (such as 2+4+-4+-2*10%9*7) to produce the result (-12.0).

You may be thinking, “Great, but whatโ€™s the point?” Well, to answer your question, as simple as this example may seem, the principles involved actually extend to use cases such as DSLs, transpilation, and anything else expressible by grammar rules.

This post has two parts. In part 1, weโ€™ll discuss the background components of a parser. In part 2, weโ€™ll cover building the demo and running it. If you already understand grammar parsing, you could skip part one.

A Vue of Python

Chris Berry Articles, Development Technologies & Tools, JavaScript, Node.js, Python, Vue.js Leave a Comment

Earlier this year I blogged about creating a Lean Mean Vue Machine called Quotes on Demand. The application was a fully featured CRUD application served from a NodeJS server and had a self contained VueJS front end.

But wouldn’t it be a nice test to see if that same Vue application could switch over to another API, say something like a Python web server powered by Flask?

In this post, we will create a Python web application that will have 100% parity to an existing NodeJS web application. This will enable an existing VueJS front end to connect to the application with no additional code changes in the user interface code.

How to Create a Dystopian Future at Home with Python, OpenCV, and Microsoft Azure

Derek Andre Articles, Azure, Cloud, Development Technologies & Tools, Python, Tutorial 2 Comments

Facial recognition is both amazing and horrifying. Some amazing things it can do is the ability to find missing children or seniors, using your face to unlock your phone, and being able to board an airplane faster.

In this blog post, I want to highlight some powerful tools and platforms that allow you to create distributed facial recognition systems with OpenCV and Azureโ€™s Cognitive Services. By the end of this post, you will have a working face detector using OpenCV that can communicate with Azureโ€™s Cognitive Services.

I used Python 3.7.4 and pip 19.2.3 for this project. You can view the code from this blog at https://github.com/dcandre/Dystopian-Future-At-Home.