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.

Image for post
Image for post

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. Interface implements basic functions such as read and write . Typically, Sys Calls rely on Software Interrupts (SI). The SI will transfer control to the Kernel. If you've studied Computer Architecture and Organization, you might recall Software Interrupts as a signal to the kernel signaling that a certain even has taken place. You can read more about Software Interrupts here and about how Sys Calls are implemented here. …

A better way of understanding compiler design

Image for post
Image for post

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

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

Now that we are done with that segment, let’s get started by looking at the beautiful, beautiful Game Boy Classic! …

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!

Image for post
Image for 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, they run on top of Ethereum as a Smart Contract. A lot of developers releasing coins on the Ethereum Network, comply to the ERC20, including famous projects such as Maker (MKR), Basic Attention Token (BAT) and OmiseGO (OMG). There are about 200k ERC20 compliant tokens on the Ethereum Mainnet. …

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 Deno.land, 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 deno.land.

import { Application, Router } from "https://deno.land/x/oak/mod.ts";

Now we declare the models. In Deno, we use Interfaces. …

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.

Image for post
Image for post
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.

Image for post
Image for post

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

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

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