Writing this post after a long time...

I have recently experimented with this platform and I am really impressed with this platform and decided to write a post on this. So here we go:

Amazon, Flipkart, Myntra, - These are all e-commerce platforms which changed our lives. They provide a wide range of products to customers around the world. But they do not provide all sorts of products.

Suppose you are a producer of a unique product like some hand-made soap, it is one thing to have your own showroom and trying to create sales. It is something else to sell online.

If you want to go sell online, there are few options like google shopping, these above mentioned platforms  or your own e-commerce website.

Having your own e-commerce is one of the best as you have complete control of your products, sales, etc and you can create your own unique brand.

But here comes the problem - You need to create a website hiring developers, maintain the website and everything else. Tooo difficult and costs a bomb.

One fine day, I came across Shopify. It is a marvel.

  • No developers required.
  • No technology costs.
  • Everything ready made.
  • SEO optimized.
  • Very cost effective.
  • Built in themes and apps for all functionalities.
  • Social marketing integration, shipping, payment gateways, etc., all built right into it.
  • Build a website with just a few clicks.

I immediately created a fabulous e-commerce platform "Ecolabs" and in a matter of 2 days, it was up and running. I took up Social entrepreneurship and create a successful venture with it.

I urge everyone to try Shopify. It is really an amazing platform.
Just see this pic below to get to know about it:

I will detail about my Social entrepreneurship venture Ecolabs in a new post.

It was a time when I was struggling with acute transport crisis. I was working in Mumbai. I had no transport of my own and the transport scenario was like this (No exaggeration):


Those were the days when a common man like me could not afford to travel in a taxi which costed around 700-800 rupees for a decent 30km travel with a minimum of 300rs for first 5 km. I was forced to travel in auto rickshaws like the one in the pic. Those guys, even though they had metering systems, tampered the meters, threatened public with strikes and regularly used to charge around 70 rupees for a mere 2 km. God forbid their atrocities in emergencies.

One fine day came Uber, as some god sent gift, into my life. Wow, just wow! cheaper than auto rickshaws, more comfortable than usual taxis. From then on, I became a loyal Uber user.

I was astonished to find many highly educated professionals with MBA degrees became Uber drivers. They earn a decent 60,000 rupees per month, more than a software architect.

Fair price, No advertisements, Highly paid drivers, Excellent cars! 

So I am writing this post examining Uber success business model:


Today, I was asked a very beautiful Logic Question by a very brilliant person. I took a minute to think about it and solve it. But then I was soo amazed at my own intelligence and aptitude that I am posting about the problem and my solution. (Sorry for bragging but I wonder how a brain works if not by divine intellect.)
Here is the question:

Question: You have got 90 pool balls which look completely identical in shape, size and weight. Only one ball in the complete set has a lighter mass. You also have a weighing machine. Tell me a way where you can find the anomalous ball in least number of iterations (steps).
Well, I have never come across such a puzzle till now, and was a bit dazed in such a scenario.
Then I trusted myself and started to think, and the solution was brilliant:
Doing it linearly weighing each ball takes 89 iterations.
My solution:
Divide the entire set of 90 balls into 45 each,
Weigh them on the weighing machine.

You get the set containing the ball with lighter weight.
Questioner: Okay, but wait, for the next iteration, how can you divide 45 balls into two sets?
Me: I am going to divide the whole set of 45 balls into two sets of 22 balls each plus one ball extra.
I weigh them. If both the new sets are of same weight, the extra ball would be the light ball,
If not, we get the set which contains the lighter ball, the set has 22 balls now.
Questioner: Okay, but it takes longer than the official answer.
Let us analyze then-
Official Answer
Divide the whole set into 30 ball sets of three.
Within 2 iterations, we get a set containing 30 balls,
Divide the set again into 10 ball sets, do the same.
To get lightest ball, the worst case scenario is 8 iterations.
My Answer
Within two iterations, you get a set containing 22 balls each.
Doing the same procedure, we get the Lighter Ball within 5 iterations.

All this without even referring to the internet.
All this was solved within minutes of the question and I was so thrilled that I am posting this onto my blog.
It is really amazing how the mind works!

via Blogger http://ift.tt/1Kw79Ak

via Blogger http://ift.tt/1MgPRGw

There are many content editors for blogging on Mac platforms. But there are almost none for Windows.

I have two blogs : One for WordPress and one in Blogger.
The editors in both of them suck and I needed a very robust content editor to do all my changes and publish them in one stroke.
Well, MS Word is one of the best content editors ever created. Why not use it for blogs?
After trying very hard, I came up with the following solution:
Blogger is not supported in Word 2013 though it has provision to enable it. According to my observations, Google is implementing 2-page authentication which is failing the authentication process through MS Word.
This is according to my guess after running few trial and error methods.
Now why WordPress Authentication fails? Well, I solved it and it is really a silly workaround.
Let us have a detailed workaround:
You click Manage Accounts in MS Word and select New and select WordPress

