Based on science, how I made reading a habit and 345-day streak at Duolingo

Photo by Robina Weermeijer on Unsplash

You’ve probably been asked a question before and your answer was

And that’s because there is already a habit formed, but what is a habit? And when to tell there is a habit involved? And how can you create a new habit and quit a bad one?
Before answering such questions, we need to know why a habit is important, and can anyone develop one?

The importance of a habit

Habits are important since if they are good, they can lift you and make you more productive while keeping modest because you’re doing small increments that you can’t even consider…

Comparing the performance of pypolars and pandas

Photo by shiyang xu on Unsplash

pandas was initially released in 2008 written in Python, Cython, and C. Today, we’re comparing the performance of this well-known library with pypolars, a rising DataFrame library written in Rust. We compare the two while sorting and concatenating a 25Mil-record data and also when joining two CSVs.

Downloading Reddit Usernames data

Let’s first download a CSV file that contains ~26 million reddit usernames from Kaggle:

And let’s form another CSV file that we will use, you can create it with your favorite text editor or through the command line:

$ cat >> fake_users.csv


Now, let’s compare the sorting algorithm…

Photo by Theme Inn on Unsplash

Want to write a technical book or document your project?

Here I’ll walk you through how you can do that with python and sphinx. You can build content of tables that can contain sections to the chapters of your book. I will show you a case study to know how to insert images, hyperlinks, mathematical formulas, syntax highlighting for your favorite programming languages, and more.

Assuming you have some basic knowledge of python, let’s dive in and see what sphinx can do for us.

What is Sphinx?

Sphinx is a documentation generator library which can be useful to generate documentation for your project…

Trends in your hand

Photo by Morning Brew on Unsplash

Social Analytics companies have been massively using twitter to get insights about whatever data they are interested in for brands, celebrities, etc. and also trending topics. In this tutorial, you’ll know how to get countries that have trends on Twitter and also get insights about what topics are trending the most and be able to retrieve the URL of that tweet and its volume as well.

Here I’ll walk you through how you can do that with Python and Tweepy. You can do many other things with Tweepy other than trending topics but in this tutorial, I will focus on…

With just one line command

Created on Canva © Ezz

Finding stuff from the web is fun especially when you scrape data with the command line.

In this tutorial, you’ll use your terminal to get data from Reddit especially free stuff from subreddits like Udemy to get the latest coupons posted by Reddit users. I’ve made it customized so that you can apply it on any other subreddit.

Minimal example

Let’s take it step by step and see first how to scrape Reddit. Do you really need API credentials to get such info? …

How to win givers for your business

Photo by Kawin Harasai on Unsplash

Adam Grant as an organizational psychologist, says that he spends a lot of time in workplaces, and he finds paranoia everywhere. You probably find that too.

Paranoia is caused by people that he calls “takers.”

Takers are serving nobody but themselves. “What can you do for me?” is their slogan.

The opposite is a giver. Givers approach a conversation with, “What can I do for you?”

Think about your own style. We all have a certain time when we give and another when we take. …

6 tips (+ a bonus) to become a software engineer without a CS degree

Photo by Daniel Burka on Unsplash

Polishing your resume and using Linkedin professionally will seriously make your life easier when you apply for a software engineer job.

But what if you don’t have a computer science degree. Is it really possible to get accepted and land a full-time job without that CS degree?

Short answer: yes.

Long answer: I did it. And if I did so, you definitely can too.

Whether you are a recent grad or someone who is not satisfied with their current position and want a change. I hope these 6 tips will help you land your dream job.

Tip #1: Treat your job search as a job

Ever felt frustrated after…

Software tools included

Photo by Alexander Shatov on Unsplash

Sometimes you can get lost in the rabbit hole of Youtube and random recommended videos. Then it steers you away from doing what you need to do and wastes even more time.

Here, I’ll share some tools you can use to help you be more productive and stay focused.

Download locally

One of the easiest ways to be away from the Youtube dilemma is to download the videos in advance and use a video player like VLC which has some features like Youtube. For example, it does have variable playback speed if you want to play the video with multiple speeds.

Cold Turkey


Chapter 1 Notes from Practical Object-Oriented Design in Ruby by Sandi Metz

Photo by Raimond Klavins on Unsplash

So good, I couldn’t put it down! This is a must-read for anyone wanting to do object-oriented programming in any language, not to mention it has completely changed the way I approach testing. …

Whispering: I hated reading

Photo by Tamarcus Brown on Unsplash

Change is something I believe anyone can accomplish if they’re willing to put the work in and if they’re willing to do what it takes to complete the change.

Many people have the preconceived notion that you are who you are, and who you are has been determined since you were young. But I know that isn’t true.

I decided I wanted to change. I realized that if you want to change or stop doing something, you have to stop completely.

Now or never

You can’t say, “This is my last time”, you can’t say, “I’ll stop next week.” …

Ezz El Din Abdullah

Data Engineer | Subscribe to my newsletter to get fresh content by email on data science, programming, self-help, travel, and more:

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