Heating Issues with Macbook Pro

This post covers a set of configurations and external factors to assess and fix heating issues with Macbook Pro. Some of the below might work for you and some might not. I’ve curated this list from my own hit and trial experiments. Device: MacBook Pro (16-inch, 2019) Activity Monitor Check your activity monitor and figure out the processes with max CPU and Memory consumption. Manually close some of them if you’re not using it....

May 31, 2022 · 2 min · Sourav Badami

The requested address is not valid in its context

Introduction Facing this issue with Python2.7 and Ftplib ? I won’t waste your time talking shit! Let’s fix it. Create a new class inheriting Ftplib’s FTP_TLS class. import ftplib class FTP_TLS_UNROUTABLE_HOST(ftplib.FTP_TLS, object): def makepasv(self): _, port = super(FTP_TLS_UNROUTABLE_HOST, self).makepasv() return self.host, port Now, use this new class to create a new session. session = FTP_TLS_UNROUTABLE_HOST('host','username','password') Now ? Do whatever you want with your session :) It won’t cry for The requested address is not valid in its context....

November 15, 2017 · 1 min · Sourav Badami

MyCleanIndia App

An application which let’s you tag unhygienic spaces. It is build on top of Google Maps using GMAPS API V3. Backend is written on Python. Here’s the code. The application got featured on YourStory and EFY Group’s, OpenSourceForYou.

January 9, 2017 · 1 min · Sourav Badami

Passport Status Change Notifier

A simple script which notifies you whenever the current status of your Indian passport application changes. It keeps checking for the status change automatically every hour and if the change occurs, the user receives a desktop notification. Here’s the code.

October 16, 2016 · 1 min · Sourav Badami

Birthday Wishing Bot

A simple bot written using graph API which parses a list of birthdays and adds a birthday wish post on a facebook page. Find the code here.

August 23, 2016 · 1 min · Sourav Badami

Auto Hibernate

A python script which automatically detects when there’s no one nearby and sends the system to hibernation mode. It uses OpenCV API to detect motion using a camera and triggers a corresponding query to switch the system to hibernation mode. Get the code on GitHub.

August 14, 2016 · 1 min · Sourav Badami