Posted in 2022

Bipolar and ADHD – I Know Your Names Now

For the longest time of my life I wondered if I have ADHD. I dismissed that feeling, and it didn’t really affect me. I functioned, and I had moments of sheer inspiration. I called this many, many things. At one point, I chalked my bursts of productivity off to me being a person who likes operating in bursts.

Read more ...


Retrying a HTTP Reqwest with Rust

How do you retry an HTTP request in Rust?

Read more ...


The Two of Three Rule

How do you decide when to join a company, when to stay and when to leave?

../../_images/control-charts.png

Read more ...


Learning Rust

I’ve been trying to learn Rust for nearly 3 years now. Oddly, I find that the process has been extremely similar to how I’ve learnt Python. I tried picking up Python in 2010, and I couldn’t. I tried again in 2015, and I was finally ready. The process has been the same.

Read more ...


Using Non-Standard Jinja Templates

Apache Airflow uses Jinja templates for variable expansion and templating. Whenever you write a DAG, you can use {{ }} blocks to expand variable names, often using Airflow configurations or macros to fill in the values. While that is great, you get a problem when you have Jinja templates inside your code that has nothing to do with Airflow.

Read more ...


Creating Fixed Length Iterables in Python

If you want to create an iterable of a fixed length in python, use collections.deque with the maxlen parameter.

Read more ...


Documentation Without Assumption

Whenever you write documentation, always try to focus on your audience. I’ve written about this (in my embarassingly half-complete idea about documentation), and I’m always going back to this. Documentation is about caring. I see a lot of developers who don’t write good documentation. But what is good documentation?

Read more ...


A System for Getting Better at Leetcode

For the longest time I was in denial about the benefits of studying algorithms and data structures. I wasn’t fascinated by Leetcode or other forms of competitive coding. It felt drab to me. I’d rather build something using programming. That’s more fun. Companies should consider my skills based on Github.

Read more ...


Vagrant

I’m late to the Vagrant train. I must have heard about it in 2014, but I’ve never bothered to look it up. I’m using it lately to test out my dotfiles, which I’m creating Ansible playbooks for. It’s convenient.

Read more ...


Python - A Reflection in 2022

I built my career on Python. In 2014, I had to make a decision. It was between either choosing to learn Ruby or Python. I was helping to create a tool and process for a team of content writers at Flipkart – I was a content writer there, and I’d used Excel for it at first, until Excel couldn’t handle the queries anymore. I called my friend who recommended Python. I learnt Python, almost over a course of a weekend, and I was making a PyQT4 application in a few weeks.

Read more ...


Onward

I’m beginning this year hopeful. It’s been a long three years, and I have a lot to do. I’m focussing this year on doing things, which is something I’ve said multiple times last year as well. But this year, I’m working on fixing this.

Read more ...