Author Archives: admin

Compress sequence of UNIX timestamps with microseconds accuracy to ~10bits/timestamp

Problem Setup: There is a stream of timestamps that need to be transferred across some network stream; Goal is to compress this sequence of timestamps (with microseconds accuracy, lossless). Also the encoding and decoding process should be very fast so that it can scale for time critical processes; Some assumptions:… Read more »

Introducing minor improvements to CSRF Protector PHP

The OWASP CSRFProtector project started with an aim to develop a solution that can mitigate Cross Site Request Forgery in web applications without much developer effort. The most common solution for mitigating CSRF is using a token which cannot be retrieved by the attacker, thus ensuring the authenticity of the… Read more »

A fault tolerant distributed key value store from scratch

We had a B-Tech course on Distributed Systems and I took a course on on Cloud Computing Concepts 1 by Dr Indranil Gupta (UIUC) a year back and for long, I have been thinking about trying out different concepts explained in the course together as something meaningful. There are assignments in the course which you… Read more »

Bot to help with finance – BRB: BenRickertBot, Introduction

I recently started to invest in Mutual Funds with two primary purpose – saving tax with ELSS and getting profit from some other short term investment. While SIP is a simple, proven way to invest, I like to believe it has to be smarter than this. So the problem statement… Read more »

Easy way to allow customers to deploy web apps to Azure without going through Azure Marketplace

Problem statement is: You have a .net web app (which can be self hosted) and you want to provide it to customers so that they can deploy their instances on Microsoft Azure, without shipping source code to them. Also this has to be very easy for customers to do so…. Read more »

Experiment : Supervised learning model to classify a Github Issue as enhancement or bug based purely on issue title

Quick Summary: I Mined more that 1,00,000 Issue data from Github open source repositories. Mined data included { issue title – string}, {issue description – paragraph } and {labels – discrete strings}. Most of them were enhancement or bug. So started with a simple classifier which classifies an issue as Enhancement or… Read more »

Todofy live help PoC

      No Comments on Todofy live help PoC

Recently I tried to create a proof of concept on integrating an IDE (VS Code), Version Control System (git, github) & a team communication platform (slack). The problem statement might sound more of a first world problem or possibly not even that: Say a group of software engineers are working on… Read more »

logging out and then logging in throws 403 error with CSRF Protector PHP – fix / workaround

Recently an interesting bug came up in CSRF Protector PHP. Read the entire issue thread on Github. If you log out of your website and then try to login again there only, CSRF Protector throws 403 – forbidden response. So this comes by design because first thing that you do… Read more »

Hands on with HoloLens & bootstrapping tips

      No Comments on Hands on with HoloLens & bootstrapping tips

I had an opportunity to work on HoloLens project during #ONEWEEK hackathon at Microsoft. For those who don’t know, oneweek is a yearly worldwide hackathon at Microsoft where interns & full time employees from different MS Campuses can participate and develop prototypes on any track or idea. Before you start, you should… Read more »