Why Functional Programming

James Slaughter Development Technologies, JavaScript, React Leave a Comment

React has gotten a little funny of late – a few years ago, it was normal to embrace the Object-Oriented paradigm, writing each component as a class and doing lots of this-binding.

Today, however, hooks and functional components have taken over React, and with it, a style of programming unusual for front-end frameworks is growing in popularity: Functional Programming.

This programming style has been in use for many years: Lisp, Haskell, Clojure, and OCaml are all established, though mainly out of the mainstream, languages with a rich history and broad application. Thinking ‘functions are first-class citizens’ sounds strange, especially to new JavaScript developers who have spent most of their time in Python or Java that come from an Object-Oriented perspective.

That’s why in this post, we will go over the basics of Functional Programming, how we compose functions, a handy implementation of a ‘pipe’ function that will compose functions, the process of currying and functions-as-return-value, and how we can use these concepts in React using Higher-Order Components.

Leveraging Docker to Quickly Setup an Object Detection API

Adam Costenbader Development Technologies, Docker, Tutorial Leave a Comment

In this blog, we utilize the strengths of Docker containers to quickly spin up two separate containers that we can utilize for our software development needs – one running the DeepStack API software and the other running a utility to help us get started with the DeepStack API.

The best part is that once we are comfortable with our setup, we could quickly and easily stop and remove the DeepStackUI utility container to free up resources all while continuing to run the DeepStack API software without interruption.

Bridging the Gap: Azure App Insights to On-Prem Elastic Stack

Zach Gardner Azure, Development Technologies, Tutorial 1 Comment

Recently, while working for a large healthcare client in New York, I ran into an interesting problem that had slim literature on how to solve it.

Our application is primarily on-prem, but it does leverage Azure for a few functions that are easier to solve in a cloud-native environment. We wanted to be able to monitor those functions using the same Elastic Stack that we use to monitor our on-prem application.

I was tasked with building a bridge between where our functionality logs to in Azure (App Insights), and getting that securely back into our Elasticsearch instance that powers our Elastic Stack.

This blog post will detail the solution I landed on. I hope it will be useful to others that need to solve a similar problem!

Spring Boot With GraphQL: What The Cool Kids Are Doing

Matt McCandless Development Technologies, GraphQL, Spring Boot 2 Comments

This article is going to introduce you to Spring Boot with GraphQL. We’ll walk through a simple beer app to show you what it can do. So you have built this really sweet API with all the gets, puts, and deletes you can think of. Your baby is just beautiful the way it is, right? Well, maybe developer Joe thinks …