Danish’s Survival Guide To The New York City Subway

I’ve logged around 1,500 hours riding the New York City subway over a period of 6 years. I live in Queens, work in Manhattan and often like to hangout in Manhattan or Brooklyn. Hence, I get around a lot on the subway. With this insight, I’ve developed a set of survival rules that you may…

Python Module Naming Pitfall

I recently ended up naming my Python .py module as the same name as one of the standard Python library modules. This caused an import exception and ended up wasting me a lot of time and left me feeling completely lost for a while trying to debug it. Here is what I did and how…

A Biography Of The Power Symbol

The image on the left is the universal symbol used to represent the power button on almost any devices these days. Have you ever wondered why this specific symbol represents the power button? I did, and then I went around my apartment looking at the power button of everything that could be switched on and…

How To Generate Javadoc Style Documentation For Python

I’m a pure Java developer turned to a 50/50 Java/Python developer. Although I was skeptical about Python initially, but I’ve learned to love the language. Once you stop trying to program like Java in Python, it becomes much easier to see the Pythonic way. However, I do miss the explicitness of Java but have found…

Maintaining Read More Links When Moving From Drupal To Jekyll

I recently switched to using Jekyll to maintain my blog instead of Drupal. I wanted to maintain the front page as headings along with the initial excerpt of the post with a “read more” link at the bottom of the excerpt. In Drupal, this was achieved by adding the snippet <!– more –> where you…

Dojo Toolkit, A Refreshing Alternative To jQuery

Being new to web development, jQuery was the first JavaScript library I worked with. However, the extent of usage was limited to my personal, largely recreational projects. However, I recently decided to use the Dojo toolkit for a new project at my day job. Here is why I decided to do so and why I…