Friday, February 6, 2015

Python - Basic Template

In my first post about python, I was talking about parsing huge text files with python regular expression. I thought I should share the basic template kind of set up that I have for myself to save some time while scripting. I use this basic template in writing some quick script for immediate needs. It really saves my time.

I have commented then and there in the script to increase the readability of the script. As said in every programming books, commenting your code is a must do activity and it will help anyone to understand the script in better way.

Thursday, February 5, 2015

Python - Text Crawler

I find Python extremely useful at many scenario's. Certain kind of work I do involves lot of manual efforts and consumes lot of time. I started slowly experimenting with python then and there to automate few things with which I work.

One such case where python is very useful for me is, parsing large text files. It often happens that we need to parse huge file to pull data or parse log file to create reports. In all these cases python comes in very handy. I will share a small snippet below to show how powerful is python with regular expression module.

Wednesday, February 4, 2015

Is Phonebloks a reality ?

Phonebloks, which started as an idea in YouTube is now reality. Dave Hakkens who posted this video in YouTube explains how we can build a phone through bolks and their by reduce the largest growing waste - e waste. 

He wanted to grab millions of people's attention and wanted to take this idea a step ahead. He achieved it through social media and managed to win the attention of Motorola. Motorola started to do the R&D on this and soon it got merged with Google.

They named it as "Project Ara".  It all started as an idea back in 2013 and now it's an active project in Google labs.