Monday, August 10, 2015

MOOC (Online Course to watch out) : Learn to Program: Crafting Quality code

Learn to program: crafting quality code is the sequel course of the Learn to program: The fundamentals. This course provided by university of Toronto. Now after knowing how to program fundamentally, you should be knowing how to code so that your code would last long and needs less maintenance. This course also makes you aware of the debugging and testing tools. Therefore making you ready to work on code , debug it , test the code under various conditions. This is how the software development proceeds.

This course is hosted at coursera.orgr and Here is the link for Learn to Program: Crafting Quality Code:

Sunday, August 2, 2015

Converting Microsoft .docx to plain text

While developing the application many times you would need to transform a file to a specific format of your use and therefore, the best way to do that in Linux is using the command line utilities provided.


To convert Microsoft Word documents to plain text in Linux "docx2txt" is the tool that does the work for you. I  had to do the manipulation in the word file and show it to the application so I used this utility.

you can find this utility on this link:

just open you shell and you can type the following command to see it happen.

$ docx2txt <source_file> <destination_file>

Now you can have a look at your destination file and see through under the contents of the file, but it just converts the to text files only.

For converting to even more file types another tool will help you definitely.


Pandoc offers converting to more formats than doc2txt. Pandoc is considered the best by many developers. You can read more about Pandoc at this link:

Pandoc offers converting documents to a wide range and one should give it a try.

But the drawbacks of the above conversion tools is that it does not convert the equations embedded in the documents to any proper format. If someone is converting documents then the person wants to the equations to get converted to MathMl or Latex.


writer2latex is the plugin at the libre office writer. This helps with generating a proper latex output of the document we want. Well, this plugin also has one problem it works with jre 6. So if you have jre 7 you need to degrade it to jre 6 this is the only prominent option currently left.

Sunday, June 21, 2015

Good Practices to Maintain your flask application for decades

Hello everyone My next video in the Python Flask series is the Good practices that someone should follow in order to maintain the python flask application for decades these practices also includes using Git repository. So that you can track the development progress of your project and keep your code safe from different unwanted situations. Please have a look at this video to know more.

Wednesday, May 27, 2015

Google IO 2015 : 28th and 29th May

Google's Biggest Technological event is about to start today , We are just 13 hours away. Google IO 2015 this year is expected to bring new stuff in the technology just like it has brought the new stuff every year. I am very much keen to know what's Google is going to present.

Google has been conducting this prestigious event since 2008 Google has made lots of major announcements and enhancements and presented these in Google IO that are ruling today the technology and software development. Some of the Major ones are App Engine, Android, Google Maps API, Google Web Toolkit, Google Music, Chrome , Chromebooks, Chrome OS, Project Glass , Google Now, Android Studio,  Google +, Material design standard. 

For those who are not able to attend the event can attend it Off site. Please have a look at the schedule here.

Thursday, April 30, 2015

Python Flask Installation , Configuration and first flask app by Chitrank Dixit

Hello everyone , Python Flask is a micro-framework that is very good to build small web pieces and APIs. So here is the introductory video on deal with Python Flask to make a simple website. The following video shows how to install , configure and start off with flask. So this is just a beginning more to come soon.

Upgrading Samsung Galaxy S plus to Android 5.0 Lollipop

Hello everyone , The people who are using Samsung Galaxy S plus would have been wondering that how they would be able to enjoy the material design of Android 5.0 Lollipop on their phones and you might have been thinking that you need to buy a new phone to enjoy the goodness of the Android 5.0 Lollipop on your phones. But there is another way and that is by upgrading your Samsung Galaxy S plus phone to Android 5.0 Lollipop. I have made a short video after installing Lollipop on my phone and it is working perfectly please have a look.

Now If you like the above showcase and want your device to get upgraded please follow the following two videos and your phone will get upgraded to Android 5.0 Lollipop isn't it great ?

and after this

Now your have noticed that your phone is working just fine. 

Friday, March 20, 2015

Sympy project: Symbolic Computations using Python Programming

Sympy is a Python Library for symbolic computations. It aims to be a Computer Algebra System, but wants to keep the code simple and readable. Sympy is entirely written in Python. 

Now you might have come across a question Why Sympy ? 

Because SymPy is…
  • Free: Licensed under BSD, SymPy is free both as in speech and as in beer.
  • Python-based: SymPy is written entirely in Python and uses Python for its language.
  • Lightweight: SymPy does not require any external libraries, making it easy to use.
  • A library: Beyond use as an interactive tool, SymPy can be embedded in other applications and extended with custom functions.
The above is the motivation for the open source developer to develop and contribute to this awesome project. At the very beginning you need to read the documentation and work as per the structure suggest.

Prior Knowledge of Python Programming

The very first requirement to understand and develop with sympy is the prior knowledge of Python Programming. If your know Python well then you will be good to start with the code and functions provided by the sympy library. 

Some Basic and Advanced Mathematical Formulas and Functions how they work

You will have to encounter very often with Mathematical formulas that has been transformed into Python functions. So you should be knowing about the Mathematical formulas and how they work. In order to help you during the contribution and development with sympy project.

Open Source Development and working

You should know how the open source project works. What are the roles of the contributers, maintainers and How to proceed with the Bugs (Issues), must know how to use the power of IRC channels for quick responses and you must know the version control system like Git, Mercurial, Bazaar. Sympy project is hosted with Git so I recommend you learning Git.

Git Documentation

Open Hatch (for simple and crisp exercises to know how the open source development proceeds)

Writing Quality Code

In open source development the source code written is fairly simple to read and understand as thousands of contributor will be modifying and testing the code to fix bugs. So after the bugs are fixed any additions and deletions from the code should be well documented using inline documentation in the file itself and also with a suitable commit message. You should keep in mind to write optimized code, as maintainers would demand optimized code when they view your fix , they also review the code for better readability and understanding.

Prepare Your Local environment or Virtual environment 

You must be following the build, install and test procedure. To look at the bugs and then fix them and again examine that everything works fine after fixing the code, So you need a local environment. Generally the newbees simply do all the testing in their system wide python installation. But I recommend you should read about the virtualenv, virtualenv is a virtual environment for testing python applications. The modules installed in virtualenv affects only the virtualenv and not the whole system. So if anything goes wrong , You just need to fix changes or delete your virtualenv and your system would be free from troublesome problems during testing and never need manual fixes.

Have a look at the virtualenv documentation

IDE's or Python Editors or Ipython notebooks

It is upto you which resource you prefer to write your code and have a proper view of the output of that code. I use ipython Notebook. Ipython notebook has better view of inputs with its corresponding outputs. 

Have a look at the Ipython Notebook documentation 

Resources for learning, developing for  and developing with sympy

Developing for the Sympy and searching for the educational tutorials and ebooks online by Googling and searching on YouTube is not a bad idea but it is not the best idea. The best idea is to go to the sympy website and read its documnetation and changes from the previous version. Sympy also provides an awesome tutorial doc for the new developers to understand sympy working.

The motivated programmers must check sympy code hosted at the Github, Have a look at this 
Source code for sympy at Github : Sympy Source 

and those who want to contribute please fork it and read the documentation about Git and contributing to Github, The project needs to be forked and after fixing the bug you need to Raise and Issue and talk to the maintainer about that issue and then do a pull request. I know you were not able to understand the above lines, So please read the Git documentation well and then read this again you will completely understand each and every line.

Set up Git

Create a Repository

Fork a Repository

Be Social