Author Archives: admin

Efficiently writing large objects to Azure Blob Storage – JSON, Compression, Caching, Streaming in .Net

Figure: The Goal - Efficiency & Throughput

Azure Storage Blob Azure Storage Blob is an Azure Storage offering that allows you to store GigaBytes of data in from hundreds to billions of objects in hot, cool, or archive tiers, depending on how often data access is needed. Store any type of unstructured data—images, videos, audio, documents and more—easily… Read more »

Support for custom logging in CSRF Protector Library and more

Here are a few updates to CSRF Protector Library. Let’s call it version 1.0.1 Major features Support for custom logger So with insufficient logging and monitoring in OWASP Top 10 2017, logging and monitoring is more serious concern than ever, now. So far, CSRF Protector had support for file based… Read more »

Summing up Taiwan Visit for OWASP Taiwan Week 2017

      No Comments on Summing up Taiwan Visit for OWASP Taiwan Week 2017

I recently had a chance to visit Taiwan, all thanks to OWASP Taiwan Chapter for inviting me as a speaker for OWASP Taiwan Week 2017 and being such wonderful hosts. Here’s a quick sum up of the event in my point of view. OWASP OWASP stands for Open Web Application… Read more »

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 »