Under the Hood of a Gcc Compiler

Today I learnt something worth publishing here. As developers we write code day by day and it is executed by our machines. But how does our computers understand this code and execute it ? I am going to walk through the four core changes of a GCC compiler to transform a simple C program into a state that a machine can understand and execute. I created a simple file main.c below: ...

· 363 words

Final Year Project

I have been working on my final year project lately. Today, I plan to export the trained model onto the raspberry pi AI camera hardware. The model size is 22 mbs and the AI camera can accommodate only 8 mbs. Luckily, there are quantization methods provided by ultralytics that will shrink the model without it losing too much accuracy. References

· 60 words

Created Another Script

Another day creating another automation, it may not be a complex one but still its an automation. Today I created another simple beautiful script that automates my blogging workflow. Instead of manually navigating to my Hugo directory and running commands, I can create a new post from anywhere in my system by just running the custom command “blog”. How it works Run blog from the command line Enter your blog title The scripts automatically generates a file using Hugo’s archetype template. The file’s name is the title provided It then opens the file automatically in Neovim for editing The script: ...

· 129 words

Script for Devops Notes

I created a simple script for generating a new note for my devops learning notes. This will increase my productivity since I will not have to bother typing current dates and times of each and every note. The script works perfect as I only type “devops” on my command line in any directory and I’m prompted to enter the name of the file which will also be the title of the note. ...

· 93 words

First Official Post

I’m excited because i just configured my blog set-up, powered by Hugo and Papermod. I plan to post as long as I can and I believe it will be worth it in the future. “Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do. If you haven’t found it yet, keep looking. Don’t settle.” — Steve Jobs ...

· 91 words