2019

Utopia for Realists

26 Nov 2019 - 3 minute read
categories: books tags: books sociology

This book was a recent recommendation from Dr Kailash Nadh. A small but heavy book, that is engaging and well researched. Rutger Bregman has done a thorough job of making arguments for three major policy ideas whose time has come in the land of plenty that we live in (as compared to a human living a century ago). Universal Basic Income Reducing Working Hours Open Borders Universal Basic Income or UBI, might sound ludicrous at the first glance, but numerous studies and on-field experiments have time and again shown that the way ahead for the welfare-state might be direct money transfer (not just benefits).

Building Go Plugins inside Docker

24 Nov 2019 - 2 minute read
categories: tutorials tags: golang docker

Using Go plugins in your projects comes with a lot of caveats. As of writing, there hasn’t been much development on the feature recently. The commit history shows us that the last commit happened nearly 2 years ago. On the gopher slack, the sentiment, more or less, is that this is not a priority anymore. Along with this, there are multiple issues that come up with maintaining projects that use it:

Creating archive pages grouped by year in Hugo

15 Nov 2019 - 2 minute read
categories: tutorials tags: hugo blog golang

I was on the hunt to find out how to organize my blog and project archive pages by year in Hugo. After being unable to find any easy solutions I decided I would sit down and write the go template to render these pages myself. The idea was simple, iterate over the list divided by year into sub lists and render tables, but it turned out to be a bit tricky.

Containerized development workflow using remote gopls server

05 Nov 2019 - 4 minute read
categories: golang notes tags: golang docker

If your CGO development toolchain depends on external dependencies such as system libraries, or you want to develop on an older version of go while having a different version on your host, you can use a docker container and mount the source from your host machine and build the project inside the container. This can enable us to have a consistent development environment across various developers and their host systems without having to modify system libraries.

PaisaVasool - HackInOut 2019

25 Oct 2019 - 3 minute read
categories: projects tags: fintech hackathon

Last weekend I attended a hackathon after a long time. HackInOut, which is India’s biggest community hackathon, was happening very close to where I live. I went with my office colleagues Vivek and Karan and we had discussed a lot of ideas before reaching the venue, but we were not sure what we will finally end up building. After discussing our ideas with Siddharth Shetty, an iSpirit fellow and one of the mentors at the hackathon, we finally decided to build PaisaVasool.

Facebook Birthday List to ICS file

11 Oct 2019 - 2 minute read
categories: notes tags: digital wellbeing python

I have recently stopped using facebook, but I really miss the convenience of the birthday notifications. I tried to find the .ics which you could export from facebook events page to your calendar program but it was nowhere to be found and I thought I would have to script scraping it myself. A quick search on github later, I found that someone had already beat me to it. You can find the repository on github and follow the documentation, but I have documented the steps I followed below:

Using Docker containers for building Archaic Projects

04 Aug 2019 - 3 minute read
categories: notes tags: notes docker

Sometimes old projects and libraries require certain specific system library versions that are hard to reproduce, or cumbersome to replicate on our development environment. Docker can be used to simplify the build process of these projects and it is often a lot faster than starting a VM in your machine and using that to build these projects. I recently found out about such a project at my workplace. This was a C++ binary that was statically compiled, so there was no issue with distribution but the build process had become very complex over time.

A review of Siempo Launcher for Android

17 Mar 2019 - 7 minute read
categories: notes tags: android digital wellbeing

Three months of self inflicted digital pain and how it changed my habits Last December, I decided to start an experiment and adopt a new launcher called Siempo apart from the OnePlus and Nova launcher that I’m used to since I started using Android. After three months, even though I have stopped using it, I have observed some changes and would like to share it with my readers who are also interested in digital well being.

upi.link - Progress Update 2

24 Feb 2019 - 2 minute read
categories: upi.link

Highlights I wanted to finish the underlying infrastructural things so that I can start to focus on the higher level features. Features Implemented User Profiles Added support for user profiles this week. Now, I can extend the user authentication table with profile data. Since, I want to store minimal data about the users on my server, I have used gravatar to load the profile photo and as of now no other information other than email is stored.

upi.link - Progress Update 1

17 Feb 2019 - 3 minute read
categories: upi.link

What am I building, in a sentence? 🔗upi.link: A programmable shortlink generator based on UPI (universal bank2bank payments service in 🇮🇳) sharable via social media & chat. What did I complete till now? Highlights Deployed at upi.link I used AWS Free tier to deploy this website to reduce cost for hosting this. It uses AWS Lambda Functions to generate shortlinks which are stored inside Redis with a TTL of 3 Days.