My Blog

All blogs, in their entirety, are posted on my Medium profile. For those without a paid description, follow the friend links provided as part of the postings below.

Whoever said there is no ‘free lunch’ ;)

Source: Unsplash.
Source: Unsplash.


Recently, it dawned on me that I had too many stories started, and with no plan to finish: an embarrassing number of works in progress!

In response, I attempted to clean up, organize, and figure out which pieces had the potential. Of all the top candidates, which will come soon, there were two that were not at the top, but certainly neat topics: (1) a list of core python tricks that speed up code and (2) a philosophical piece on the fundamentals of optimization. Initially, the overlap was minimal, however, after tweaking a bit, and merging as one, I introduce to you the following: a piece that includes a list of Python tricks with some philosophical perspective on the concept of speeding up code.

For those only interested in the list of tricks, and not the story wrapping around it, click here to jump ahead.

So what, who cares?

So what, who cares? When determining the worthiness of delivering on a particular cost, a question should be at the forefront of brainstorming. Put differently, if the what is insignificant, and the who is nonexistent, then why bother. Thus, a simple mechanism for weighing aspects of the reward in the common predicament of meaning risk versus reward: put simply, anyways, as more elaboration is subject to its own blog post — note to self ;)

The purpose of this blog is to share a few code snippets, along with runtimes, as means of hinting at optimal performance if followed. Specifically, five of my favorite Python-specific tips and tricks in the performance.

For those interested, we first will review fundamental concepts and a general recipe to follow when the intention is to speed up your codebase. Following this, we will peak at trend lines to depict the worthiness of mastering Python: if for no other reason, it has grown to be one of the more popular languages, which only continues to extend its power and reach while maintaining its foundation via a loyal consumer-base and open-source criteria. For this, we will do a simple, approximate analysis using Google Trends.

Beyond the remainder of the introduction (i.e., Motivation) section, we then cover the techniques. Finally, we conclude with a discussion and a list of related resources. Comments are not only encouraged but are always highly appreciated. Thank you in advance, and I hope you enjoy it and find it useful!

Finish blog on Medium via Friend Link.

3 Tips to becoming organized, productive, and even comfortable

Source: Pixabay
In today’s vast information superhighway has leaked into our day-to-day lives in the form of excessive printing of various content readily available at the click of a mouse. Furthermore, traditional views stuck on the misperceived notion that ebooks, digital PDFs, and electronic note-taking does not suffice due to the preference of the ‘look’ and ‘feel’ of textbooks, actual pencil & paper, along with the ability to put heads down (i.e., lean over the material), that has driven many away from digital solutions. In other words, I recall thinking myself that ebooks just were not the same as having a physical copy of a textbook to tab, markup, and later recall: all the while being posed over the textbook such that my head being down was a sort of means to get in the zone of studying the text. Although, it is true that when ebooks were first introduced the available hardware was not yet available for optimal usage (e.g., the need to read a textbook from a laptop felt unnatural to me, for the tools like highlighting, marking up, and tabbing was not a fluid process). Nowadays, this is not the case: many available technologies can truly optimize various aspects of your life, and especially those involved in fields that involve pens, paper, books, files, etc., which is a majority, nowadays. Less is more; minimalism is not a trend, but an adaptation to the new world we live in, as complexities are inherent so it is best to simplify all possible aspects. Hence, let the problems be complex, and the space for which the problems are solved be simple. Now, how to best optimize our space? Source: Pixabay


Over time, ideally, processes and systems that are regular are established — whether a product of experiences or external sources. The former, in many respects, is at the core of philosophical teachings in self-improvement (e.g., Covey’s 7 Habits of highly effective person) as a function of increased self-awareness (e.g., Tolle’s The Power of Now). The latter, on the other hand, can be considered more as the cherry on top, for it spans the lessons learned from others — whether directly or indirectly, formal or informal, intentional or the essence of nature. This allows us to enhance our already established selves in ways that would not be possible if everyone was separated, alone in a vacuum, with an inability to communicate by any means. Thus, all we know is what we can figure out on our own, leaving behind thousands, and even millions, of years of pre-existing knowledge for us to extend.

With that said, I am here to relieve you in that we will not be discussing the inner workings of what makes us learn, grow, adapt, and prosper — though it would be a fascinating exploration, here, in the now, I am not qualified to share such thoughts with rigor. However, what I am about to share with you could change how you operate: the systems and processes that drive so many of our day-to-day tasks. I will share the three tips and tricks I have recently adopted: components that optimized many parts of my life in work and leisure. I will share how having less drastically improved my workspace, hobby-space, and even gaming-space!

Finish reading on Medium, Friend Link.

Updated: Mar 13

Part 1: Motivation and fundamentals of stereo vision

Sample use-cases for depth estimation.
Vast applications based on depth-sensing technology. Image by Author.

Our perception of depth is essential for creating the 3D world around us. This knowledge has been prevalent for centuries, and one man who knew this well was Leonardo da Vinci. He used his expertise to help him create some art that would be famous across history pieces such as "The Last Supper" or "Salvatore Schizzera. Technically, an understanding of binocular traces back to 280 A.D. when Euclid realized our depth perception as humans focused on the same objects with two eyes. Still, today, stereo vision is quite an interesting problem. My goal was to learn the topic in-depth. Now, I transform my notes into a blog series.

✍ Each article will include a Pop Quiz! The purpose of the Pop Quizzes is to solidify key concepts by pondering over cherry-picked problem sets. Do share your responses as comments!

Finish reading on Medium, Friend Link.