<?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 Samir Singh on Medium]]></title>
        <description><![CDATA[Stories by Samir Singh on Medium]]></description>
        <link>https://medium.com/@samirsingh?source=rss-f07afceae099------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*m0MJkN_VoEiwAaz7f-5LcQ.png</url>
            <title>Stories by Samir Singh on Medium</title>
            <link>https://medium.com/@samirsingh?source=rss-f07afceae099------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 17:50:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@samirsingh/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[On Learning: The Importance of Getting Back in the Saddle]]></title>
            <link>https://medium.com/@samirsingh/on-learning-the-importance-of-getting-back-in-the-saddle-a8ee0460cde4?source=rss-f07afceae099------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8ee0460cde4</guid>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[goals]]></category>
            <dc:creator><![CDATA[Samir Singh]]></dc:creator>
            <pubDate>Sun, 06 Aug 2017 16:43:11 GMT</pubDate>
            <atom:updated>2017-08-06T16:43:34.882Z</atom:updated>
            <content:encoded><![CDATA[<p>I have a personal goal of learning to code. I joined the Flatiron School’s LEARN Web Developer program to help me accomplish that goal. As can so often be the case when learning something new, I started strong and kept it up for a few months. Then I fell off the face of the “learn to code” planet for a few months (I had to focus myself fully on a delayed project for my health software company). Now I’m getting back in the saddle and wanted to take a moment to celebrate that fact. I also wanted to let anyone else out there know that just because you stop learning or doing something you really want to doesn’t mean you can’t get right back to it when you feel ready.</p><p>On to the code.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8ee0460cde4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Programming a Ruby CLI from Scratch]]></title>
            <link>https://medium.com/@samirsingh/programming-a-ruby-cli-from-scratch-cf9e0f308bb4?source=rss-f07afceae099------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf9e0f308bb4</guid>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Samir Singh]]></dc:creator>
            <pubDate>Sun, 01 Jan 2017 03:45:14 GMT</pubDate>
            <atom:updated>2017-01-01T03:57:10.664Z</atom:updated>
            <content:encoded><![CDATA[<p>I finished my first Ruby command line interface (CLI) application today. As is often the case with code, it took me far longer than expected and I ran into complexity that I would never have foreseen.</p><p>I was lucky enough to start with a great set of examples, most specifically <a href="https://github.com/dannyd4315/worlds-best-restaurants-cli-gem">this</a> well organized project from <a href="http://twitter.com/@developingdanny">Danny Dawson</a>. Without this example of a well organized CLI project, I’d probably be spinning spaghetti code instead of writing this blog post. It never ceases to amaze me how easily we can dive into one-another’s minds through code and in the process increase out own mental models. Taking the time to study and deeply understand Danny’s organization and logic made this project completely manageable.</p><p>The first step after grokking a good example of a Ruby CLI was to select a domain of interest and find a website that I could scrape in such a way as to meet the requirements of the project. Most specifically, I was looking for a domain that lent itself to an initial record view that the user could rationally view in a list format and then choose to dive into a record to learn more. I thought about this for a few days before I decided to ask my 7-year old daughter what she thought would be a good domain. I explained my goals and she instantly replied, “Why not trees Daddy? You could help people learn about trees.” A little poking around and I came across <a href="http://bhort.bh.cornell.edu/tree/list.htm">this beautifully organized</a> collection of trees from the people at Cornell University’s Hortorium. I was off to the CLI races!</p><p>Next I began to construct the scaffolding of the CLI project. By organizing in the same way that I’d seen in the example projects, this work went relatively quickly. The objects that did the heavy lifting came from a CLI class, a Scraper class, and a Tree class. The CLI managed starting up the application and orchestrating the user interface. The Scraper class leveraged the well known (even if I don’t yet love it) <a href="http://www.nokogiri.org/">Nokogiri library</a>. For my money, the most elegant part of the architecture was the way in which methods within the Tree class and the Scraper class collaborated to generate trees from the /index page and details pages of the Hortorium’s website. Again, I can’t overstate the amazing amount of heavy design lifting that I was able to do through careful study of the example projects.</p><p>The hardest part, without a doubt, was getting the various text attributes from the detail pages of various trees into their respective attributes within their Tree object representation within the CLI application. Initially, I thought this would simply be a matter of iterating through the node set that Nokogiri provided and finding the appropriate numerical index values for each one. For example, when I started, I was doing something like this:</p><pre>NewYorkTrees::Tree.all[0].doc.css(&quot;font&quot;)[10]</pre><p>Which, for the sake of the example, would have returned text about the trees leaves. Then, because the tree’s twig detail came next I could simply (oh, that’s a word I’ve grown to loathe) increment the index by one to get:</p><pre>NewYorkTrees::Tree.all[0].doc.css(&quot;font&quot;)[11]</pre><p>Add that logic into a loop over the Tree.all class array that held all the trees created from the website and I should be good to go! Wrong. As it turns out, some of the trees have more than one common name and some don’t have any common name at all! This fact-which-I-failed-to-notice amidst the “I’m such a badass coder” headrush foiled me again and again as I tried to devise new strategies to determine a priori what kind of tree it was and then offset (that seemed like such a great word!!) the index values to get the content I wanted. Well, eventually I had to bail on the idea altogether and look to good ol’ text processing to search for patterns that would tell me that a node.text value contained what I was looking for.</p><p>That wasn’t the end of it as many days were spent dealing with the vicisitudes of each different attribute and the way it needed to be handled. This got to be so frustrating that on more than one occasion found myself searching for “neural networks” on Google that could identify the text values for me. Needless to say, I didn’t end up going down that doctoral dissertation path.</p><p>I also ran into a few pesky formatting issues with the command line interface itself. The problem was that some of the text values contained so much content that they had to wrap and when they did they took with them any aeshtetic order to the data presneted to the user. After a brief skermish I ultimatley jettisoned my hopedd-for two-column interface approach and replaced it with a single column. That did the trick.</p><p>In the end I’ll say this: I’m proud as hell of this little CLI. It’s the most advanced software application I’ve ever built and the fact that it’s pulling live data from a running website every time it’s booted makes me feel a little closer to that thing I’m aiming for — being a programmer.</p><p>P.S. Another aspect to this project that I came to enjoy but initially found quite foreign was git. The project required that I commit regularly and while I consistently forgot to early on in the project, it becamse a solid part of my workflow towards the end. I’d find myself feeling a bit of satisfaction each time I committed by changes and described what I’d done. It was a workflow that I really loved and it wasn’t seldom that I felt a rush of pride with the following simple command:</p><pre>git log</pre><p>— SS</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf9e0f308bb4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Can software predict when your team is going to die?]]></title>
            <link>https://medium.com/@samirsingh/can-software-predict-when-your-team-is-going-to-die-33bdea6045e7?source=rss-f07afceae099------2</link>
            <guid isPermaLink="false">https://medium.com/p/33bdea6045e7</guid>
            <category><![CDATA[team-building]]></category>
            <category><![CDATA[team]]></category>
            <category><![CDATA[achievement]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[distributed-teams]]></category>
            <dc:creator><![CDATA[Samir Singh]]></dc:creator>
            <pubDate>Tue, 01 Nov 2016 18:22:25 GMT</pubDate>
            <atom:updated>2016-11-01T18:23:51.325Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve been building social software since 2007. When I started working on my current project, <a href="http://make.me/">MakeMe</a>, my goal was to create mobile software to let anyone create a team to support themselves in achieving a personal goal. Fast forward a few years and we’ve had thousands of teams form using our software and many of them have been successful. Many of them have also died. I’ve learned a few things about what makes teams successful and about what causes a team to die. In this article I’ll share some of what I’ve learned.</p><p>First, let’s get a shared understanding of what I mean when I say a team “dies.” As I define it, a team dies when the members of that team no longer manifest any measurable activity within the team <em>in the software environment being used to support the team</em>. It’s certainly possible that the team has died before this point and it might even be possible that the team continues to live on after this point and has simply abandoned the software, but for the present purposes we’ll use the definition above and assume that if the team stops acting in the software, it has died.</p><p>With that shared understanding, we can turn to the predictors of a team dying. They are: 1) people stop sharing; 2) people stop showing up.</p><p><strong>People Stop Sharing</strong></p><p>Back in 2007, Paul Graham had <a href="http://www.paulgraham.com/die.html">a post</a> that said this about YC startups:</p><blockquote>For us the main indication of impending doom is when we don’t hear from you. When we haven’t heard from, or about, a startup for a couple months, that’s a bad sign. If we send them an email asking what’s up, and they don’t reply, that’s a really bad sign. So far that is a 100% accurate predictor of death.</blockquote><p>At MakeMe, we see the exact same thing in our logs. When team members stop sharing their activity, stop posting photos of their moments of achievement, stop giving social support through features like our “fist bumps”, or stop replying to one another’s posts, the team is going to die.</p><p>When we first realized this we started adding features that we thought would combat it. These included:</p><ol><li>Push notifications to the team celebrating team member activity. This was to combat the potential that members might forget that they are on a team and, more importantly, to generate a feeling that the team was “alive” and set positive examples;</li><li>Reminder notifications to team members that they still needed to be active in the team that day. This was purely a way to combat forgetting to be active;</li><li>We added a “no activity” activity that we called an “off day”, a way to enable people to stay in the habit of engaging with the team daily even if they didn’t have any activity to share (we eventually had to automate this, largely killing it’s value for this purpose);</li><li>We added new team member states to bring into stark relief the fact that a team member was “falling off” and giving the remaining members an opportunity to support that member and in so doing reinvest themselves in the team while sending a supportive message to the disconnecting teammate. An example here was enabling any teammate to “forcefield” another teammate, removing the need for them to take activity that day.</li><li>We added a set of reminder activities that team members could use to reach out in a fun way to missing team members. Examples included the ability to send a loud and obnoxious sound to a team members phone and the ability to schedule a push notification targeted at a particular person that would be regularly sent at a specified time and with a customized message.</li></ol><p>Of all of the above design changes, the one with the greatest benefit was push notifications when a teammate added activity to the team. This had measurable impact on app open rates and team member re-activation. Unfortunately, many users disable their push notifications, removing the value of this feature for themselves <em>and their team</em>.</p><p><strong>People Stop Showing Up</strong></p><p>Another way we can tell a team is going to die is that team members stop showing up in the software. This is different from a stoppage of sharing in that showing up is the act of simply being “present” even if one does not log any measurable activity when present. In our system, there exist states that indicate a team member has been absent for one day or more than two days. This is made clear to team members using color and iconography and is coupled with calls to action including some of those features listed above. We see that when some team members start triggering these states, other team members are influenced and the team likely will not survive it. We have an upcoming experiement that is going to test what happens when disengaged team members are simply dropped from sight instead of triggering visible states.</p><p><strong>The Upside Down</strong></p><p>Perhaps one of our most interesting findings is that, depending on team size, if one or two members stops showing up and sharing, the rest of the team will soon follow. It’s like the <em>“</em><a href="http://strangerthings.wikia.com/wiki/Upside_Down"><em>upside down</em></a><em>”</em> of a team that’s regularly sharing and if one or a few of a team’s members fall into it, everyone else will be sucked down as well until the team ultimately dies. This is one of the things that was hardest for me to see as it meant that highly engaged and performing team members were predictably going to be derailed by the disengagement of their fellow team members. In such cases, it was hard not to think that the team dynamics we were trying to support were often hurting more than they were helping, especially with features that called attention to a lack of sharing or showing up.</p><p><strong>Combating the Death of Teams</strong></p><p>As is probably clear, I’m a bit of a team geek. That’s because I think that teams are <em>the</em> essential unit of human advancement. Without teams, ideas stay ideas and innovation doesn’t even get out of bed let alone get to market. That’s why I love working on software that makes teams successful. It’s also why I’m always on the lookout for what works in increasing team success. So here is a list of the things that we’ve seen measurably combat team death:</p><ol><li>Clarity and achievability of expectations. If a team member can easily understand and readily achieve what’s expected of them, they’re more likely to continue to show up and share. For us, this takes the shape of having a clear action plan;</li><li>A team lead. Whether this organically happens (hint: most often it doesn’t) or whether it’s an assigned role, having a team lead with strong team ties that participates in team activity alongside the rest of the team decreases team death rates;</li><li>The feeling of team member “presence”. This one is a bit more abstract but it might be best described as a feeling that teammates are consistently “there.” This doesn’t mean they have to actively support one another (though that helps) but it means that to the extent possible, enabling teams to “see” one another is really important to combating team death. <strong><em>We see this most strikingly in the impact of photo sharing on team success.</em></strong> The more photos are shared by teammates, the more likely that team is going to succeed.</li></ol><p>As a result, we reward for photo sharing and try to help teams frame their activities to be more photogenic.</p><p><strong>Conclusion</strong></p><p>One of the benefits of a team forming or working in a software environment is that there is a specific set of meaningful activities the frequency of which can be measured over time and compared across large numbers of teams and team members. As such, patterns of activity associated with states of the team can be developed and then used to benefit future teams. This benefit might take the shape of interface design improvements or process design improvements or it could take shape as predictive analytics that anticipate both individual and team performance. The good news is that teams are increasingly performing their core activities in software environments that model meaningful activities and presence. As such, the future feels bright in terms of our ability to steadily improve team performance and as a result the potential for human achievement through team software.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33bdea6045e7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>