THE NON GREEN INFLATION

Rising sea levels, melting ice, green house effect, CO2 emission, green consciousness etc are the buzzwords in national and international parleys. A regular reader today necessarily comes across green articles (articles on environment) regularly in print and electronic media.  But does reading and observing necessarily mean understanding the problem and following measures to uproot the menace?  Answer to the question is not a categorical “NO”.

Managers of today have been instilled to think green (both greenbacks and environment friendly aspect). Countries like Canada have passed legislations to contain pollution. KYOTO Protocol even though a slightly unsuccessful one gives an indication of environment concerns of world politics. Developing countries are at crossroads where they need to identify their stands. Does this mean Indian government needs to do away with cost effective, economical and non-green industrial measures at the cost of growth? Indian government on one hand tries to identify itself as green and at the same time exercises more than 100% excise duty on Hybrid cars.

But what does common man of India have to contribute to the program? Batti Band, Mumbai unplug etc have spread the news to city dwellers. Initiatives to percolate the green awareness have long way to instill the knowledge in hoi-polloi of India. The moment we are able to fix green thoughts in common man we would observe a changing world towards a better world.

Advertisements

Sense of Urgency

Sense of Urgency

WITHOUT A SENSE OF URGENCY, DESIRE LOSES ITS VALUE…jim rohn

I share Lincoln’s belief in the ideology of “Sense of Urgency”. Apart from me, a prominent leader like Barack Obama and his wife Mitchelle also share the same belief. Obama’s run for White House is also a result of such fierce urgency to contribute to nation’s development. I believe one needs to be driven by a sense of urgency to upgrade himself regularly and to set benchmarks constantly for him and achieving them. A constant sense of urgency displays/maintains enthusiasm level and also displays a person’s need to grow.

Today’s professional sphere needs people imbued with versatility and diversity. One with ability and desire to strive forward is one who will chart paths of success. Sense of urgency ignites the hope and need in a person to break through the still rooted life which can boil all the hope out of an individual. One needs to see through the veils of impossibility to look at the sea of opportunities and sustain such dreams and efforts with sense of urgency.

Initial Glitches in Python Scripting by a Tyro

Google released its Google App Engine in April 2008 and I am enthralled by the idea of the Google. I have always been inclined in automating. Hence thought of learning Google App Engine and thereby confronted Python Scripting which Google App Engine supports. A novice user like me installs Pyhton 2.5.2 and Google App Engine SDK to develop a server application.

As one starts following the Google App Engine tutorial and trys to copy paste the code available in the tutorial pages one encounters numerous error jargons on the explorer. The coder needs to understand some basic requirements and understanding of Python scripting.

1. Python Script Files (.PY) use indentation to differentiate the blocks of code. It does not have curly braces (unlike in C,C++; BEGIN END in VB Scripts etc). Hence if you are writting blocks of statements be sure that you use indentation properly. One can use Python IDLE as a Editor of Python scripts. For example :

IF you are using IF statement the following should be the indentation

IF USER

        print ‘User available’ — Observe the indentation. The block belongs to IF hence is lower indented

ELSE

        print ‘User not available’ — Observe the indentation. The block belongs to ELSE hence is lower indented

2. One needs to run the command ‘dev_appserver.py ….’ on the DOS Command Prompt not on the Python Command Line as I did.

These are some of the intial faults I committed during my encounter with Python language. I hope to come with some more soon as I face them. Hope the above two slip-ups of mine help novice developers.

KIRKEE WAR MEMORIAL

Just passed a very scenic place in Pune and Captured the reality in Pics. Came back to learn more abt the place “KIRKEE WAR MEMORIAL”. Below is an historical information excerpt I found abt the War Memorial.

KIRKEE WAR CEMETERY was created to receive Second World War graves from the western and central parts of India where their permanent maintenance could not be assured. The cemetery contains 1,668 Commonwealth burials of the Second World War. The KIRKEE MEMORIAL stands within the cemetery and commemorates more than 1,800 servicemen who died in India during the First World War, who are buried in civil and cantonment cemeteries in India and Pakistan where their graves can no longer be properly maintained. This total includes the names of 639 servicemen whose remains were brought from Bombay (Sewri) Cemetery for re-interment here in 1960. On the same memorial are commemorated almost 200 East and West African servicemen who died in non-operational zones in India in the Second World War, and whose graves either cannot be located or are so situated that maintenance is not possible.

Reference – http://www.cwgc.org/search/cemetery_details.aspx?cemetery=2016600&mode=1

Kirkee is the other name of the place “Khadki” in Pune where the memorial is located hence it is named so.

Google Docs as Database

Quiz Gadget is a quizzing gadget which has been developed using GCE (Gadget Control Editor), Google Pages and Google Docs. The Quiz Gadget uses Google Documents as the database. Many people would be wondering on the fact that the Quiz Gadget uses Google Document as database. Eventhough Google Pages does not provide server side scripting and database feature, one can combine the power of widgets and Google Document to get the same affect.

How do I create the database in Google Documents?- I create a spreadsheet in Google Spreadsheet with columns as my fields. Now fill in the data in the spreadsheet and now publish your spreadsheet as it makes the data available on net.  The link to the published spreadsheet now forms the connection string to the database for the widget.

How do I connect to the data in the spreadsheet?- One can easily  retrieve the HTML content of a webpage using the Remote Data Extracting Functions available in Google Widgets. Visit http://code.google.com/apis/gadgets/docs/remote-content.html for information and in depth understanding of such functions. The functions only requires the link to your published spreadsheet and fetches the HTML content as text to your widget.

How do you identify information from the HTML content?– One aquainted with HTML parsing should find extracting data from HTML content using HTML parsers an easy job. Though initially you may find the content to be unextractable but constant observation shall help you observe the patern and tags necessary to extract the info. Once you have the information playing with the information should be a easy job for techies and web page designers.

Limitations and constraints of such databases– One needs to heavily rely on Javascript for attaining the functionalities required for database support. Some users do not enable javascript on their browsers hence can be a severe limitation. As publishing of the spreadsheet is essential for database support, one cannot keep information privy from the users.

You might find handy the following link in better understanding of the blog – http://code.google.com/apis/gadgets/docs/dev_guide.html .

Link to Quiz Gadget – http://carte.blanche.leeway.googlepages.com/gkquizgadget

Looking at the interest of people in using Google Docs as a Database, I am contemplating on opening up a dedicated discussion forum on using Google Docs as database. Please take survey and help me finalize on my plans: