Understanding HTTP – The internet’s communication protocol

Understanding HTTP

HyperText Transfer Protocol is one of the fundamentals of the internet. Every web developer, even front-end developers should at least have a basic understanding of what HTTP is. It is the mechanism which enabled computers talk to each other over the internet. It defines the format in which messages are passed on the internet. It … Read moreUnderstanding HTTP – The internet’s communication protocol

Session sharing – Sharing login state between web apps

Session sharing was my first task working on https://philanthropyu.org. It was also the first task assigned to me on a real team at Arbisoft. The 2 systems that I had to integrate were: Open edX – A learning management system primarily built using Python and DjangoNodeBB – A forum software built using Node.js and socket.io … Read moreSession sharing – Sharing login state between web apps

Data Driven Testing – How We went from 150+ Test Cases to 1

This is one of my favorites. The Problem Finding an efficient way to test over 150+ functions. This happened while I was working on an enhancement of the Open edX platform. Currently, Open edX uses a custom event tracking library for tracking user generated events. These events are simple JSON objects that are fed into … Read moreData Driven Testing – How We went from 150+ Test Cases to 1

Book Review – Introduction to Computer Theory by Daniel I.A. Cohen

I remember when I first read this sentence: “Our models, on the other hand, will encompass all computers that do exist, will exist and that can ever be dreamed of” It was during a lecture on the Theory of Automata, a mandatory course during my CS degree. I never paid too much attention to that … Read moreBook Review – Introduction to Computer Theory by Daniel I.A. Cohen

Debugging Python without an IDE – ipdb and web-PDB

In my previous post, I discussed how to debug python applications using the built-in python debugger, pdb. In this post I discuss alternatives to pdb that, in my opinion, provide a better interface to debugging. pdb is limited in the sense that it can only be operated from the shell, and I repeatedly have to … Read moreDebugging Python without an IDE – ipdb and web-PDB

How to save custom settings for your WordPress plugin

I used to build WordPress plugins and front-end apps for my freelance clients. Many times I had to make the WordPress plugin configurable through the WordPress dashboard. There are several ways to do this, but the recommended approach is to use the WordPress Settings API. In this post I’ll guide you through on how to … Read moreHow to save custom settings for your WordPress plugin