<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vasu Lakshmanan on Medium]]></title>
        <description><![CDATA[Stories by Vasu Lakshmanan on Medium]]></description>
        <link>https://medium.com/@Vasu_Laksh?source=rss-7ef935c19403------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*16JW_aThcV_ErzSPbFlGeg.jpeg</url>
            <title>Stories by Vasu Lakshmanan on Medium</title>
            <link>https://medium.com/@Vasu_Laksh?source=rss-7ef935c19403------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 21:47:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Vasu_Laksh/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Emotional Poverty to emotional Prosperity]]></title>
            <link>https://medium.com/@Vasu_Laksh/emotional-poverty-to-emotional-prosperity-4ed95f3ed851?source=rss-7ef935c19403------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ed95f3ed851</guid>
            <category><![CDATA[gratitude]]></category>
            <category><![CDATA[mindfulness]]></category>
            <dc:creator><![CDATA[Vasu Lakshmanan]]></dc:creator>
            <pubDate>Mon, 28 Oct 2019 04:51:32 GMT</pubDate>
            <atom:updated>2019-10-28T04:51:32.818Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sip47xHuEEVNZgsIUHEHgQ.jpeg" /></figure><p>We all have an emotional bank account that we carry. Every time we experience a disturbance such as stress, anger, frustration, anxiety — we draw out of that bank account. And sometimes, that account gets close to being empty, due to the higher number of stresses in our lives. And then we start reacting. And then trouble starts…</p><p>Gratitude — is one way that has been helping me to make sure that my emotional bank account is never empty.</p><p>When we think of gratitude — a few feelings may arise in some of us. It might bring forth feelings of <em>indebtedness</em> to the outside world. It might invoke a <em>warm</em>, <em>fuzzy</em> Hallmark like sentimentality.</p><p>Gratitude is a little more than the above. Called often as the “queen of all virtues”, it has 2 components. 1. <strong>Acknowledging</strong> that there is some <strong>goodness</strong> in your life. 2. <strong>Recognizing</strong> that atleast part of the source of the goodness comes from <strong>outside</strong> of you. For example: I may have been promoted at work. I can then acknowledge that that is a goodness that I am experiencing in my life now. And then I recognize that yes, it was a fruit of my labour. Additionally, my manager and the company appreciated that. So I am grateful for the role they had to play in my promotion.</p><p>And we may sometimes tend to think of gratitude as “positivity — Seeing only the bright side of life”. But that is not it. For me, gratitude seems to help me see the whole big picture and take better decisions. For example, I may get injured in my shoulders doing yoga. I may then choose to say “oh, this happens to me all the time. I can never get strong or exercise”. Or I can choose to see that “oh, my legs feel better after doing yoga. I no longer hear that click in my knee. So grateful for that”. And then decide “maybe I can talk to my teacher and understand if I am doing a pose incorrectly that is hurting my shoulders. Worst case, I can avoid those postures that strain my shoulders, but continue doing the rest”.</p><p>Practicing intentional gratitude, a minute a day has helped me to feel the warmth and abundance of life, no matter the external circumstances. And then make more mindful decisions. When I do practice gratitude, I do feel more emotionally prosperous.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ed95f3ed851" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mindful interactions 1— stories]]></title>
            <link>https://medium.com/@Vasu_Laksh/mindful-interactions-1-stories-432b5c63ab6b?source=rss-7ef935c19403------2</link>
            <guid isPermaLink="false">https://medium.com/p/432b5c63ab6b</guid>
            <category><![CDATA[workplace]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[mindfulness]]></category>
            <category><![CDATA[relationships]]></category>
            <dc:creator><![CDATA[Vasu Lakshmanan]]></dc:creator>
            <pubDate>Mon, 11 Feb 2019 05:44:43 GMT</pubDate>
            <atom:updated>2019-02-11T05:44:43.539Z</atom:updated>
            <content:encoded><![CDATA[<p>Every interaction with someone else is an opportunity — to establish a friendship, a partnership, trust, collaboration, support, learnings and understanding. Even in fields like engineering, human interactions are vital to the overall efficiency of the company. However, very often we let ourselves get caught up in numerous stories/judgements/assumptions/fears that stand between us pushing these opportunities out to a distance.</p><p>There are <strong>many aspects</strong> to mindfully navigating the above mentioned walls in conversations. In this article, I will briefly touch on what I believe is the <strong>first step</strong> to this — a concept I came across when re-reading a book — “Crucial Conversations”. I will also describe my views on how <strong>mindfulness</strong> in conjunction with the tips from the authors will make us highly effective at handling this. Look at how even tech companies like Google have mindfulness training programs to foster awareness of oneself, which leads to better interactions with others.</p><blockquote>The first step to better conversations is about becoming aware of how we make up stories in our minds and act on them (and on the resultant emotions).</blockquote><p>Lets look at an example scenario, how stories are made up and what can we do to become aware of them.</p><p>Lets consider the following sequence of events:</p><ul><li>You: are trying to get in touch with a co-worker/friend regarding something important by messaging them.</li><li>Co-worker/friend: does not answer your messages for a couple of days.</li><li>You: start to feel ignored</li><li>You: think that they dont care about this/you anymore. You decide not to contact them anymore.</li></ul><p>3 things happened here: There was an <strong>observation</strong> (your messages were not not being responded to), an <strong>emotion</strong> (felt ignored) and a <strong>reaction</strong> (assuming they dont care and decision to not contact them anymore).</p><p>The observation and emotion are real.</p><p>There is however, a critical component that is invisible here. And that <strong>happens between the observation of an event and the experience of emotion</strong>. Its the <strong><em>formation of the story</em></strong>. The human mind is conditioned to form stories, and it does it so quickly that we barely notice. <strong><em>Its the story (and not the observation) that causes the emotion.</em></strong> Stories may differ from person to person. And hence different people can have different emotional responses to the same scenario. And precisely why the story cannot be depended on and why the subsequent reaction usually does not provide the most productive outcome.</p><p>Mindfulness comes into play here — to help us be <strong>aware</strong> of this phenomenon. So how do we become more aware?</p><ol><li><strong><em>Detach:</em></strong> Every time you experience a strong emotion during a conversation, <strong>take a step back. Label the emotion</strong> (I feel — anger, frustration, embarrassment — just a few from the long catalog of words that describes emotions).</li><li><strong><em>Validate: </em></strong>Once you label the emotion, <strong>accept that the emotion is valid and real</strong>. Emotions are the body’s response to thoughts and they are very real. They may not accurately reflect the scenario, but they accurately reflect your perception of the world. This step is a very essential step of self-compassion. Again, this is an internal validation (not outside by others).</li><li><strong><em>Identify:</em></strong> Once you label the emotion and validate it, retrace to the observation you had initially. Then ask yourself, why did I feel — . The answer to that is the <strong>story that was created</strong> in your mind.</li></ol><p>Both steps 1 and 2 can be done even <strong><em>after</em></strong> important conversations to start off with. Try it as an experiment — at work, home, with friends — plenty of opportunities out there! With practice you should be able to do both steps on the fly.</p><blockquote>Okay, now we have become aware of stories. So then what? The next steps are then about changing the course of our action. I will discuss these tips from the authors about next steps, in conjunction with how mindfulness will help put them to practice in the next article.</blockquote><p>Every interaction is an opportunity to create bonds aimed at betterment — at home, at work, in the outside world. My making changes as small as even becoming aware of our stories, we contribute in a large way to productive interactions at work, warmer interactions at home and overall time better spent!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=432b5c63ab6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mindful eating — Part 1]]></title>
            <link>https://medium.com/@Vasu_Laksh/mindful-eating-part-1-b3eec02b2463?source=rss-7ef935c19403------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3eec02b2463</guid>
            <category><![CDATA[eating-disorders]]></category>
            <category><![CDATA[mindful-eating]]></category>
            <category><![CDATA[mindfulness]]></category>
            <category><![CDATA[food]]></category>
            <dc:creator><![CDATA[Vasu Lakshmanan]]></dc:creator>
            <pubDate>Thu, 11 Jan 2018 08:43:37 GMT</pubDate>
            <atom:updated>2018-01-11T08:53:07.396Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Ideas expressed here are solely based on my own experiences, knowledge and views.</em></p><p>Mindful eating is awareness of what happens <strong>before, during and after you eat</strong>. In this blog, I will focus on the “<strong>before</strong>” stage. This stage is about <strong>awareness of what the body needs</strong>.</p><p>Why do we eat food? Because the body needs it for energy. Who gets to decide as to what food it needs? Its the body. So this stage of mindful eating is about <strong>checking in with the body </strong>before we put food in our mouth.</p><p><strong>Lets consider this scenario:</strong> Its been 2 hours since the previous meal and there is a doughnut next to you. You think you are hungry and that you need to eat it now. Our brain, has been trained over thousands of years, to eat food when its available. Food in the olden days was scarce and it made sense to do so. Today however, we live in an era when food is readily available in abundance to most of us. But we still go with the old patterns of eating food when we see it, when its available — leading to weight gain, loss of health etc.</p><p><strong>So how does this stage of mindful eating look like?</strong> At this point, checkin with your body. When you listen carefully, you may observe the following:</p><ol><li>You may think that you are hungry, but what is really happening is that your mind is <strong><em>bored</em></strong> and needs to do something different from what you have been doing, like take a walk, paint, dance, play, read etc.</li><li>Maybe you are <strong><em>stressed</em></strong> or <strong><em>anxious</em></strong> and what you really need to do is to journal, meditate or talk with a friend.</li><li>Maybe your mouth feels like it wants to <strong><em>taste</em></strong> something sweet, but instead what your body is actually communicating is that you are just <strong><em>thirsty</em></strong>.</li><li>Maybe you just need to <strong><em>smell</em></strong> something good and just need to take a moment to experience the smell of the food</li><li>Maybe you just want to <strong><em>look</em></strong> at the colors, sights and arrangements of the food</li><li>Maybe you are just feeling like eating, since that is <strong><em>what you always do</em></strong> at this hour, everyday. Instead today, you can checkin to see if you really need to eat. Perhaps today you are not that hungry at this time.</li><li>Maybe your body <strong><em>really does need food</em></strong></li></ol><p>Once you checkin with yourself, you are now more <strong>aware of your motives to want to eat </strong>and now you have a <strong>choice</strong>. You may decide on one of the following</p><ol><li>You are hungry and choose to <strong>eat</strong>.</li><li>You are not hungry and choose an <strong>alternate</strong> action like reduce stress by talking with a friend</li><li>You are not hungry, but <strong>still want to eat</strong> anyway! But atleast now, its a conscious decision. Not an automatic reactive one. You may choose to perhaps save it to eat it a bit later, rather than immediately going for it.</li></ol><p>Observe babies and toddlers. They mostly know as to when they are hungry and then to ask for food. When they are not hungry, even when presented with food, they don’t eat. We all have it in us, but lost it along the way when we grew up, when the automatic modes overtook our ability to checkin with our bodies. All it takes is to <strong><em>rewire our eating habits by taking a few seconds to checkin with the body </em></strong>before reaching for that morsel of delight that sits in front of us.</p><p>Next up: Mindful eating part 2 (during and after eating)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3eec02b2463" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mindfulness — Intentional responses]]></title>
            <link>https://medium.com/@Vasu_Laksh/mindfulness-intentional-responses-62162c6aa8?source=rss-7ef935c19403------2</link>
            <guid isPermaLink="false">https://medium.com/p/62162c6aa8</guid>
            <category><![CDATA[decision-making]]></category>
            <category><![CDATA[mindfulness]]></category>
            <category><![CDATA[choices]]></category>
            <dc:creator><![CDATA[Vasu Lakshmanan]]></dc:creator>
            <pubDate>Tue, 02 Jan 2018 05:32:54 GMT</pubDate>
            <atom:updated>2018-01-02T05:32:54.456Z</atom:updated>
            <content:encoded><![CDATA[<p><em>The intent of my mindfulness series blog is to share my experiences with mindfulness —these are solely my views and experiences.</em></p><p>Its been 3 years since I started on my quest to practice <strong>mindfulness</strong>. Mindfulness is a state of being in the <strong>present</strong>, with <strong>non-judgmental observation</strong> of the present — that includes one’s own thoughts, emotions, body, surroundings and so forth. It’s a way of <strong>active acceptance </strong>of what is, so that one could open up to <strong>responding</strong> to a situation, <strong>rather than reacting</strong> to it.</p><p><strong>For example:</strong> A neighbour plays too loud of music that disturbs you. A typical automatic reaction would be to either avoid confrontation and to continue to hold a grudge OR to pick up a fight instantly. A mindful response would be to see that there are <strong>choices</strong> — accept the discomfort OR address the issue with the neighbor by bringing it up in an assertive but respectful way OR to move to a different location. So what one gets here is an <strong>awareness of the choices</strong> on how to respond, rather than to react based on a momentary urge.</p><p>If there is one thing that I have learnt from my practices of observing my thoughts and emotions — it is that they are <strong>fleeting</strong>. They come, go and change. Whether its about work, relationships or about myself, they follow the same pattern.</p><p>So what did this mean for me with respect to <strong>making decisions and choices</strong>?</p><ol><li>I learnt that decisions made based on fleeting thoughts or emotions <strong>do not take into account the whole scenario</strong>. Those decisions are based on one point of view, on one thin time slice, one emotion and mostly one stream of related thoughts. Also mostly driven only by an active amygdala (part of the brain that is responsible for survival instincts, apart from other functions).</li><li>But <strong>when I practice mindfulness</strong>, it helps me become more aware of the fleeting nature of my emotions and thoughts. When I am aware of that, I no longer react to them, but actively accept them. This leads to an <strong>opening up of choices</strong> on how I can respond to a situation. I find that that leads to me making more <strong><em>intention decisions</em></strong>, as opposed to <strong><em>reactive decisions</em></strong> (which I mostly always have regretted in the past).</li></ol><p>We have all heard of how “Neurons that fire together wire together”. Ie; Once we form a habit (example: how to react to a situation), the next time the situation arises, we would react in the same way. But mindfulness, helps to break that cycle, and then to retrain our reactions to be more intentional responses.</p><p><strong><em>Next up: Mindful eating</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=62162c6aa8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RenInvent2017 — Neptune]]></title>
            <link>https://medium.com/@Vasu_Laksh/reninvent2017-neptune-d9b140798b27?source=rss-7ef935c19403------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9b140798b27</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[graph]]></category>
            <category><![CDATA[connected-data]]></category>
            <category><![CDATA[neptune]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Vasu Lakshmanan]]></dc:creator>
            <pubDate>Fri, 01 Dec 2017 00:03:34 GMT</pubDate>
            <atom:updated>2017-12-01T00:07:15.813Z</atom:updated>
            <content:encoded><![CDATA[<p>Here is a brief note on why we need graph databases and what AWS Neptune provides.</p><h4><strong>Examples of connected data representations:</strong></h4><ol><li>Social network</li><li>Recommendations</li><li>Network modelling</li><li>Life sciences</li><li>Fraud detection</li><li>Knowledge graphs (answer questions about the elements in the graph)</li></ol><h4><strong>Challenges of using relational databases for connected data:</strong></h4><ol><li>Complicated representation and querying of the connected data</li><li>Performance degradation when operating on the connected data</li><li>Graph workloads have different requirements than relational data</li></ol><h4><strong>Why use graph databases for connected data?</strong></h4><ol><li>In the connected data world, we mostly want to answer questions about the data. A graph lends itself <strong><em>naturally for representing</em></strong> connected data and for <strong><em>deducing answers to questions</em></strong> about the connections, also known as relationships.</li><li><strong><em>Performant</em></strong> queries and operations</li></ol><h4><strong>Different kinds of internal graph representations:</strong></h4><ol><li>Property graph (nodes and edges)</li><li>Resource Description Framework RDF (resource based modeling of the graph). RDF’s are represented as a collection of triples — subject (identified by an internalized resource identifier — an IRI), predicate and object. The object is another IRI. Thus a relationship is defined.</li></ol><h4>Challenges of existing graph DBs</h4><ol><li>Difficult to <strong><em>scale</em></strong></li><li><strong><em>Not performant</em></strong> at scale</li><li><strong><em>Expensive</em></strong></li></ol><h4><strong>Neptune to the rescue</strong></h4><ol><li>Neptune is a new AWS managed Graph data base to <strong><em>represent highly connected data</em></strong></li><li>Ability to <strong><em>query and operate</em></strong> on the graph database</li><li><strong><em>Multi region, managed, low cost, performant, scalable</em></strong></li><li>Supports Gremlin graph travel language and RDF</li><li>Bulk load API to load from S3</li><li>Upto <strong><em>15 read replicas</em></strong>. Replicas are automatically promoted to primary if needed.</li><li><strong><em>Point-in-time recovery</em></strong>, continuous backup to S3. Garbage collection can be held off for unto 24 hours. Then you can restore or rewind back a few hours.</li><li><strong><em>Data replication</em></strong> is done 6 times across 3 availability zones. (2 nodes per availability zones). 4/6 write quorums and 3/6 read quorums for fault tolerance.</li><li>A storage monitoring app <strong><em>continuously monitors </em></strong>and does <strong><em>seamless repairs</em></strong> as needed</li><li>Storage <strong><em>volume grows</em></strong> on demand upto 64TB</li><li>In memory cache for performance</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9b140798b27" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ReInvent — SageMaker]]></title>
            <link>https://medium.com/@Vasu_Laksh/reinvent-sagemaker-163e4767f710?source=rss-7ef935c19403------2</link>
            <guid isPermaLink="false">https://medium.com/p/163e4767f710</guid>
            <category><![CDATA[reinvent]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[sagemaker]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Vasu Lakshmanan]]></dc:creator>
            <pubDate>Thu, 30 Nov 2017 23:16:40 GMT</pubDate>
            <atom:updated>2017-11-30T23:16:40.587Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>SageMaker </strong>is a platform for Machine Learning on AWS</p><p>Machine learning cycle in a simplistic view includes data collect, create model, train model and inference. This cycle is usually done multiple times to enabled learning.</p><h4><strong>Challenges in ML:</strong></h4><ol><li>There are existing platforms for large scale ML. But they have a tradeoff between performance and cost.</li><li>High parameter optimization is expensive because of the cost.</li><li>Incremental training causes wasted compute.</li><li>Production readiness needs higher investment</li></ol><h4><strong>Architecture and design choices for Sagemaker:</strong></h4><ol><li><strong><em>Streaming</em></strong>: The state of data changes at every point in the cycle of ML. State is saved at each point.</li><li><strong><em>Incremental training</em></strong>: Save compute state, so that it does not need to be recomputed. So its faster and more accurate. Also, GPU’s are used for performant calculations</li><li>Distributed: <strong><em>Shared state</em></strong>: A global state is maintained, that all distributed machines share. This results in better performance.</li><li><strong><em>State &gt;= Model</em></strong> : If the data is a kinesis stream for example, you cannot go back to get the data. In Sagemaker, state is saved, enabling to go back in time to get data when needed.</li><li><strong><em>Abstraction and Containerized</em></strong>: Testing, regression are all contained within. This results in production readiness.</li></ol><h4><strong>ML algorithms available on SageMaker:</strong></h4><ol><li><strong><em>Linear Regression </em></strong>— statistical method that allows to study the relationship between 2 continuous variables (one dependent and another independent)</li><li><strong><em>Linear Classification </em></strong>— Classifies an object based on the linear combination of the characteristics of the object. A linear combination of x and y is ax + by, where a and b are constants.</li><li><strong><em>Factorization machines</em></strong> — Generalization of linear regression. Each variable is assigned a vector, instead of a constant weight</li><li><strong><em>K-Means clustering </em></strong>— Partition “n” objects into “k” clusters based on the nearest mean.</li><li><strong><em>Principal Component analysis</em></strong> — A statistical procedure that uses orthogonal transformation to convert a set of possibly correlated variables into a set of possibly linear and uncorrelated variables. Used for dimensionality reduction.</li><li><strong><em>Neural Topic Modelling</em></strong> — Creating a distribution over words/images and then grouping by topic. Topic modeling is a statistical model that allows to discover “abstract topics” that occur in a set of documents.</li><li><strong><em>Time Series Forecasting</em></strong> — An algorithm used internally by Amazon for forecasting several things.</li><li><strong><em>Spectral LDA</em></strong> — another topic modeling algorithm</li><li>XGBoost — <strong><em>Boosted decision trees</em></strong>. A decision tree is a simple representation for classifying examples. It is used as a predictive modeling approach. It can represent decisions and decision making. Boosting is a way to reduce bias and to convert weak learners into strong ones.</li><li><strong><em>Sequence to Sequence</em></strong> — This is a powerful algorithm that uses recurrent neural networks (RNN’s) for language to language translation. RNN’s take the (usually encoded) output of the previous RNN as one of the inputs. So then an RNN forms a list of possible sentence combinations for a given language, encodes them as its output. Another RNN takes this encoded list, decodes, uses its memory of the previous results to find the possible sentence in the next language.</li><li><strong><em>Image classification </em></strong>— Implementation in MxNet.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=163e4767f710" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RenInvent2017 — DeepLens — An AI camera]]></title>
            <link>https://medium.com/@Vasu_Laksh/reninvent2017-deeplens-an-ai-camera-73c9d5c897c9?source=rss-7ef935c19403------2</link>
            <guid isPermaLink="false">https://medium.com/p/73c9d5c897c9</guid>
            <category><![CDATA[reinvent]]></category>
            <category><![CDATA[deeplens]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Vasu Lakshmanan]]></dc:creator>
            <pubDate>Thu, 30 Nov 2017 05:04:44 GMT</pubDate>
            <atom:updated>2017-11-30T07:56:34.636Z</atom:updated>
            <content:encoded><![CDATA[<p>Also on day 3: <a href="https://medium.com/@Vasu_Laksh/reinvent2017-keynote-new-releases-2a5696042e63">https://medium.com/@Vasu_Laksh/reinvent2017-keynote-new-releases-2a5696042e63</a></p><p><a href="https://medium.com/@Vasu_Laksh/awsreinvent2017-blockchain-6f4c97314b11">https://medium.com/@Vasu_Laksh/awsreinvent2017-blockchain-6f4c97314b11</a></p><p>DeepLens is an AI powered camera for software developers.</p><p><strong>Device details (not a comprehensive list):</strong></p><p>- 4 megapixel camera, 2 USB ports, 6GB RAM, 16GB storage etc</p><p>- runs Ubuntu 16.04</p><p>- comes preloaded with Greengrass (like lambda runtime)</p><p>- runs a device optimized version of MXNet. Also supports tensor flow and Caffe</p><p><strong>An extremely simplified machine learning workflow:</strong></p><ol><li><strong><em>Collect</em></strong>, annotate and preprocess data</li><li><strong><em>Create</em></strong> an untrained model</li><li><strong><em>Train</em></strong> model — Train on the given preprocessed dataset multiple times, so that the model gets trained with the sample data</li><li><strong><em>Inference —</em></strong> Then run the model on the validation dataset -&gt; the dataset that the model was not trained on — for inference/prediction. Inference is where the deep learnings of the training are put to use for predictions on new data sets.</li><li>Use that information (gathered in step 4) to <strong><em>optimize</em></strong> the trained model again</li></ol><p><strong><em>DeepLens is particularly used in step 4 and 5 of the above workflow.</em></strong></p><h4><strong>How does DeepLens work:</strong></h4><ol><li><strong><em>Train a model</em></strong> in the cloud on sageMaker for example. Models like SqueezeNet could be applied. SqueezeNet is an extremely efficient image classification model, with an architecture chosen to have a small number of parameters and computation power. Suitable for low powered devices like IOT devices, deep lens etc.</li><li>Upload the model in S3</li><li><strong><em>Bundle the model with a lambda file</em></strong> (that runs inference) and <strong><em>deploy</em></strong> to the DeepLens device via the DeepLens console</li><li>Pinned <strong><em>Lambda (python) inference function </em></strong>(on green grass) <strong><em>runs</em></strong> in a continuous for loop <strong><em>on the DeepLens device</em></strong>.</li><li>Output stream from DeepLens can then be sent to kinesis video stream, other IoT devices etc for more processing or data storage.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73c9d5c897c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ReInvent2017 — Keynote (new releases)]]></title>
            <link>https://medium.com/@Vasu_Laksh/reinvent2017-keynote-new-releases-2a5696042e63?source=rss-7ef935c19403------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a5696042e63</guid>
            <category><![CDATA[aurora]]></category>
            <category><![CDATA[deeplens]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[reinvent]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Vasu Lakshmanan]]></dc:creator>
            <pubDate>Thu, 30 Nov 2017 01:26:08 GMT</pubDate>
            <atom:updated>2017-11-30T07:55:11.921Z</atom:updated>
            <content:encoded><![CDATA[<p>Also on day 3:</p><p>Day 3: <a href="https://medium.com/@Vasu_Laksh/awsreinvent2017-blockchain-6f4c97314b11">https://medium.com/@Vasu_Laksh/awsreinvent2017-blockchain-6f4c97314b11</a></p><p><a href="https://medium.com/@Vasu_Laksh/reninvent2017-deeplens-an-ai-camera-73c9d5c897c9">https://medium.com/@Vasu_Laksh/reninvent2017-deeplens-an-ai-camera-73c9d5c897c9</a></p><p>AWS, as usual had a lot of new releases and inventions, focusing on their AWS customers. <strong>Andy Jassy</strong>, CEO of AWS, announced the following new features during his keynote address:</p><ol><li><strong>Elastic Container Service for Kubernetes (EKS)</strong> — Deploys multiple masters to availability zones. EKS is integrated with all AWS services. So now, we have 2 managed containers to choose from -&gt; ECS or EKS. Kubernetes is an automated, open-source container deployment, scaling and management system.</li><li><strong>AWS Fargate</strong> — allows to run containers without having to manage servers or clusters. You just need to package apps to tasks, define network management and cpu’s. Fargate autoscales to multiple availability zones.</li><li><strong>Aurora Multi Master</strong> — Provides fail over for writes. — scale out for reads and writes, across multiple data centers (each region has its own master). They released support for single region multi master this year. Support for multi region multi master will be added in 2018.</li><li><strong>Aurora Serverless</strong> — It has all the capabilities of aurora. Provides auto scaling. Starts up on demand. Shuts down when not in use. You pay only by demand.</li><li><strong>DynamoDB Global Tables</strong> — Replicate tables across multiple regions. Makes it the first fully managed multi-region multi-master database.</li><li><strong>DynamoDB Backup and Restore</strong> — Allows on demand continuous backup with no interruption to the application.</li><li><strong>Amazon Neptune</strong> — Fully managed graph database. Allows for millisecond latency query.</li><li><strong>S3 select</strong> — only pull out what is needed from S3. Filter data using SQL like expressions.</li><li><strong>Glacier select</strong> — Same as S3 select</li><li><strong>Amazon sagemaker</strong> — A fully managed end-end machine learning service to build, deploy and train models at scale (even petabytes of data in the data set). The training data is read from S3 and model artifacts are added to S3. Multiple fine tuning runs are executed simultaneously.</li><li><strong>Amazon DeepLens</strong> — A wireless video camera that can connect to the machine learning platform and then do object similarity, detection etc.</li><li><strong>Amazon kinesis video streams</strong> — securely injest and stores video and audio data</li><li><strong>Amazon Transcribe</strong> — Speech recognition service</li><li><strong>Amazon translate</strong> — Realtime translation between languages</li><li><strong>Amazon comprehend</strong> — comprehensive natural language processing service. Hotels.com uses it. Topic modeling helps group data by topic etc</li><li><strong>AWS iOT device management</strong> — onboard, organizes and manages devices at scale</li><li><strong>AWS IoT Security Defender</strong> — manages security polices for fleets of devices</li><li><strong>AWS IoT Analytics</strong> — stores and analyses device data</li><li><strong>Amazon FreeRTOS</strong> — New OS for IOT devices</li><li><strong>GreenGrass ML Interference</strong> — lets you run ML at the edge</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a5696042e63" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWSReInvent2017 — BlockChain]]></title>
            <link>https://medium.com/@Vasu_Laksh/awsreinvent2017-blockchain-6f4c97314b11?source=rss-7ef935c19403------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f4c97314b11</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[reinvent]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Vasu Lakshmanan]]></dc:creator>
            <pubDate>Thu, 30 Nov 2017 01:18:26 GMT</pubDate>
            <atom:updated>2017-11-30T07:55:43.081Z</atom:updated>
            <content:encoded><![CDATA[<p>Also on Day 3: <a href="https://medium.com/@Vasu_Laksh/reinvent2017-keynote-new-releases-2a5696042e63">https://medium.com/@Vasu_Laksh/reinvent2017-keynote-new-releases-2a5696042e63</a></p><p><a href="https://medium.com/@Vasu_Laksh/reninvent2017-deeplens-an-ai-camera-73c9d5c897c9">https://medium.com/@Vasu_Laksh/reninvent2017-deeplens-an-ai-camera-73c9d5c897c9</a></p><blockquote>BlockChain is the hot topic these days. There was a session that provided a neat introduction to blockchain and related emergent technologies. Below, I am outlining some of the basic terms and descriptions related to blockchain fundamentals.</blockquote><h3><strong>Existing systems:</strong></h3><p>Consider an existing financial system like a <em>bank</em></p><ul><li>It is a <em>central authority</em> that handles your finances</li><li>Each layer in a bank adds <em>cost and processing time</em></li><li>What if, we have a <strong><em>decentralized, distributed computer system </em></strong>that can do the work of handling a financial system <strong><em>securely</em></strong>? That is where a block chain comes in</li></ul><h3><strong>Key terminology:</strong></h3><ul><li><strong>Blockchain</strong> — list of <strong><em>records</em></strong>/transactions that are linked and secured using cryptography</li><li><strong>Node</strong> — A <strong><em>computer participating</em></strong> in the system. Each node, upon joining the blockchain system receives a copy of the whole blockchain, which contains all the records in the system. Thus every node has a <strong><em>proof of every transaction</em></strong> that has ever occurred in the system (distributed)</li><li><strong>Block in a node </strong>— A block represents a <strong><em>set of transactions</em></strong>/records. A transaction could be a financial transaction that is traditionally represented as a physical ledger. The block chain network decides on how big a block is</li><li><strong>Connecting related blocks </strong>— The hash of the next related block is stored in a given block (as <strong><em>pointers in a linked list</em></strong>). Changes to a block causes hashes to be invalidated and reevaluated.</li><li><strong>Mining nodes </strong>— These are computer nodes in the block chain system, that given a hash, <strong><em>find the nonce value that gives the hash, beginning with X zeros</em></strong>. They are incentivized to do the above, since they are rewarded with a bit of the virtual currency, if they find the right nonce. The nonce value that they produce is <strong><em>used to check for validity</em></strong> of blocks that are ready to be committed. Systems that help determine as to whether you can be a miner node:<strong><em> Proof of work </em></strong>— If you want to mine, its dependent on how much of work you do. Bitcoin uses this. <strong><em>Proof of stake </em></strong>— If you want to mine, you need to have some stake (i.e.; the corresponding virtual currency). Ethereum uses this.</li><li><strong>Smart contract</strong> — Computer protocol to help <strong><em>verify, enforce and negotiate a contract</em></strong>. Example: A contract for a financial transaction such as mortgage payment</li><li><strong>Digital wallets</strong> — They <strong><em>hold virtual currency</em></strong> digitally. Types: <strong><em>Cold</em></strong> wallet — A wallet kept in your own physical device, that can be plugged in to the internet when needed. Hence it is safer from attacks. <strong><em>Hot</em></strong> wallet — A wallet that hotels virtual currency in digital asset exchanges. This may be subjected to attacks from hackers etc. Which wallet to use? People usually hold a small amount of virtual currency in a hot wallet for transactions and hold most of their virtual currency in cold wallets for safe keeping.</li></ul><h3><strong>How does block chain work?</strong></h3><p>How is a new transaction, i.e.; a new block, included in the distributed network?</p><ul><li>The block chain frameworks takes a <strong><em>set of blocks</em></strong> to be committed</li><li>Hashes — A <strong><em>hash</em></strong> is created for each block. A combined hash for the whole block set is created using a merkel (hash) tree algorithm</li><li>Before the blocks are committed, there has to be <strong><em>consensus</em></strong> amongst all nodes that the blocks are valid</li><li>Mining nodes produce the <strong><em>nonce</em></strong> for the hash in the blocks</li><li>The other nodes in the block chain system <strong><em>verify</em></strong> the nonce produced by all the mining nodes. The mining node that produced the right nonce, wins the race and gets to commit the block (and gets the reward)</li><li><strong><em>Cheating is hard</em></strong> here, since a block (or sets of blocks) gets invalidated by other nodes in the system, if they detect foul play — hence there is no need for a centralized authority (hence the system is <strong><em>de-centralized</em></strong>)</li></ul><p><strong>What is the future of block chain?</strong></p><ul><li>Currently in experimental stage</li><li>Samsung, Bajaj are some of the companies that have started to adopt them</li><li>Expectation is that this goes mainstream by 2020</li></ul><p><strong>Ethereum on AWS</strong></p><ul><li>AWS systems could be leveraged to spin up block chain networks, by leveraging the different AWS services including VPCs, containers etc.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f4c97314b11" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS ReInvent 2017 — Recap Day 2]]></title>
            <link>https://medium.com/@Vasu_Laksh/aws-reinvent-2017-recap-day-2-722958eb9f0a?source=rss-7ef935c19403------2</link>
            <guid isPermaLink="false">https://medium.com/p/722958eb9f0a</guid>
            <category><![CDATA[dynamodb]]></category>
            <category><![CDATA[alexa-skills]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[reinvent2017]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Vasu Lakshmanan]]></dc:creator>
            <pubDate>Wed, 29 Nov 2017 00:55:12 GMT</pubDate>
            <atom:updated>2017-11-30T07:54:39.247Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>This is a recap of the main sessions that I attended on day 2.</strong></p><p>Day 1’s recap: <a href="https://medium.com/@Vasu_Laksh/aws-reinvent-2017-recap-day-1-739a1923156d">https://medium.com/@Vasu_Laksh/aws-reinvent-2017-recap-day-1-739a1923156d</a></p><p>Day 3: <a href="https://medium.com/@Vasu_Laksh/reinvent2017-keynote-new-releases-2a5696042e63">https://medium.com/@Vasu_Laksh/reinvent2017-keynote-new-releases-2a5696042e63</a></p><p><a href="https://medium.com/@Vasu_Laksh/awsreinvent2017-blockchain-6f4c97314b11">https://medium.com/@Vasu_Laksh/awsreinvent2017-blockchain-6f4c97314b11</a></p><p><a href="https://medium.com/@Vasu_Laksh/reninvent2017-deeplens-an-ai-camera-73c9d5c897c9">https://medium.com/@Vasu_Laksh/reninvent2017-deeplens-an-ai-camera-73c9d5c897c9</a></p><p><strong>Dynamo DB + DAX </strong>— DynamoDB is a fully managed, noSQL database managed by Amazon. DynamoDB accelerator (DAX) is a fully managed, highly available in-memory cache for DynamoDB, offering unto 10x improvement in performance. The talk was about how Expedia used DAX for the travel analytics system. The reference data for this analytics system is huge.</p><p>The below were the reference data access patterns that they tried:</p><ul><li>in memory / heap (not scalable or durable)</li><li>Streaming processor disk (fast, scalable, updating reference data may be difficult)</li><li>Direct Service call (May not be fast, resource contention)</li><li>Redis / ElasticCache (having an elastic cache outside your streaming processor. Fast, updateable, Durability not great)</li><li>Cassandra (fast scalable, but operational overhead)</li><li>DB + cache (need for cache coherency code, hence operational overhead)</li><li>DynamoDB + DAX (fast access time, available, scalable, easy to update. No operational overhead).</li></ul><p>DynomoDB + DAX provided the benefits of fast access with less operational overhead.</p><p><strong>Intel, MemSQL and Thorn (image similarity detection) — </strong>“Data is the new oil”, according to Intel’s CEO. We now have terabytes, petabytes and exabytes of data. But data by itself does not mean anything. Separating value from it, is the key. That is where data science and AI come in. They help access data at scale, reduce complexity and unveil the hidden value in data.</p><p>Here is a use case: Law enforcement needs to be able to match a child on a webpage with a database of missing children, which has thousands of images. This needed real time object / image similarity recognition.</p><p>Intel partnered with Thorn, an organization working against child-trafficking to provide an AI system to do that, powered by MemSQL, an in-memory, distributed, database for realtime applications.</p><p><em>Real time object recognition workflow include the following:</em></p><ol><li>Train the model with Spark, tensorflow</li><li>Use the model to extract feature vectors from all the images</li><li>Store every feature vector in memSQL</li></ol><p><em>Image similarity detection:</em> Dot product (SIMD) of the feature vector stored in memSQL and that of the incoming image gives the similarity score between the images. The dot product is possible in a vectorized fashion because of high powered intel hardware. Such intel hardware is supported on AWS. It is hence fast and and is not a bottleneck. Memory becomes the only bottleneck. GPU’s help mitigate that. And memSQL helps scale the data.</p><p>The above, now helps Thorn and law enforcement to more quickly match images of children on websites with that of a database of missing children. This is work in progress.</p><p><strong>Alexa skills for echo and echo show:</strong> Just like echo, echo show is also a <strong>voice first</strong> device. Additionally, it acts as a touch screen. Alexa itself is not a service, but uses polly, which is a cloud based service that converts text to speech in a human like voice. Behind the scenes, it uses natural language understanding and automatic speech recognition (Amazon Lex).</p><p>High level flow for how an alexa skill is executed:</p><ol><li>Voice is streamed real time to the alexa / polly service</li><li>This is then analyzed and broken down according to the training model. The training model focuses on the context of the conversation and includes the following:</li><li>Sample utterances that tell the alexa skill as to what sort of utterances should invoke what intents</li><li>A set of intents that specify the action to be taken based on the sample utterances</li><li>Based on the utterance, a particular intent is passed on to a lambda function, which executes the action</li><li>The lambda function then returns a JSON object which contains the response text</li><li>In the case of echo, the response text is just converted to voice</li><li>In the case of echo show, the response JSON object also defines the template to be used for visual rendering. AWS has a set of fixed templates from which we could choose one. The same holds for video rendering.</li></ol><p>Other notes:</p><ol><li>When developing an alexa skill set, if your echo is registered with the same email as your developer console account, then you can use the home echo to test out your alexa skill. There is also an emulator that can be used for alexa skill testing (the Alexa skill testing tool).</li><li>The alexa-sdk encapsulates SSML, a markup language, that enables adding of synthetic speech (like a whisper, change volume/rate of speech for a particular part of the sentence etc)</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=722958eb9f0a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>