Yasoob
05h00 12  mars
Setting up listmonk, an open-source newsletter & mailing list manager
Hi everyone I have been using Mailchimp for my mailing list for a while and even though it is great, it is super expensive. I have 5000 people in my list and that puts me in their 78 plan. I send the newsletter very rarely and don’t really earn anything from the mailing list so it...
08h25 08  mars
Making a Serverless eBook Stamping & Delivery Service
Hi everyone I recently launched the release candidate of my Practical Python Projects book. There were a couple of unique issues I was facing and I decided to write about them and share how I got around most of them. This is not an end-to-end service implementation tutorial but rather a quick...
20h29 07  janvier
How to Prerender React Apps Using Prerender
Hi everyone I have been working on a sports analytics startup and the whole front-end is made using React. I haven’t had to work on such a big React project before this and so it brought along some unique challenges. In the past, SEO hasn’t been a big issue for the web...
06h10 14  octobre
Setting up & Deploying JWT based auth using Flask & React
Hi everyone I was working on a React project these last couple of weeks and I had to implement login functionality. I searched around and most of the solutions I found relied on Redux or some other huge dependency that I wasn’t already using in my project. I didn’t want to...
04h24 22  septembre
Using Python to Post Stories on Instagram
Hi everyone In my book (Practical Python Projects), I initially had a section showing the readers how to upload stories on Instagram in an automated fashion. I ended up removing the code from the last draft of the book for various reasons. During the span of a few months, the library I was...
18h42 30  aot
How to Listen to Trunked Police Radio (Video 2020)
Hi everyone Remember I wrote a post recently about how you can listen to your local police department using a Baofeng? As it turns out, most police and fire departments have moved to trunked radio. Trunked radio is just a fancy way of saying that these departments have gone digital. A Baofeng...
23h52 19  aot
Alpha Version of Practical Python Projects Book Released
Hi everyone I have big news The alpha version of my Practical Python Projects book is out It took me two years and countless hours to get to this stage and I am so proud of it. You can buy it now from here. The final version of the book will be more expensive than the alpha price of 29.99....
05h36 17  aot
Using BaoFeng UV-5X3 HT as Police Scanner
Hi lovely people I am a huge radio enthusiast. So much so that I recently gave (and cleared) my Technician Ham license exam. I am now just waiting for my call sign to appear in the FCC database. While that is happening, I went ahead and bought a BaoFeng UV-5X3 radio. Note: If you ever decide...
06h08 16  aot
Working With Messy Data Using Pandas in Python
Hi lovely people I am working on a project and had to wrangle some messy data using Pandas. New project means new ideas for articles and so here I am with an article about how to work with messy data using Pandas in Python. I will be covering only some of the basics that you will need to know...
18h03 13  aot
5 Lessons From my Microsoft Internship
Hi lovely people A week ago my internship at Microsoft ended. I am very fortunate to have been able to intern at all this summer, let alone at Microsoft. I learned quite a lot during the summer and was fortunate enough to be a part of an amazing team. I wanted to take a moment and share some...
20h53 04  aot
Interview With Justin Duke
Hi everyone I recently sat down with Justin Duke, an engineer at Stripe, and talked about tech, startups and time management. Along with a full-time job, Justin runs two startups (Buttondown, Spoonbill), manages two weekly newsletters, runs, and volunteers. Come learn about how he does it all...
04h00 14  juillet
Understanding and Decoding a JPEG Image using Python
Hi everyone Today we are going to understand the JPEG compression algorithm. One thing a lot of people don’t know is that JPEG is not a format but rather an algorithm. The JPEG images you see are mostly in the JFIF format (JPEG File Interchange Format) that internally uses the JPEG...
21h08 05  juillet
Reverse Engineering Nike Run Club Android App Using Frida
Hi everyone If you have been following my blog then you might have already read the article on reverse engineering an Android app by writing custom smali code. I am still very much a reverse engineering beginner so after that article, I got to learn about Frida. I was told that Frida is much...
04h00 22  juin
Let's Reverse Engineer an Android App
I had always wanted to learn how to reverse engineer Android apps. There were people out there who knew how to navigate and modify the internals of an APK file and I wasn’t one of them. This had to be changed but it took a long time for that to happen. In this post, I will show you how I...
04h01 14  juin
Help My browser isn't connecting to public WiFi
Have you ever been to a coffee shop and tried connecting to the public WiFi only to find out that your browser isn’t automatically opening up the router login page? These situations suck and happen far too often with all of us. I recently got a new Linux based machine and Firefox...
08h11 13  juin
Privacy Preserving Google Analytics Alternatives
Hi everyone Lately I have been restructuring my online presence and that included running this blog using a static site generator. During this process, I decided to also look for privacy-preserving Google Analytics alternatives. When concerned with website analytics, the default solution most...
04h17 12  juin
9 Tips For Better Scripting Experience
During my day to day work, I have had to do a lot of scripting. This can range from running short tests in Docker containers to running super long processes in Azure Batch service. I have used Bash and Python for these purposes and learned quite a few useful techniques along the way. I am sharing...
06h01 11  juin
How to Deploy old Django project using NGINX, Docker and UWSGI
Hi everyone I maintain an old website for a client that was originally developed in 2015. It hasn’t been updated for the last 5 years and uses Django 1.7 and some Django extensions which haven’t been updated for Django 3. I recently decided to move the website to a new...
04h00 08  juin
Why I Moved Away From Wordpress.com
Hi everyone Quite a few of you got redirected to this website from my old Python Tips blog. The old blog was based on Wordpress and I recently moved everything to Hugo. I am still in the process of figuring certain things out but so far the transition has been fairly smooth. I alluded to this...
07h16 06  juin
Migrating from Wordpress.com to Hugo With Comments
Hi beautiful people Recently I decided to go all-in on static site generator, Hugo, and move over my Python Tips blog from Wordpress to Hugo. I will share the exact steps I took during this migration. It was slightly more involved than I would have liked. I will not share the reasoning behind...
04h00 04  juin
Docker attach vs exec & When to Use What
Hello lovely people During my day to day work with SONiC I have to launch new Docker containers and run commands within those containers. I usually have an ENTRYPOINT or CMD defined in my Dockerfile which means that there is always a default process that starts when I run my Docker images....
05h37 02  juin
Account Hacked, Send 2000 in Bitcoin
Hi everyone Someone I know recently got an email informing them that their account had been hacked. The subject of the email had their password and the email went like this: , xxxxxxxx, . ...
19h51 01  juin
Software Engineering Within SpaceX
Hi everyone I am sure quite a few of you must have seen the SpaceX launch this past Saturday. It was an amazing and historic event. Millions of people were watching it live on YouTube and elsewhere. With each passing day, we are getting closer to commercial space flights and I have to agree I...
23h29 20  mai
Setting Up Passwordless SSH and Alias For Remote Login
Hi lovely people Long time If you guys are wondering what I have been up-to, don’t worry. I am doing well and currently in the process of writing a life update post. Till then enjoy this short tutorial. By the end of this tutorial you will be able to ssh into a remote machine...
04h59 01  avril
Benedict Cumberbatch Digital Portrait (Procreate)
Hi everyone It’s a tough time for everyone and we are all doing what we can to stay sane. I haven’t written on the blog in a long time and now I feel like I have all the time in the world to do it. I have started focusing more on my art and just made this portrait of...
18h35 05  fvrier
Making Generative Portraits Using Processing
Hi everyone Haven’t talked to you guys for a while. Hope things are going well on your end. Last semester I was studying abroad in Budapest but now I am back at Colgate. I had the time of my life traveling all over Europe and meeting staying with interesting people. I will try to...
21h07 02  octobre
First Step into the World of Generative Art
Hi people Hope everything is going well with you all. I recently started exploring graphics and processing. Processing is a wonderful software which allows you to program graphics very easily. You can get some amazing results with only a few lines of code. I have produced some basic sketches...
06h00 18  septembre
Filtering & Closing Pull Requests on GitHub using the API
Hi everyone In this post, I am going to show you how you can use the GitHub API to query Pull Requests, check the content of a PR and close it. The motivation for this project came from my personal website. I introduced static comments on the website using Staticman and only after a day or...
20h27 17  septembre
Looking for an internship for Summer 2020
Update: Thank you so much I got an amazing opportunity with Azure Cloud Networking team at Microsoft Hi lovely people Hope everything is going well on your end. I asked you guys last year for helping me find a kick-ass internship and you all came through. I ended up working at ASAPP...
23h01 16  septembre
Project Greenhouse Using Arduino, Raspberry Pi & Sensors
Hi lovely people A couple of months ago I wrote a couple of articles on how to connect different sensors and an LCD to an Arduino. However, I didn’t write one final article about how these things all fit together to form a greenhouse monitoring system. I don’t think I will...
11h21
My Internship Experience at ASAPP
Hi everyone This past summer I interned at ASAPP. I had an amazing time and learned quite a lot. I worked with Docker, Kubernetes, Kafka, Redis, Rabbit MQ, Golang, react and typescript. I was a part of the “routing team” and spent most of my time on implementing new...
22h43 30  juillet
Python mind-teaser: Make the function return True
Hi everyone I was browsing r python and came across this post: The challenge was easy. Provide such an input that if 1 is added to it, it is the instance of the same object but if 2 is added it is not. Solution 1: Custom class The way I personally thought to solve this challenge was this...
21h54 26  juin
Staticman Comment Notifications Setup Using Mailgun
Hi people This post is about how to set up email notifications for new comments on your blog using staticman. This way if someone posts a comment on an article can automatically get updated in case someone else makes a new comment on the same article. It took me a while to figure out how to...
21h32 24  juin
Running Staticman on Hugo Blog With Nested Comments
Hi everyone After transitioning to a static blog website, I had one problem. My blog no longer had comments functionality. Yes, I could have used Disqus but I personally hate it. It is bloated with a lot of unwanted code. I did some search a while ago but couldn’t find anything. I...
21h03 21  juin
Setting up dev environment for SciPy
Hi everyone I got an email from someone pretty recently who wanted to setup a dev environment for SciPy. He had made changes to the source code of SciPy and now wanted to test if his changes were working or not. He had gotten so far without actually testing the code. In this post I will share...
22h55 18  juin
Golang: Check if a key exists in map
Hi people I am working at ASAPP and a lot of my work involves writing Golang code. This is the first time I am working with Golang full-time. I picked up a couple of tricks from my colleagues and mentors here and would like to share them with you. In this particular post, I will talk about the...
17h44 29  mai
Speeding up Python code using multithreading
Hi lovely people A lot of times we end up writing code in Python which does remote requests or reads multiple files or does processing on some data. And in a lot of those cases I have seen programmers using a simple for loop which takes forever to finish executing. For example: import...
17h49 22  mai
Running Python in the Browser
Running Python in the web browser has been getting a lot of attention lately. Shaun Taylor-Morgan knows what he’s talking about here - he works for Anvil, a full-featured application platform for writing full-stack web apps with nothing but Python. So I invited him to give us an overview and...
04h21 09  mai
Looking for a Single in New York City
Update: I have found a super nice place and I am all set. Thank you everyone Hi lovely people You guys were able to help me before when I was searching for an internship and now I need your help again. I am planning on moving to New York City from 11th May till 4th August and need a place to...
00h00 01  mai
Extracting Data from Nike Run Club & Visualizing It
Hi lovely people Most people who know me in person know that I love running. I try to run at least twice a week. I properly started running in May 2017 and have been running more or less consistently since then. I have been using the Nike Run Club app to log all of my run data. When I started...
18h33 27  avril
Creating Offline Custom Style Maps With tileserver-gl
Hi lovely people Last year, I saw a project on Product Hunt which allowed people to generate posters from maps. The website has since closed down and the company has been acquired by Airbnb. This is what the output looked like: Now, I was interested in figuring out how they were able to...
23h59 22  avril
6 Tips Before You Write Your Next Bash Cronjob
Hi lovely people As part of a research I am doing I had to write some bash scripts which were supposed to run every couple of minutes. I made some embarrassing mistakes along the way. I will write about those mistakes in hopes that you don’t make them if and when you write your own...
05h11 21  avril
herb: Greenhouse Part 3: Connecting LCD With Arduin
Hi lovely people In the last two posts, we learned how to use the temperature, light intensity, and soil moisture sensors. So far we have covered all of the sensors my greenhouse is going to have in the alpha version. I know I am missing out on the integral humidity sensor but I...
00h12
herb: Greenhouse Part 2: Measuring Temperature & Light Intensit
Hi lovely people In the last article we talked about the soil moisture sensor. In this article, we will take a look at how to measure temperature using DS18b20 and measure light intensity using a photocell. Step 1: Wiring up the Circuit We will be using: Arduino UNO Breadboard DS18B20...
23h34 20  avril
herb: Greenhouse Part 1: Using Yl-69 Soil Sensor With Arduin
Hi lovely people If you have read any of my other articles you might be aware that I am working with electronics right now. After learning the basics of Arduino, I decided to work on a relatively ambitious project. I decided to make a greenhouse monitoring system. I am going to write a series...
15h28 17  avril
Connecting and Interfacing Raspberry Pi with Arduino
Hi lovely people I am working on a greenhouse monitoring project and I had to connect my Arduino to the internet over WiFi. I wanted to push some sensor data to my server. I could have bought a WiFi shield for the Arduino but why spend more money when you already have a Pi with WiFi card? I...
16h04 16  avril
Headless Interfacing with Raspberry Pi 3 over UART using CP210x
Hi people If you read the last article you might be aware that I am exploring raspberry pi right now. I have Pi 3B and I am using it to work on some remote sensors. The biggest issue I have with the Pi is that I don’t have an external monitor, mouse, and keyboard handy to use with the...
21h34 14  avril
Connecting Raspberry Pi to Eduroam Wifi
Hi people I was working with Raspberry Pi lately and was trying to connect it to eduroam. If you are not familiar with eduroam, it is a service used by most universities to provide Wifi on their campuses. It uses Enterprise WPA and Raspberry Pi does not connect to it automatically out of the...
15h48 10  avril
Revolution OS
I had already seen the video about the History of Unix by Rob Pike (do watch it if this kind of stuff interests you. It is available on YouTube) so I didn’t think I would learn a lot of new stuff from this movie but oh boy was I wrong. This was an interesting deep dive into the history of the...
06h37
Art Projects
I spend considerable time doing arts and creative projects. I used to do it as a hobby but now I am taking drawing and digital studio classes at Colgate University. We have been making a lot of interesting projects and have been trying to push the limits of creativity. Here are some of the projects...