Graphing my Life with Matplotlib

Sun Mar 01 2020

Let’s do a deep dive and start visualizing my life using Fitbit and Matplotlib.

1 What is Fitbit

Fitbit is a fitness watch that tracks your sleep, heart rate, and activity. Fitbit is able to track your steps, however, it is also able to detect multiple types of activity like running, walking, “sport” and biking.

2 What is Matplotlib

Read More »



Shallow Dive into Open CV

Sun Feb 23 2020

This blog post going over the basic image manipulation things you can do with Open CV. Open CV is an open-source library of computer vision tools. Open CV is written to be used in conjunction with deep learning frameworks like TensorFlow. This tutorial is going to be using Python3, although you can also use Open CV with C++, Java, and Matlab

1 Reading and Displaying Images

The first thing that you want to do when you start playing around with open cv is to import the dependencies required. Most basic computer vision projects with OpenCV will use NumPy and matplotlib. All images in Open CV are represented as NumPy matrices with shape (x, y, 3), with the data type uint8. This essentially means that every image is a 2d matrix with three color channels for BGR where each pixel can have an intensity between 0 and 255. Zero is black where 255 is white in grayscale.

# Open cv library
import cv2

# numpy library for matrix manipulation
import numpy as np

# matplotlib for displaying the images 
from matplotlib import pyplot as plt

Read More »



FOSS vs FLOSS

Sun Feb 16 2020

Last week for HFOSS(Humanitarian Free and Open Source Software IGME-582) at RIT I was introduced to three articles that picked apart the differences between Free Software and Open Source Software.

Peterson’s article discussed how she coined the term Open Source and how that term became widely used. She explained that “Open Source” was a new term to replace “Free Software” because it would resonate better with businesses. At that time(and still to this day) Free software was confused with software that you can get at no cost; Free Software is really free as in speech rather than free as in beer. Peterson’s phrase “Open Source” gained a foot hold with larger communities and businesses because it focused on the practical benefits of doing software development in a public manner. Open Source software focused on collaboration and how building software in the public could improve security – this really enticed businesses. To this day we see that businesses like Microsoft latch on to the phrase Open Source.

Read More »



Jupyter will Change your Life

Thu Feb 06 2020

It is not uncommon for me to get exuberantly excited over an open-source project that I stumble upon– Jupyter Lab has taken the cake this month. The Jypyter project extends IPython notebooks to the web browser and added support for multiple languages.

1 Why Notebooks?

As a researcher, I love notebooks because they enable you to easily share your code with others. Notebooks are much more interactive than simply sharing source code because you can mix text(markdown), code, and outputs in code execution. For classes and when working, this makes it very easy to generate quick reports. You can simply write a document that auto generates the graphs and figures you want to talk about in your document.

Read More »



Towards a new Hacker Ethic

Sun Feb 02 2020

Last week I listened to the talk Programming is Forgetting: Toward a New Hacker Ethic for a second time. This was an amazing talk given by Allison Parrish at the Open Hardware Summit in 2016. The first time I was introduced to this talk was over a year ago by a friend that was introducing me to the nuanced differences between “new” and “old” FOSS cultures. Whenever I listen to this talk I get nostalgic about 70’s and 80’s hacker literature like the “Hackers Manifesto” which inspired me in middle school.

Read More »