Posts in Tech

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


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


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


Advent of Code 2021

I’m working on this year’s Advent of Code problems. I have wanted to work on this live for several years now, and this year, I’ve started allocating some time to this every day.

Read more ...