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

Identifying Default vs Unset Values in Google Protocol Buffers (proto3)

What are Protocol Buffers / Protobuf? Protocol buffers are Google’s language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages. Problem In proto3, all fields are “optional” (it is not an error if the sender fails to set them)....

June 24, 2020 · 2 min · Sourav Badami

First Contribution to Open Source

It’s hard. It’s always hard the first time you do something. Especially when you are collaborating, making mistakes isn’t a comfortable thing. We wanted to simplify the way new open-source contributors learn & contribute for the first time. Reading articles & watching tutorials can help, but what’s better than actually doing the stuff in a practice environment? This project aims at providing guidance & simplifying the way beginners make their first contribution....

November 2, 2019 · 1 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

Logstash -> Azure Event Hub | Log & Event Management Utility | NodeJS

Logstash is an open source data collection engine with real-time pipelining capabilities. Logstash can dynamically unify data from disparate sources and normalize the data into destinations of your choice. Cleanse and democratize all your data for diverse advanced downstream analytics and visualization use cases. (Source) Event Hubs is a highly scalable data streaming platform capable of ingesting millions of events per second. Data sent to an Event Hub can be transformed and stored using any real-time analytics provider or batching/storage adapters....

March 17, 2017 · 2 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

Duckduckgo — ComeToTheDuckSide

The open source search engine that doesn’t track or store your personal information. The other giants show you creepy ads and sell your information to advertisers. Stop being followed, start using DuckDuckGo. You can hack into the search engine to create IA’s and cheatsheets to help everyone around to get information instantly without clicking on blue links. We call it, ZeroClickInfo. You can create fatheads, goodies and several other IA’s to help people find what they are looking for....

September 16, 2016 · 1 min · Sourav Badami

Advanced Packaging Tool

Do you know what is apt-get — that you use frequently on your debian console ? APT is the front end version of the debian package manager, dpkg. It provides the apt-get utility and APT dselect method that provides a simpler, safer way to install and upgrade packages. Here’s the SCM Repository –> https://alioth.debian.org/anonscm/git/apt/apt.git. The most recent release appears to be Release 1.3~rc4 ( according to the logs ). rpm‘s can also be compiled on the debian platform, although compatibility often causes a problem....

September 12, 2016 · 1 min · Sourav Badami

Calendar Application

A Django based application which helps user to save their events on a calendar and sync their calendar with private google calendar. Here’s the link to the repository with build instructions. It’s instance is deployed at Heroku.

August 29, 2016 · 1 min · Sourav Badami