And how you can do the same

Photo by Isaac Smith on Unsplash


As far as I can remember, I’ve always yearned to be a prolific writer, with the sort of writing that can be transformed into a side hustle with a tangible extra income. With that mindset, I first began writing on Medium a little over a year ago and while the first year was largely without yield, the past couple of months have been rather rewarding. Now that was not the result of coincidence or sheer luck, but instead the culmination of a careful observation and learning process. And in case you are wondering, no I do not have an abundance…

An aspiring Full Stack Developer’s guide to quickly developing and deploying scalable web applications

Photo by Chris Ried on Unsplash

There used to be a time not so long ago when creating web applications was the work of child prodigies the likes of Mark Zuckerberg and Elon Musk. Or alternatively, you could enrol in a fancy college, spend the best four of years of your life (and your parent’s retirement savings) learning programming and then end up making subpar 90’s style web apps. Well, we’ve come a long way since then. With the inundation of open source tools and cloud infrastructure, developing and deploying phenomenal applications has been largely democratized. …

Using dynamic time warping to synchronize time-series data

Image by author.


One of the most painful things one could encounter in a data related career, is having to deal with unsynchronized time series datasets. Discrepancies can be due to a whole slew of reasons — daylight savings adjustments, inaccurate SCADA signals, and corrupted data to name a few. It is even common to find several discrepancies at various points within the same dataset which requires you to identify and correct each one individually. And while you’re at it, you may inadvertently offset another synchronous part. …

A simplified approach to provisioning robust and scalable data warehouses

Photo by Nana Smirnova on Unsplash


With the abundance and proliferation of data in this day and age, there is an inherent need to store and reuse that wealth of information in a meaningful way. It is analogous to having a kitchen inundated with a multitude of utensils and tools to use, without having an organized way to manage them. Well, chances are that you’re going to end up opening your canned lunch with the rear end of a dipper, unless you warehouse up real fast.

Data warehousing is the ability to cache, tokenize, analyze and reuse your curated data on demand in an unparalleled manner…

Using Plotly to create a heatmap visualization of monthly and hourly data

Visual by author.


Anyone who has ever been exposed to the data, knows that time series data is arguably the most abundant type of datum that we deal with on a routine basis. Data that is indexed with date, time and/or both is thereby classified as a timeseries dataset. Often, it may be helpful to render our timeseries as a monthly and hourly heatmap visualization. Such powerful visualizations are supremely helpful in being able to digest data that is otherwise presented in form that may not be ingested into our highly visual selves. These renderings, will usually depict hour horizontally, month vertically, and…

Find an opportunity, make it your career, and then bring your dreams along with you

Photo by Kelli Stirrett on Unsplash


It goes without saying, that the most abundant and proliferated advice given to young adults contemplating their career choices is to, “chase your dreams” or “follow your passion”, or ostensibly some other form of a superficial expression along the same lines. It is also fair to claim, that such advice is practically cliché and befitting of the mob mentality sort of society that we have transformed into, whereby common sense has been largely replaced by the availability cascade of certain self-reinforcing notions that otherwise lack any empirical form of veracity.

Perhaps every one of us can relate to a landmark…

3 side hustles that did not work out well

Photo by Kind and Curious on Unsplash


As far as I can remember, I have always wanted to have a side hustle. Something that would give my spare hours purpose and would help raise my bottom line ever so slightly higher. Something that I could run on the periphery to give me that extra bit of fiscal security, knowing that I’m inching closer towards financial independence and earlier retirement. Mind you, I’m not overly ambitious, lofty or any way delusional, or at least not that I know of. But I was and still am convinced that not every business endeavor has to be a breakthrough. Good enough…

Create an automated email pipeline with dazzling dashboards

Photo by Stephen Phillips - on Unsplash


We send and receive a plethora of emails on a daily basis in our corporate and non-corporate lives. And truth be told, a large portion of those transactions can indeed be automated. Perhaps we can all relate to a landmark moment of our lives when we spent the good portion of a day sending more or less the same email to a multitude of people. Well, it doesn't have to be that way. With Python, you can in fact set up and deploy an automated email pipeline to receive emails and subsequently send emails based on the content of the…

How to control Maxon motors using the ctypes library on Windows OS

Image by Maxon Group.


I recently had the pleasure of working with brushless DC motors manufactured by Maxon Group — arguably the best motors I’ve ever worked with in terms of precision, reliability, ease of use, and customer support. Normally, one would control such motors using the CAN bus or EtherCAT communication protocols, but given that Python is becoming as ubiquitous as a scripting language can get, I was adamant to control my Maxon motors with Python on a Windows 64 bit operating system. To that end, I deployed the ctypes library that enables Python to invoke foreign command libraries written in C. …

How to build an inexpensive mini radar system with a live dashboard

Mini radar dashboard. Visual by author.


For those of us in the business of robotics, specifically the competitive type the likes of sumo-wrestling and RoboCup bots, we know that detecting objects for avoidance or for collision rather cannot possibly be overstated. While more often than not you would inundate your robot with a slew of IR sensors to detect objects all around, it is infact possible to build your own mini radar to achieve the same effect with far less resources. …

M Khorasani

Hybrid of a data scientist and an engineer. Logistician. Candid. Realpolitik. Unlearning dogma one belief at a time.

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