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.
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…
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…
A simple script to create anki flash cards directly from the terminal.
The goal of this piece is to show a simple bash script to use on terminal for unix based systems to automate the process of creating anki flash cards.
If you are not familiarized with flash cards, they are simple cards with a question on the front and an answer on the back.
Riding your bike is fun. But sometimes your routes can become a bit too repetitive, specially urban routes.
In this post, I want to show you how to generate random bike routes using Python and the googlemaps library.
The structure of the code is the following:
1. Get the googlemaps api key and configure it
2. Set up reference latitude and longitude
3. Define a perimeter
4. Randomize the route
5. Show the route
To get the googlemaps api key just go to the google cloud platform, set up an account and follow the instructions described here.
start =…
If I ask you how much is 10 multiplied by 3 you’re probably able to quickly say: “30!”. No need for any great effort. However, if I ask you how much is 3498 multiplied by 2345 you probably would have some trouble answering it from the top of your head. If instead I was to allow you to use pencil and paper you would have no problem and in a couple of minutes you would write down the numbers and get to the answer quickly.
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…
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 entire cycle of wallpapers for any desktop involves:
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.
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…
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…
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.
AI engineer at K1 Digital and co-organizer of the Deep Learning Sessions meet up in Lisbon. AI |Computer Vision| Data Science| Productivity | Learning