Python is a dynamically typed language, which means we do not define the type of an object, but that doesn’t mean we can’t declare types as a form of annotation for the sake of documenting our code. The Python docs refer to this as “Type Hints”. See the docs here.

Sometimes, when doing data analysis and building/evaluating machine learning models in Jupyter notebook, we end up writing functions to save ourselves time and frustration. After all why write

(var1 + var2 + var3 + var4 + var5) / 5

when we could just create a reusable function:

Of course…


My motivation for writing this article on Medium is to have a place to articulate my thoughts regarding the things I rudely jotted down in the title and do so on a shareable medium — no pun intended. So, keeping that in mind — this may NOT be the best fit for what you are specifically doing- grain of 🧂

Working with a multitude of frameworks and software languages, I’ve seen a myriad of implementations around modular programming (splitting software code into reusable or easily swappable modules).

I work with Rails and several other stacks and technologies in my professional…


In this article I’ve put together some code samples of the Haversine formula in JS, Ruby, and SQL.

First, let me provide an explanation for the formula known as the Haversine Formula.

Haversine allows you to calculate the distance between two sets of coordinates on a sphere — which is considerably different than calculating distances on a flat plane: Flat Earth folks will be working with the Pythagorean Theorem directly so they can Click Here.

The best explanation I’ve seen personally is taken directly from an ESRI community post by regular contributor SimonKettle¹:

The Haversine formula is perhaps the first equation to consider when understanding how to calculate distances on a sphere. …


The verse of the day from the YouVersion Bible app (Bible.com) for today September 11, 2019 says:

“The name of the Lord is a strong tower; The righteous run to it and are safe.”Proverbs 18:10 (New King James)

Now, raise your hand if you know “the name of the Lord.”

I bet a lot of people actually do, but don’t use it or even think on it. In the Hebrew text, this verse actually says:

“The name of יהוה (Yahweh) is a strong tower.”

Many of the prophets and famous Scriptural leaders had His name in their Hebrew…


“Creative Commons New crops-Chicago urban farm” by Linda is licensed under CC BY 2.0

Growing up in a smallish town on the verge of assimilation into a larger metro area, I was exposed to two distinctly different lifestyles; the simple life of classic country living, and the fast-paced hustle and bustle of urban America. As a thirty-something millennial yearning for peace and quiet I might be a bit biased, but if you’ve experienced this type of environment, then you’re already aware of the attractiveness of such a situation. In the scope of your social existence, you have convenient access to a wide selection of restaurants, retail establishments, and entertainment venues. In regards to your…


I’ve been working with the eBay API since my time at a small Chicago startup a few years back. In fact, it was working at this particular startup with a lot of people far smarter than myself that pushed me in the direction of web development, nearly mid career. I had developed some in the past, but mostly small utilities with .NET (C#) or analytical apps/scriptlets with Python. The eBay API is challenging, which appealed to me, as working with it helped propel me into new avenues of learning and innovation.

The eBay API documentation is rather difficult to understand…


I most often use JetBrains Webstorm when creating Node.js projects.

Recently I was tasked with a project to create a feed of products on our website from our Magento 1.x instance. If you’re reading this, it’s assumed that you already know what Magento is, but perhaps I’ll edit this later on to cater to those who may not. The Magento 1.x REST & SOAP API reference documentation cater specifically to PHP developers. However, I wanted to utilize Node.js to accomplish my task.

The link to the repo in its current state is here on Github.

There were a couple of hurdles I had to overcome on my way to getting…

Abe Flansburg

Software Developer / Data Scientist / Follower of Jesus Christ

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