VLS - Summer of Bitcoin 2023

I had previously completed Google Summer of Code | 2021 and Linux Foundation Mentorship | 2021 two highly renowned open source programs which paved my path towards excellence as a software developer. I chose open source for reasons I have highlighted in Collaboration not Competition but it brought so many other good things along with it like learning, friends, experience, connections, etc. There was one space which was left for me to explore with open source, Bitcoin....

February 25, 2024 · 9 min · 1742 words · Lakshya Singh

Passive Peaceful Mcleodganj

While New Year wasn’t a reason for me to go on a trip but it was more on the side that I visit North Sparsely these days so this served two purposes: I can meet my beloved friends of the North Visit the Himalayas which gave me a new direction and spine restrictions in life. Planning Obviously these rookies, Pallavi and Kushal weren’t going to plan so all came onto me 😤....

February 20, 2024 · 16 min · 3312 words · Lakshya Singh, Pallavi

Rate Limiting

Why to Rate Limit? Rate Limiting is a crucial part of designing any API it maybe private or public. A rate limiter caps how many requests a sender can issue in a specific window of time. A rate limiter provides following features: Defense against a Denial of Service from malicious actors trying to pull down the service. Ensures the load on servers is always under maintainable state by discarding too many requests....

February 11, 2024 · 5 min · 1037 words · Lakshya Singh

Union/Sum Type

Let’s take an example of operating system information as a data structure to better understand sum types. Struct Our bare minimum struct to represent an operating system contains a few common fields that would exist in each of the operating system. typedef struct { char organization[]; int releaseYear; float version; int is_opensource; } os; It’s missing one thing though the type of operating system like macOS, linux, windows, etc. Enum We will add in a new field into our structure to represent the type of operating system by using an enum....

January 20, 2024 · 7 min · 1301 words · Lakshya Singh

Kotlin Coroutines

Coroutine A coroutine is an instance of a suspend-able computation. It is conceptually similar to a thread, in the sense that it takes a block of code to run that works concurrently with the rest of the code. However, a coroutine is not bound to any particular user level thread. It may suspend its execution in one thread and resume in another one. This scheduling of coroutines is handled by the Kotlin dispatchers similar to go runtime...

January 14, 2024 · 8 min · 1522 words · Lakshya Singh

Bitcoin, the Financial System

Financial System Bitcoin is a financial system created to serve a highly political intent, a free and uncensored network where all can participate with equal access. It is a mechanism of organizing people and computers to make one immutable, digital document. Bitcoin Offerings Bitcoin doesn’t keep track of the identities of the people (or machines) that use it making it permissionless. It doesn’t increase the supply of bitcoins to meet demand making it deflationary and inviolate....

December 29, 2023 · 7 min · 1454 words · Lakshya Singh

Goroutines

A goroutine is a lightweight thread of execution managed by the Go runtime. To start a new goroutine we use the go keyword go f(x, y, z) The evaluation of f, x, y, and z happens in the current goroutine and the execution of f happens in the new goroutine. Goroutines run in the same address space, so access to shared memory must be synchronized. The sync package provides useful primitives, although you won’t need them much in Go as there are other primitives like channels....

December 24, 2023 · 4 min · 843 words · Lakshya Singh

The Hacker Way of Living

TL;DR and not for the weak hearted, please don’t start reading this until you are willing to put efforts into changing the way you deal with online subscriptions. Childhood Fun Since my childhood I was taught by my cousin brother (Karan) on how to utilize the amazing peer to peer network named torrent we used to keep our systems running late at night to just download a video game, dark ages I know....

November 20, 2023 · 8 min · 1693 words · Lakshya Singh

Collaboration not Competition

Competition happens at the bottom. People at top are collaborating. I read these words on Ravi’s status and immediately it hit me as something I have tried to pursue since my very first month in college. Collaboration has been a key factor in my overall mental well being aka happiness throughout my career and overall life advancement. Enough with Competition After going through 3 years of JEE coaching and having participated/succeeding in about all of the competitive exams including IJSO, RMO, KVPY, IChO, and JEE Advanced, I decided to put my foot down on competing....

November 18, 2023 · 5 min · 887 words · Lakshya Singh

Loss of Customer Empathy

Gold Plated Products Gold Plated Products is what am calling products/services that get offered as free or for unlimited usage to get numerous people onboarded on it. After a while either they will add a paywall for complete service or some premium features which were previously free are now only available if you pay. The issue begins when there is a lack of information provided to users of when the paywall or premium offering will become active....

November 18, 2023 · 6 min · 1259 words · Lakshya Singh