Skip to main content


i3wm essentials - II

Welcome back! Let's continue this guide with other setup essentials for i3. Enabling Mousetap Chances are that if you're using a laptop, then tapping on the mousepad does not equal a click for you. You need to enable tapping in your config. Fortunately, there is one documentation available that works for majority of the setups. I don't need to explain this one in detail. Here you go: Enable tap to click in i3 . Volume Control This one is simple again. Do you remember the i3 config file I talked about in the previous blog ? All you need to do is go to that file and find the line: bindsym XF86AudioRaiseVolume Just below that line you will find lines with XF86AudioLowerVolume and XF86AudioMute too. Anyway, the truth is, there are 2 sets of lines with these keywords. Chances are that the line: bindsym XF86AudioRaiseVolume exec --no-startup-id pactl -- set-sink-volume 0 +5% Will be uncommented and the line: bindsym XF86AudioRaiseVolume exec --no-startup-id pactl -- set-sink vo
Recent posts

i3wm essentials - I (Brightness)

So you have started using i3 and somehow managed to open your browser and almost resumed your normal work.  But wait, the brightness is too much isn't it? Or is it too low? The mousepad used to work fine, but now all of a sudden tapping does not equal click?!  Don't worry.  This blog series will tell you all about the essential setup commands and common shortcuts that I use to navigate my work in i3, and how you can too. Changing the brightness So you just started i3 and you just can't take this brightness setting. You go for your function keys, and damn! They aren't working. Quick fix: Run the following command if you need to change the brightness ASAP. xrandr -q | grep ' connected' | head -n 1 | cut -d ' ' -f1 This will give an ouput that's the name of your monitor.  Use that monitor name here and change the values of brightness to suit your needs. xrandr --output <monitor-name> --brightness 0.7 Now that your eyes are comfortable, let me show

3 Reasons why Overthinking is Good

  No, overthinking everything does not make you as smart as Einstein. When have you ever thought about something that was worth overthinking anyway? Overthinking is a serious mental habit that makes us sadder in most cases, or otherwise delusional. Yet, there are certain advantages to your lifestyle that might make you think you're better off being an overthinker. You can always see red flags Since you always think too much about every little weird/adverse/seemingly disrespectful action or word said to you by every person, and especially more so by people close to you, you have a huge advantage over people who are toxic, or are vulnerable to end up with toxic people. Not just qualities like toxicity, but even people who might seemingly end up backstabbing you, cheating on you or just put you down. Haven't you heard people say, "I don't know why I trusted him/her. The red flags were always there." It might not be THAT easy to fool you or run you over because you

Namaste JavaScript Quick Notes

Note:  Akshay Saini's Namaste JavaScript is probably the best course for JavaScript developers out there. These are my personal notes that I made while watching the course; they serve more of as an online quick reference for my understanding and revision, and I hope it benefits anyone reading it too! Everything in JS happens inside an Execution Context. Before a JS code is run, memory is allocated and variables are set as undefined   , and functions are set as their exact code in the scope within the Execution Context. The global execution context hosts all the global variables and function definitions. An Execution Context has 2 components: Memory, that stores variables and functions; and Code, that reads and executes the code. Call Stack maintains the order of execution contexts. Since JS is single threaded and asynchronous, at one point of time, only one function is executed which is at the top of the call stack. For each function, an execution context is created before executi

What are Emotional Neural Networks? - I

We know that Neural Networks were built trying to copy the structure of the human brain.  The brain is composed of neurons, all interconnected and shooting/receiving impulses to/from multiple edge connections. That's how a Neural Network is too. Multiple nodes, all interconnected with each other and propagating information and errors to and from, trying to correct itself in every try. But have you ever wondered if we can ever emulate human emotions? Or if we can replicate human emotions in a Neural Network? Well, part of this has been implemented already, and although it sounds somewhere along the lines of Affective Computing , it's not completely the same.  What is an Emotional Neural Network? Emotional Neural Networks are a new form of Neural Networks that seem to emulate a certain part of human emotions while learning. There are a couple more models and definitions for such a Network, but we'll focus on this aspect first. Picture a scenario where you're learning some

Suheldev - Analyzing the change in Amish Tripathi's writing

I have always been a fan of Amish Tripathi's books. All of them. Over the years, a lot has changed, which also includes his writing style. Well, that's just one man's perspective. Here are the key distinctions of Suheldev from Amish Tripathi's other books: Cinematic I have been noticing a gradual change in Amish's writing which is eventually inclining to a cinematic perspective. And Suheldev justifies it the most. Certain sequences in the book are written in such a way that when you read them, it'll seem as if you're watching a movie. They could be fight sequences, or conspiracy sequences, anything. When we read, we form a picture. And that picture may seem relatable to the countless movies we have watched that have action and politics as their genres. To be honest and fair, if I look back at the first novels of Amish, The Shiva Trilogy, it wasn't cinematic, wasn't like watching any movie. It was a completely different world! Reading those novels fel

Howdy - Face Unlock for Linux

Howdy is a project that can use your built-in IR cameras and IR emitters to provide a Face Recognition Lock system that can be used in all actions that require permission. Be it unlocking the lock screen, or even the sudo command.  Basically, you add your face profile and it associates your face profile with the Linux user's password. So whenever the kernel has to ask you: "sudo password for <user>:", it will first turn on the IR camera and will try recognizing a face before asking you to type the password. If the face unlock succeeds, it will associate the user found with the user's password and the "sudo password for <user>:" message will be automatically skipped. If it fails, well, it's just like your phone then. Now associating the face with a user and their password might seem unsafe to you but it's not really any vulnerability in your system per se. The howdy project is basically a pluggable authentication module, which means that i