Now If you click on next, you will get to the following window:

Please observe that there is http instead of https.
This is because WordPress started to implement the https protocol after the release of Word 2013 and this issue has not been updated.
No windows updates solved the issue.
Now just change it to https and enter your site URL.
Follow the instructions specified and then you can easily link your WordPress Account to Word.

Now to link Blogger,
There is an amazing web application called IFTTT

Just sign up for the Web Application. It is extremely useful.
Choose the recipe: If WordPress then Blogger

We are done for now. Post an article on Word and click on publish!
 and you can see it on Blogger and WordPress.

Just felt my desktop to be too impressive and productive. So I wanted to showcase it on my blog:

Things used:
1. Rainmeter
2. Omnimo Skin Pack
3. Elegance 2 clock Skin
4. Wallpaper: http://www.wallpaperup.com/11578/Nature_focus_moss_macro_blurred.html

Let me know your comments.

Few days ago, while I was opening my Laptop in Airport, I have noticed people looking in awe at my laptop screen as I unlocking it with a picture password. Well, it did seem futuristic but it all started with the introduction of Windows 8 way back. Still no one knows that the feature exists. No one utilizes the feature.

Why memorize a conventional password with all names, characters and symbols?

In many MNC firms, we are required to change the passwords every 3-4 weeks. 

The passwords are required to have symbols, Upper and lower case letters, numbers and what not.

Just imagine my plight to remember all those shitty passwords which change every 3-4 weeks and there must be different passwords for different accounts.

My thoughts: Use a Picture Password instead of creating pain in User's ass.

They will be extremely easy to remember as they align to how our brain works. We can remember gestures easily compared to a set of numbers or symbols.

A safe, secure and easy way which does NOT create pain in the ass.

To set up a picture password Windows 8/10: 

  1. Swipe in from the right edge of the screen, tap Settings, and then tap Change PC settings.
    (If you're using a mouse, point to the lower-right corner of the screen, move the mouse pointer up, click Settings, and then click Change PC settings.)
  2. Tap or click Accounts, and tap or click Sign-in options.
  3. Under Picture password, tap or click Add.
  4. Sign in with your Microsoft account info, then follow the steps on the screen to choose a picture and pick your gestures.
So my dear readers, please set picture passwords to your PCs and have a pain free, easy and secure way to log in to your PC.

 My Thoughts: Why not websites like Google and Facebook implement picture passwrds with gestures so the users will have a hassle free way to login to their accounts..

Macros in Notepad ++   Every developer needs to know about

Hi, Today I am going to write about an interesting feature in Notepad ++ every developer needs to know:  Macros.

Most of the developers know that Notepad++ is a very light-weight and handy tool which does amazing stuff.
For those who do not know,

Notepad++ is a free (as in "free speech" and also as in "free beer") source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GPL License.
Based on the powerful editing component ScintillaNotepad++ is written in C++ and uses pure Win32 API and STL which ensures a higher execution speed and smaller program size. By optimizing as many routines as possible without losing user friendliness, Notepad++ is trying to reduce the world carbon dioxide emissions. When using less CPU power, the PC can throttle down and reduce power consumption, resulting in a greener environment.
You can visit the following website for further information and download:

Now, I am writing about this feature because, Few days ago, I was facing an issue of changing the URLs of about 1000 PDFs in a particular master website.

Ofcourse this could not be done manually. So we had a brilliant idea of doing it through Selenium driver present in Java, some brilliant Java Code which I may post some day but not now, Microsoft Excel and Notepad++.

With these, we completed the whole project in two days which was actually expected to be complete in 2 weeks.

Now, Why Macros? OfCourse to do repetitive work

That too in Notepad++? Is it really helpful?  Well, decide for yourself. I am describing a particular scenario:

I will not be posting the original details here. We shall use a dummy example.
Open a new blank file in Notepad++

  1. Hit Start Recording
  2. Do what you need
  3. Hit Stop Recording
  4. Run once or multiple times or until file ends
This is the basic usage of a macro.

Now let us start. 

I go to Wikipedia and Search for list of Cities present in California,

I get the entire list. 

I just copy- paste the list onto our Notepad++

It looks somewhat like: 

Now, we have got a lot of extra data and we need to filter out only the city names and truncate all the extra data.

We can do this in a few seconds.

I place my cursor at the end of the word "Adelanto"

I start recording the Macro from this point.

Then I select all the extra data till the new line.

I delete this data. All this is being recorded in the Macro.

In the next line we will be having "Agoura Hills" and this should not be deleted.

So I press home button, then down arrow, then end button on the keyboard

I stop recording the macro.

Now Run the above macro a 100 times and see . We get only the city names.

Refer to the below video I have compiled:


 This was a small example. In right hands and intelligent brains, this can be a really powerful tool.
So use it wisely my fellow developers.