Image for post
Image for post
Photo by Girl with red hat on Unsplash

Boosting your scripting productivity using slick custom keyboard shortcuts

From Simple Shortcuts to Quick Python Snippets

Writing fast code is a trademark of our perception of what constitutes an efficient programmer. Even though the bottleneck for good programming performance is most definitely not how fast you type, it can have a very positive effect in the way you think and solve problems.

Today I want to share an approach to optimizing your coding productivity by using keyboard shortcuts with AutoHotkey to write a variety of repetitive python snippets of code.

Why AutoHotkey?

AutoHotkey is a free, open-source custom scripting language for Microsoft Windows, initially aimed at providing easy keyboard shortcuts (or hotkeys), to allows users of every level of computer skill to automate repetitive tasks in any Windows application. …


Image for post
Image for post
Photo by Chris Ried on Unsplash

A quick introduction to C++ super basics using Python code as reference.

From Python to C++

For those who program in Python, we get used to a certain degree of readability. We get “spoiled” by the ease of dynamic typing and all the cool aesthetic features that Python offers.

That is all wonderful until we want to learn a more low-level language like C or C++, which do not offer the same kind of readability levels that Python does.

This can be a pain to get through, so I decided to write this post as way to help you get through the super basics of C++ in a quick and simple manner.

In this article I will introduce you to the basics of C++ using Python snippets as reference.


Image for post
Image for post

An Artificial Intelligence meetup hub in the middle of sunny Lisbon.

The Deep Learning revolution that took over the world in the last few years has changed the landscape of computation. The fascination with this technology is not restricted to academia or industry and people all around the globe have developed a growing interest in understanding the inner workings of these models.

Here in Portugal, this transformation has been as strong as ever and a while back a group of curious students and AI enthusiasts created the “Deep Learning Sessions” meetup group — A community in Lisbon that revolves around the intriguing challenge of unraveling the mysteries of Deep Learning by hosting free events to gather experts to discuss the field and share their experience. …


Image for post
Image for post
Photo by Mark Koch on Unsplash

Using Python to automate your wallpapers

Automating Your Digital Aesthetics

Background images are important. They are the aesthetic heart of your desktop. As such, they should be pretty, reflect who you are and, most of all, easy to replace.

If you are a fan of productivity, you might understand the value of having an easy way to change your background image.

Today we will build a tool to automate selecting and implementing a new background image on your desktop using Python.

The Wallpaper Cycle

The entire cycle of wallpapers for any desktop involves:

  • Some search, where we find the images we desire.
  • Placing those images in a folder so that we can direct our OS to that folder for showing the available options. …


Image for post
Image for post
Photo by ian dooley (left) and Thomas Le (right) on Unsplash

Using python to build a daily routine task-reader

Audio Productivity

We listen to music, we listen to podcasts, YouTube videos, even birds chirming. Listening is a big part of our lives and yet, tools for utilizing this sense as a mechanism to boost our productivity seem to be scarce.

Today I want to show you how to build a simple task reader that can recite your daily tasks out loud and give you a mood boost using python.

From Simple Text to Audio

There are so many amazing python libraries, so many unbelievable frameworks that make our programming experience much more enjoyable.

pyttsx3 is one of those packages. It makes turning text to audio a simple process. …


Image for post
Image for post
Photo from Free Photos on Pixabay (left) and by Andrej Lišakov on Unsplash (right)

A programming approach to automate turning your notes into Anki flash cards.

Automating Flash Cards

Flash cards are a great tool to enhance memorization of all the information one might care to remember and learn.

The power of this system is that it implements scientific findings related to concepts like spaced repetition and concrete feedback, both paramount for memory retention.

I have been a big fan of this system for a while now, and recently I posted an article about it, but one thing that has bothered me regarding my workflow routine is the data entry process.

Since I don’t like switching work environments from my regular notes or scripts to writing flash cards on Anki, I wanted an automatic way to turn them into neat Anki flash cards that I could import directly to the app on my desktop. …


Get control of your memory with one system and 5 simple rules

Image for post
Image for post
Photo by Paweł Czerwiński on Unsplash

From just inputs to real memories

We all wish we could have a better grip of what we can memorize, right? We are all born with an innate desire to learn about the world, but we are not necessarily born with the most effective cognitive resources to quickly memorize all the information we may wish to.

Every single day, we are bombarded with inputs: links, books, places to visit, restaurants, apps, and so on, and so forth. So much daily stimulation, yet so little useful absorption of all the information we actually care about.

Image for post
Image for post


Image for post
Image for post
Image by my adorable girlfriend Beatriz Belbut

An intuitive take on sales forecasting from traditional time series models to modern deep learning.

Introduction

In any company, there is an embedded desire to predict its future revenue and future sales. The basic recipe is:

Collect historical data related to previous sales and use it to predict expected sales.

Image for post
Image for post
Photo by Markus Spiske on Unsplash

Over the last ten years, the rise of deep learning as the driving force behind all imaginable machine learning benchmarks revolutionized the field: be it in computer vision, language and so many others. Recently, one could argue that deep learning has restructured the potential future of sales forecasting by allowing models to encode for multiple time series in a single model as well as account for categorical variables. …


Image for post
Image for post
Image by Gordon Johnson from Pixabay

A quick tutorial on one of the coolest data visualization libraries for python.

Overcoming ugly plots

When we plot something with python we always want it to look awesome right? Sometimes matplotlib can make us a bit sad with its default aesthetics:

Image for post
Image for post

Granted that matplotlib is super customizable, so let’s not start dishing the wonderful savior of python visualizations just yet.

However, if you want to do interactive things or get a bit fancier you will most likely face some trouble.

Plotly to the rescue!

Plotly is a python graphing library that makes coding beautiful interactive plots a simple task.

Let’s take a look of what the above plot would look like with Plotly:

Image for post
Image for post

Today I am going to quickly show you the basics of Plotly to get you started. …


Image for post
Image for post
Image from Pixabay

The lesser-known tools that will improve your command line workflow

Introduction

Ah, the command line. What a joy. There is nothing quite as satisfying as typing in a command that does work you don’t really want to do yourself. The power you feel, the thrill of automation going through your veins.

Now, here we are, staring at the command line, hoping to maximize our productivity.

Image for post
Image for post
Photo by Max Duzij on Unsplash

Talented programmers around the world work tirelessly to provide us with the cutting edge of anything we might desire our wonderful black screens to perform.

Today, I want to share 3 tools that have greatly facilitated my daily command line activity.

About

Lucas Soares

AI engineer at K1 Digital and co-organizer of the Deep Learning Sessions meet up in Lisbon. AI |Computer Vision| Data Science| Productivity | Learning

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