Few interesting python scripts

This is a collection of few of my python scripts which I am particularly proud of, few gems from collection which were mostly result of my curiosity and laziness ;-). The scripts here are for educational and demo purposes. They were intended to be a proof of concept, not most of them are not maintained.

Read more…

posted · Comments

[Q] What is the most important thing you learnt as a software engineer through experience?

Couple of months back I completed my first year at Enthought. Before that I have worked twice in Google Summer of Code for Drupal. There are quite a few things I learnt while working on various projects:

Read more…

posted · Comments

[Weekend Project] DropHere

/images/drophere/drophere.jpg

A few weeks back, I wrote DropHere. Its written using CoffeeScript, Node.js and Express.js and some HTML5 Drag and Drop APIs.

I created this project as a simple drag-and-drop file uploading service. It uploads files to relevant file uploading service. For example, if you drop an image file, it will be uploaded to Imgur and similarly text files will be uploaded to Pastebin.

You can check out the live demo over here.

Read more…

posted · Comments

finally always guaranteed

Let's start off with a question. Given the following code sample:

What do you think the call to foo() will return ?

Read more…

posted · Comments

[Q] What are the reasons for poor quality in India's primary and high school education?

Recently coming out of my education, I have the following points to add, since I got educated in Mumbai, my views are mostly are from an urban point of view. These are the most general things I have found in our education system.

Read more…

posted · Comments

[Q] How does it feel to not qualify in IIT JEE?

I failed IIT JEE. Got an abysmal score in BITSAT, AIEEE and Maharashtra CET. Its not that I had not tried hard, and I won't be playing the blame games on anyone but the truth is "I had failed".

I was very disappointed and so were my parents, and I felt somewhere I have let them down. My father had to use his contacts to get me an admission at an engineering college, and I was low on confidence.

Read more…

posted · Comments

[Q] Is mathematics invented or discovered?

According to me, mathematics was neither discovered nor invented, but rather observed.

If you think of Mathematics as a formal documentation of formulae or proofs, then they are discovered. My definition of Mathematics includes not only documentation but also application, and application can be done without formal knowledge of mathematical theorems or proofs but by sheer observations in the surroundings.

Read more…

posted · Comments

[Tutorial] Using OAuth2.0 with Google+

The initial API for Google+ was released on 15th September, 2011. But, this API currently supports only public data, and user data (which can be accessed from any web application or web site). However, there no support for building Google+ applications. It follows a RESTful API design and provides OAuth2.0 for authentication.

Read more…

posted · Comments

Comparison between form based and syntax based query building

Many friends of mine have questions and doubts regarding the “Specialized Syntax based Query Building” system. They would, however, prefer the “Form-based Query Building”. Why do we need such a system, when the conventional system is working fine ? Why does the user have to type a “Specialized Syntax”, can’t he just use SQL ? and many more questions arise. Lets consider the following scenario:

Read more…

posted · Comments

Specialized Syntax for Quick SQL Query Building

Originally, I used to call it “Natural Language to SQL Translator”, but I guess what I intend to do at this point of time is not Natural Language, it is rather a specialized syntax, which I guess can be further extended to natural language. Let me make a thing clear, about the system :

  • It is something which the user sees, and types a query in, it has nothing to do with the data-related operations in a database.
  • The only time it deals with data, is when the result-set is generated and given back to the system, so that it can be post-processed into a better manner.

Hence, its sole purpose is, to help user (end-user/client/power user/reporters) query the database and to give the user a better presentation of the result-set.

Read more…

posted · Comments
close this window

WARNING!

You are using an old version of Internet Explorer that may cause this site to display improperly or not at all.

Please consider downloading one of the following browsers to get the optimal user experience:

  1. Google Chrome: Download from Google - Recommended
  2. Mozilla FireFox: Download from Mozilla
  3. Internet Explorer 9: Download from Microsoft

If you wish to continue you may close this window, but it is highly recommended that you update first.