A Simple Sudoku Solver

Posted on Sat 03 September 2022 in Programming • Tagged with Programming

The Problem

The problem is a simple search problem: given a partially filled sudoku board, return a fully filled sudoku board with the initial numbers in place such that each digit features only once in every row, column and 3x3 subgrid.

The Solution

These problems, in general, are called Constraint …

Continue reading

Variance Estimation in Heteroscedastic Regression

Posted on Mon 29 August 2022 in Programming • Tagged with Programming, Machine Learning

Most of the times, the regression models we need to fit don't have a constant standard deviation, but rather one that is some function of $x$. In this article, I try to learn a model with variance varying linearly as a function of x: kind of like a regression on variance

Continue reading

The Rise of the Codefluencer

Posted on Sat 20 August 2022 in Programming • Tagged with Programming

My Thoughts on Web Development, Programming Influencers/tutors and the portrayal of programming as a lavish dream rather than providing a careful solution to complex problems, bit by bit.

Continue reading

Intern Inferno

Posted on Sun 14 August 2022 in General • Tagged with Programming, Probability

Not everything goes exactly as planned. That's why it's a plan, not a certainty.

Aiming in

Before this entire joomla started, I asked myself: What is it I want from an intern?

  • I wanted to tour: I didn't pick up a foreign research intern this summer, and was tired of …

Continue reading

The Arch Linux Journey

Posted on Sun 07 August 2022 in Programming • Tagged with Arch, Programming, Linux

For the upcoming semesters, we have a ton of systems courses. So, I needed a linux box that I could hack around, preferably at the kernel level. I finally got around to installing Arch Linux on a Raspberry Pi1: Here's how I did it.


For starters, I already …

Continue reading

Orbital Maneuvers and the Oberth Effect

Posted on Tue 05 July 2022 in General • Tagged with Writing

Once a rocket is in orbit, if it needs to change it's orbit (either from a lower to a higher orbit, or from a circular to an elliptical orbit), it needs to execute an Orbital Maneuver. This is accomplished by using a small impulse from thrusters to change the tangential …

Continue reading

Leadership, among many other things

Posted on Sun 26 June 2022 in General • Tagged with Writing

Gazettale, BSP's premier interhostel competition, for which our team worked day and night, recently released the final standings.

And we're fifth.

Pop the champagne and dance, team, for we're fifth!


Jokes aside, I'm lukewarm about the result. Proud of what a ragtag bunch of people came together and assembled in …

Continue reading

Introducing the MLZoo

Posted on Thu 16 June 2022 in Programming • Tagged with Python, ML

After a few days of reading and furious coding, I'm happy to announce the creation of MLZoo: a set of ML algorithms in their natural habitat

MLZoo is a set of jupyter notebooks which would contain implementations of several ML algorithms on real world datasets: so far, I've implemented different …

Continue reading

Atomic Habits and Badminton

Posted on Mon 13 June 2022 in Writing • Tagged with Writing, Badminton

Atomic Habits probably needs no introduction, and neither will I bore you with one. All I'll say is that I found a friend in hostel with a copy of the book, and when I went home, I found a physical copy on my Dad's bookshelf (all of us have kindles …

Continue reading

Of Knights and Knaves

Posted on Wed 01 June 2022 in Writing • Tagged with Writing

Once every year, when the sun beats down
Students here become clowns
They think on their command, people will fall
But truly, they're just bricks in the wall
Misled by the mirage of power
Led astray till they flounder
"You're barely 20! What do you think will change
When you …

Continue reading

Freedom, Recaptured.

Posted on Mon 30 May 2022 in General • Tagged with General

With the creation of my official website (safari butchers the CSS :/), I've now got more creative liberty and artistic freedom on the content I post here.

When I first made this blog, it used to be my own little corner of the internet. That changed once more people got to …

Continue reading

Data Wrangling in Practice: Dataset Creation from Poorly Structured Sources

Posted on Wed 02 March 2022 in Programming • Tagged with Programming, Data

I seldom get time to do anything other than course related activities nowadays, but in this midsem break, I did nothing other than roam around campus and laze in bed. And publish the first release of the IIT Delhi Course Planner Dataset (Also available on GitHub). This is a scraping …

Continue reading

A Note on Conditional Probability

Posted on Sat 25 December 2021 in Mathematics • Tagged with Mathematics

$\newcommand{\cE}[2]{\mathbf{E}(#1\ |\ #2)}$$\newcommand{\cP}[2]{\mathbf{P}(#1\ |\ #2)}$$\renewcommand{\P}[1]{\mathbf{P}(#1)}$$\newcommand{\E}[1]{\mathbf{E}(#1)}$$\newcommand{\F}{\mathcal{F}}$$\newcommand{\G}{\mathcal{G}}$$\newcommand{\ind}[1]{\mathbf{1}_{#1}}$ To motivate this note, I’ll pose the following …

Continue reading

A Note on Random Variables

Posted on Fri 03 December 2021 in Mathematics • Tagged with Mathematics

$\newcommand{\triple}{(\Omega, \mathcal{F}, \mathbf{P})}$$\newcommand{\P}{\mathbf{P}}$ This note on random variables follows as a result of confusing notation in several math textbooks. I'll explain random variables (in measure theoretic terms) as verbosely as I can, and then prove some results. This article assumes that the …

Continue reading

Updates on Life in general

Posted on Sat 14 August 2021 in Writing • Tagged with Writing

I haven't done one of these in a year or so (this was the previous one), and neither have I written content exclusively for my blog for atleast a few months now, so it's a good time to do one of these because a lot has changed in the past …

Continue reading

How it Happened

Posted on Mon 02 August 2021 in Writing • Tagged with Writing

"Baba, I got Mathematics and Computing Dual at IITD", I told my father excitedly on the day the first round allocations were over. "It probably won't change now". Certain of this, I returned back to whatever I was doing, excitedly waiting for the seat allocations to get over (while simultaneously …

Continue reading

This summer

Posted on Wed 16 June 2021 in Writing • Tagged with Writing

What is a dream? all of us think of dreams as abstract ideals, far removed from reality, that we should chase with all the effort we can muster every day.

Meditating on this a bit more, does this make sense? What is achieved by chasing an ideal when you can …

Continue reading

Setting up (and shifting to) Sublime Text 4

Posted on Tue 01 June 2021 in Programming • Tagged with Programming, Text Editor

After using vim for a long time, I realized that vim would be very tricky to use for larger projects; there are a few reasons behind this, which are:

  1. Hard to set up and use autocomplete: I've tried omnicomplete, but it just didn't cut the mustard. I very seldom need …

Continue reading

The Last Time

Posted on Sat 29 May 2021 in Writing • Tagged with Writing

Soft sunlight streaked in through the curtains, illuminating the room in a warm glow. Of course, I noticed none of that. The only thing I was aware of was my phone's alarm clock ringing. After drowsily hitting the snooze button, I realized that I had done this twice already, so …

Continue reading

Function transforms (providing a broader picture of Laplace Transforms)

Posted on Wed 12 May 2021 in Mathematics • Tagged with Mathematics

I'll begin this article by brushing up a few definitions:

A function is a mapping between two sets: the domain D and the codomain C.

function definition

It's very important to note here that the function is the mapping itself, and not an element in the codomain or the domain. The function …

Continue reading