Posts

is your laptop too hot? you can fix it easily

Image
After switching to Linux as my daily driver OS on my laptop, I started to notice the temperature readings every now and then. Everything was good until the fan seemed to become more annoying than usual My fan started to stay on more often and I was not sure why At first I thought that it's just because Linux is not like Windows, and it just keeps the fan on because it is on high performance mode at all times. But then, I'd installed tlp and autocpu-freq (utilities for power management) which are supposed to make things better and keep the fan quiet when it doesn't need to be on. I started doing more research (on YouTube 😂) and decided to open up my laptop and clean the dust that must have gotten accumulated over the fan I opened my laptop and couldn't find any dust near the fan, nothing significant :/ Then after a few days of worrying about the fan and temperatures on my CPU that averaged around 75°C and sometimes reaching 90°C on my 4 year old awesome dell Laptop I de...

Fasting - Why I do it, and why you should do it too

Disclaimer - I am not a mental health professional and anything written on this blog may not be taken as Health advice. Anything you decide to do with your life is 100% your resposibility. Actions you take motivated by reading my story do not make me liable for what  you do and the consequesces, I do not know you and your story I am just telling you what I did and what worked for me. In 2013-2014, I got depressed, really depressed, really really really depressed. I was 16 ~ 17 then and I did not want to live a life of a deprpessed person.  I tried reading books, I tried to exercise I tried what I could, but I was too young and dumb and depressed to help myself. My family suffered a lot because of my depression, I was just too erratic and unpredictable for them to help me. I also many times turned against them, after reading and being influenced by the internet and stared to blame them for my depression.  Over the years this depression continued to make the life of people ...

Forget Goal setting - do this instead

Image
James Clear in his book Atomic Habits, talks about the problems with goal setting  I had been a goals person for most of my life until I read about what james had to say about goal setting. He makes a good point: both losers and winners in life have the same goals. What actually differentiates them is their System for achieving goals. I used to ask my self 'what are my goals?' all the time. I dont do that anymore . I ask myself a different question now  I ask : yup  what are my systems you see goals solve the problem once  systems solve the problem for ever example: before: I'm hungry my goal: I want to eat ok ill go to the store and buy almonds and bananas and eat them. problem solved for today now: im hungry what is my system for food? my system:  regular subscription for almonds and bananas setup with local grocery store. problem solved for ever.

How to run multiple HTTPS web servers from a single server

Image
Hi today we will explore how to run multiple HTTPS web servers from a single sever instance. consider this: you have a home server and have setup a website on the port 80 with your WAN ip and then you want to run another website but dont have another IP address  what do you do? It is possible to run multiple web servers with reverse proxy using nginx. Prerequisits: 1. Nginx  2. Two or more application servers running on one Environment on different ports consider this code:    

Why you must Blog as a Software Developer?

Image
So you are thinking about blogging - perhaps you read it in a book that you need to blog or you got the idea while showering or you just stumbled here from the rabbit hole of the interwebs, whatever may be the case let's explore the topic of blogging in this new decade. Blogging at 2:42 am  Questions we will explore: 1. Is blogging still worth it? and will it stay potent? 2. Reasons to Blog as a software developer. Is (was?) blogging a bubble? I feel No. Even though most of my answers have been answered at stackoverflow.com I think blogging is still worth it and important. 1. It helps you share your unique example of that cool exciting thing you are working on. 2. It helps you find your people. 3. It helps you organize and discuss your ideas and the topics you really want to zone in on. 4. It's fun. 5. It gives you exposure to other developers and work opportunities. And as a Software Developer, it's even more so important for you to share what you made or disco...