You’ve probably been asked a question before and your answer was
That’s what I’m used to
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?
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 a big deal as it becomes a behavior you’re used to and your brain is programmed to do. …
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.
Let’s first download a CSV file that contains ~26 million reddit usernames from Kaggle: https://www.kaggle.com/colinmorris/reddit-usernames
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
author,n
x,5
z,7
y,6
Now, let’s compare the sorting algorithm of the…
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.
Sphinx is a documentation generator library which can be useful to generate documentation for your project and can also be used for creating a content (e.g. …
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 getting trends. …
The Power of Habit is a best seller book for the New York Times, Amazon.com, and USA Today; authored by Charles Duhigg and first released in 2012.
This book explores the science of habit and how you can change your life by creating good habits and reforming your bad ones.
On a personal level, I created new good habits while reading this book being consistent in reading a book and learning a language every single day.
What makes this book really valuable is the dependence on 100s of interviews and 1000s of scientific papers and studies to understand how our habits are formed individually being ingrained into our brains and how understanding habits can change organizational perspective and furthermore an entire society. …
What programmers do when they solve a problem is that they convert the logic to questions and then try to find answers to those questions.
We always do these steps in any programming problem:
This article is for complete beginners in Python and/or Rust, we’ll see a case study and we’ll try to solve the problem involved by asking questions
And will go through each line of each code written in Python and Rust to be able to answer the questions raised.
Let’s do…
When I was coding with Rust to solve this problem, I thought I was dealing with memory so harshly and also thought that time will not be very optimized.
Until I saw this:
At the end of last November, I spent the best journey I ever had. I went to Siwa, an oasis in the Western Desert of Egypt.
It’s been an underrated destination for many people (including Egyptians) and full of magical places to visit and relax in.
In this story, I’d like to share some places in Siwa that you can’t see anywhere else for medical tourism and breathtaking views, unusual drinks and foods to have, useful souvenirs to buy, and very generous people to meet.
Such beautiful clear-color lakes will trigger your eyes and can make your body float on the water because of the high density. You don’t have to be a swimmer 🎉 the water can lift you up and there is no need to worry about drowning even if you dared to! …
Brainwave means a sudden idea, understanding, or inspiration
And we believe we have so many ideas that make us think and improve to solidify our understandings and make an impact by which you can be inspired.
Make sure to subscribe to the newsletter for any significant updates.
We currently write on the following topics:
Peace and let’s make a brainwave! ✌️
Whenever you hear baby steps, it might seem trivial to you but it’s not. Baby steps (aka tiny habits) are super powerful and it’s a way to help people accomplish great things in the long run.
When you know how to create tiny habits, you can change your life forever.
~ BJ Fogg, PhD
Stanford University
BJ Fogg is the Director of the Stanford Persuasive Technology Lab and a social scientist who is currently a research scientist at Stanford University. In 2009, he published the Fogg Behavior Model (FBM), a model for analyzing and designing human behavior.
BJ explains the behavior model at a TEDx Talk, you can check it out. …
About