Posts

What should you do now ? Part 2

I have still been facing this question for a long time now, even after the first post I wrote. I have new insights to this problem. First of all lets be clear that its not really cool to not have a good answer to this question. Why? Because if you're not clear about what you should do next, you're left in an environment that wants you to be its puppet, small requests from people around, a notification on your phone, everything is made to take your time and to make you work for helping it grow.  When you say yes to a small request, then yes to the email that just popped in or that notification from social media, you are saying no to your dreams. You are saying no to working on your goals and helping yourself. Without a plan for your time - other things take it all. Ok so what is the solution? To help me stay aware and track what I spend my time on,  I have built a telegram bot that helps me keep track of my time. It talks to my ManicTime server, (a time tracking and timesheetin...

What should you do now ?

Image
 We sometimes ask this question when something bad has happened and we are in a undesirable situation and want to escape it. However I want to discuss about another time you might ask yourself this question. Yes I've found myself asking this question multiple times over the past few months and the context was completely different. I'm not in a bad situation, I usually ask this when I have completed a big task and there's nothing more to do. So I googled the word should : Apparently we have been using the word "should" a lot less than before and the trend is that it's decreasing. Could this mean that the number of things we should do have been decreasing? It seems true given we have been automating and making machines to do  boring repeative tasks that reduce what we need to do and what takes our personal time. Which means that we are headed towards a future where there would be no shoulds or musts. No "have to"s  We can then choose the ga...

Cool cat volume notification for i3 on Linux

Image
 I recently saw this cute cat volume notification   The problem was I could not get this to work with my barebones super stripped down tiling window manager i3 So I decided I will code it up my self. The final results looks like this: I used a dialogue utility called Yad (yet another dialogue) to recreate this. You can find the code for it here: https://github.com/lakshaysethi/linux-customizations

Fasting Facts vs Fiction

 According to this article from Harvard   intermittent fasting is not more effective than any other diet. Tello write that "Studies in humans, almost across the board, have shown that IF is safe and incredibly effective, but really no more effective than any other diet. In addition, many people find it difficult to fast." When I first read this I was thinking that is was biased and that Tello was going to talk challenge the effectiveness of fasting. But then I realized that most studies the looked at fasting in humans, probably include testing if just fasting for 12 hours or 16 hrs a day was enough. Umm.. no no no. Fasting for 12 hrs means nothing. Yes if you fasted for 12 hours in a 24 hour day you haven't fasted mate! In my personal experience you have to not eat for at least 22 hrs a day to say that you fasted that day. If you even eat anything, no matter how small it was before 22 hours, even by mistake.  Stop right there and reset your timer. Let me say this aga...

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...