A helpful every-day trick to automate opening your windows and apps

Image for post
Image for post
Photo by Radek Grzybowski on Unsplash

Reading through stuff on the internet, I found an interesting command for the terminal called open. In the beginning, it didn’t feel like anything special. But I find myself using it all the time now. I find it so useful I thought of writing a whole short article about it!

So here it goes, (assuming you have some familiarity with the shell) go to your terminal and run the command below to see what we are dealing with.

$ open

Image for post
Image for post
Photo by Eberhard Großgasteiger on Unsplash

Create a simple bot with vision, hearing, and speech using Azure and Colab Notebooks

There is a fleet of clouds with their own minds floating over the internet trying to take control of the winds. They’ve been pushing very aggressively all kinds of services into the world and absorbed data from every possible source. Among this big bubble of services, an increasing number of companies and applications are relying on pre-made AI resources to extract insights, predict outcomes and gain value out of unexplored information. If you are wondering how to try them out, I’d like to give you an informal overview of what you can expect from sending different types of data to these services. …

Revealing the musical scales with lists, dicts, and matplotlib

Image for post
Image for post
Photo by Andrew Yardley on Unsplash

What can we do with Python to help us play an instrument?

In this tutorial, we will start off from scratch and see how we can use lists, dictionaries, and matplotlib to build a tool that can help us play the guitar. But before we start, let’s have a crash course in some principles of music we will need later on. If you’re curious, check out this interactive colab notebook to try it out yourself.

Background Information

Music theory is a complex subject made up of a lot of components. For the purposes of this post, we will be simplifying things here quite a bit, so if you are a musician don’t take it too seriously. …

Interact with your functions by clicking buttons in your notebook

Image for post
Image for post
Photo by Owen Beard on Unsplash

I really like Jupyter Notebooks. Whenever I’m using one, I have the feeling of it being basically an interactive spell book: able to display text, images, videos, including math formulas and code, and create an inner environment with your variables and functions. Compared to carving stones with your notes, this tool makes you feel like you are in the future.

And there is still an interesting aspect of notebooks that I haven’t mentioned: you can also actively interact with your notebook by directly manipulating widgets and allowing specific type of user-computer interactions. …

Image for post
Image for post
Photo by rawpixel on Unsplash

Very often you find yourself in the situation of manually checking individual aspects of your data. Getting your fingers dirty extracting insights left and right. But sometimes all you really need is to get a quick glimpse of your data without too much trouble. If you are working with your data in pandas there are two useful tools I’d like to show you:

  • describe: a well known pandas method that gives you a quick summary of your data by displaying common statistics.
  • And pandas profiling: a very cool package able to compute a whole diagnosis of your data in HTML.

Applying describe is one of the natural steps that follow after importing your data set. The output given depends on the types of features that are present. For columns holding numbers and object data (e.g. strings and timestamps) different sets of functions would be applied. …

About

Diego Penilla

In love with science, data and python.

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