Skip to main content

Programming

How Agentic LLMs ~Almost~ Destroyed My Academic Career

·2164 words·11 mins
“With great power comes great responsibility.” Voltaire (and also every Spider-Man movie ever) There’s this video of Chad Smith, the drummer from Red Hot Chili Peppers. He’s hearing a song for the first time, no prep, no notes, no second take. And yet somehow, he just gets it. He catches the groove like it’s muscle memory, then makes the whole thing sound better.That’s the magic of practice. Not the kind where you count hours, but the kind where you repeat something so many times it becomes your second nature, your reflex. Whether it’s drumming, coding, or explaining your PhD topic to your relatives without crying, the idea’s the same: do it till it’s boring, and then keep doing it till it’s beautiful.

Data Races

·1564 words·8 mins
“Data races are bad.” — Every systems programming course, ever. But why are they bad? And what exactly are they? Let’s be a little Aristotelian about this—question everything. So here we go:

How B+ Trees Optimize SQL Queries: A Primer

·970 words·5 mins
Introduction # For someone who has taken a course in Computer Science, they have probably come across a B+ tree, often used in the context of databases for storing data. A B+ tree schematically looks like this:

Major Mode El

·568 words·3 mins
Any sufficiently complicated C or Fortran program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp. Before you think I’m crowning Lisp as God’s own language after just one blog stint at a coding exercise, hold your horses. I’m not here to bash Object-Oriented Programming or its design patterns. In fact, I believe it’s crucial to know these patterns inside out. Only then can you play the game of ‘Design Pattern or Anti-Pattern?’ with any confidence. Remember, these musings are all from my little corner of the world and don’t reflect the hard work of other developers who’ve been sweating over StarPlat.

Language Semantics

·1272 words·6 mins
Happy Birthday to Me: Musings on Language and Code Today, I find myself celebrating my birthday in the tranquil confines of a cozy Airbnb in Vancouver. It’s a momentary escape from the pressures of work, a rare breather amidst the ever-present demands of the office. Through the frost-touched window, I watch the Canadian flag battle the icy winds. Below, I can hear the faint murmurs of a French-speaking couple, my neighbors. A little later, the cadence of Mandarin reaches my ears, no doubt my landlord going about his day. And then, the phone rings. It’s my mother, calling from home, so naturally, the conversation begins in Bengali. When my father takes the phone, we switch seamlessly to Hindi. After the call, I set the phone down, open my laptop, and begin composing an email in English.

The 00 Estate: What Happens When the Government Dictates How to Write Code?

·535 words·3 mins
In the House of Commons of Great Britain, Edmund Burke once stated, “There were Three Estates in Parliament; but, in the Reporters’ Gallery yonder, there sat a Fourth Estate more important than them all.” As the 21st century dawned, we observed media houses displaying biases towards their respective lobbies. The ’truth,’ which should be absolute, now has shades of well-crafted absolution. “Whose truth is the truth?” is a question I often ask myself while reading news articles on the internet. With the government in power controlling the first three estates, it’s not an exaggeration to say that Orwell’s “1984” no longer seems like fiction. This blog explores the hypothetical “00 Estate” that encompasses all estates and dictates the terms for writing code.

STR: A Disciplined Programmer

·543 words·3 mins
A trainee undergoing military training can disassemble and assemble a machine gun within a minute. At first, this might seem very complex, but everyone in the academy manages to do it. The more pertinent question is not ‘how’ but ‘why’. It’s because their lives depend on it. Similarly, a disciplined programmer learns the vocabulary and syntax of a programming language with utmost sincerity. Every word in the programming language is sacred, and any non-conformance is akin to blasphemy.