Categories
tech

Bots is all about data, and being hungry enough to collect that

Akhil wants to buy a phone which does not heat up fast, as his phone is to be used in his Uber – always engaged and in sunlight. His favourite ecommerce website can’t understand what he is looking for, yet there are lots of people who want to buy exact same phone. Welcome to the bot world where user will be able to freely tell the exact problem/ use case and not just be thrown up with some filters on category which 2-3 product people decide should exist. Where organisations will learn from one failed reply to user to make sure next time replies will be done around that problem.

The biggest self-created enemy of commerce apps as we will see will be imposing filters on users and not let them tell exactly what they are looking for. Its no surprise now to know that maximum books sold on Amazon when it was launched was books which were not available over major Book Stores. When users are given power to express their exact problems and those are fulfilled, we have always seen a huge business building out in that particular space. How that will be done? – well technology has always enabled organisation achieve what was seen impossible at one point of time and will be easily understood by ones who have first hand experience working in Neural Network or been part of process where humans provide training to machines.

Problem right now for any bot-tech product is getting rich data. And data is very private to each bot or website. Users buying phone over your bot will not be talking or asking in a similar way over Quora. Research and transactions have different behaviour and we already know how user behaviour is different over booking.com and tripadvisor.com. The only way to collect data is to let users type in whatever they want to and express what they are looking for while training algorithms to use this trained data to find exact goal next time. Fast failures is going to be biggest win in bot tech because more the failed data, more is training, better the bot.

Bot tech right now is enabled by available tools like wit.ai, api.ai, luis.ai etc. , but these are going to be intermediary solutions until bots organisations build data enough to self-train and write their own algorithms for ways they want to solve this problem. Then will be a bot-tech war as we had already seen previously in Search Engines.

What we know today is – it’s not going to be about just algorithms, it will be about data (more).  And we should care more about user providing us whatever free text solves their problem, while providing replies productive enough to do goal fulfilment as well as narrating bot capabilities.

 

Categories
tech

Maintaining forked private repo of a public repo

Lets assume you working on a public github repo e.g., https://github.com/parag/simplenlg-python3 . You have done git clone this repo but now you want to extend this library but privately. You could maintain a new branch ‘dev’ locally or since you are not pushing to master, you can maintain just master branch only. Advice to maintain a different branch though. You could push this ‘dev’ branch to master of your repo.

If you are wondering what is the use case, this is majorly used if your production systems are dependent on the repo and original author is not very active to accept your changes which you want to push to your server.

Imaging you have created a private new repository over bitbucket.

First, checkout a new branch:
git checkout -b dev

Add a new remote in your current local:
git remote add private git@bitbucket.org:paragarora/sp3.git

Now push this branch to master of new private repo
git push -u private dev:master

You could also push public master branch to your private branch
git push -u private master:github_master

Categories
tech

Picking right messaging broker

I had implemented my last company (Plustxt) product over eJabbered. It worked well for couple of hundred thousand users but after I sold the company to Paytm and implemented for over 50+ million users, we immediately started noticing bottlenecks with scaling XMPP but also more importantly started facing heavy battery drainage in mobile. One of the most critical infrastructure for Glowing is also messaging broker. Inspite of great deal of knowledge sunk-in cost in eJabbered, we took the challenge of exploring for much better and reliable technologies.

Following were salient points we considered before picking the right solution:

  1. Ease of portability to platforms like having socket extension for web and MQTT for mobiles
  2. Lightweight
  3. Enterprise level message delivery, which would mean
    1. swift response
    2. for both device and web
    3. low latency
    4. no loss of message
    5. availability
    6. scalability
    7. eventual consistency
Categories
startups tech

Messaging aggregation platform and challenges

A messaging aggregation platform is a platform that is capable of receiving and sending messages to multiple (and popular) messaging platforms.  Existing messaging apps installed on user devices act as invisible apps available for and tie into our platform. Benefits for end (consumer) users who consistently rely and use a favorite platform include not needing to install any new apps, let alone change and learn new behavior; but rather, businesses that use a messaging aggregation platform merge into current habits and preferences of users.

Categories
startups tech

Localizing ReactJS static apps

Since we are so much focused on messaging layer, internationalisation and localisation is mission critical for us. We explored lots of solutions for incorporating messages for multiple languages but none of the solution worked out of box for us. After doing research, explored we need to zero down to one of the mentioned two options:

1: i18next
2: react-intl

Although both are complementary solutions with react-intl on first looked like eventual solution. But having different string messages for different languages looked like very hacky and react-intl was not infact made for that. Its mainly for localising formats (e.g., date). Also we are already using i18n on our API servers, so i18next looks like an apt choice for the workflow is similar. Here is how to integrate this i18next.

Categories
clarity

The Droid Age

Translation of the wisest words I think I will ever hear or read.

 

Surely we will create droids one day who will serve us everything we think we desire
Surely we will make their body look like us, and then make them pixel perfect
Surely we will put mind to them, to act according to situation
By imparting them experiences, knowledge and thoughts  at regular intervals
Surely we will give them the 5 senses, which will trigger activities in their mind
Surely we will program mind triggers and name them good or bad
Surely we will thus impart emotions and expressions
Surely we will think we have created humans
Surely we will all forget what we can never give them
Surely we will forget the real self also known Buddha, Brahman, Om, Allah
And surely we even don’t need to create these droids
For we are the new droids, failed by our own desires
And surely desires are of false health, wealth, recognition and children
And surely desires are of the false sensory satisfactions
Categories
clarity

I am perfect?

When I am happy for I am perfect
is the pivot when I became imperfect
As perfect is perfect only to imperfect
For the perfect, its just being me
And its only the one who is not real I
who in duality is in delusion I am perfect

Categories
clarity

Favourite Food

And again I am asked, about my favourite food
Blessed me smile, in no search of answer
For if there is an answer, I open those gates
Those gates of stupidity, for favourite was past
Tasteless I seek, the next taste to come
For whatever I am served, is the magic of nature

Categories
entrepreneurship

On Entrepreneurship and learnings from Swami Vivekananda

Solution to all problems and living in a higher state is very simple though under-rated – it is surrendering. Surrendering to an idea, a cause, a desire to knowledge, or just any work you are doing in day-to-day life. Thats what will make a life complete. Care for the impacted ones. This is true work and way to live. This is Karma Yoga. Religions like Hindu assigns a Karma if a being is unclear on what to do. But an entrepreneur choses his Karma and associates so strongly with reasons behind those Karma that it becomes very easy to surrender. This is the fastest path to Karma Yoga and it becomes easier for him to connect faster.

Categories
clarity

Brainstuck

And I want to go across the ocean
And look for a seat by the garden as now
And pick up a book like one I am reading now
Go through some pages and keep thinking on those
As I am just doing
And then I will think
What has changed has always been same
And more they change, more is it the same
For, what I want has always been the same
But how I want is very lame

 

IMG_20150809_131230