<?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 Mohammed Arshad Ansari on Medium]]></title>
        <description><![CDATA[Stories by Mohammed Arshad Ansari on Medium]]></description>
        <link>https://medium.com/@mohammedarshadansari?source=rss-a5c389bfdef1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*-rrvW3PM741eC60C.jpg</url>
            <title>Stories by Mohammed Arshad Ansari on Medium</title>
            <link>https://medium.com/@mohammedarshadansari?source=rss-a5c389bfdef1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 23:27:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mohammedarshadansari/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[Meet AEGIS: My Weird Little Operating Layer]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@mohammedarshadansari/meet-aegis-my-weird-little-operating-layer-7774852f5c42?source=rss-a5c389bfdef1------2"><img src="https://cdn-images-1.medium.com/max/2600/1*nWnwyR95eI1BZsF3oHGwUg.jpeg" width="6000"></a></p><p class="medium-feed-snippet">Every week there&#x2019;s another agent demo, another workflow canvas, another pitch about software running software for us. OpenClaw, browser&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@mohammedarshadansari/meet-aegis-my-weird-little-operating-layer-7774852f5c42?source=rss-a5c389bfdef1------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@mohammedarshadansari/meet-aegis-my-weird-little-operating-layer-7774852f5c42?source=rss-a5c389bfdef1------2</link>
            <guid isPermaLink="false">https://medium.com/p/7774852f5c42</guid>
            <category><![CDATA[litellm]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[knowledge-graph]]></category>
            <category><![CDATA[openclaw]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Mohammed Arshad Ansari]]></dc:creator>
            <pubDate>Tue, 21 Apr 2026 13:12:41 GMT</pubDate>
            <atom:updated>2026-04-21T13:17:13.081Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[We are tribal people]]></title>
            <link>https://medium.com/@mohammedarshadansari/we-are-tribal-people-a70bf2cfe7a2?source=rss-a5c389bfdef1------2</link>
            <guid isPermaLink="false">https://medium.com/p/a70bf2cfe7a2</guid>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[tribalism]]></category>
            <dc:creator><![CDATA[Mohammed Arshad Ansari]]></dc:creator>
            <pubDate>Fri, 11 Oct 2019 11:35:34 GMT</pubDate>
            <atom:updated>2019-10-11T12:04:17.362Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*7h1OCDqnAI4DAUxaEIN7pA.jpeg" /></figure><p>I always wondered about the “psychic numbing” theory, which states that humans statistically care less about the suffering of more number of people. It seemed strange, but it is true. I don’t like the fact that we, as humans, wouldn’t care about millions of people dying as much as one person suffering. It feels counter intuitive.</p><p>I think I have a hypothesis as to why that is true. I believe that humans think like tribes. And it is far more easier to find one person suffering, offering them help and incorporating them in to the tribe than multiple people.</p><p>Basically, the more people you help, the more it will strain your own tribe. The more people join your tribe thus, would end up diluting the norms of the tribe. Causing immigration issues?</p><p>It is a possibility that identity crisis will be the consequence of adding a large number of different people to the group. Which is why, I believe, we are more inclined to help that one person who shows on our Facebook feed than a family that needs our attention.</p><p>There is, however; another reason. It is also related to diffusion of responsibility. The more the people involved, the more likely it is that someone more responsible than you will be interested in helping them. So, why bother ourselves, especially when our help will not be enough.</p><p>The real question is, is that the right thing to do? I don’t know. But there must be a good reason why evolution taught us that. There must be a good reason, I hope, for us being so emotionally driven by evolutionary principles than our own rational thinking.</p><p>If there is no good reason for this, then we are doomed as a species. Because, not helping someone in need for no good reason, just sucks big time.</p><p><em>Originally published at </em><a href="https://3371aspectz.wordpress.com/2019/10/11/we-are-tribal-people/"><em>http://3371aspectz.wordpress.com</em></a><em> on October 11, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a70bf2cfe7a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Productivity tools are a distraction]]></title>
            <link>https://medium.com/@mohammedarshadansari/productivity-tools-are-a-distraction-761a46e3e098?source=rss-a5c389bfdef1------2</link>
            <guid isPermaLink="false">https://medium.com/p/761a46e3e098</guid>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Mohammed Arshad Ansari]]></dc:creator>
            <pubDate>Thu, 05 Sep 2019 18:00:34 GMT</pubDate>
            <atom:updated>2019-09-05T18:00:34.651Z</atom:updated>
            <content:encoded><![CDATA[<p>How many of us; productivity enthusiasts, have spent hours watching youtube videos and reading various articles on which tools or system of productivity is best for us? Following that, how many of us have finally found anything that actually sticks? I don’t know the stats, but I haven’t and hence the rant.</p><p>Today, productivity tools are the “in” business products themselves, just like health, fitness, food and video sharing. We can’t get enough of it. There is always an alternative tool or a system that promises to solve all the productivity, focus and distraction related problems. There is nothing wrong with that and in fact, I believe it has made a lot of people conscious of self activity as a result of their mere sales pitch. However, I do see that there has been a growing obsessive compulsive behaviour by some people (like me) to try all of those systems and all of those apps. Moving my todos, journals, notes from one app to another. Organising and then re-organising with the arrival of new system of organisation in the toolkit. All of that took hours of my time away, which I could have spent doing something really productive. Like side projects, or even a blog.</p><p>I’m not dissatisfied with the quality of those apps that I have used (although many do need some or the other kind of improvements). I am also not saying that those systems don’t work. Rather, I believe that the real issue here is that of old school discipline or lack thereof. Going after the best productivity system that would work for you or the best app that suits your system can lead to the rabbit hole like that which we encounter when watching youtube videos or wikipedia articles. And the lack of proper discipline is what allows us to go down the rabbit hole and never returning back from it. Which is why, I have come to the conclusion that whoever is interested in productivity should focus on one and only one thing: Discipline. How? I’m not sure. This post is not about how to be disciplined and I would leave that topic to someone more experienced on the matter (or for the next post).</p><p>May be, it is time to stop chasing the best app or even chasing the idea that best app exists or that you should have some sort of system to be more productive and instead, focus on that comes first by a simple act of stopping yourself from doing anything that you shouldn’t be doing at any given time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=761a46e3e098" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why notion has the potential for being the best task manager!]]></title>
            <link>https://medium.com/@mohammedarshadansari/why-notion-has-the-potential-for-being-the-best-task-manager-84fdab191632?source=rss-a5c389bfdef1------2</link>
            <guid isPermaLink="false">https://medium.com/p/84fdab191632</guid>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Mohammed Arshad Ansari]]></dc:creator>
            <pubDate>Mon, 01 Apr 2019 13:22:49 GMT</pubDate>
            <atom:updated>2019-04-01T13:24:59.596Z</atom:updated>
            <content:encoded><![CDATA[<p>After spending a long time with different task management app, I have come to the conclusion that <a href="http://notion.so/">notion.so</a> does not only have a great potential to be the leader of the space, but it already is more powerful than many dedication systems for the purpose.</p><p><strong>Moving to notion</strong></p><p>I have been using notion for past 6 months as a paid subscriber. Although, the cost of using notion unlimited for any workspace is a bit high than what I can usually afford for such tools, it also put me in a position where I had to ensure that I get the most out of it. I started using notion as a wiki. My earlier post about wiki.js suggests it to be the best wiki software to use as a single personal knowledge base tool. However, I really needed the power similar to notion to do what I wanted with my knowledge base (as well as the fact that hosting services tend to get pricy over the years) and so, I moved from wiki.js to notion.</p><p>It was evident from the way notion is designed, that it is many things at once. A simple task manager, wiki software, document manager, resource area and so on, making it quite natural for me to move all my stuff from google drive, dropbox, wiki.js to notion. I was also using todoist for around a year (with paid subscription) and didn’t like the fact that I have to pay for multiple apps, where I can actually just use one. So I stopped the todoist subscription and moved all my tasks to notion. One great thing that happened after that was, I could use bigger kanban boards for bigger projects and simple todo list for daily errands all from the same place. But, I felt something was off and it just wasn’t right to use notion for so many purposes at the same time.</p><p><strong>Enter Personal Kanban and getting results the Agile way</strong></p><p>Since, I have also been trying with a lot of productivity systems (include GTD, Pomodoro, ZTD and so on), I was at my wits end with various nuances that each of these systems introduced in my daily work life. Due to some compulsive disorder, I just couldn’t leave these systems altogether, nor could I get them to work for me. Then I started reading the book <strong>Make time</strong>, <strong>Personal Kanban</strong> and <strong>Getting results the Agile way</strong>, one after the other. ****I found a lot of valuable stuff from those books, but as usual I couldn’t get them to be part of my life. I had been using something similar to personal kanban for a long time, so integrating “Personal Kanban” into my daily life was not really an issue. The book talks about the following two take aways, which I ended up taking away.</p><ol><li>Limit Work In Progress</li><li>Clarity on the state of work, as it stands at any given point.</li></ol><p>I did a bit of paraphrasing or may be I mixed in a concept from other systems, but it went something like that. The other book “Getting Results the Agile Way” gave a lot of interesting things that I could incorporate into my system, but it was too much to do it from get go. Therefore, I will list the things that I decided to use as follows:</p><ol><li>3 outcomes per day and per week and so on</li><li>Life concerns as a major goals to be tracked and tasks to be brought out from</li><li>Monitoring ability to see the progress and using scheduling and boundaries to manage the time you give to each area of concern to fine tune the outcome.</li></ol><p>I loved these ideas and really believed that having a way to visualize the progress would help me to keep myself motivated at tasks that are important in the long term. So I went to work on my system with these new facets that would help uplift my workflow.</p><p><strong>Why it had to be only Notion</strong></p><p>I tried using Notion, Todoist, Clickup, Microsoft Todo, Wunderlist and Task list, etc. Each of these tools fail at one point or the other when trying to accomplish what I was doing. I will talk about my workflow with screenshots later in this article. For now, I’d like to focus on my journey to notion. Out of all these tools I had tried only Click up was even close to be able to manage and monitor the goals. I loved click up but it was not as easy to use as I have gotten use to with other systems. Also, it is expensive too. My first go at notion failed miserably too and I am not sure if what I have right now will continue to be useful or not. It may fail too. Therefore, as a disclaimer, I am not making a claim that the other apps were not useful and notion is. That is not the case. The other apps are meant to solve different or to be precise the general take on task management. What I was trying to build is a workflow that will allow me to plan, track and monitor, manage daily tasks along with all the resources in the same place. Notion happens to have all the tools necessary for the purpose and so it made sense to rely on notion’s flexible approach to structuring data. Now, let’s dive in what the current workflow is.</p><p><strong>My Workflow</strong></p><p>In notion I created 4 sections as listed below with explanation of them each to see how it fits in the workflow</p><ul><li><strong>Personal Kanban</strong>: This the Kanban board to track daily tasks on a simple board with three types (todo, in progress and completed). Out of these, In progress shouldn’t have more than 3–5 tasks. We do this to limit the work in progress to stay focussed. Also, the three major outcomes for the day would be marked with <em>@highlight</em> tag, which is an idea from <strong><em>Make Time</em></strong>. Well, they said it should be just one and I’d rather be doing three. Each of these tasks will have a linked database field called associated milestone or objective, which we will look at after this.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h-Fyh0zCrFeRk-bvEnJk6g.png" /><figcaption>Daily / weekly tasks kanban board</figcaption></figure><ul><li><strong>Routines</strong>: The next in line is routines, which I would rather skip, as it is more of just a list of things that I need to start as routines. I’m reading Atomic Habit right now, which I will use to structure this section as well.</li><li><strong>Milestones and Objectives:</strong> The milestones and objectives can be seen as projects (small ones) or short terms goals that we want to accomplish. They are what will produce the daily tasks for personal kanban for the most part. All the planning should happen here and it will collect all the stuff related to the said objective, which over time will move to the personal kanban. Another interesting thing to notice is that I have used the cover image as a image with progress tracker using external apis such as google charts. We just have to enter the tasks done, remaining to get the image on the cover, making it easy to keep track of which objective is doing well and which isn’t. (<a href="http://chart.apis.google.com/chart?cht=p&amp;chd=t:2,10&amp;chs=300x100&amp;chl=&amp;chco=00CC33">http://chart.apis.google.com/chart?cht=p&amp;chd=t:2,10&amp;chs=300x100&amp;chl=&amp;chco=00CC33</a>)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oKBJnXoC5zEDoYAomJITnA.png" /><figcaption>Milestones and objectives grid view</figcaption></figure><ul><li><strong>Major &amp; Long Term Goals</strong>: This is where we will collect the major life concerns as suggested by the book <strong><em>Getting results the agile way</em></strong> and they will be the source of all the objectives, milestones and projects we can collect. As can be seen, the invidual cards in the card view will internally contain list of all the major timeline based outline of future can be traced. <em>One thing I do miss in Notion is the ability to create Mindmap that you can also link the nodes to other elements in other databases.</em> Even so, without the mind mapping capabilities, we can still track and manage the major life goals, all in once place.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aA9dv-VPsRQfKzYUsNHVIQ.png" /><figcaption>Major task and long term goals grid view</figcaption></figure><p>Finally, at the end I keep the mind map of all the major goals I care about, which I create and export from <a href="http://coggle.it/">coggle.it</a> and keep it updated, just so I can see the heirarchical connection between the goals I set as well as to identify the related tasks or objectives that I need to create while working on a given goal.</p><p>Another thing to use it to use roll up to track the percent of objectives or tasks completed, but that will have to wait as the roll up option does not allow the counting by the content of the element we are referencing. Right now, the only thing we can roll up by is to check if it is empty or not empty, which I hope will change in near future.</p><p><strong>What Else?</strong></p><p>Although, I already mentioned earlier that this may not be the ultimate approach that I will use but it goes to show that notion can be a very powerful tool that is able to connect disparate sources of important tasks, documents, etc in one place. There is much to be desired when considering how the system will grow over time. I would much prefer to generate the progress automatically by the number of tasks that are completed. I don’t know yet, how the apis for <a href="http://notion.so/">notion.so</a> will behave and so, I cannot plan anything on that front. But if it is possible, I would rather prefer updating the google charts image programmatically based on the sub todo list is checked.</p><p>Hopefully, I was able to do justice to notion and bring interesting ideas to use notion for task management. That would be all for now.</p><p>Notion source: <a href="https://www.notion.so/arshadansari27/Why-notion-has-the-potential-for-being-the-best-task-manager-9dda54a7ddc84353a35844d36cc574a2#9dda54a7ddc84353a35844d36cc574a2">https://www.notion.so/arshadansari27/Why-notion-has-the-potential-for-being-the-best-task-manager-9dda54a7ddc84353a35844d36cc574a2#9dda54a7ddc84353a35844d36cc574a2</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84fdab191632" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Say it isn’t so (Why would God do that?)]]></title>
            <link>https://medium.com/@mohammedarshadansari/say-it-isnt-so-why-would-god-do-that-712287d17783?source=rss-a5c389bfdef1------2</link>
            <guid isPermaLink="false">https://medium.com/p/712287d17783</guid>
            <category><![CDATA[atheism]]></category>
            <category><![CDATA[dogs]]></category>
            <category><![CDATA[religion]]></category>
            <dc:creator><![CDATA[Mohammed Arshad Ansari]]></dc:creator>
            <pubDate>Sun, 10 Feb 2019 16:58:44 GMT</pubDate>
            <atom:updated>2019-02-10T17:02:32.644Z</atom:updated>
            <content:encoded><![CDATA[<p>I have heard a lot from quite a lot of atheists speakers that they are appalled by the existence of a God, whose creation is so flawed. A creation where there is so much poverty, so much pain, so many children suffering and dying by natural disasters or due to starvation or diseases like cancer. In a world that does not necessarily respond to the good deeds with good returns and bad deeds with bad returns. All of this raise a very huge question on either the concept of all mighty power of God or all merciful attribute, both of which are together claimed by almost all the manifestation of Godhood in almost all the theologies. By itself, it is not a difficult point to understand and it is grounded on the very morality that God is suppose to be so adamant about, especially in scriptures like Old Testament and Qur’an.</p><p>Of course, there are many apologetic refutations to that line of questioning and most of them are just that, apologetic. In all the rationalisations, with which such apologetics respond, the major point is never addressed. The conclusion that either the God is not all merciful or is not all mighty. Whatever the basis of theology may be, they mostly fall short of giving responses that are convincing and inoffensive simultaneously. Therefore, I wondered if there would be a convincing argument as a response to that question, which may or may not be offensive and as a result, I came to a conclusion of my own. As a disclaimer, I do believe in absolute existence of a creator and therefore, I may be classified as one of those apologetics. However, I do not want to give a response which will be a rationalisation and/or an apology.</p><h3>As always, an analogy</h3><p>There are two scenarios that would help me setup my response. Let’s look at the first one.</p><ol><li><strong><em>W: The world of W:</em></strong> On netflix, there’s a koeran show called the world of W, which is a show based on fantasy world. The show is based on the premise that the author who writes a webcomic ends up having a life and death match with the character from his comic. They even come face to face and (spoiler alert), the comic book character (who is the protagonist) stabs his creator. The point he makes before stabbing his creator is that the author made his family die at the beginning of the story and caused so much pain to the protagonist, without so much as any regard for his emotions. The only answer the author is able to give to the protagonist is that the reason why his parents and family had to die at the beginning of the story is because it steps the plot for the protagonist to become a strong character. Looking at the question of the atheist, one cannot miss the parallel between the attitude of the protagonist towards his creator and the attitude of atheists towards theirs.</li><li><strong><em>Object Oriented Programming:</em></strong> Now this analogy is more closer to the software developers who have written code in almost any of the modern languages, except a few. In this programming methodology, the philosophy of forms by Plato is given a life. For those not in the know, the way it works is that the programmers create a class that defines the structure and behaviour of entities that will be used in the system. These entities then after having instantiated (meaning created for real with unique individual identity at some point of time in the life of program), runs the entire application / system / program by communicating with each other (called message passing) and moving the program forward. When the job of a particular entity (also called object) is done, it should be destroyed to save the memory space. Modern languages keep track of those objects and destroy them after they have served their purpose by cleaning their memory and making that memory available to other objects. This automatic process of clean up is usually called garbage collection. Some of the programs create thousand of such entities. Some of them are short lived and some are very important. And yet, the garbage collector comes for them, when their purpose is done. It kills those entiies, indiscriminately and in large numbers.</li></ol><p>So what does these analogies help us understand about the reality we live in? Well, they can be summarised below:</p><ol><li>May be, the reality is following a script (like in the movie) and the script requires that the world work in a certain way, which is not very moral seeming to where we stand from.</li><li>May be the operating system of the universe requires it to be behaving in a certain way for evolution to take its intended course</li><li>May be there are multiple universes with different physical laws running simultaneously in a simulation with different patterns and there must be a universe where all is either hell or heaven and we happen to be in the intermediate one.</li><li>May be, the God knowing that he is omniscient wanted to test that? Run simulations of all the predictions to assert that he has already seen it.</li></ol><p>We don’t really know. Mostly probably, we in this generation, wouldn’t even find out. Either ways, it gives us glimpse into our own ignorance and arrogance when the topic pertains to God himself.</p><h3>So what about the all the might and all the mercy.</h3><p>Although the above analogies suggest that there could be multitudes of reason why the world is the way it is, but they are just conjectures. Even so, we can test the theory of God’s attributes such as His All mightiness and All Mercy. Well, to be honest, we do have to start with some premise. The real point that gets contended is the implausibility of All mightiness and All Mercy to be an existing attribute of the same God. Therefore, it would be ok to start with one attribute and see if putting the other one in the mix would cause any contradiction. Let’s start with All mighty God. We have a God with such a power attribute that he can or may do one or all of the above mentioned things. However, if the same God is All Merciful then some of those things cannot be done by that God, which we consider as lacking Mercy. An apologetic way of getting out of this situation, would be to use some other attributes like All Just and so on to rationalise His actions. But here, we would try to refrain from doing so.</p><p>Given the fact that God is All mighty and given that He is following through a plan, then His supposed lack of mercy towards His creation will have to stick with the human comprehension of those attributes. In other words, I cannot say things like “Well, it is is a mystery and we don’t really know what All Merciful would really really mean and so we are not in position to judge that from what we know”. It is only partially true, that we are not in the position to judge anything, but when it comes to understanding His attributes, then I do not believe it to be absolutely beyond comprehension. We cannot really fathom infinity, but we do grasp what it usually means, at least on a superficial level. Similarly, God’s attribute is not something using some new, previously unknown, terminology. We understand the concept of mercy as well as have some inkling as to what it’s excess would seem like (think about ever loving parents, especially mothers). Given all that, then the mercy would have to be understood by us in a way that we can imagine and agree. Therefore, the instance of that mercy would seem more like a caring surgeon cutting off the hand of his patient, to save this life. All the while, the cells in the index fingers of that hand would be screaming for its life: “how dare he? He has no right!”, all the while claiming that the surgeon either does not care about the life of these cells who are about to die post amputation or is just a crazy sadist who like amputating people. Those cells would be the atheist kind, even a special category in that group, which not only is not agnostic, but an active hater of the idea of God. And if we are just a characters in a movie that’s directed by God then Prophets or Avatars would be fourth wall breaking characters. Ok, the joke was bad, but you get the point!</p><h3>In closing:</h3><p>Thinking from the perspective that was just laid out in previous few paragraphs, the atheistic stance to question God’s own morality is like a situation where Robots deny human existence because the humans didn’t care for their civil rights as defined by them. An example of which would be that they have the right to build nuclear reactors for their sustenance and dump all the nuclear waste in ocean, instead of limited sustenance they get from solar power.</p><p><a href="https://3371aspectz.wordpress.com/author/arshadansari27/">View all posts by arshadansari27</a></p><p><strong>Published</strong> February 10, 2019</p><p><em>Originally published at </em><a href="https://3371aspectz.wordpress.com/2019/02/10/say-it-isnt-so-why-would-god-do-that/"><em>3371aspectz.wordpress.com</em></a><em> on February 10, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=712287d17783" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[System Architecture — What I have learned?]]></title>
            <link>https://medium.com/@mohammedarshadansari/system-architecture-what-i-learned-8cc9624f7c0f?source=rss-a5c389bfdef1------2</link>
            <guid isPermaLink="false">https://medium.com/p/8cc9624f7c0f</guid>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Mohammed Arshad Ansari]]></dc:creator>
            <pubDate>Sat, 07 Jul 2018 07:41:27 GMT</pubDate>
            <atom:updated>2018-07-10T15:45:36.452Z</atom:updated>
            <content:encoded><![CDATA[<p>I haven’t been posting on my blog for quite some time now. Therefore I have decided to write more and not let the less number of words or lack of cool images to dissuade me from publishing new posts. It has been my past time to read up on the topic of software architecture and try to envision how I should be structuring and architecting the projects that I have been working on. I would do the same project from scratch 2–4 times to get to the correct way of architecting the said project. It would happen that in the name of design pattern, I would over abstract the system in one direction and find out that I should have been abstracting from a very orthogonal position. It is not easy to architect an application that is worth its salt, if you only have youtube videos and couple of books (which you haven’t completely read) to guide you. But it is exactly those things that also came to my rescue. Following are the things that helped me see the light:</p><p>1. Do not abstract stuff just because you can, even if the code seems to be duplicating (in which case figure out if it is accidental duplication or real)</p><p>2. Follow the clean architecture and solid principles (Bob Martin has done a great deal of work to make these principles easy to understand and follow)</p><p>3. Try to design in DDD manner for large projects. Especially rely on bounded context and context maps. By themselves they are not enough</p><p>4. Do not apply design patterns for the sake of applying and do not be pattern purist. It’s ok to mix and match the patterns, in fact, it is the right way of doing things.</p><p>None of what I have listed above is a news to any one who has been correctly architecting the system. However, for a would be architect, it is easy to loose sight of these guidelines. I had heard them being repeated over and over from various authors and speakers and yet, I fell into the same pitfalls again and again. It was only when I got time to design an application where accuracy and correctness were more important than the performance and fast delivery, did I get time to analyse design style and come to the conclusion that I may have called myself an architect, but I was a bad one.</p><p>Following is the list of books that helped me along my path.<br>Note: I have given Eric Evan’s book a try but settled with another one “Implementing Domain Driven Design” from another author to get to the meat of the subject. I’m listing both of them anyways.</p><p><strong>Software design and architecture</strong><br>1. Domain Driven Design — Eric Evans<br>2. Implementing Domain Driven Design by Vaughn Vernon<br>3. Clean Architecture — Robert Martin</p><p><strong>Coding principles</strong><br>1. Clean Code — Eric Evans<br>2. Design Patterns. There isn’t a book that I referred for design patterns specifically, instead read up from various sources and didn’t save them to list them here.</p><p><strong>Python — the double edged sword.</strong><br>Python is object oriented and if you squint and look side ways, you can kind of do functional programming in it. It’s multi-processing is better than its multi-threading module and its dynamic aspect knows no boundary with meta classes and so on. There’s a lot that can be accomplished using python and due to its wide usage for scientific purposes, it was whole heartedly accepted by the data science community, making it a very famous language these days. However, when architecting big systems in python, special care needs to be taken (irrespective of the IDES and test cases) to avoid corner cases that changes business logic and. Although a through coverage of all possibilities in test cases would definitely help a lot more.</p><p><em>Originally published at </em><a href="https://3371aspectz.wordpress.com/2018/07/07/system-architecture-what-i-learned/"><em>3371aspectz.wordpress.com</em></a><em> on July 7, 2018.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8cc9624f7c0f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sentiment Analysis of Transliterated Texts in Hindi and Marathi Languages]]></title>
            <link>https://medium.com/data-science/sentiment-analysis-of-transliterated-texts-in-hindi-and-marathi-languages-c29eab19fae2?source=rss-a5c389bfdef1------2</link>
            <guid isPermaLink="false">https://medium.com/p/c29eab19fae2</guid>
            <category><![CDATA[python3]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[scikit-learn]]></category>
            <dc:creator><![CDATA[Mohammed Arshad Ansari]]></dc:creator>
            <pubDate>Thu, 03 Aug 2017 10:54:29 GMT</pubDate>
            <atom:updated>2017-08-03T11:09:48.766Z</atom:updated>
            <content:encoded><![CDATA[<p>This blog is about the presentation I made for my dissertation in the NLP — ML domain. Sentiment Analysis is easy for English. It’s a little but not much difficult for other languages such as Hindi or Marathi. It gets difficult when the script used for the other languages is Roman. What makes it most difficult is when that transliterated text is a mixture of multiple languages. In our case we are considering two combinations of English-Hindi and English-Marathi. This mixture of languages is called code-mix. Usually one of the language (usually Roman script) is used for the textual representation. How to analyse the sentiments in this situation.</p><h3>Ordinary Sentiment Analysis</h3><p>The steps involved in the usual analysis is as follows:</p><ol><li>Normalize the word tokens</li><li>Perform the POS Tag analysis to get the words tagged as either noun, adjective, adverb and verb.</li><li>Use wordnet to get the identifier and use senti-wordnet to get the sentiment associated with those words along with the corresponding tags we found in the POS tag analysis</li><li>Convert the words in to features:</li><li>Remove stop words</li><li>Remove the words senti-scores that are not important such as everything except adjective and adverbs, since they are the most important ones where sentiments are concerned</li><li>Create an ngram feature to hook words with its context</li><li>Feed it to a classifier for training and then test on the subject to calculate accuracy</li><li>Cross validation is used to not over train</li><li>A threshold is found that balances overtraining and generality to analyse unseen data</li></ol><h3>Problems with the generic approach for mixed code</h3><p>Although the steps are more involving and I’ve missed a few, but the general approach is covered in the above steps. The only problem with the transliterated mixed-code is that it doesn’t work with the above steps. Why? Because the transliterated text does not have a fixed grammar, nor the words are spelled correctly. The sentence construction does not follow a single language specific rule. If the chunks of each language are taken out, then in many cases; they don’t form the correct grammatical syntax of their respective languages. The last part happens due to the mixture of language rules. An example is in order: Maine tujhe <em>Good luck</em> tere exams ke liye nahi bola <em>because</em> tumse na hoga. In the previous statement, the usage of English is following the contextual grammar of Hindi language and hence their POS tagging and their associated sentiments are highly ambiguous in this case. This leads to the conclusion that mix-code scripts require a different approach for this purpose and that is exactly what my dissertation is all about.</p><h3>Proposed Approach</h3><p>Since figures speak the thousand words, I’d let the following figures illustrate the approach that I took for the purpose of sentiment analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/0*OClOiwTfkm9Gqjcx." /></figure><p>The above figure gives all the important steps that are needed for this approach as listed below again, for those not interested in spending time on the figure.</p><ul><li>See if the word tokens are an emoticon or a known slang like lol, etc and then replace them with appropriate language works like 😊 will become smiling and lol will become laughing out loud.</li><li>Transliterate the remain words in Hindi/Marathi language script (Devanagari) and look up the words in Hindi/Marathi dictionary for its existence. Check for spelling variations. If found tag them as such.</li><li>Lookup all the words in English dictionary and tag them as such. If there is tie with the other language then use word frequency probability to break the tie.</li><li>Loop up the sentiment scores from sentiwordnet of each languages (Hindi/English), for each token based on their language tags. Except in case of Marathi, which presently does not have the sentiwordnet, in that case, use bilingual dictionary to get the meanings of Marathi words from hindi and English and then follow the process for those languages and merge the scores.</li><li>Finally convert the words to features using ngrams with their corresponding sentiment scores and perform the cross — validation of training and test data to see the accuracy of results.</li></ul><p>These steps a lot more complicated to implement and after using python Scikit-learn to implement these steps I was able to get the result as shown in the following graphs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/0*y_5yg-_WdSgWZAvg." /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/0*-L4KIGDh_KmehCSC." /></figure><p>The worst part is, even these do not work as good as sentiment analysis for a single language works. The best I could do is get above 50% accuracy for Hindi and English and 80% accuracy for Marathi and English combination. Now 80% seems like good but there is a caveat. The problem with Marathi / English combination is that the data is general skewed by the presence of fixed words. The data I used came from youtube comments and there were some words in both the positive as well as negative groups, which tend to be the absolute indicator of the sentiment polarity. This makes the system works but in truth it really isn’t working. I’m not proud of the results, but I’m glad I learned a lot from this. Until next time.</p><p><em>Originally published at </em><a href="http://www.3371aspectz.co/sentiment-analysis-of-transliterated-texts-in-hindi-and-marathi-languages/"><em>www.3371aspectz.co</em></a><em> on August 3, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c29eab19fae2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/sentiment-analysis-of-transliterated-texts-in-hindi-and-marathi-languages-c29eab19fae2">Sentiment Analysis of Transliterated Texts in Hindi and Marathi Languages</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Wiki.js — The best wiki software ever]]></title>
            <link>https://medium.com/@mohammedarshadansari/wiki-js-the-best-wiki-software-ever-ca25f64e355c?source=rss-a5c389bfdef1------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca25f64e355c</guid>
            <dc:creator><![CDATA[Mohammed Arshad Ansari]]></dc:creator>
            <pubDate>Sun, 16 Jul 2017 12:07:34 GMT</pubDate>
            <atom:updated>2017-07-16T12:11:26.201Z</atom:updated>
            <content:encoded><![CDATA[<h3>Wiki.js — The best wiki software ever</h3><p>I have spent a long time trying to find the best open source software to collect the knowledge that I have gained, for posterity. However, after trying multiple available options, such as Tiddly Wiki, Media Wiki, etc. I settled with Wiki.js. I’m not claiming that there isn’t a better solution out there, there must be. My major point of satisfaction with this tool is that it is exactly as I expected my knowledge base to look like.</p><p>My reason for using a wiki is to be able to keep a single place for all my study notes, command and code snippets, that I can search, collaborate with others on and publish. It is a knowledge tracker that I can go back to again and again and update or revise the knowledge that I have accumulated. This requirement is easily solved by many note-taking systems such as One Note, Evernote and even Google Drive. The major reason why I didn’t go with those solutions are very specific to each of those systems. One note requires Microsoft machines, whereas I usually work with Ubuntu. Evernote isn’t as great as it was in free mode and Google drive requires a Gmail account for all the collaborators. I needed something that supported Markdown to edit my pages and be able to call it’s data my own, so that even when the service goes down, I don’t loose data.</p><p>Let’s look at why Wiki.js works for me. I have hosted wiki.js on Google compute engine (I have 12 months of free trial, so why not!) and the only requirements it has is git, mongodb and nodejs. I work with these technology on almost daily basis, so setting up was a breeze. The most interesting aspect of this system is that it keeps the textual content as .md files on the file system that is a git repository and also allows us to push to a remote repository. This is great on so many levels, since it not only backs up my data automatically to my favourite git repository service provider (bitbucket in this case — since it gives private repos for free), but also can be edited by updating the repos separately via any editor and pushing the changes across to wiki.js. This way, the task of writing the wiki becomes much easier and can be done on any editor. I’m really digging the idea of using git as the backend for versioned storage of files, especially the text files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iza6_UvivOgpISgr." /></figure><p>There are many other benefits, such as easy of use, administration is intuitive and simplicity is the core of its design. However; there are some cases where wiki.js is rough around the edges, such as the search function is not exactly performing well and neither was I able to get my image uploads to work properly. Although, I do have a work around for many of such issues, I would love to see wiki.js grow up to be the awesome wiki software that it promises to be.</p><p>Links:</p><p>Home page for wiki.js: <a href="https://wiki.js.org/">https://wiki.js.org/</a></p><p>Github page for wikis.js : <a href="https://github.com/Requarks/wiki">https://github.com/Requarks/wiki</a></p><p><em>Originally published at </em><a href="http://www.3371aspectz.co/wiki-js-the-best-wiki-software-ever/"><em>www.3371aspectz.co</em></a><em> on July 16, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca25f64e355c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Async Core — multiprocessing and asyncio based solution for backend services]]></title>
            <link>https://medium.com/@mohammedarshadansari/async-core-multiprocessing-and-asyncio-based-solution-for-backend-services-410ed6bf77b2?source=rss-a5c389bfdef1------2</link>
            <guid isPermaLink="false">https://medium.com/p/410ed6bf77b2</guid>
            <category><![CDATA[middleware]]></category>
            <category><![CDATA[redis]]></category>
            <category><![CDATA[asyncio]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[rabbitmq]]></category>
            <dc:creator><![CDATA[Mohammed Arshad Ansari]]></dc:creator>
            <pubDate>Thu, 08 Jun 2017 20:01:12 GMT</pubDate>
            <atom:updated>2017-06-08T20:26:43.178Z</atom:updated>
            <content:encoded><![CDATA[<h3>Async Core — multiprocessing and asyncio based solution for backend services</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8HORGZ_5DBFlzd88mhjzDw.jpeg" /></figure><h3>The why?</h3><p>Although, there have been great products that existing since a long time, which does exactly and more than what this project is trying to accomplish, namely — Celery. However, the basic premise of this effort is again based on a very simple idea, which happens to be the mainstay of python community and that is — KISS. Most of the time, a project begins humbly with small code based and small set of functionality and over time, tries to do a lot of things and while doing so, ends up accumulating huge sets of features that are overwhelming for a beginners to start with. Therefore, keeping the same problem in focus, I decided to make a celery like project which will do less instead of more. It will need less expertise with python (yes, the project requires python) for creating heavy backend services, by focussing on writing those backend services instead of the infrastructural code to run those services.</p><h3>What it supports?</h3><p>As of now, the project is aimed at using the usual suspects of existing middleware technologies such as rabbitmq, redis, zmq and kafka. As of writing this blog, rabbitmq and redis are supported and work is being done for the rest two. It is written using asyncio module in python 3.6 and that is the version of python recommended to use it. In coming sections we will see, how this project does enough with less requirements. As soon as zmq is supported, the need for another middleware system, like in the case of other three, will cease to exist. More on that later.</p><h3>How to get it?</h3><p>The source code for asyncexec is available on <a href="https://github.com/arshadansari27/async-exec-core/tree/master">Github.com</a> and it is released under MIT license, as it seems to be a very open one and without much hassles. One can go through the README to install and use the project and following is the what it says, in order to install it.</p><ol><li>Create a virtual environment:</li><li>Activate the virtual</li><li>Use pip install to get the module and also install all the required modules it has as dependencies</li></ol><pre>$&gt; virtualenv venv -p /usr/bin/python3.6</pre><pre>$&gt; source venv/bin/activate</pre><pre>$&gt; pip install git+https://github.com/arshadansari27/async-exec-core.git@v0.1</pre><h3>How to use it?</h3><p>The repository contains two examples to show how to use the system, under the asyncexec/examples folder.</p><ol><li><strong><em>simple_queue_based</em></strong>; shows how to use a simple rabbitmq based queueing system to run handlers on sending the events as rabbitmq messages</li><li><strong><em>workflows:</em></strong><em> </em>expands on the previous example and shows how to break down tasks as multiple commands and use concurrency to achieve high performance using parallel group commands or create a workflow by combining it with sequential group commands.</li></ol><p>Instead of describing the whole example, I would only like to point the attention to a very simple way of using the system, which is shown below.</p><pre>#import the class<br> from asyncexec.exec import  AsyncExecutor<br> <br> #Create the object and give configuration in constructor<br> async_executor = AsyncExecutor({<br>     &quot;rabbitmq&quot;: [<br>         [&#39;pyasync_core_request&#39;, &#39;pyasync_core_result&#39;]<br>     ]<br> })<br> <br> # Define handlers<br> @async_executor.handler<br> def test_method(data):<br>     print(&quot;Hello&quot;, data)<br>     return str(data) + &#39;: response&#39;<br> <br> # Start the process<br> async_executor.start() <br> <br> # Example message to send<br> # {“event”: “test_method”, “data”: …}</pre><p>That is it. The test_method handler will be added as an observer (Observer Pattern) and the listener will call the observer to handle the event they are listening on. This mapping between handler and the event is done by sending the event as a message, where the key “event” would be the name of the handler method and the data key will provide the handler method with a single argument input to use for its execution.</p><h3>Coming soon</h3><p>Although the main idea is to keep it small and simple for handling backend services, it is still lacking and is currently too simplistic. Although not fit for production use at the moment, very soon it will be. The following are the major upcoming features that I intend to include in this project:</p><ul><li>Kafka and ZMQ support</li><li>Queue based handler distinction to decide which instance can run which all handlers</li><li>Multiprocessing improvement to enable the user to decide which handler should be run in a separate process/thread.</li></ul><p>These are the few urgent things that will be worked on in near future, however; I’m open to inputs from all sides and would love any kind of contribution to make this a success. Until next time.</p><p>Originally published at <a href="http://www.3371aspectz.co/async-core-multiprocessing-and-asyncio-based-solution-for-backend-services">http://www.3371aspectz.co/async-core-multiprocessing-and-asyncio-based-solution-for-backend-services</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=410ed6bf77b2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Human and The Divine]]></title>
            <link>https://medium.com/@mohammedarshadansari/the-human-and-the-divine-2a371ad1bf79?source=rss-a5c389bfdef1------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a371ad1bf79</guid>
            <category><![CDATA[philosophy]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[religion]]></category>
            <dc:creator><![CDATA[Mohammed Arshad Ansari]]></dc:creator>
            <pubDate>Sat, 29 Apr 2017 15:16:37 GMT</pubDate>
            <atom:updated>2017-05-01T07:07:10.377Z</atom:updated>
            <content:encoded><![CDATA[<p>This is a small post to express a thought that I have been forming for a few days now and it is important for me to express it, in order to internalize it. As a muslim, it is a common thing to hear and say Allah-hu-Akbar (Allah is greatest) or Subhan Allah (glory to God) or Alhumdullillah (all praises are for Allah). However, I always wanted to understand for myself what do they truly mean. Their meaning, not lost in translation, but lost in shallowness of my own understanding. This is not a post about Islam, nor is it a post about the God, who we have created in order to understand Him. This is about the absolute infinity that Georg Cantor introduced in mathematics, the Absolute that Newton was unable to find due to his inertial frames, the Reality that mystics experience and the concept that religious are pretending to worship. The source of all existence, the power that runs everything and the owner of words behind the Big Bang.</p><p>All the religions and the mystical experiences have in common the basic fact that God is beyond comprehension. The question I had for myself is that, how much of my comprehension have I exhausted in order to try and comprehend. It is very natural to give up on understanding something that you just can’t understand. But the question is that off the effort and how much of it was poured before giving up. What was the nature of surrender with which the subject matter was given up? Was it that it does not matter so let us move on to something more close to our desires? Or was it that I have invested my life, witnessed what was out there, exhausted my emotions, challenged my intellect and yet I do not comprehend! The last type of surrender is what we see mystics perform. What is gained by that kind of physical, moral, intellectual, emotional exhaustion and how worthy is that endeavor?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/0*YDcpOnJFrXxjXYAX." /></figure><p>We have not but one life, a mystical existence which may as well be mere simulation. The physics coded in by programmers like in a matrix. Or maybe, the universe truly exists, in its vastness and greatness. It is infinite and not in the sense of number line, but in our exploration of it. In this one life, small existence, we can find purpose in loving who are close to us, doing what we must to protect and provide for ourselves and that would still be worth it. However, how much greater is the worth to stand at the edge of this world and gaze out in the universe to seek the face of the one who created it. Or look down on the ground and into the center of earth, inside the smallest particles to the force that holds it all together and see it as an extension of the words that created it all. Science is secular and rightly so, to avoid to superstitions from running amok and impeding the progress of knowledge. But, only the method is secular, not necessarily the intention. Newton gave the science it’s one of the biggest boost and yet his intention was to come face to face with God. So was Descartes, who busied himself unraveling the structure of the creation. Why cannot a man seek God through science? Since it is but an extension of philosophy? Philosophy was merely speculative and deductive as long as Aristotle was the fashioner of its process. It become empirical and observation based over time, but does not mean, speculations are not happening. what is a hypothesis if not a speculation first that are backed by observations later?</p><p>How deeply the connection runs between what is reality and what is symbolic knowledge like mathematics? As a human, the thought that there is such a connection at all and that a human mind was able to comprehend such a connection is a case for God and divine purpose of humanity. This brings me to the point I mentioned at the beginning of the post, that I wanted to understand what it means to say God is greatest. The fact that we are so insignificantly small that billions of people are living on a planet, on the lands which are 1/3 of the surface area of that planet. A planet so small compared to other planets in the same solar system and a sun so huge that none of the planets comes close in comparison. And yet, the sun, a star, which is less than the average size of existing stars. The billions of such stars in the universe! How insignificant it can get for human! There cannot be a shred of arrogance in a person, when they realize how small and helpless they are on a distant planet in the backyard of an average galaxy, which is in the trash can of universe. And yet, these humans were able to comprehend this. The fact that humans have embarked on this journey of understanding due the capability they are endowed with in terms of intellect, becomes a case for a God who cares enough to give that intellect. Therefore, it is an amazement to me, that the human beings, being as insignificant as they are, are given the purpose so magnificent that such a purpose cannot be denied. A moral obligation, a divine purpose.</p><p>Photo Credit: <a href="https://formingthethread.wordpress.com/2013/01/09/joan-larsens-travel-stories-to-big-sur-with-love">Joan Larsen</a>, <a href="https://commons.wikimedia.org/wiki/File:Observable_Universe.gif">Wikipedia</a></p><p><em>Originally published at </em><a href="http://www.3371aspectz.co/the-human-and-the-divine/"><em>www.3371aspectz.co</em></a><em> on April 29, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a371ad1bf79" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>