Sign in

What, why and how — part 1

What is Linux

Linux is a family of Unix-like OSs based on the Linux Kernel. Linux Kernel is a monolithic kernel with a modular design. Here is a a simplified architecture of the Linux Operating System.

When you boot up your own Linux Distro system (more on this later), you are utilizing the User Space which is where your User Applications and glibc (Used for implementing functions such as fopen(), calloc(),open()) exist. User Space interacts with the Kernel Space mainly via the System Call Interface.

System Call is how Userspace software requests service from the Kernel…

A better way of understanding compiler design

If you couldn’t already tell, I love Bjarne, and by extension, I love C++. In this article, I go over how C++ compiles a program to binaries, and why I love C++. This is partially to understand how C++ works. Documentation helps me understand.

There are only two kinds of languages: the ones people complain about and the ones nobody uses.
― Bjarne Stroustrup, The C++ Programming Language

I got pretty inspired by HaoranWang’s CRUST and thus wanted to write my own Compiler for C. I’ll probably stick to Rust. …

Stronger than you think.

I don’t like consumerism. One of my favorite Scholars, Bertrand Russell, once said

“It is preoccupation with possessions, more than anything else, that prevents us from living freely and nobly.”

But you can bet I have a soft spot in my heart for Nintendo products. Pokemon on Game Boy Advance was one the only games I have ever truly enjoyed before being dragged by the dark, drab realities of life. I’d love to have a shelf with Pokemon merch, but I digress.

Now that we are done with that segment, let’s get started by looking at…

Code an ERC20 token and launch it to a test net. 🚀

This article presumes you are aware of what a Cryptocurrency is, what Ethereum, EVM is, and we will go over the ERC20 protocol, writing it in Solidity, launching it to the Goerli Testnet (You can choose a testnet of your liking) and then adding liquidity to it via Uniswap! We will talk in depth about Uniswap in the next blog post!

What is an ERC20 token?

ERC20 is a technical standard that defines a Blockchain based asset like Bitcoin, Litecoin etc., but instead of having their own network…

How Statistics became a weapon of propaganda in a pandemic

Let me preface this piece by saying that Statistics as a method is not fundamentally flawed, but ask any Machine Learning engineer in your local cafe, and they’ll be quick to tell you that the process of data collection and storage is usually flawed. A new engineer is quick on their feet to go to Kaggle and download a dataset, perform a few cleaning operations, do a little analysis, classification, prediction and update their Linkedin headlines with “Machine Learning Enthusiast”, “AI Expert” and “Data Scientist”. …

🐱‍🐉 Making a simple API in the new JavaScript Framework.

A few days ago, I wrote an article on an introduction to Deno, the new JavaScript/TypeScript runtime. Here is the link to it.

Today we are going to develop a simple API in, without a Database right now. That will be a discussion for later. This will be a simple GET and POST API.

Create a file named app.ts (Or anything that you want).

First, we need Oak, a middleware to help us create web servers. We import it via

import { Application, Router } from "";


And Blockchains seem to be the solution.

The food Supply chain is complicated and vulnerable to disasters, especially non-FMCG, perishable goods. A very simple Food Chain schematic would focus on Producer, Distributor, and Consumer — but like everything 21st Century, Food Supply Chains are incredibly complex, and our current food supply chains are broken. Today we are going to talk about the World Economic Forum’s (WEF) way to streamline a chain using the Blockchain Toolkit.

Photo by eggbank on Unsplash

Earlier, this year, a ton of distributors and farms were heavily hit by the pandemic and the stay-at-home orders. …

Everything you need to know 🐳

Docker is a platform that can make deploying applications easier. It’s an Open Source container that basically allows you to package the components of your application easily. Docker applications can then be run on any other machine and have the same functions.

Where can I use Docker?

Docker streamlines the development lifecycle by allowing developers to work in standardized environments using local containers which provide your applications and services. — Docker Docs

That simply means that you don’t have to worry about having different configurations on different systems — Your code can be packaged as one Dockerfile and shipped…

A quick introduction.

In 2018, Ryan Dahl gave a talk titled “10 things I regret about Node.JS” — and at the end he introduced a new runtime called Deno. Before we get into Deno, let’s talk about why Ryan might have wanted a new runtime in the first place.

What Node lacked

In the talk, Ryan went over a few regrets he had with the Node ecosystem, and I love how he addressed all of it because with time, technologies change — And in the case of Node, the ecosystem around it had changed drastically. …

“I met Kanye West, I’m never going to fail”.

I’ve never had a harsh childhood. My parents were very good parents, God Bless, and have always wanted the best for me. There’s been a fair share of living the typical Asian kid lifestyle: Curfews to return home, focus on academics, submission to authority — but in hindsight, it came from a place of love. Discipline, Peace, and Respect are what I’d call the pillars of Asian or at least Indian style of parenting. …

Abhinav Srivastava

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store